geekhack

geekhack Projects => Making Stuff Together! => Topic started by: Nlight on Wed, 25 March 2020, 17:11:33

Title: Implementation of a wireless 2.4 Ghz Radio Frequency connection, info ?
Post by: Nlight on Wed, 25 March 2020, 17:11:33
Hi all,

There is a future keyboard that I aim to design with no rush, I have at least another one to build before this one. I would love to make 2.4Ghz RF connection for it, as I don't like, at all, bluetooth, too much disconnection problems (feel free to enlight me and change my mind).

As I am not skilled in electronics, because I never practice and keep forgetting the few I've learned, I don't know if the following idea is viable, thoughts ? links ?
Edit : Yes, this is definitely the right track
Edit 2 : On the picture, just replace the word keycodes by scancodes

(https://lh3.googleusercontent.com/Tp6G5zF4mtR6UzMUU4gJ4IuhBwDO9Gl_kNRsxR7BZ0qckb7-1fD-dEdn-5Sx7Qd1EUgl4QhFcjJgZLM0mJAQ_MCYUMKsz54q8ofI93tm9roo0rfHkB3xvvfPRNRrJ_-8VAO7null3MIg3_mziqzTnuWqZnzkBm0E64wbUJ9rCDilHOlCaebqLC8r7N99ziyfNYixY80NvCM6Y7PeLDTuocDWjviXoSWXsev7OLx39L8rM0hzFMpPhF9wEba0B3cuxwdI5okfVZrK5-9WJxwSEtLgK7eeG-IcWsPiTB_DpeI8ix3ZKP9QnQqwl9sj4CHXLvdrNDWDcmkuC2CT0Kf80VviAKro5gInMkiS_nd2e1JJwiL2ITe9Gd0TQXUmsEEMxVm_smqdEu448vVn74tGAguVbGyCZm3zfWcYee2UsmIccmrjXyFwGsi0xNapA45E1SlelVgNXf2XMde0M9jfwNvbWPKu2-cBoTxtUGC-ry0MV7wnACUYqjAz_9ZU2hh29MWmx31d0TxGyLuIAuln3aPSR4jLqz75kMvSri1kmpFdSSUeWHzlCXRMcRc0n2eSfzsvsIx1hbv6SmiIE2MfUjwa0697buDefJ66U9CyW5HWGS9fK2y5xKdUtLMCw2OlfE_mTNIyXy0K0mE2NQy_5WSUFlzBicXheqVNEqF2uMGhucx_Jcb2lpGEYhUL=w1280-h720-no)

Thanks  :)
Title: Re: Implementation of a wireless 2.4 Ghz Radio Frequency connection, info ?
Post by: Nlight on Fri, 27 March 2020, 16:24:15
Ok, I digged a bit, and I have a good start :
We need a transceiver module. The module's chip is a NRF24L01, seems popular.
Here is a pair of cheap modules using that chip :
https://fr.aliexpress.com/item/32820450141.html

and here is a noob tutorial :

additional vids, same thing, but some additional infos :

different wireless modules explained :
https://youtu.be/vxF1N9asjts (https://youtu.be/vxF1N9asjts)

While I used a teensy 2 in my last keyboard, the process was quite straightfoward,  I'm still lacking practice with arduino and alike, this is progress nonetheless.
I intend to use a Teensy 3.2, it has several pins used for SPI, however, I am a bit lost/conused by the availables pins on it :
while the pins on the transceiver module are :

If any of you could point me the right direction that would be great, thanks :)

[tags] : transceiver module radio frequency 2.4ghz wireless RF arduino teensy
Title: Re: Implementation of a wireless 2.4 Ghz Radio Frequency connection, info ?
Post by: rrrsss on Sun, 29 March 2020, 23:00:21
some projects are already built on this idea

NRF24 chip based is here from tmk: https://github.com/ahtn/tmk_keyboard/tree/wireless
while a totally new firmware is here: https://github.com/ahtn/keyplus

There's also Mitosis/Chimera that's based on nRF52 chips, based on tmk/qmk too.

Most of these are split keyboards but can be utilized to create a single board with dongle receivers
Title: Re: Implementation of a wireless 2.4 Ghz Radio Frequency connection, info ?
Post by: Nlight on Mon, 30 March 2020, 06:22:42
Awesome ! Thanks, that's exactly the kind of input I need  :thumb: