Go to file
2023-03-22 23:44:28 +01:00
electronics.drawio.svg Update electronics.drawio.svg 2023-03-22 21:40:58 +01:00
LICENSE Initial commit 2023-03-22 19:56:48 +01:00
README.md Update README.md 2023-03-22 23:44:28 +01:00

maintenance

CCCB street sign

This is the documentation for the CCCB street sign internals. Here you can figure out how the electronics work, if for example the magic smoke escaped and you need to fix it. It also describes how the firmware works and has a backup of a working state.

Electronics

connection diagram for the electronics

The Microcontroller used is a Olimex ESP32-POE-EA-IND which supports Ethernet connectivity and POE. This simplified the power management and connectivity.

Instead of a normal level shifter, a Diodes 74AHCT1G126 is used.

For the LEDs, WS2815 was choosen. They operate with 12V power so the strips can be as long as needed without complicated power feeds. The LEDs and power supply are from BTF Lightning.

Firmware

The firmware used is WLED.

These instruction are proably outdated, so please check with the official guide here.

Flash via web

Go to https://install.wled.me/ and choose the latest version. Also check My board has Ethernet. Then follow the procedure.

Flash via terminal

If you don't trust WebUSB (and you shouldn't), get the latest firmware release from Github. The file you need is called WLED_0.13.3_ESP32_Ethernet.bin (with the version being the newest). Also download the newest bootloader file. At the time of writing this is version 4. You can find it here.

Then install esptool. Your Distribution probably comes with it, so try apt install esptool or similar.

Flash it to the ESP32 with these commands:

# Erase the current flash contents (this will also delete your current config)
esptool.py erase_flash
# Flash the bootloader
esptool.py write_flash 0x0 esp32_bootloader_v4.bin
# Flash the WLED firmware
esptool.py write_flash 0x10000 WLED_0.13.3_ESP32_Ethernet.bin

When this is done, the ESP32 should open a wifi called WLED-AP. The default password is wled1234. Connect to it, configure Ethernet and disable wifi. The ESP32 should receive it's designated IP address as long as the MAC address doesn't change. If it does change, tell the DHCP admins the new MAC address so they can update the static DHCP entry.

To be continued...


Made with ❤️ and by XenGi.