Page 149 - EMODUL TEKNIK KENDALI DIGITAL FT
P. 149
Universitas Negeri Makassar 136
{
c = Serial.read();
// mirror the commands back to the serial monitor
// makes it easy to follow the commands
Serial.write(c);
Neoway.write(c);
}
}
Upload Sketch Program di atas ke dalam Arduino UNO kemudian Hubungkan Arduino Uno
dengan Module Neoway dengan wiring sebagai berikut :
M590 <--> Arduino
--------------------------------
BOOT <--> GND
GND <--> GND
5V <--> 5V
RXD <--> D3
TXD <--> D2
Pastikan Lampu LED indicator Neoway M590 berkedip tanda Modem GSM/GPRS sudah
ON. Buka Serial Monitor pada Arduino IDE,setting Boudrate pada 9600 - Both NL & CRKeting
AT-Command berikut untuk Melakukan Komunikasi dengan Module NeowayAT.
A.General AT-Command
Get IMEI Number:+CGSN
Get IMSI Number:+CIMI
Get SIM card Identification:+CCID
Get Version:+ getvers
Repeat the previous command:A/ --> ATA/
Get the Module’s model:+CGMM
Get the module’s Information:I --> ATI
Echo:E --> ATE
Display the current configuration:&V --> AT&V
Save current configuration:&W --AT&W
Check the module’s status:+CPAS
TEKNIK KENDALI DIGITAL | UNM