Git Product home page Git Product logo

pi-word-clock's Introduction

Pi LED Matrix tools - Word Clock/Eyes/Text Scroller

My 7 and 8yr old kids wanted to get started with electronics and programming, so we started off with an LED word clock. Since then, we have made a lot of projects with the Pi and we upload the Marix code (Word Clock, Scrolling Text, Halloween Eyes) here.

See them in action I2C Version | Unicorn Hat Colour Version | Halloween LED Eyes

Click the image below for the first project we made.

[Raspberry Pi Word Clock] (http://www.youtube.com/watch?v=Dd1wtXz80Cs)

Click image below to see the LED Animated Eyes

[Raspberry Pi Word Clock] (https://www.youtube.com/watch?v=rT0zYCxDIbY)

Code & Images for making Word Clocks included. We used Raspberry Pi and 8x8 matrix. Works with I2C Adafruit Backpack and the Unicorn Hat from Pimoroni.

Code is Python & will possibly add a C version.

There are 8x8 fonts included and the ability to scroll messages or animate frames of 8x8 sprites. There is a tool at http://gurgleapps.com/tools/matrix which makes it easy to design 8x8 sprites and get the HEX code out.

The code has a demo mode to run through times, and takes command line arguments to set brightness and I2C address etc.

You can buy transparency paper for inkjet printers but even regular printer paper works quite well.

I2C Version

sudo python I2CWordClock.py
usage: I2CWordClock.py [-h] [--demo] [--address ADDRESS]
                       [--brightness BRIGHTNESS]

optional arguments:
  -h, --help            show this help message and exit
  --demo, -d            run through some example times
  --address ADDRESS, -a ADDRESS
                        I2C address default is 0x70
  --brightness BRIGHTNESS, -b BRIGHTNESS
                        LED brightness (0->15) default is 0

Unicorn Hat Version

sudo python UnicornWordClock.py
usage: UnicornWordClock.py [-h] [--demo] [--brightness BRIGHTNESS]

optional arguments:
  -h, --help            show this help message and exit
  --demo, -d            run through some example times
  --brightness BRIGHTNESS, -b BRIGHTNESS
                        LED brightness (0.0->1.0) default is 0.2

Instructions to get i2c working on a pi are here

Adafruit LED backpack https://learn.adafruit.com/adafruit-led-backpack/overview

Pimoroni Unicorn Hat http://shop.pimoroni.com/products/unicorn-hat

Template inspired by Daniel Rojas https://github.com/formatc1702/Micro-Word-Clock

pi-word-clock's People

Contributors

mirkin avatar

Watchers

James Cloos 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.