Skip to content

mikilopez/clockdisplay

Repository files navigation

Description

clockdisplay is a library for seven-segment 4-digits displays, typically used in alarm clocks. This library is designed for use in Arduino projects.

How to install

  • Copy this folder into arduino sketchs folder\libraries
  • Restart the Arduino IDE.
  • Enjoy!

How to use

There are a couple of examples, you can see them in your Arduino IDE, in File > Examples > clockdisplay.

Displays

This kind of displays usually have 16 pins to control all the segments:

  • Two common cathodes.
  • Seven pins for controlling first and second digit segments.
  • Seven pins for controlling third and fourth digit segments.

They also have another pins for dots and some extra function, not deemed on this library.

Supported display models:

  • GC-5062S
  • SL-2042-69TB

Connect the displays

There is a PDF file in models folder showing the pinout, so you can find out which pin activates which segment with each cathode, for each model implemented in the library. It also shows how to add additional electronics needed for better performance.

Related libraries

If your display has a cathode (or anode) for each digit and a pin for each segment, then there is a more suitable library for you.

About

Arduino library for alarm clock displays

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published