I want to show you in this "Instructable" how to control 7-Segment-Display

What you need:
  *Arduino Duemilanove
  *a lot of 7-Segment-Display
  *a lot of push Button
  *a potentiometer
  *8 x 120 Ohm resistor
  *4 x 1k2 Ohm resistor
  *2 x 1k Ohm resistor
  *4 x BC547 Transistor
  *1 x 74HC595
  *breadboard
  *wire

 
Remove these adsRemove these ads by Signing Up

Step 1: 7-Segment displaying with potentiometer

Unbenannt.jpg
Unbenannt2.jpg
On this step i worked with a shiftregister (74HC595). I connected the pins of 7-Segment to the shiftregister(a-g -> Q0, Q6). And a potentiometer to displaying the characters. Down here you can see the schematic.

latchPin = 8;     // pin 12 on the 74hc595
clockPin = 12;  // pin 11 on the 74hc595
dataPin = 11;   // pin 14 on the 74hc595

And you can download the Programm Code
lemonhead_oo7 says: May 2, 2012. 7:05 PM
Nifty!

What about a 2 digit potentiometer controlled version?
mertaxoy (author) in reply to lemonhead_oo7Dec 16, 2012. 3:35 PM
its possible :)
Daniyal Khan says: Mar 4, 2012. 1:58 AM
is that arduino avalaible in the market easily??
mertaxoy (author) in reply to Daniyal KhanMar 4, 2012. 11:27 PM
yes, is it !

http://www.ebay.com/itm/Arduino-UNO-2011-Version-ATMEGA328P-PU-AVR-MCU-Board-USB2-0-Cable-/180833433758?pt=LH_DefaultDomain_0&hash=item2a1a83389e
kyubok says: Jul 21, 2011. 6:18 AM
can u help me?,, how to program a 2 digit 7segment display, for count up and count down.... pls.. guide me...
mertaxoy (author) in reply to kyubokJul 21, 2011. 7:26 AM
so İ have added the 3th step for you pleas take a look at it ;)
feel free to ask me anything..
mailman0001 says: Jun 5, 2011. 3:12 PM
How come it's not counting up or down? All of leds are off except the middle bar (g) and when I push ether one of the push buttons it cut off and back on once released. I even tried wiring a-g with 3V or 5V (high). Is there something else I maybe missing that's not in picture ( Count down and up with 2 push buttons)?
mertaxoy (author) in reply to mailman0001Jun 6, 2011. 1:36 AM
i think i forgot the pull up resistors from buttons to ground... (1kOHM)...
mailman0001 says: Jun 5, 2011. 3:27 PM
And I'm using the Arduino Uno by the way! This shouldn't make a difference,should it ?
mertaxoy (author) in reply to mailman0001Jun 6, 2011. 1:32 AM
no, it shouldn't...
mailman0001 says: Jun 4, 2011. 9:06 AM
what kind of 7 segment do you used for this project?
mertaxoy (author) in reply to mailman0001Jun 5, 2011. 1:12 AM
common cathode - http://www.conrad.at/ce/de/product/160172/7-SEGMENTANZEIGE-14-MM-A/SHOP_AREA_17651&promotionareaSearchDetail=005
Pro

Get More Out of Instructables

Already have an Account?

close

PDF Downloads
As a Pro member, you will gain access to download any Instructable in the PDF format. You also have the ability to customize your PDF download.

Upgrade to Pro today!