Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Programming a 7 segment display timer

  1. Mar 1, 2010 #1
    Hi, I was wondering if anyone could help me, I am studying industrial design at Loughborough and as part of my coursework I am re-designing a stopwatch. Along with this coursework I need to submit a simulation of the electronics that would be involved.

    We have all ben given a basic circuit, which I have added in the picture, and I have bought a 7 seven display to attach to it, on a breadboard

    I have attatched a picture of what we have already made. And another of the breadboard and battery pack.

    The problem I am having is programming the circuit to work how I want it:

    I want to make it so when i press the button (pin3) then the timer will start, the green LED will flash momentarily, and the buzzer will beep momentarily. Then, when the same button is pushed again, the timer will stop on the number and the red LED will flash momentarily. Then, when the button is pushed again, the timer will reset and the yellow LED will flash momentarily.

    I am useless at programming as I have never done it before and i was wondering if anyone could help me? The circuit does not have to work exactly as I want it to above but something on those lines. Any help on programming this sort of system would be much appreciated!

    Many thanks,


    Screen shot 2010-03-01 at 13.29.30.png

    Screen shot 2010-03-01 at 13.28.37.png
  2. jcsd
  3. Mar 18, 2010 #2


    User Avatar
    Gold Member

    you need a timer, either in software or hardware. try googling "one-shot" circuits if you want to use hardware. if you want to use software, you need a microcomputer on the board--which you do not mention having.
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook