Rhydo SIM 900 SIM 900 -TTL UART Uživatelský manuál Strana 4

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 10
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 3
w w w . f u t - e l c t r o n i c s . c o m
Page 4
SIM Card Connector
Light Status
LED
State
Function
Status
Off
Power Off
On
Power On
Netlight
Off
SIM900 is not working
64ms On/800ms Off
SIM900 does not find the network
64ms On/3000ms Off
SIM900 find the network
64ms On/300ms Off
GPRS communication
Getting Started
We will use tow methods
1. Using AT commands.
2. Using Arduino code (Uno Mega) compatible .
Now we will prepare the Arduino board for communicating with the PC by UART protocol. Emulate a second
serial port (UART) using software on the digital pins D2 and D3 and patch through all the communication
between this second software serial port and the actual hardware serial port.
By doing this, all the data coming from the computer (connected to the actual hardware UART) would be
relayed as is to the GPRS Shield (connected to software UART).
Run Arduino IDE 1.0 or later
Open new sketch and write a below code.
SoftwareSerial mySerial(2, 3);
void setup()
{
mySerial.begin(19200); // the GPRS baud rate
Serial.begin(19200); // the GPRS baud rate
}
Zobrazit stránku 3
1 2 3 4 5 6 7 8 9 10

Komentáře k této Příručce

Žádné komentáře