Introduction:
In this post, we’ll explore how to use the AI Thinker Serial Tool to send AT commands to an A9G board, enabling you to place calls programmatically. The A9G board is a powerful GSM/GPRS and GPS module developed by AI Thinker, featuring robust connectivity and versatile capabilities.
Prerequisites:
A9G board
AI Thinker Serial Tool
USB-to-Serial adapter (CP2102) to Send AT Commands to A9G Board
Computer with Ai-Thinker Serial Tool Installed.
Steps:
Connect the A9G board to your computer using the USB-to-Serial adapter.
Open the AI Thinker Serial Tool on your computer.
Select the appropriate COM port corresponding to your USB-to-Serial adapter in the AI Thinker Serial Tool.
Power on the A9G board.
Once the board is powered on and connected, you can start sending AT commands through the Serial Tool.
To place a call using AT commands, type the following command into the Serial Tool’s terminal window:
ATD[number];
ATD+917XXXXXXXXX;
Replace
"[number]"
with the phone number you want to call, including the country code.Press Enter to send the command to the A9G board. You should see a response indicating that the call is being initiated.
Monitor the status messages returned by the A9G board to track the progress of the call.
To end the call, type:
ATH
- This command terminates the ongoing call.
Conclusion:
In this tutorial, we’ve demonstrated how to use the AI Thinker Serial Tool to send AT commands to an A9G board for placing calls. By following these steps, you can harness the power of the A9G board’s GSM/GPRS capabilities to automate call-related tasks in your projects. Experiment with different AT commands to unlock even more functionalities and possibilities with the A9G board. Happy hacking!