/DehneEVSE-Firmware

Arduino firmware for DehneEVSE charging station

Primary LanguageC++GNU General Public License v3.0GPL-3.0

DehneEVSE Open source EV Charging Station - Firmware

Arduino firmware (for Arduino Nano 33 IoT) for my DehneEVSE EV Charging Station.

This firmware has no charging logic at all and relies 100% on some external software, which needs to decide when to allow charing and at which rate. Keeping all the charging logic remote allowes for much more flexable charging logic, such as for example:

  • only charge when your solar production is high (and keep charging at the rate which matches the solar-production)
  • only charge when the energy prices are low
  • if you have multiple charging stations like me, which share the same input cable, you can balance the power beween them

Communication with this firmware is handled via a binary protocol using TCP/IP (see code for details). If you prefer MQTT, I wrote dehneevse-mqtt-bridge which translates this binary protocol to simple JSON messages sent over MQTT. That should make it easy to implement your own charging logic and integration into home-assistant or other platforms of your choice.

Features:

  • Over-the-air (OTA) firmware updates
  • Control Pilot (CP) handling:
    • drive signal as requested by server
    • notify server as soon as a change in voltage is detected
  • measure and report Proximity Pilot (PP) to server
  • measure and report real-time charging load (voltage & current) for all three phases

Dependencies: