This is a binary clock. It displays the time in binary shown in 3 columns each having 4 LED's or bits where a "ON" LED is "1" and a "Off" LED is a "0". Included in this repository is all the code, gerber files for pcb manufacturing, and .stl files for a 3d printed case.
NOTE: This project assumes you are using the exact same ESP32 board as I am as the pcb is designed for the same pin out and pin spacing. You should be able to use other board provided they have the same pin out and spacing. I used a ESP-WROOM-32 like shown. In the Images folder you can see some examples of how the end product looks like
git clone https://github.com/majorhungry/BinaryClock.git
https://micropython.org/download/ESP32_GENERIC/
I ended up using the generic firmware.
You will need to update the wifi Credentials and your UTC offset.
ssid = "<SSID_Name>"
wifi_pass = "<SSID_PASSWORD>"
utc_offset = -5
You will also need to update the file name from its current name to.
config.py
I used rshell to do so. Replace /dev/ttyUSB0 with your own device located in the dev directory.
Lists devices
ls /dev
Connect to device
rshell -p /dev/ttyUSB0 -b 115200
Copy files to ESP32
cp main.py /pyboard/
cp config.py /pyboard/
#REPL
control-x
#rshell
control-d
This should restart the ESP32 and within a few moments the time should display!
