The purpose of this project is remote control from AT commands using serial comunication. AT commands have been used by different hardware companies, and it's easy to use.
Clone this project
git clone https://github.com/brakdag/Arduino-AT-Command-Control.git
- Download the latest version of the arduino ide, from the official page,
- Open in Arduino IDE the file in
/src/arduino.at.firmware.ino
. - Connect the Arduino, compile and upload.
- Open Serial Monitor, change to
Both LN & CR
and9600baud
Now you just have to write the commands and see how it works. It's very simple.
- Type
AT
if will be returnOK
AT command | Description | return |
---|---|---|
AT |
Check status comunication. | OK |
AT+RESET |
Restart Arduino. | OK |
AT+CCLK |
Get time in milliseconds after Arduino start. | value |
ATDOH+<PIN> |
Set pin to HIGH. | OK |
ATDOL+<PIN> |
Set pin to LOW. | OK |
ATDIN+<PIN> |
Read pin digital input. | value |
ATDIP+<PIN> |
Read pin digital input with internal pull up resistor. | value |
ATAI+<PIN> |
Read analog input. | value |
ATDOH+13 //change status pin 13 to HIGH
ATDOL+13 //change status pin 13 to LOW
Install nodejs
and npm
then run the follow code.
npm install
node node/blink.js
MIT