Home › Forums › The libraries hosted on the site › EByte LoRa e220 UART devices LLCC68 › E220-900T22D Data Size not match!
Tagged: E220-900T22D
- This topic has 8 replies, 4 voices, and was last updated 10 months, 1 week ago by JamieSue. 
- 
		AuthorPosts
- 
		
			- 
10 April 2023 at 18:48 #25284Hi Renzo first of all thanks for you excellent and hard work. 
 i am having problems with a esp32 and a E220-900T22D, i get this serial outoput when i run your example “get configuration”(first screenshot) and when i run the set parameters i get the second screenshot.Attachments:You must be logged in to view attached files.
- 
10 April 2023 at 19:22 #25288Hi Giuseppe, 
 Data size not matching can be caused by wrong M0 M1 wiring or low power supply.
 Bye Renzo- 
4 December 2024 at 23:18 #31923
- 
4 December 2024 at 23:31 #31926i miei componenti sono 
 LoRa 868 MHz 915 MHz LLCC68 Modulo wireless 22 dBm Lungo raggio 5 km CDEBYTE E220-900T22D SMA-K UART RSSI Trasmettitore Ricevitore DIP
 e
  RP2040 RP2040
 sto usando la libreia E220
 ed ho modificato il codice LoRa_E220 e220ttl(&Serial2, 1, 10, 11); // RX AUX M0 M1 perche rp e diverso da quello originale- 
		This reply was modified 11 months ago by simone. 
 
- 
		This reply was modified 11 months ago by 
- 
24 December 2024 at 10:36 #31925/* 
 * LoRa E220
 * Get configuration.
 * You must uncommend the correct constructor.
 *
 * by Renzo Mischianti <https://www.mischianti.org>
 *
 * https://www.mischianti.org
 *
 * E220 —– WeMos D1 mini —– esp32 —– Arduino Nano 33 IoT —– Arduino MKR —– Raspberry Pi Pico —– stm32 —– ArduinoUNO
 * M0 —– D7 (or 3.3v) —– 19 (or 3.3v) —– 4 (or 3.3v) —– 2 (or 3.3v) —– 10 (or 3.3v) —– PB0 (or 3.3v) —– 7 Volt div (or 3.3v)
 * M1 —– D6 (or 3.3v) —– 21 (or 3.3v) —– 6 (or 3.3v) —– 4 (or 3.3v) —– 11 (or 3.3v) —– PB10 (or 3.3v) —– 6 Volt div (or 3.3v)
 * TX —– D3 (PullUP) —– TX2 (PullUP) —– TX1 (PullUP) —– 14 (PullUP) —– 7 (PullUP) —– PA2 TX2 (PullUP) —– 4 (PullUP)
 * RX —– D4 (PullUP) —– RX2 (PullUP) —– RX1 (PullUP) —– 13 (PullUP) —– 8 (PullUP) —– PA3 RX2 (PullUP) —– 5 Volt div (PullUP)
 * AUX —– D5 (PullUP) —– 18 (PullUP) —– 2 (PullUP) —– 0 (PullUP) —– 2 (PullUP) —– PA0 (PullUP) —– 3 (PullUP)
 * VCC —– 3.3v/5v —– 3.3v/5v —– 3.3v/5v —– 3.3v/5v —– 3.3v/5v —– 3.3v/5v —– 3.3v/5v
 * GND —– GND —– GND —– GND —– GND —– GND —– GND —– GND
 *
 */#include “Arduino.h” 
 #include “LoRa_E220.h”// ———- esp8266 pins ————– 
 //LoRa_E220 e220ttl(RX, TX, AUX, M0, M1); // Arduino RX <– e220 TX, Arduino TX –> e220 RX
 //LoRa_E220 e220ttl(D3, D4, D5, D7, D6); // Arduino RX <– e220 TX, Arduino TX –> e220 RX AUX M0 M1
 //LoRa_E220 e220ttl(D2, D3); // Config without connect AUX and M0 M1//#include <SoftwareSerial.h> 
 //SoftwareSerial mySerial(D2, D3); // Arduino RX <– e220 TX, Arduino TX –> e220 RX
 //LoRa_E220 e220ttl(&mySerial, D5, D7, D6); // AUX M0 M1
 // ————————————-// ———- Arduino pins ————– 
 //LoRa_E220 e220ttl(4, 5, 3, 7, 6); // Arduino RX <– e220 TX, Arduino TX –> e220 RX AUX M0 M1
 //LoRa_E220 e220ttl(4, 5); // Config without connect AUX and M0 M1//#include <SoftwareSerial.h> 
 //SoftwareSerial mySerial(4, 5); // Arduino RX <– e220 TX, Arduino TX –> e220 RX
 //LoRa_E220 e220ttl(&mySerial, 3, 7, 6); // AUX M0 M1
 // ————————————-// ————- Arduino Nano 33 IoT ————- 
 // LoRa_E220 e220ttl(&Serial1, 2, 4, 6); // RX AUX M0 M1
 // ————————————————-// ————- Arduino MKR WiFi 1010 ————- 
 // LoRa_E220 e220ttl(&Serial1, 0, 2, 4); // RX AUX M0 M1
 // ————————————————-// ———- esp32 pins ————– 
 // LoRa_E220 e220ttl(&Serial2, 15, 21, 19); // RX AUX M0 M1//LoRa_E220 e220ttl(&Serial2, 22, 4, 18, 21, 19, UART_BPS_RATE_9600); // esp32 RX <– e220 TX, esp32 TX –> e220 RX AUX M0 M1 
 // ————————————-// ———- Raspberry PI Pico pins ————– 
 LoRa_E220 e220ttl(&Serial2, 1, 10, 11); // RX AUX M0 M1
 // ————————————-// —————- STM32 ——————– 
 //HardwareSerial Serial2(USART2); // PA3 (RX) PA2 (TX)
 //LoRa_E220 e220ttl(&Serial2, PA0, PB0, PB10); // RX AUX M0 M1
 // ————————————————-
 
- 
- 
11 April 2023 at 19:56 #25305Thanks Renzo, it work but know i am getting this “Save mode returned not recognized!” in the example “set configuration”, what could be cousing that problem? - 
9 December 2024 at 16:53 #31933Hi, 
 try to put 5v on power and 3.3v on logic level.
 Bye Renzo
 
- 
- 
11 April 2023 at 22:19 #25306Hi, 
 about this issue here you can find a possible solution
 https://github.com/xreef/EByte_LoRa_E220_Series_Library/pull/11
 It’s seems that there is an issue with software serial, but it’s very strange.
 Even if the message say that the module working.
 Bye Renzo
- 
27 December 2024 at 13:03 #32009Thanks for the info. 
 
- 
- 
		AuthorPosts
- You must be logged in to reply to this topic.

 RP2040
RP2040 
 
																			


 
