Skip to content

vitalyxxl/esp32-evse-1

 
 

Repository files navigation

EVSE firmware for ESP32 based devices

This repository contains J1772 EVSE firmware for ESP32 based devices.

Build with ESP-IDF License

Key features

  • Generic firmware
  • Responsive web-interface
  • OTA update
  • Integrated energy meter
  • REST API
  • MQTT API
  • Modbus (RS485, TCP)
  • AT commands

Generic firmware

One firmware to rull them all. Not really :-) one per device platform (ESP32, ESP32-S2...).

There is no need to compile the firmware for your EVSE design. Source code ist not hardcoded to GPIOs or other harware design features. All code is writen in ESP-IDF without additional mapping layer like Arduino.

All configuration is writen outside firmware in configuration file named board.cfg on dedicated parition. For example, on following sheme is minimal EVSE circuit with ESP32 devkit.

Minimal circuit

For this circuit there is board.cfg, see doc/BOARD_CONFIG.md for more informations.

#Device name
DEVICE_NAME=ESP32 minimal EVSE
#Button
BUTTION_WIFI_GPIO=0
#Pilot  
PILOT_PWM_GPIO=33
PILOT_ADC_CHANNEL=7
PILOT_DOWN_TRESHOLD_12=2410
PILOT_DOWN_TRESHOLD_9=2104
PILOT_DOWN_TRESHOLD_6=1797
PILOT_DOWN_TRESHOLD_3=1491
PILOT_DOWN_TRESHOLD_N12=265
#AC relay
AC_RELAY_GPIO=32

Web interface

Fully responsive web interface is accesible local network IP address on port 80.

Dashboard page

Dashboard

Settings page

Settings

Mobile dashboard page

Dashboard mobile

Hardware

ESP32DevkitC

Dev board with basic functionality, single phase energy meter, RS485. One side pcb, for DIY makers easy to make at home conditions ;-)

EasyEDA project

ESP32DevkitC

ESP32-S2 DIY ALPHA

ESP32-S2 based EVSE with advanced functionality, three phase energy meter, RS485, UART, 1WIRE, RCM, socket lock.

Currenlty in development not tested!

EasyEDA project

ESP32-S2-DA

About

ESP32 Electric Vehicle Supply Equipment

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • C 67.6%
  • HTML 31.1%
  • Other 1.3%