Product ID : 222051674
Model / SKU : 147836043
Conditions : New
Download Info from here
SIM900A (Dual Band 900Mhz, 1800Mhz Celcom, Maxis only) Mini Size Module - Compatible with Arduino
- IO Ports - RXD, TXD, Free USB to TTL for PC, supports 12000bps-115200bps, Supports AT commands GSM 07.07, 07.05, SIMCOM AT Extended commands
- Anttena - SMA connector, comes with GSM 900M/1800M small antenna
- Power Ports - DC 5V 2A 2.1 mm, BAT/GND connector for external mobile phone battery
- SIM Slot - Support 1.8V/3V SIM card
- Working Frequency - EGSM 900 Mhz/DCS 1800Mhz - Auto Dual Band
- Size of PCB 59mm*43mm
- With ESD Protection
- With On/Off button and Power LED inidcator
- Signal LED Indicator
#include
#define KEY1 2
void setup()
{
pinMode(KEY1, INPUT);
Serial.begin(9600); //set baud rate to 9600
}
void loop()
{
Scan_KEY();
}
void SendMessage()
{
Serial.print("AT+CSCS=");
Serial.print('"');
Serial.print("GSM");
Serial.print('"');
Serial.print(" ");
delay(1000);
Serial.print("AT+CMGF=1 ");
delay(1000);
Serial.print("AT+CMGS=");
Serial.print('"');
Serial.print("18067933376"); // set destination phone number
Serial.print('"');
Serial.print(" ");
delay(1000);
Serial.print("Hello World!"); // SMS
delay(1000);
Serial.write(0x1A); // send
delay(1000);
}
void Scan_KEY() // scan
{
if( digitalRead(KEY1) == 0 ) // check if key is pressed
{
delay(20);
if( digitalRead(KEY1) == 0 ) // check if key is pressed
{
while(digitalRead(KEY1) == 0); // key released
SendMessage();
}
}
}
|
For enquiries please Whatsapp 0125374838
https://wa.me/60125374838
Buy with confidence
le****
222081717
4/20/2023 11:03:00 AM
-
sa****
222025593
5/25/2022 7:59:00 AM
-
Average Product Rating
0.0 stars out of 5
5 star
|
|
0
|
4 star
|
|
0
|
3 star
|
|
0
|
2 star
|
|
0
|
1 star
|
|
0
|
Share your thoughts with others
Write a review
Only buyers who purchased the product may leave a review