This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| et:arduino:communication:project1 [2016/03/18 08:57] – tekitatud raivo.sell | et:arduino:communication:project1 [2020/07/20 09:00] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| ===== SIM808 ===== | ===== SIM808 ===== | ||
| + | ====Lühikirjeldus==== | ||
| + | Latest GSM/GPS module from SIMCOM. SIM808 module is a complete Quad-Band (850/ | ||
| + | The compact design which integrated GPRS and GPS in a SMT package will significantly save both time and costs for customers to develop GPS enabled applications. Featuring an industry-standard interface and GPS function, it allows variable assets to be tracked seamlessly at any location and anytime with signal coverage. | ||
| + | ====SIM808 GSM/ | ||
| + | |||
| + | Mooduli kirjeldus on WIKI-s: | ||
| + | [[http:// | ||
| + | |||
| + | Raadiomooduli laiendusplaadi tööle saamiseks tuleb viigule VBAT ana üsna täpselt pinge vahemikus 3.4 - 4.4 V. Nende väärtuste ületamine ühele või teisele poole põhjustab plaadi väljalülitumise. Viik VIO tuleb ühendada vastavalt jadapordi nivoole kas 3.3 V või 5 V siiniga. Plaadi sisse või väljalülitamine käib seal peal oleva lülitiga või vastava viiguga. | ||
| + | |||
| + | Üldiselt toimivad WIKI-s olevad näited ja ka SIM900 mõeldud SMS-ide saatmise näited. GPS tundus, et mingeid andmeid sai kätte. Bluetoothi näited vajavad lähemat uurimist. | ||
| ===== SIM900 ===== | ===== SIM900 ===== | ||
| + | ====Lühikirjeldus==== | ||
| + | Ultra compact and reliable design. This is a complete Quad-band GSM/GPRS module in a SMT type and designed with a very powerful single-chip processor integrating AMR926EJ-S core, allowing you to benefit from small dimensions and cost-effective solutions. | ||
| + | Featuring an industry-standard interface, the SIM900 delivers GSM/GPRS 850/ | ||
| + | ====GPRS/ | ||
| - | ===== SIM900A ===== | + | Mooduli kirjeldus ja lihtsad näited on WIKI-s: |
| + | [[http:// | ||
| + | |||
| + | Wiki näited on testitud ja töötavad. GPRS/GSM Shield v1.0 tuleb seadistada nii, et valitud oleks SWserial ja lüliti oleks asendis Xduino. Mooduli käivitamiseks tuleb vajutada lülitit PWRKEY. | ||
| + | |||
| + | Laiendusplaati võib kasutada ka järgmise Arduino teegiga: | ||
| + | |||
| + | [[https:// | ||
| + | |||
| + | Teegis tuleb avada kõigepealt fail GSM.cpp ja muuta jadapordi viigud järgmiseks: | ||
| + | |||
| + | <code c> | ||
| + | #define _GSM_TXPIN_ 7 | ||
| + | #define _GSM_RXPIN_ 8 | ||
| + | </ | ||
| + | |||
| + | Seejärel võib proovida SMS-i saata: | ||
| + | <code c> | ||
| + | #include " | ||
| + | #include < | ||
| + | #include " | ||
| + | SMSGSM sms; | ||
| + | boolean started=false; | ||
| + | |||
| + | void setup() | ||
| + | { | ||
| + | //Serial connection. | ||
| + | Serial.begin(9600); | ||
| + | Serial.println(" | ||
| + | |||
| + | if (gsm.begin(2400)){ | ||
| + | Serial.println(" | ||
| + | started=true; | ||
| + | } | ||
| + | else Serial.println(" | ||
| + | | ||
| + | if(started){ | ||
| + | // Replace 37212345678 with the correct phone number | ||
| + | if (sms.SendSMS(" | ||
| + | Serial.println(" | ||
| + | } | ||
| + | }; | ||
| + | |||
| + | void loop() | ||
| + | { | ||
| + | |||
| + | } | ||
| + | </ | ||
| + | |||
| + | ===== SIM900A ===== | ||
| + | ====Lühikirjeldus==== | ||
| + | Ultra compact and reliable design. The SIM900A is a complete Dual-band (900/1800 MHz) GSM/GPRS module in a SMT type which is designed specially for Chinese market, allowing you to benefit from small dimensions and cost-effective solutions. | ||
| + | Featuring an industry-standard interface, the SIM900A delivers GSM/GPRS 900/1800MHz performance for voice, SMS, Data, and Fax in a small form factor and with low power consumption. With a tiny configuration of 24mm x 24mm x 3 mm, SIM900A can fit almost all the space requirements in your applications, | ||