This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
led_clock [2016/04/15 10:17] – add release kingkevin | led_clock [2024/01/07 17:49] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 7: | Line 7: | ||
For that you will need: | For that you will need: | ||
* WS2812b RGB LEDs strip (long enough to go around the clock) | * WS2812b RGB LEDs strip (long enough to go around the clock) | ||
- | * development board with a STM32F103 micro-controller and 32.768 kHz oscillator for the Real Time Clock (such as the blue pill) | + | * development board with a STM32F103 micro-controller and 32.768 kHz oscillator for the Real Time Clock (such as the blue pill), or external RTC module such as the I2C DS1307 (only supported in the [[https:// |
* coin cell battery to keep the RTC running (optional) | * coin cell battery to keep the RTC running (optional) | ||
* GL5528 photo-resistor to adjust the LED brightness (optional) | * GL5528 photo-resistor to adjust the LED brightness (optional) | ||
+ | * DCF77 to automatically update the time (recommended) | ||
- | More details about the project can be found in the [[https:// | + | More details about the project can be found in the [[https:// |
- | The code for the micro-controller is available on [[https:// | + | The code for the micro-controller is available on [[https:// |
It includes the script to compile the code, flash the firmware, and generate the source documentation is included.\\ | It includes the script to compile the code, flash the firmware, and generate the source documentation is included.\\ | ||
A release with sources, compiled firmware, and documentation is available {{: | A release with sources, compiled firmware, and documentation is available {{: | ||
Line 20: | Line 21: | ||
==== add-on ==== | ==== add-on ==== | ||
- | {{ : | + | {{ : |
Here is the LED clock add-on: | Here is the LED clock add-on: | ||
- | - WS2812b LED strip | ||
- blue pill development board with STM32F103 micro-controller | - blue pill development board with STM32F103 micro-controller | ||
- | - USB for power, SWD adapter | + | |
- | - tiny RTC i2C module with Maxim DS1307 RTC IC | + | - CR2032 coin cell battery (to keep the internal RTC running) |
+ | - DCF77 receiver module (salvaged from a radio clock) | ||
+ | | ||
+ | - ST-Link V2 (clone) | ||
+ | - USB to UART converter to set time and debug | ||
+ | - WS2812b LED strip | ||
- GL5528 photo-resistor | - GL5528 photo-resistor | ||
- | - CR2032 coin cell battery | ||
==== clock integration ==== | ==== clock integration ==== |