I am using Esp-WROOM-32 module and SIMcom A7670C module.
I am trying to send AT commands, but i am getting garbage value, bits are flipping.
so i used USB to TTL converter, here it is fine, i mean no garbage value and no bits flipping.
I am using 115200 Baud rate. both esp32 and usb to ttl converter uses CP2102 chip only, i don't understand the problem.
i am giving 4.16V power supply to SIMcom A7670C through power bench, i also connected common ground, still i am facing this issue.
the voltage between GSM GND and GSM TX pin is 1.8V.
this is how my garbage value looks like :
" 11:40:45.672 -> ��AT+CGATT?
11:41:39.280 -> +CGDCONT: 1,"IP","IOT.COM","",0,0,,,,
11:41:39.320 ->
11:41:39.320 -> OK
11:42:41.362 -> ����������������������������������
"
so how to resolve this?
Keep in mind that since the default UART pins of the ESP32 are also connected to the CP2102, the Rx pin (GPIO 3) is not actually capable of reception, other than that from the CP2102.
the easiest way to test communication is to connect an external device to the ESP32 UART2 pins (cross the Tx & Rx lines and add a current limiting resistor just in case) and use the SerialPassThrough example from the IDE.
it is not built in pcb.
i have SIMcom A7670C module, my esp32 module, power bench, bread board.
i used jumper wires and connected my GPIO 18 to TX of simcom, GPIO 19 to RX of simcom, did common ground.
data is coming, but not clean. the data is like below: