# (STM32) Energy Storage

🚀 GitHub Repo
https://github.com/rand12345/toucan_stm32f407

# 🌟 Project Overview

Project Toucan is a fully asynchronous EV battery to ESS storage CAN bus protocol converter. Built on the Rust Embassy-rs framework. This project was developed to enable domestic solar hybrid inverters to use unmodified EV batteries. Some have coined the term second life batteries, which represents used EV batteries being given a second chance after losing much of their capacity and being remanufactured into a new form factor. This project rejects that idea and aims to use unmodified EV packs much like commercial BESS systems. Each EV pack contains industry compliant contactors and battery management, and in turn presents real time data for health monitoring and fault detection.

This project combines the utility of EV batteries and uses inexpensive STMicro dual CAN bus controllers to safely manage each pack and emulate domestic battery CAN protocols required to operate a solar hybrid inverter. A further rationale behind this project is the per price per kWh for lithium battery storage. As of 2023, PylonTech batteries cost approximately £300/kWh where as used EV packs can be sourced from EV recycling businesses for approximately £60/kWh and range in size from 22kWh for an early Renault Zoe, to 82kWh from a Tesla Model 3.

Hardware: STM32F407 https://www.aliexpress.com/item/1005001620616382.html?channel=twinner
Software: Rust no_std, Embassy

# ️ Hardware Support

Compatible EV batteries Solar Hybrid battery emulation Supported CAN bus inverters
Renault Zoe Ph1 (22kWh -> 44kWh) BYD Solax X1/X3 & FoxESS AC1/AC3, H1, H3, K-Series
Renault Zoe Ph2 (52kWh) Triple Power & FoxESS V1 & V2 GoodWe GW9000
Renault Kangoo PylonTech & PylonTech Force H2 Deye & Sunsynk HV
Tesla Model 3 (WIP - Contactors 100% ok) Victron (BYD) Solis HV