I am using RS485 to TTL converter as found in the attachment, the VCC, RX, Tx and GND output are given to the UART 1 of HMI,
After program it, it is not working properly we are getting timeout in it.
To double confirm it we have connected RS485 to TTL converter with Rasberry Pi pico it is working fine.
Please provide your valuable suggestion, if we are missing something?
For the issue mentioned in your email, our response is as follows:
1 Please provide the model of the module you are using.
2 You've mentioned that you're using RX-18 and TX-17 for UART1. Ensure that these pins are correctly configured in the code and match the physical connections.
ESP32-S3 also uses different pinmux settings compared to other boards. Make sure the UART1 pins are correctly mapped for TX and RX in your code.
Example code for setting UART1 in ESP32-S3:(Ensure that GPIO18 is connected to RX of the RS485 converter, and GPIO17 is connected to TX.)
HardwareSerial mySerial(1);
void setup() {
Serial.begin(115200); // Debugging Serial
mySerial.begin(9600, SERIAL_8N1, 18, 17); // RX = GPIO18, TX = GPIO17
Serial.println("UART1 Initialized");
}
void loop() {
if (mySerial.available()) {
char incomingByte = mySerial.read();
Serial.print("Received: ");
Serial.println(incomingByte);
}
}
Please help 4G usage
1. For the use of 4G functionality, please refer to the manual: https://www.elecrow.com/download/product/CIL12302G/ThinkNode-G1_Indoor_Gateway_User_Manual.pdf
2. This product's LTE Cat is Global Frequency Band (SIM7670 module), which supports the frequency bands you mentioned. However, it is still recommended that you confirm with your local operator the compatibility of SIM7670 in your area.