Yay modules arrived. Thanks Mouser, all sequential EUI numbers! Easier to script
Still canāt register to Laird website, web site says invalid captcha but does not show any on the web page (of course tried several browsers), 1st time didnāt received activation email, now, no captcha, whatās next
I had to switch off adblocker and other filter things completely
I asked to support to create an account, itās done very quickly
Must say that Iām a bit miffed that the LoRa antenna doesnāt come out on a pin like the RN2483. Got my fingers burnt with cheap pigtails in the past so tend to use decent ones that cost $$$. Shame really, as the current configuration means that the antenna ends up being a significant cost in the BOM
Hiā¦as per my knowledge the RM186 can collect data from external sources by interfacing directly with a sensor over a UART, SPI or, I2C serial communication channel or over a wireless BLE connection if a sensor is physically connected to a BLE peripheral device.Data can also be gathered internally using the analog or digital IO pins.
How can I communicate from my PC/Laptop (win10) with an RM186 via BLE ?
-what software/hardware do I need ?
-is it possible to āuploadā smartbasic programs this way ?
-what is a ālaird suppliedā adapter ? is that diffent then ānormalā BT adapters ?
this is from the āsmartBASIC Extensions v1.0 - RM1xxā documentation :
News from Laird support regarding the virtual serial port:
Iām pretty sure this means smartBASIC uploads over bluetooth are not possible, however Iām following up with support to make sure.
deepsleep power consumption RM 186
uartclose()
rc = LORAMACSleepMode()
rc = SystemStateSet(0)
Hello,
i have got a RM186 DevKit too. After sometime i found a way to send data to my raspberry pi single channel gateway with rfm95. I used the cmd.loramac.rm1xx.sb exmaple and apb. I can also see the incoming packets. But i donāt get any data from ttn. Does someone have an idea?
Jurkov
Hi Jurkov did you find the answer ?
Yes, itās a bit strange. To send to a raspberry pi single channel gateway use channel 1 without ack (lora send Hello 1 0). I needed to switch the two keys for ABP on RM186 to get it working. Could there be a bug @BWhitten?
I received a RM186 dev kit and i have been playing around with it for a couple of days now.
I wrote a simple BLE scanner + Lora program myself and tried it on the board, it seemed to run pretty well.
But once i tried to run the code in āautorunā mode, it seems to do not more than 1 or 2 Lora calls, and it goes quiet.
Here is version of jmarcelino program : http://pastebin.com/NGuCUi1v (just simplified HndlrAdvRpt)
I tried with this, same result.
If you can, can you let me know if you see the same result? on āAutorunā mode?
Hi @shagan,
That happens - as best I can understand - because the print statements open the UART and expect a connection (indicated by RTS/CTS flow control?) to something that can accept what your are print-ing
Once you unplug the board from the computer and set it to autorun the UART connection doesnāt exist, so the print statements start filling the small internal serial buffer up. When full everything stops until a UART is connected.
For autorun deployments I simply comment out the print statements. That works well for me with thousands of transmissions using that script you based yours on.
I think there is also a way to set print to go somewhere else other than UART (something like NULL work work great) but Iām not sure how.
Hope that helps.
I remove J5 (RTS->CTS) in āAutorunā mode to disable flow control.
Good point.
Another solution is to disable flow control in smartBASIC by adding:
UartClose()
result = UartOpen(115200,0,0,āCN81Nā)
to your startup code. That will keep it ticking nicely.
Thanks a ton guys! it worked!!!
All i need now is to glow a few 12V bulbs (R, G, B) based on Lora response.
I was thinking of using Arduino shield pins, but not sure about pin mappings.
Any examples are welcome!
regards
Shankar
I am unaware of a bug with personalisation keysā¦
Could you give some more detail about your setup, unfortunately I donāt have that gateway config to try it out.