Skip to content
This repository has been archived by the owner on Oct 20, 2022. It is now read-only.

Orange-OpenSource/LiveBooster-Heracles-Arduino

Repository files navigation

LiveBooster-Heracles-Arduino Library

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.

Arduino Client interface support

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.

Supported boards

Tested with:

Supported modem

This library targets the EBV Heracles modem.

Getting Started

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 :

"Soft Serial Test" example sketch

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.

"Heracles Sample Basic" example sketch

This sketch connects to website arduino.cc to get file asciilogo.txt, using the Heracles modem.

License

This project is released under The GNU Lesser General Public License (LGPL-3.0).