RFM65 radio with MicroPython

General discussions and questions abound development of code with MicroPython that is not hardware specific.
Target audience: MicroPython Users.
Terrence
Posts: 13
Joined: Thu Aug 18, 2016 6:40 pm

RFM65 radio with MicroPython

Post by Terrence » Wed Aug 24, 2016 3:21 am

<moved from Libs section to General Questions section>

Having searched a bunch, I can't seem to find anyone using RFM69 with MicroPython.

The esp8266 is great, but wifi uses too much energy for low power battery operated IOT projects.
Anyone interested in this?

Thanks.

Edit: My goal would be to have sensors in the field with a RFM69 radio sending data back to the gateway (a board with another RFM69 and a ESP8266. The ESP would then send the data to the cloud.)
Last edited by Terrence on Wed Aug 24, 2016 2:32 pm, edited 1 time in total.

User avatar
pythoncoder
Posts: 5956
Joined: Fri Jul 18, 2014 8:01 am
Location: UK
Contact:

Re: RFM65 radio with MicroPython

Post by pythoncoder » Wed Aug 24, 2016 9:39 am

I assume you've seen the official library for the NRF24L01+. But the RFM65 should offer longer range.
Peter Hinch
Index to my micropython libraries.

Terrence
Posts: 13
Joined: Thu Aug 18, 2016 6:40 pm

Re: RFM65 radio with MicroPython

Post by Terrence » Wed Aug 24, 2016 2:30 pm

pythoncoder wrote:I assume you've seen the official library for the NRF24L01+. But the RFM65 should offer longer range.
Thanks for the tip.

No, I had not, searching for RFM69 and micropython didn't turn that up, obviously.

So do you think code for the Nordic radio will work for the RFM69? I don't know enough about this, but I would think it would need to be altered to work with the difference radio type.

User avatar
pythoncoder
Posts: 5956
Joined: Fri Jul 18, 2014 8:01 am
Location: UK
Contact:

Re: RFM65 radio with MicroPython

Post by pythoncoder » Thu Aug 25, 2016 7:02 am

No, I doubt there's any compatibility - I was merely pointing out that there is a proven and supported radio. But I can see why you might want to use the RFM65 for longer range. The really interesting radio technology is LoRa (in my opinion).
Peter Hinch
Index to my micropython libraries.

Terrence
Posts: 13
Joined: Thu Aug 18, 2016 6:40 pm

Re: RFM65 radio with MicroPython

Post by Terrence » Thu Aug 25, 2016 2:50 pm

No doubt, LoRa is fantastic. I am using it in some other situations. For IOT in moderate ranges RFM69 is the ticket I believe. Way cheaper than LoRa and gateway tech is easier and cheaper as well.

Once Austin's LoRaWAN coverage is better we can start using that for the great range it provides.

It would be nice to use these radios with a great high level language like Micropython instead of the usual c/c++ nightmare.

User avatar
deshipu
Posts: 1388
Joined: Thu May 28, 2015 5:54 pm

Re: RFM65 radio with MicroPython

Post by deshipu » Thu Aug 25, 2016 3:00 pm

You can always write the driver for it yourself, it's not very hard.

Terrence
Posts: 13
Joined: Thu Aug 18, 2016 6:40 pm

Re: RFM65 radio with MicroPython

Post by Terrence » Thu Aug 25, 2016 3:53 pm

>>not very hard.

Well that all depends on your experience. I don't have the chops to convert that radio library from c++ to MP.

I can barely get business logic written let alone low level libs.

Thanks.

User avatar
deshipu
Posts: 1388
Joined: Thu May 28, 2015 5:54 pm

Re: RFM65 radio with MicroPython

Post by deshipu » Thu Aug 25, 2016 4:23 pm

It's a great opportunity to learn. Give it a try, we can help you!

Terrence
Posts: 13
Joined: Thu Aug 18, 2016 6:40 pm

Re: RFM65 radio with MicroPython

Post by Terrence » Thu Aug 25, 2016 9:47 pm

>>It's a great opportunity to learn. Give it a try, we can help you!

Well that is a very good point. Thank you for the offer. Let me start looking at those libs.

Terrence
Posts: 13
Joined: Thu Aug 18, 2016 6:40 pm

Re: RFM65 radio with MicroPython

Post by Terrence » Thu Aug 25, 2016 10:21 pm

I wish @VisualEcho would chime in, it looks like he was working on the Radiohead library which is just what I need.

http://forum.micropython.org/viewtopic.php?f=15&t=2134

Post Reply