Does the RF24 library (from TMRh20) work on STM32F103?

Can someone help me port this library?
User avatar
mrburnette
Posts: 1803
Joined: Mon Apr 27, 2015 12:50 pm
Location: Greater Atlanta
Contact:

Re: Does the RF24 library (from TMRh20) work on STM32F103?

Post by mrburnette » Fri Nov 13, 2015 4:10 pm

For what it is worth...

I have a friend that swears by: http://lowpowerlab.com/moteino/

I guess it really depends on what one intends to do at 2.4G... the ESP8266 is being utilized in my house (master GPS datagram transmitter is in the attic and the UDP receivers work anywhere in the house and basement and around the perimeter of the 1/3 acre lot. But, I really have not tried TCP to see what a more reliable form of communication would provide in the same space.
http://www.hackster.io/rayburne/tardis- ... server-gps


Ray

User avatar
primateio
Posts: 61
Joined: Sun Sep 20, 2015 11:17 pm
Location: Midland, Tx
Contact:

Re: Does the RF24 library (from TMRh20) work on STM32F103?

Post by primateio » Fri Nov 13, 2015 4:23 pm

mrburnette wrote:the ESP8266 is being utilized in my house (master GPS datagram transmitter is in the attic and the UDP receivers work anywhere in the house and basement and around the perimeter of the 1/3 acre lot.
I never even range tested the ESP8266. Come to think of it, I might switch to that on my project. It is an FPV lawn mower. I was using the nrf24l01 with PNA LNA for control, and was switching to the same radios in the moteno to get better range. But if I could get the range on the ESP8266, I could do away with the seperate radio/microcontroller completely. Which module are you using? Just the standard trace antenna?

Just to be clear, you are not going through your router, just ESP8266 to ESP8266 correct?

User avatar
mrburnette
Posts: 1803
Joined: Mon Apr 27, 2015 12:50 pm
Location: Greater Atlanta
Contact:

Re: Does the RF24 library (from TMRh20) work on STM32F103?

Post by mrburnette » Fri Nov 13, 2015 4:34 pm

primateio wrote: <...>
Which module are you using? Just the standard trace antenna?

Just to be clear, you are not going through your router, just ESP8266 to ESP8266 correct?
ESP8266 to ESP8266 ... NO external AP required... therefore, no Internet access or security concerns.

In my use, I buy this unit:
http://www.aliexpress.com/item/New-vers ... 17567.html

Added:
You asked about the PCB antenna - I do not have an issue with it, I prefer it over the "Rainsun" modular antenna on the -07's. But with a module like the -07, you can then use the external 3dB antenna:
http://www.aliexpress.com/item/Free-Shi ... 13297.html


Forum member Martin Ayotte (martinayotte on ESP8266.com) has some published peer-peer code. My UDP example which was linked earlier can also be TCP just by changing the protocol invocation.
http://www.esp8266.com/viewtopic.php?f=27&t=4080#p23577 (must be logged-in to download)


Ray

User avatar
martinayotte
Posts: 1222
Joined: Mon Apr 27, 2015 1:45 pm

Re: Does the RF24 library (from TMRh20) work on STM32F103?

Post by martinayotte » Fri Nov 13, 2015 6:07 pm

mrburnette wrote: Forum member Martin Ayotte (martinayotte on ESP8266.com) has some published peer-peer code. My UDP example which was linked earlier can also be TCP just by changing the protocol invocation.
http://www.esp8266.com/viewtopic.php?f=27&t=4080#p23577 (must be logged-in to download)
Those examples are now pretty old, but they still a good way to start ... ;)

User avatar
RogerClark
Posts: 6911
Joined: Mon Apr 27, 2015 10:36 am
Location: Melbourne, Australia
Contact:

Re: Does the RF24 library (from TMRh20) work on STM32F103?

Post by RogerClark » Fri Nov 13, 2015 7:49 pm

In my experience the range on 24L01 is much less than wifi, so I would definitely give wifi a try.

You may want to run a wifi scanner and find a channel that is not being used by other routers in the vacinity, as this can cause interferance and loss of range (but it doesnt seem to make much difference)

If you need longer range, you would have to use lower frequencies e.g. 433MHz or 915MHz etc, but using devices for those bands, e.g. nRf905 and RFM69 is much lower data rate etc etc

User avatar
mrburnette
Posts: 1803
Joined: Mon Apr 27, 2015 12:50 pm
Location: Greater Atlanta
Contact:

Re: Does the RF24 library (from TMRh20) work on STM32F103?

Post by mrburnette » Fri Nov 13, 2015 10:10 pm

martinayotte wrote: <...>
Those examples are now pretty old, but they still a good way to start ... ;)
Good working code ages like a fine wine...

Ray

zmemw16
Posts: 1417
Joined: Wed Jul 08, 2015 2:09 pm
Location: St Annes, Lancs,UK

Re: Does the RF24 library (from TMRh20) work on STM32F103?

Post by zmemw16 » Sat Nov 14, 2015 12:24 am

stagnates surely :D

User avatar
martinayotte
Posts: 1222
Joined: Mon Apr 27, 2015 1:45 pm

Re: Does the RF24 library (from TMRh20) work on STM32F103?

Post by martinayotte » Sat Nov 14, 2015 2:15 pm

mrburnette wrote:Good working code ages like a fine wine...
"Clos Vougeot" or "Côte Rôtie" ? :)

zmemw16
Posts: 1417
Joined: Wed Jul 08, 2015 2:09 pm
Location: St Annes, Lancs,UK

Re: Does the RF24 library (from TMRh20) work on STM32F103?

Post by zmemw16 » Sat Nov 14, 2015 3:40 pm

with very slight secondary fermentation/sparkling on casking :D

sslobodyan
Posts: 2
Joined: Tue Jan 26, 2016 3:22 pm

Re: Does the RF24 library (from TMRh20) work on STM32F103?

Post by sslobodyan » Tue Jan 26, 2016 5:57 pm

primateio wrote:I can post my modified version on github if you want
You really help me, if you specify your own code. I can not understand why do not work the interrupts in STM32F103. Thank you.

Post Reply