-
1Clone the cale-idf repository
-
2Swith to the development branch: refactor/oop
cd cale-idf
git checkout develop -
3ESP-IDF set the target for your project
idf.py set-target esp32
Alternatively this Firmware will run also in the ESP32S2. If you want to build it for that target:idf.py set-target esp32s2
-
4ESP-IDF configure your display SPI interface GPIOs
idf.py menuconfig
In section "Display configuration" select the SPI pins: MOSI (DIN in your epaper), CS, CLK, DC, RESET, BUSY
Make sure the GPIOs are connected right in the ESP32. In the directory /config-examples there are some configuration demos. For example TTGO T5 is also there, if you want to use it just copy it to your sdkconfig:cp config-examples/ttgo-t5-sdkconfig sdkconfig
-
5Build and flash your ESP32
idf.py flash monitor
-
6DONE. At this point something should be refreshing in your epaper
One detail though: Make sure to read https://github.com/martinberlin/cale-idf/wiki/Demo-epaper-clock
And walk through the configuration options. One important detail is to select the syncHour1 variable to match the first hour you see printed on the display. As the design is though to use as less internet as possible, this digital clock syncs with internet time only twice a day.
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.