0

Low cost simple RF link for Cpython dev boards
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Low cost simple RF link for Cpython dev boards

by rohare on Wed Jan 29, 2020 2:31 am

I've recently switched from the arduino environment to the circuitpython ecosystem for a variety of projects and have really liked it. However, I tried to use a cheapo RF link transmitter and receiver pair that I had in a drawer and ran into a bunch of problems. What product would you recommend in the circuitpython ecosystem to replace this kind of cheap, simple rf link? https://www.sparkfun.com/products/10533 and https://www.sparkfun.com/products/10535. My very modest requirements are to simply move integers from one dev board to another in the next room or across no more than a few dozen feet out-doors with line of sight. Bluetooth and WiFi just seem like too much and LoRa is interesting but seems overly complex, but I could be totally wrong. Just looking for recommendations.

rohare
 
Posts: 5
Joined: Tue Jun 21, 2016 10:59 pm

Re: Low cost simple RF link for Cpython dev boards

by adafruit_support_mike on Wed Jan 29, 2020 5:31 am

We use packet radio, since that has a better overall feature list than the simpler boards you linked:

https://www.adafruit.com/?q=packet%20radio

and we have CircuitPython support for them.

A related device is the nRF24L01 which, while we don't carry it, is cheap and supported by the RadioHead library (the same one we use for the packet radio modules above). Unfortunately I don't know of any CircuitPython code that supports it.

adafruit_support_mike
 
Posts: 60735
Joined: Thu Feb 11, 2010 2:51 pm

Re: Low cost simple RF link for Cpython dev boards

by jerryn on Wed Jan 29, 2020 6:29 am

FYI - there is a CircutPyhton Library for the nrf24L01
https://github.com/2bndy5/CircuitPython_nRF24L01/tree/853ff724ade6159d5d879e30094d595748ec62de

it is contained in the "Community Bundle"
https://github.com/adafruit/CircuitPython_Community_Bundle

I've tried the "simpletest" example with some of these https://www.amazon.com/gp/product/B00LX47OCY/ref=ppx_yo_dt_b_asin_title_o04_s00?ie=UTF8&psc=1 and it seems to work OK. I have not gone beyond that.

jerryn
 
Posts: 1139
Joined: Sat Sep 14, 2013 9:05 am

Re: Low cost simple RF link for Cpython dev boards

by adafruit_support_mike on Thu Jan 30, 2020 2:56 am

Hunh.. cool. Thanks for letting us know about that!

adafruit_support_mike
 
Posts: 60735
Joined: Thu Feb 11, 2010 2:51 pm

Re: Low cost simple RF link for Cpython dev boards

by tannewt on Thu Jan 30, 2020 3:05 pm

I'd recommend using BLE advertising. It's very simple and well supported. CircuitPython can run on the nRF52840 so you only need to use one device then.

tannewt
 
Posts: 1490
Joined: Thu Oct 06, 2016 8:48 pm

Please be positive and constructive with your questions and comments.