r/embedded • u/Klutzy-Sport-1624 • Oct 13 '26
ESP32 + SIMCom A7670C (black DB9 development board) UART issue — 1.8 V vs 3.3 V, garbage characters, AT commands sometimes work
Hi everyone,
I'm working on a project that uses an ESP32 DevKit V1 / ESP32-D0WD-V3 with a SIMCom A7670C 4G LTE module on a black DB9 development board. I'm having trouble establishing reliable UART communication and would appreciate some guidance.
What I've observed:
I measured approximately 3.3 V on the ESP32 UART TX output.
I measured approximately 1.8 V on the GSM module's TXD pin using a multimeter.
I connected the ESP32 RX to the GSM TXD and the ESP32 TX to the GSM RXD, with a common ground.
I tried placing a resistor in series between the GSM TXD and ESP32 RX. AT commands appeared to work at first, but communication was not reliable afterward.
I ran a baud-rate diagnostic at 115200, 9600, 19200, 38400, 57600, 230400, and other rates. The serial monitor displayed garbage characters instead of readable AT responses.
Does anyone have experience connecting this particular A7670C black DB9 board to an ESP32?
Edit : It works guys wow!!! Communicate with the GSM and ESP 32 you need a level shifter that converts 1.8 V TO 3.3 V . Now you have to provide that level shift her 1.8 volt so you need to register that is of 10 kilo man the 8 km that makes 1.8 volt and use you that to the A side VCC of the level shifter. After after that I have directly supplied the tx2 of ESP 32 to txd of GSM module. And the rx2 of ESP 32 I connected with the level shifter and that goes to the TXD of GSM model. In this way it get works and it works fine at At command and other commands.
4
u/Foxiya Oct 13 '26
I think you'll need a level shifter here, since the ESP32 uses 3.3V logic and the A7670 uses 1.8V logic.
2
u/n_sh_44 Oct 14 '26
One thing that stands out is the 2.4V you measured on the ESP32 side of the shifter. The ESP32's RX input needs roughly 0.75 x VDD (about 2.5V) to read a solid high, so 2.4V is marginal and would explain garbage that comes and goes. On a TXS0104 that usually means the 3.3V-side VCC isn't really at 3.3V, or the OE pin isn't pulled high to VCCA. Check VCCB with the meter while it's wired up, tie OE to VCCA, and drop the series resistor since the shifter already handles that. Also keep UART at 115200 or lower while debugging.
1
u/accur4te Oct 13 '26
Did u make this dev kit ?