Arduino Interfacing
Last updated
Last updated
Making Connections
Here we have connected UART TX(Purple),RX(Grey),GND(Black),VTRANS(Yellow), PWRKEY(Blue) pins of modem to Arduino Uno RX, TX, GND, 5V, GPIO2/Pin no 2 respectively
Make sure you press PWRKEY switch before running the below code or incorporate the PWRKEY activation code before sending AT command. Wait for atleast 30 seconds after module turns on to send any AT command.
Here is a simple code for testing a simple AT command. This code reads the IMEI number of module which is also printed on it.