Programming a 7 segment display timer

  • #1

Main Question or Discussion Point

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,

Paul

Screen shot 2010-03-01 at 13.29.30.png


Screen shot 2010-03-01 at 13.28.37.png
 

Answers and Replies

  • #2
harborsparrow
Gold Member
534
108
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.
 

Related Threads on Programming a 7 segment display timer

Replies
8
Views
2K
  • Last Post
Replies
1
Views
991
  • Last Post
Replies
2
Views
2K
Replies
2
Views
1K
Replies
4
Views
1K
Replies
2
Views
12K
  • Last Post
Replies
1
Views
2K
  • Last Post
Replies
15
Views
913
  • Last Post
Replies
9
Views
3K
Top