7-Segment Display Encoder

7-Segment Display Encoder

A really simple encoder made with Arduino, which displays, on a 7-Segment display, all the decimal numbers from 0-9, using also a potentiometer to control the delay. In this exercise I also used my own library for seven segment display decimal encoding.

data/electrothings/seven_segment_display_encoder/media/screen1.jpg data/electrothings/seven_segment_display_encoder/media/screen2.jpg

You can follow this scheme [link] to build your own 7-Segment display encoder.
This is a demonstration video:



In the source code you'll find the library SevenSegment.h, which is not installed on your computer by default. If you need to install the library SevenSegment, download it from github here, and place the folder SevenSegment into the libraries directory of your Arduino IDE.
Example:

/home/myusername/Desktop/arduino-1.0.1/libraries/SevenSegment

Once you've copied this folder, launch the Arduino environment and click on Sketch > Import Library and select SevenSegment.

The source code is available here.

Share on Twitter  Share on Facebook  Share on Google+  Share on Linkedin  Share on Myspace  Share on Reddit
Page last updated on Monday, 23rd July, 2012, 12:55pm