Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.75 KB

README.md

File metadata and controls

32 lines (23 loc) · 1.75 KB

eui-esp32-adc

Simple demonstration of sampling ADC channels and GPIO state. There are only minor changes to the Arduino hardware quickstart guide and user-interface quickstart guide:

ui_screenshot

The log format's it generates are CSV formatted with headers like so:

timestamp,analogA,analogB,digitalA,digitalB,output
01:32:26.299,101,319,0,1,1
01:32:26.320,119,311,0,1,1
01:32:26.339,120,309,0,1,0
01:32:26.359,121,305,1,1,0

Hardware Setup

This assumes an ESP32 board being used with the Arduino framework. For ESP-IDF setup notes, follow the IDF quickstart guide.

I used an Adafruit ESP32 Feather board for this example, flashed with the sketch arduino-adc-example.

Interface

  1. The interface in this reposiory assumes you have arc installed first.
  2. Navigate to the /interface folder with the command-line and run arc install to ensure your system has the necessary dependencies ready,
  3. Run the development sandbox with arc start.
  4. Edit the template with your IDE (we recommend VSCode) and changes will update the sandbox immediately.
    • /interface/src/application/pages/DevicePages/OverviewPage.tsx is responsible for the default UI layout