A6 von AiThinker GSM & GPRS Modul ähnlich dem SIM900A zur Nutzung mit Arduino, Raspberry Pi oder anderen Mikrokontrollern.
Die Kommunikation erfolgt über TTL/RS232 Seriell. Mit diesem Modul lassen sich interessante Projekte umsetzen, die per SMS oder GPRS Daten über GSM kommunizieren können.
Die Spannungsversorgung erfolgt mit dem integrierten USB Micro Anschluß, welcher nicht für die Kommunikation mit dem Board genutzt wird.Zur Kommunikation, sowie zum Daten – Upload und Downlaod empfiehlt sich unser USB TTL Konverter oder eine direkte Verkabelung mit dem Micro-Kontroller.
Und so funktioniert es:
Übersicht der Funktionen:
Arduino Bespiel Code zur Kommunikation per TTL:
char phone_no[]=”+33614687128″;
void setup() {
Serial.begin(9600);
delay(300);
Serial.println(“AT+CMGF=1”);
delay(2000);
Serial.print(“AT+CMGS=””);
Serial.print(phone_no);
Serial.write(0x22);
Serial.write(0x0D); // hex equivalent of Carraige return
Serial.write(0x0A); // hex equivalent of newline
delay(2000);
Serial.print(“GSM A6 test message!”);
delay(500);
Serial.println (char(26));//the ASCII code of the ctrl+z is 26
}
void loop()
{
}
TECHNICAL SPECIFICATION
– dimensions of 22.8 16.8 2.5mm;
– Operating temperature -30 to + 80 ;
– Operating Voltage 3.3V-4.2V;
– Power voltage> 3.4V;
– Standby average current 3ma less;
– support the GSM / GPRS four bands, including 850,900,1800,1900MHZ;
– Sensitivity <-105; – support voice calls; – support SMS text messaging; – Support GPRS data traffic, the maximum data rate, download 85.6Kbps, upload 42.8Kbps; – Supports standard GSM07.07,07.05 AT commands and extended commands Ai Thinker; – supports two serial ports, a serial port to download an AT command port; – command supports the standard AT and TCP / IP command interface; – support digital audio and analog audio support for HR, FR, EFR, AMR speech coding; – Support 2G 3G 4G mobile card Unicom card – support ROHS, FCC, CE, CTA certification; – the SMT 42PIN package; MODULE PIN FLAG: VCC_IN: Power Supply Input 5V -9V GND: power ground U_TXD: A6 module to send (TTL level) U_RXD: A6 receiving module (TTL level) RS232_TX: 232 serial port RS232_RX: 232 serial port to receive HTXD: Serial Interface Upgrade HRXD: Serial Interface Upgrade MIC- MIC +: microphone input REC + REC-: Speaker output INT: Control module is used to enter a low-power mode, high back Out into the low PWR: power button,> 1.9V more than 2s to boot
(Module hardware to do the processing, power is automatically turned on, eliminating the need for wiring trouble)
EN: MP1584 power chip enable pin, pulled enable power chip, low enabled, this pin can be used as module reset pin enable