Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Idea: add TinyRF capability to open the ch55x to 315/433MHz communication #149

Open
stripu opened this issue Oct 26, 2023 · 3 comments
Open

Comments

@stripu
Copy link

stripu commented Oct 26, 2023

Porting the TinyRF library (https://github.com/pouriap/TinyRF) would really open a lot of possibilities, as it would enable usb port communications to low power RF devices.
The library is not too big and it's optimized for low memory devices, so I believe it might suit the ch55x family.
Unfortunately I'm not capable of porting something like this, but hopefully someone might :)

Thanks!

@DeqingSun
Copy link
Owner

Looks interesting. I'll look for the leftover $0.3 433M modules to get started.
How is the library compare to the radio head one? https://www.airspayce.com/mikem/arduino/RadioHead/

@DeqingSun
Copy link
Owner

Some quick compare:

https://github.com/pouriap/TinyRF/blob/master/src/TinyRF_TX.cpp

https://github.com/sparkfun/SparkFun_RadioHead_Arduino_Library/blob/master/src/RH_ASK.cpp

TinyRF uses pulse-width encoding (No consecutive 0 or 1 guaranteed) and Radiohead uses high low directly with 4B6B encoding.

Their preambles are a bit different

@stripu
Copy link
Author

stripu commented Oct 27, 2023

Indeed, the two libraries are quite different in how they do things.
Nevertheless, I've used them both and to be honest I prefer the TinyRF one in terms of reliability and ease of use :)
I'm particularly interested in the RX part, in order to use the ch55x board connected to USB and simulate different button presses when a RF signal is received.

Here's hoping that you are successful in your tests, this would be an amazing addition!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants