UC GEE
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?
Hey @Daniel kalu Connecting a 5V TTL device directly to the ESP32's 3.3V UART pins in your project without level shifting can indeed cause errors like garbage values in the received data. The ESP32's GPIO pins does not tolerate 5V; exceeding of the maximum input voltage in your project can lead to incorrect readings or even damage the microcontroller over time.
For reliable communication, I will advise you to use a level shifter or a dedicated RS-232 to TTL converter to ensure proper voltage levels and protect the ESP32.
4 replies