Рет қаралды 51,277
The Elecrow ESP Termonal is all-in one ESP32 Touch display, with ESP32S3 microcontroller and 3.5 inch touch screen. So it is ready-to-use, in a compact acrylic body - no soldering required. But it also means the HMI layout needs to be programmed in the microcontroller.
And I use it as a control panel for my house Energy Management, to control automated charging of my electric cars.
Initially, I thought I’ll program it in ESPHome, but throughout the project I changed my plans and switched to Arduino. I used the SquareLine Studio to generate code, and just added the functions to communicated with Home Assistant through its REST API, and logic for the buttons to switch between manual and automatic modes.
And I even designed a simple French Cleat mount in Blender, printed it on my Prusa 3D printer, and mounted it to the wall. So you have it all, start to finish.
The Elecrow display: www.elecrow.com/esp-terminal-...
00:00 - intro
03:30 - trying with ESPHome
09:04 - SquareLine Studio
10:12 - Marker 15
10:15 - Marker 16
14:46 - genrated code
17:28 - setup - add WiFi
17:47 - communication - MQTT (why I do not use it at the end)
18:24 - Home Assistant API
20:16 - button logic
20:55 - updating values (production, consumption, battery etc.)
23:02 - upload
23:39 - finished display
25:20 - designing and 3D printing French cleat frame
28:12 - installation, finished project
28:42 - outro