Files
helios-evcs/hardware/firmware/README.md

61 lines
1.7 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Helios AD One Firmware
*Helios AD One: **A**C **D**emo Modal **One***
基于 ESP-32 实现 OCPP 1.6 标准的模拟充电桩 (Charge Point) 客户端固件。
## 硬件要求
- **主控板**RYMCU ESP32-DevKitC 或兼容开发板
- **MCU**ESP32双核240MHz
- **WiFi**:内置 802.11 b/g/n
- **Flash**4MB 及以上
- **RAM**520KB SRAM
## 技术栈
### 核心库
- **Framework**ESP-IDFEspressif IoT Development Framework
- **OCPP 库**[MicroOcpp](https://github.com/matth-x/MicroOcpp) v1.2.0 - OCPP 1.6 标准实现
- **WebSocket**[MicroOcppMongoose](https://github.com/matth-x/MicroOcppMongoose) v1.2.0 - 基于 Mongoose HTTP/WebSocket 库
### 构建工具
- **Build System**PlatformIO built-in CMake Support
- **IDE/CLI**PlatformIO
## 项目结构
```
firmware/
├── CMakeLists.txt # 顶级 CMake 配置
├── platformio.ini # PlatformIO 项目配置
├── sdkconfig.* # ESP-IDF SDK 配置文件
├── build/ # 构建输出目录
├── src/
│ ├── main.c # 主应用程序入口
│ └── CMakeLists.txt # 源代码 CMake 配置
├── include/ # 头文件目录(项目特定)
├── lib/
│ ├── mongoose/ # Mongoose HTTP/WebSocket 库
│ └── README
└── test/ # 测试目录
```
## 功能特性
WIP
## 配置
### WiFi 配置
WIP
## 相关资源
- [OCPP 1.6 规范](https://www.openchargealliance.org/)
- [ESP-IDF 文档](https://docs.espressif.com/projects/esp-idf/)
- [PlatformIO 文档](https://docs.platformio.org/)
- [MicroOcpp GitHub](https://github.com/matth-x/MicroOcpp)
- [Mongoose 库文档](https://github.com/cesanta/mongoose)