Sevseg Library On 4 Digit Anode Segment

Sevseg Library On 4 Digit Anode Segment © GPL3+

This library allows an Arduino to easily display numbers and characters on a 4 digit 7-segment display without a separate 7-segment display.

  • 2,732 views
  • 1 comment
  • 4 respects

Components and supplies

Necessary tools and machines

About this project

SevSeg Library

Written by Dean Reading, 2014

This library turns your Arduino into a seven segment display controller! Use it to easily display numbers on your seven segment display without any additional controllers.

It supports common cathode and common anode displays, and the use of switching transistors. Displays with any number of digits can be used and decimal places are supported.

Here is the image of results:

And the video:

arduino/sevseg library on 4 digit common anode

Arduino/sevseg library on 4 digit common anode.

First of all

You need to know, if your segment is common anode or cathode. Then you must write down all that info on some paper by using multi-meter. Third part you need to put your segment on the breadboard and wiring that. My 4-digit segment in this experiment had:

  • Top Row 1, a, f, 2, 3, b
  • Bottom Row e, d, dp, c, g, 4.

Code

Seven Segment library for Arduino

Schematics

pinout is for a regular display
Declare what pins are connected to the digits & segment
1 rxyq63im8o
pinout is for OpenSegment PCB layout
Declare what pins are connected to the digits & segment
2 wi9ycluojx
segment names
220px 7 segment display labeled gpehugj5is

Comments

Similar projects you might like

Programming 4 Digit 7 Segment LED Display

by SAnwandter1

  • 93,911 views
  • 29 comments
  • 76 respects

Control a 7 Segment Display with a keypad!

Project tutorial by Isaac100

  • 9,257 views
  • 17 comments
  • 17 respects

Arduino Bluetooth Car Control

by TayfMavi

  • 7,856 views
  • 3 comments
  • 15 respects

The Magnetic Field and RGB Tester

Project tutorial by Kutluhan Aktar

  • 3,849 views
  • 0 comments
  • 15 respects
Add projectSign up / Login