esp32gpiocontrol

ESP32 firmware providing a REST API for controlling the GPIO interface and higher functions

AIDE API docs

A tiny GPIO framework for ESP32 based connected objects

This software package provides a minimal set of functionalities to develop a connected object using a ESP32 micro-controller.

  (open in new tab)
  • The object has a GPIO interface with digital and analog inputs and outputs and the capability to measure times, or connect to additional control board to drive, e.g., servomotors.
  • It is connected to the user via a WiFi interface, using a web page (for human) or a web service (for machine).
  • It is programmed via an USB interface connected on a computer with an Arduino IDE development tool.

Installing

More information:

Hardware developing

EPS32 pinouts

Software developing

Usual functions documentation:

Using harware timers

  • [ESP32 latest documentation] (https://espressif-docs.readthedocs-hosted.com/projects/arduino-esp32/en/latest/api/timer.html)
  • ESP32 timer usage tutorial

Using

HTML web interface

Package repository

Installation

User simple installation

  • npm install git+https://gitlab.inria.fr/line/aide-group/esp32gpiocontrol.git

Co-developper installation

Please refer to the installation guide for installation.

Usage

npm script usage

npm install --quiet : installs all package dependencies and sources.
npm run build: builds the different compiled, documentation and test files.
npm test     : runs functional and non-regression tests.
npm run clean: cleans installation files.

Dependencies

  • None

devDependencies

Authors