GithubHelp home page GithubHelp logo

neopixel-led-clock's Introduction

SUMMARY

This code is for building up a clock made of a NeoPixel Ring of a various amouont of LEDs. In my Example here I built it with 60 LEDs, but can also fit to a ring with 32, 24, 16 or 12 LEDs as well.

Programming language / Software requirements

The clock is written in Python 3.7. Necessary installed Python modules are:

  • Board
  • Neopixel
  • RPi.GPIO

The RasPi can have both Raspian OS Lite or Full installed. The script should only be installed as a startup script (in rc.local) to let the clock run when the system boots up.

Hardware requirements

The clock was built up with a RaspberryPi Zero W. But it can also be built up with differente Raspberry Pi's. To gather the correct time, it's neccessary to have either an internet connection or have a hardware clock connected to the RasPi.
Beneath the RasPi you will need a ring of NeoPixel LEDs. The amount of LEDs is adjustable within the definition of stativ variables. So it's compatible with many different amount of LEDs on a ring. The +/- of the LED ring is soldered to +5V0/Ground of the RasPi. Data line is soldered to GPIO18 of the RassPi.
Additionally two buttons are connected to change the clockmode (GPIO23 / Pin16) and to shutdown the whole system (GPIO20 / Pin38).
The cabeling has to be the following:

All hardware is mounted in a 23x23cm picture frame IKEA with a spy-mirror glass, but can also be mounted where ever you want to.

neopixel-led-clock's People

Contributors

reuschi avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.