Skip to content

lebeno/7_segment_LED_clock

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

7_segment_LED_clock

Software for a Wemos D1 mini + WS2812B based Led clock. Building information: https://www.printables.com/model/610020-big-wall-mounted-7-segment-led-clock

Installation

Update config.h

  • update SSID and wifi password in the config.h file
  • update your timezone, and choose a NTP server nearby

Arduino IDE

  • Open the 7_segment_LED_clock.ino file with the arduino IDE (only tried with v1.8.19)
  • Select the Board: LOLIN(WEMOS) D1 R2 & mini
  • Install libraries: FastLED (version 3.6.0) and NTPClient
  • Compile and upload to the wemos

PlatformIO

  • Open the projectfolder in PlatformIO
  • Click on Build (or Ctrl+Alt+B)
  • PlatformIO should automatically download libraries and compile the code
  • Connect USB-C cable and click on Upload (or Ctrl+Alt+U)
  • or from the command line: ''' pio run pio run --target upload '''

VSCode

  • Open the project folder in VSCode and let it install PlatformIO IDE
  • Click on Build
  • Connect USB-C cable and click on Upload
  • For the second upload you can use the updateFirmware.sh (from Linux)

Notes:

  • Do not connect the USB together with the power supply to the LED-clock
  • Do not keep the LED-clock running via the USB power, it will get too hot

TODO later:

  • Configure Wifi + ... from webpage (AP mode)
  • MQTT
  • use LDR value to set brightness
  • night modus
  • other LED patterns

About

Sw for a Wemos D1 mini + WS2812B based Led clock

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 90.8%
  • C 9.0%
  • Shell 0.2%