Please refers to the Changelog to check the latest change and improvement.
LiveBooster-Heracles-Arduino is an Arduino library for Heracles modem, based on the TinyGSM library.
This library provides an Arduino standard Client interface, so that it is easy to integrate with lots of usages based on TCP (MQTT, HTTP, ...).
As an example, this library can be used with the IoTSoftBox library to connect devices to Live Objects server.
Tested with:
- Arduino MEGA ADK
- Mediatek LinkIt ONE
- ... should work on other Arduino boards.
This library targets the EBV Heracles modem.
The Heracles modem shall be connected to the Arduino board with serial interface (Ground, Tx, Rx).
Once the library has been imported into your Arduino IDE, two example sketchs are accessible by menu File -> Examples -> LiveBooster-Heracles-Arduino :
This sketch doesn't really use the LiveBooster-Heracles-Arduino library. It should be used to check correct communication between the Arduino board and the Heracles modem: all AT commands sent on Arduino Serial Monitor are transmitted to modem, and answers from modem are transmitted to Arduino Serial Monitor.
You may need to change the Serial port used on your board for modem interface.
Here are some basic AT commands and expected modem answers you can use:
AT
OK
AT+CPIN?
+CPIN: READY
AT+COPS?
+COPS: 0,0,"Orange F"
If not working, check:
- That your modem is correctly powered. Try to reset it.
- Hardware connection between the modem and your board (Ground, Rx, Tx).
- Serial UART and baud rates used in example sketch and in Arduino Serial monitor.
This sketch connects to website arduino.cc to get file asciilogo.txt, using the Heracles modem.
This project is released under The GNU Lesser General Public License (LGPL-3.0).