Daniel kalu
DIIDevHeads IoT Integration Server
•Created by Daniel kalu on 12/16/2024 in #🪲-firmware-and-baremetal
Can connecting a 5V device without level shifting cause these errors?
I'm integrating industrial sensors with AWS IoT Core using ESP32, configuring MQTT communication to send sensor data to the cloud. The 5V TTL serial device is a temperature sensor using RS232 protocol. When connecting it directly to the ESP32's 3.3V UART pins, I notice occasional garbage values in received data through serial monitoring tools. This caused incorrect sensor readings to be sent to the cloud, resulting in inaccurate IoT analytics.
To troubleshoot, I've observed the garbage values using a serial terminal and scope measurements. I haven't tried reducing the baud rate yet, but I have verified the issue persists across multiple cloud connections.
Can connecting a 5V device without level shifting cause these errors?
4 replies