ESPEasy32

From Let's Control It
Jump to navigation Jump to search

WIP.gifYou may hear some construction noise in the background...

Experimental !

Introduction

Although the ESP32 Arduino Core isn't mature yet, we're just checking how far we get when we try to run ESP Easy Mega on this module.

One could argue that the ESP32 module (running on RTOS with a dual core) would rather deserve a total rebuild from scratch, but that would require a new github project and some developers with a lot of spare time. As my spare time is limited, this experiment is just about getting the existing ESP Easy code to work on ESP32 Arduino Core without too much effort.

The good news: Some basic stuff already seems to work:

ESPEasy32Sample.png

Project Scope

Current focus is to get the ESP Easy Mega framework working as development target for the V2.1 branch. Framework means all code without plugins. But as we can't really verify some parts of the framework without any plugins, a few basic plugins are included in the testbed. So the scope is to get these parts working:

  • ESP Easy Mega Framework
  • Controller plugin C001 (Domoticz)
  • P001 - basic IO stuff
  • P002 - basic Analog readings
  • P003 - counting, to verify ISR workings
  • P014 - to verify I2C workings

Status

Verified to work

  • Webserver GUI
  • SPIFFS filesystem
  • Wifi connection
  • HTTP client
  • Basic IO: GPIO, PWM, Pulse
  • Analog inputs
  • Rules engine
  • I2C

Todo

  • OTA (library not available yet)
  • SSDP
  • RTC
  • Some UDP calls (syslog, sendtoUDP)
  • I2C Clock Stretching
  • Dir info on filesystemcheck call


Getting Started

Stuff used to get things going:

WemosLolin32Lite.png