|
8 years ago | |
---|---|---|
examples | 8 years ago | |
extras | 8 years ago | |
tools | 8 years ago | |
.gitattributes | 8 years ago | |
.gitignore | 8 years ago | |
.travis.yml | 8 years ago | |
LICENSE | 8 years ago | |
Makefile | 8 years ago | |
README.md | 8 years ago | |
TinyGsmClient.h | 8 years ago | |
TinyGsmClientM590.h | 8 years ago | |
TinyGsmClientSIM800.h | 8 years ago | |
TinyGsmCommon.h | 8 years ago | |
TinyGsmFifo.h | 8 years ago | |
TinyWiFiClientESP8266.h | 8 years ago | |
keywords.txt | 8 years ago | |
library.json | 8 years ago | |
library.properties | 8 years ago |
A small Arduino library for GSM modules, that just works.
If you like TinyGSM - give it a star, or fork it and contribute!
This library is easy to integrate with lots of sketches, which use Ethernet or WiFi.
Examples for PubSubClient (MQTT), Blynk, Web Client and File Download are provided.
WebClient example for Arduino Nano (with Software Serial) takes little resources:
Sketch uses 13,802 bytes (44%) of program storage space. Maximum is 30,720 bytes.
Global variables use 661 bytes (32%) of dynamic memory. Maximum is 2,048 bytes.
Now, you have more space for your experiments.
TinyGSM also pulls data gently from the modem (whenever possible), so it can operate on very little RAM.
More modems may be supported later:
Watch this repo for new updates! And of course, contributions are welcome ;)
AT
command using this sketchWhen using SoftwareSerial
(on Uno, Nano, etc), the speed 115200 may not work.
Try selecting 57600, 38400, or even lower - the one that works best for you.
Be sure to set correct TX/RX pins in the sketch.
Use this sketch to diagnose your SIM card and GPRS connection:
File -> Examples -> TynyGSM -> tools -> Diagnostics
Sometimes (especially if you played with AT comands), your module configuration may become invalid.
This may result in problems such as:
To return module to Factory Defaults, use this sketch:
File -> Examples -> TynyGSM -> tools -> FactoryReset
This project is released under The GNU Lesser General Public License (LGPL-3.0)