Code Monkey home page Code Monkey logo

esp32-evse's Introduction

ESP32 EVSE

J1772 EVSE firmware for ESP32 based devices.

Build with ESP-IDF License

Key features

  • Hardware abstraction for device design
  • Responsive web-interface
  • OTA update
  • Integrated energy meter
  • REST API
  • WebDAV
  • Modbus (RS485, TCP)
  • Lua scripting
  • Nextion HMI
  • Scheduler

Device definition method

One firmware to rule 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 hardware design features. All code is written in ESP-IDF without additional mapping layer like Arduino.

All configuration is written outside firmware in configuration file named board.cfg on dedicated partition. For example, on following scheme is minimal EVSE circuit with ESP32 devkit.

Minimal circuit

For this circuit there is board.cfg, for more information's see Wiki.

#Device name
DEVICE_NAME=ESP32 minimal EVSE
#Button
BUTTON_WIFI_GPIO=0
#Pilot  
PILOT_PWM_GPIO=33
PILOT_ADC_CHANNEL=7
PILOT_DOWN_THRESHOLD_12=2410
PILOT_DOWN_THRESHOLD_9=2104
PILOT_DOWN_THRESHOLD_6=1797
PILOT_DOWN_THRESHOLD_3=1491
PILOT_DOWN_THRESHOLD_N12=265
#AC relay
AC_RELAY_GPIO=32

Web interface

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

Dashboard page

Dashboard

Settings page

Settings

Mobile dashboard page

Dashboard mobile

Hardware

ESP32DevkitC EVSE

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 EVSE DIY ALPHA

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

EasyEDA project

ESP32-S2-DA

Quick demonstration video

Quick demonstration video

Donations

ESP32 EVSE firmware is free, but costs money to develop harware and time to develop software. This gift to the developer would demonstrate your appreciation of this software & hardware and help its future development.

GitHub Sponsors

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.