You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been working with uPython for about a month and am absolutely enjoying the experience!
I’m trying to setup a radio link between 2x ESP32 uControllers using the RFM69HCW module by Adafruit and the u-lora driver by martynwheeler. It’s my first time setting up this connection and I’m in the dark about what is supposed to happen, so far nothing seems to work.
I’ve wired and tested the connection between the ESPs and their modules and have also tested the voltage level on the RFM module – the 4 SPI pins are wired correctly and there are no shorts between the pins.
I’ve copied the library file u-lora.py into both ESP32s and am running the client.py script on one and the server.py script on the other.
I’m getting an “AsserstionError: Lora Initialization failed” message when I run both client and server scripts and the error points to line 140 in the u-lora.py file. Commenting out this line of code doesn't help and I looked for solutions online but couldn’t find anything definite.
I made sure to set the SPIConfig to ESP32_2 option using channel 2 and SPI Pins 18(SCLK), 23(MOSI), 19(MISO).
I assume this is a purely software issue as I get the same outcome with or without the ESP32 connected to the RFM module. What changes do I need to make to get my ESPs to communicate?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Greetings All,
I've been working with uPython for about a month and am absolutely enjoying the experience!
I’m trying to setup a radio link between 2x ESP32 uControllers using the RFM69HCW module by Adafruit and the u-lora driver by martynwheeler. It’s my first time setting up this connection and I’m in the dark about what is supposed to happen, so far nothing seems to work.
I assume this is a purely software issue as I get the same outcome with or without the ESP32 connected to the RFM module. What changes do I need to make to get my ESPs to communicate?
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions