You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

58 lines
2.0 KiB

8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
  1. ```
  2. _______ _____ __ _ __ __ ______ _______ _______
  3. | | | \ | \_/ | ____ |______ | | |
  4. | __|__ | \_| | |_____| ______| | | |
  5. ```
  6. A small Arduino library for GPRS modules, that just works
  7. Currently only SIM800/SIM900 are tested, more modules may be supported later.
  8. ## Features
  9. #### Supports Arduino Client interface
  10. This library is very easy to integrate with lots of sketches, which used Ethernet or WiFi previously.
  11. Examples for **Blynk**, **MQTT**, **Web Client** and **File Download** are provided.
  12. #### Tiny
  13. WebClient example for Arduino Nano (with Software Serial) takes little resources:
  14. ```
  15. Sketch uses 11,916 bytes (38%) of program storage space. Maximum is 30,720 bytes.
  16. Global variables use 649 bytes (31%) of dynamic memory. Maximum is 2,048 bytes.
  17. ```
  18. Now, you have more space for your experiments.
  19. #### Uses internal modem buffer for receive
  20. TinyGSM pulls data gently from the modem, so it can operate on very little RAM.
  21. ## Getting started
  22. 1. Using your phone:
  23. - Disable PIN code on the SIM card
  24. - Check your ballance
  25. - Check that APN,User,Pass are correct and you have internet
  26. 2. Ensure the SIM card is correctly inserted into the module
  27. 3. Provide a good, stable power supply (up to 2A, 4.0-4.2V or 5V according to your module documentation)
  28. 4. Provide good, stable serial connection
  29. (Hardware Serial is recommended)
  30. 5. Check if GSM antenna is attached
  31. ## Troubleshooting
  32. Sometimes (especially if you played with AT comands), your module configuration may become invalid.
  33. This may result in problems such as:
  34. * Can't connect to the GPRS network
  35. * Can't connect to the server
  36. * Sent/recieved data contains invalid bytes
  37. * etc.
  38. To return module to **Factory Defaults**, use this sketch:
  39. File -> Examples -> TynyGSM -> tools -> [FactoryReset](https://github.com/vshymanskyy/TinyGSM/blob/master/tools/FactoryReset/FactoryReset.ino)
  40. __________
  41. ### License
  42. This project is released under
  43. The GNU Lesser General Public License (LGPL-3.0)