I stumbled across this unit last night, however couldn’t really figure out if it would work with TTN or not. I see that it has a SX1272 which I believe is compatible?
Whats everyones thoughts? Do you think I’d be able to make it work?
Yes I think that will work,
It’s a MCU (STM32L151CC by STMicroelectronics with 32-bit ARM® Cortex®-M3 CPU) with a Lora radio (RF Transceiver SX1272) upon one board.
Check out their Wiki page upon the links further down the listing for further information on setting it up.
As there is a breadboard adapter for the module. Would most likely work well as a node rather than a gateway as only support one channel
I did a wee bit of testing, I don’t have a unit but have just been trying to compile for it.
So far have had to downgrade to Arduino 1.6.0, and it compiles fine regularly. However now the IBM LMiC library will not compile with it.
See the error dump:
/Users/hewittwill/Documents/Arduino/libraries/arduino-lmic-master/src/aes/other.c: In function 'os_aes_cmac':
/Users/hewittwill/Documents/Arduino/libraries/arduino-lmic-master/src/aes/other.c:64:9: error: 'for' loop initial declarations are only allowed in C99 mode
for (u1_t i = 0; i < 16; ++i, ++buf, --len) {
^
/Users/hewittwill/Documents/Arduino/libraries/arduino-lmic-master/src/aes/other.c:64:9: note: use option -std=c99 or -std=gnu99 to compile your code
/Users/hewittwill/Documents/Arduino/libraries/arduino-lmic-master/src/aes/other.c:99:13: error: 'for' loop initial declarations are only allowed in C99 mode
for (u1_t i = 0; i < sizeof(final_key); ++i)
^
/Users/hewittwill/Documents/Arduino/libraries/arduino-lmic-master/src/aes/other.c: In function 'os_aes_ctr':
/Users/hewittwill/Documents/Arduino/libraries/arduino-lmic-master/src/aes/other.c:118:9: error: 'for' loop initial declarations are only allowed in C99 mode
for (u1_t i = 0; i < 16 && len > 0; i++, len--, buf++)
^
/Users/hewittwill/Documents/Arduino/libraries/arduino-lmic-master/src/aes/other.c: In function 'os_aes':
/Users/hewittwill/Documents/Arduino/libraries/arduino-lmic-master/src/aes/other.c:134:13: error: 'for' loop initial declarations are only allowed in C99 mode
for (u1_t i = 0; i < len; i += 16)
^
Error compiling.
Not sure why you need to downgrade to a lower version IDE, that’s not normally needed to compile a sketch in the IDE.
If you carefully read that error log, you will see that the problem is in the Ardunio-lmic-master library file, which is another file which normally doesn’t need editing unless it has been by accident. You might be able to fix this error by checking the syntax around line 64 (I Believe) near the for loop in the file other.c
I don’t think the file you are trying to compile is related to the item you asked about.
If you have ordered the item in the link you posted in your first post? I would suggest that you reinstall the 1.6.1 of the IDE, then follow the links upon the bottom of the item post’s and download the Radino32 Library, install it in the correct library folder for your version of the IDE. Then read these pages about that module http://wiki.in-circuit.de/index.php5?title=radino32_SX1272 http://wiki.in-circuit.de/index.php5?title=radino_Library
Download V24 of the library (the latest one) 06/10/16
That also contains an example sketch, which should compile and upload to the module. At this point you should have a working node, then by reading the example file you and keeping it’s layout you should be able to change the code within the set-up and loop to suit your project.
I would also wait until the board arrives as you will need to select the correct board and also install the USB drivers, details are in their their Wiki.
Post back, hopefully if you get the module running,
Looks like it will work, can’t say more until you report back on receiving the item.
Thanks to this post I have this device for over a year, but due to circumstances I was unable to use it.
Now I’m trying to get the LMIC example of the InCircuit example working I run inot problems.
I compiles without a problem but getting the ABP version working is a thing.
As a reference I use the ESP8266 version (this is my TTN reference and always works) together with a single channel packet forwarder.
Anyone experiences with the Radino32 and TTN?
and I asked you what problems… we are not paranormal here.
topic kicking is adding new questions to a topic older then 1 year (hence ‘the kick’) the original topic starters are most off the time gone and you’re reading or reacting to old information.
it’s considered not done on most boards.