Home › Forums › The libraries hosted on the site › EByte LoRa e220 UART devices LLCC68 › Problems with EBYTE E220-900T22D
- This topic has 9 replies, 4 voices, and was last updated 10 months, 3 weeks ago by
echo9.
-
AuthorPosts
-
-
18 October 2022 at 00:25 #23307
Hello and thanks for the great library. Unfortunately I can’t get the EBYTE E220-900T22D module to run. I am using an ESP-32 Dev Kit C V4. I configured the modules using a USB adapter. Both configurations are identical. Unfortunately I am not receiving anything. Below is my code:
#define ENABLE_RSSI true #include "LoRa_E220.h" LoRa_E220 e220ttl(&Serial2); // esp32 RX 16 –> e220 TX | esp32 TX 17 –> e220 RX void setup() { Serial.begin(115200); delay(500); e220ttl.begin(); Serial.println("Hi, I’m going to receive a message!"); ResponseStatus rs = e220ttl.sendMessage("Receiver listening"); Serial.println(rs.getResponseDescription()); // Check If there is some problem of succesfully send } void loop() { // If something available if (e220ttl.available() > 1) { // read the String message #ifdef ENABLE_RSSI ResponseContainer rc = e220ttl.receiveMessageRSSI(); #else ResponseContainer rc = e220ttl.receiveMessage(); #endif // Is something goes wrong print error if (rc.status.code != 1) { Serial.println(rc.status.getResponseDescription()); } else { // Print the data received Serial.println(rc.status.getResponseDescription()); Serial.println(rc.data); #ifdef ENABLE_RSSI Serial.print("RSSI: "); Serial.println(rc.rssi, DEC); #endif } } if (Serial.available()) { String input = Serial.readString(); e220ttl.sendMessage(input); } }
Can you help me please? Thanks in advance and best regards.
-
18 October 2022 at 08:11 #23310
Hi schewski,
the code is ok, so I think you made some errors in others parts.You must give us the wiring, and all other information to do a debug.
Bye Renzo -
18 October 2022 at 12:01 #23325
Hello Renzo. Thank you for your quick feedback. The wiring looks like this:
E220 ESP32
—- —–
GND > GND
VCC > 5V
AUX > NONE / FLOATING
TXD > 16
RXD > 17
M1 > GND
M0 > GNDWhat I also noticed is that I cannot set a key for either module via the USB adapter. If I enter a value and click on set, I get a success – if I read in the data again, the key entry is 0 again. This happens with both modules. If I change the channel it works without problems. Is that normal? Maybe the modules are broken?
-
18 June 2024 at 22:42 #30829
I know this response is very late but in case anyone else runs into this looking for why they cannot read the key. From what I can tell, the system only allows you to set the key. Once the key is set it will return 00 00 for the key if you ask for it. When using the Window Configuration program this does the same thing. So you will “Get params”, and it will say key 0000. You can then set the key, say to 9999, and then it will set the key, but when you run Get Parms again, it will simply say 00 00, so this is expected behavior. However, when using the radios together, if you do not do a set key on both sides, they will not communicate. I am using a USB module SH-L1A from DSD Tech, and I just wanted something quick that I could use to play with LoRa a bit. Now of course I am wishing I had bought something with a MCU and chip so I can use the libs easier, Oh Well, I will write my own, or modify what is out there. 🙂
-
-
18 October 2022 at 22:09 #23334
If you can’t manage the module with a USB adapter and EByte program probably, the devices are broken, but It’s very strange.
Try to wire the AUX pin and check the behavior.
Bye Renzo -
18 October 2022 at 22:09 #23335
If you can’t manage the module with a USB adapter and EByte program probably, the devices are broken, but It’s very strange.
Try to wire the AUX pin and check the behavior.
Bye Renzo -
29 March 2023 at 13:31 #24990
Hello
I try to connect E220-900T22D with micro controller but the data is received in module but it is not transmitted to module B. Even I can see data :the output pin in data visualizer .Advance thanks
Regards,
aishwarya
-
31 March 2023 at 08:25 #24991
Hi Aishwarya,
first of all, connect AUX pin to have real feedback.
Then pay attention to the power supply and ensure the wiring of M0 and M1 is correct.
Bye Renzo -
6 April 2023 at 13:29 #25239
-
6 April 2023 at 13:30 #25241
Advance thanks
-
-
AuthorPosts
- You must be logged in to reply to this topic.