Can I connect the LoPy module to the Raspberry?
-
Hello everyone,
I'm Santiago from Colombia...
I want to know if it is possible to create a network from LoPy to LoPy or nano-gateway and nodes, and connect this to Raspberry Pi to display all the data that has been acquired ...
If it is not possible, can I use the pins 40 and 41 (RX and TX) to get out the variables read to the Raspberry or some other Serial board reader ?.
Thank you.
Regards.
-
@PiAir It's by design, although admittedly confusing haha. I have an update to this where I'm connecting a LoPy up to a Raspberry Pi 3 which is running Node Red. The idea is to use this as an easy config Nano-Gateway.
I'll update this when I get around to publishing this!
-
@bucknall Maybe it is by design, but doesn't this code in main.py:
if data == b'send': send_lora("data")
cause the LoPy to always send the literal string "data" instead of the contents of the variable data?
-
Hi @scg94,
Have a look at this github repo, I will post this formally onto our docs later this week.
-
@bucknall
This is what I want to do, but I could not, can you help me?Regards...
-
Hi @scg94
I'll be posting to our docs soon, an example of how to do this!
I've previously used UART (RX & TX) to talk between the RPi and the LoPy to use the LoPy as a LoRa node!
Hope that helps!