Monday, 5 December 2016

Connect Arduino to Neoway M590E GSM/GPRS Module

Neoway M590 / M590E adalah Module GSM /GPRS Module dengan Spectrum 900 - 1800M yang cocok dengan Jaringan Operator GSM di Indonesia.

Neoway M590 / M590E Module buatan China sudah dilengkapi dengan Breakout Board dan Slot SIM Card serta kelengkapan pendukung lain Antena,Pin Header dan LED Indikator.

Yang Menarik dari Module ini adalah harganya yang sangat MURAH, tidak sampai 50rb rupiah.





product features?

Dual-band?900/ 1800 MHz
Good network compatibility?Certified by the global GPRS R4 agreement
Operation temperature ?-40~+80?, more safety outdoors
High reliability?Special EMI/EMC design, still as steady as a mountain with
bad electromagnetic environment
Support various protocols?
? TCP/ UDP/ FTP/ DNS
? TCP protocol stack support client mode?server mode?mix mode
? Multi-channe link


product certificate?CMIIT?CE?CCC

Chip Spesification :


Dimensions27.6 * 21.2 * 2.6mm
Sensitivity -107dBm
Instantaneous current Max 2.0A
Operation current < 210mA
Standby current < 2.5mA
Operating temperature -40~+80?
Operation voltage 3.3~4.5V, 3.9V recommended
Packaging 21-pin LCC package



Neoway M590 / M590E menggunakan komunikasi UART/Serial dengan Default Boudrate 9600
Neoway M590E Breakout Board memiliki 7 pinOut sebagai Berikut

1.BOOT : To Activated GSM/GPRS Modem (Active Low)
2.GND : Ground / 0V
3.5V : Supply 5VDC
4.RXD : Rx TTL module Neoway
5.TXD : Tx TTL module Neoway
6.RING : Ring Out Terminal for Call notification/Speaker
7.GND : Ground / 0V

Komunikasi Serial Module Neoway M590E dengan Arduino Uno/Nano/Leonardo/Mega

M590 <--> Arduino
BOOT <--> GND
GND <--> GND
5V <--> 5V
RXD <--> Tx Serial
TXD <--> Rx Serial

Berikut adalah Coding Arduino IDE yang saya buat untuk Tes Komunikasi Module Neoway M590E dengan Arduino Uno

#include 
SoftwareSerial Neoway(2, 3); // RX | TX
// Connect the Neoway M590 TX to Arduino pin 2 RX.
// Connect the Neoway M590 Arduino pin 3 TX through a voltage divider.

char c = ' ';
void setup()
{
// start th serial communication with the host computer
Serial.begin(9600);
Serial.println("Arduino with Neoway M590 is ready");

// start communication with the HC-05 using 38400
Neoway.begin(9600);
Serial.println("Neoway M590 started at 9600");
}

void loop()
{

// Keep reading from HC-05 and send to Arduino Serial Monitor
if (Neoway.available())
{
c = Neoway.read();
Serial.write(c);
}

// Keep reading from Arduino Serial Monitor and send to HC-05
if (Serial.available())
{
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 & CR
Keting AT-Command berikut untuk Melakukan Komunikasi dengan Module Neoway

AT = Cek KOmunikasi
Respon : OK

Tambahkan AT Command Berikut Setelah AT untuk Fungsi Lain

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
Check network registration status?+CREG
Power off?+CPWROFF
Set module function?+CFUN
Low-power set?+enpwrsave
Clock?+CCLK
Set the module?s baud rate?+IPR
Input PIN code?+CPIN
PIN enable and check function?+CLCK









reff : http://www.belajarduino.com/2016/05/connect-arduino-to-neoway-m590-gsmgprs.html


Video yang berkaitan dengan Connect Arduino to Neoway M590E GSM/GPRS Module


0 comments:

Post a Comment