Programming a 7 segment display timer

  • Thread starter Thread starter PaulEndacott
  • Start date Start date
  • Tags Tags
    Programming Timer
Click For Summary
SUMMARY

The discussion centers on programming a 7-segment display timer for an industrial design project at Loughborough University. The user, Paul, seeks assistance in creating a timer that starts, stops, and resets with button presses, accompanied by LED indicators and a buzzer. Key components include a basic circuit, a 7-segment display, and a microcontroller, which is necessary for software-based timing functions. The advice provided includes exploring "one-shot" circuits for hardware solutions and the need for a microcomputer for software implementation.

PREREQUISITES
  • Basic understanding of 7-segment display functionality
  • Familiarity with microcontrollers (e.g., Arduino)
  • Knowledge of circuit design and breadboarding
  • Understanding of programming concepts for timers
NEXT STEPS
  • Research Arduino programming for controlling 7-segment displays
  • Explore "one-shot" circuit design for hardware timers
  • Learn about integrating LEDs and buzzers with microcontrollers
  • Investigate timer libraries available for Arduino or similar platforms
USEFUL FOR

This discussion is beneficial for industrial design students, electronics hobbyists, and anyone interested in programming microcontrollers for interactive display projects.

PaulEndacott
Messages
1
Reaction score
0
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
 
Technology news on Phys.org
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.
 

Similar threads

  • · Replies 14 ·
Replies
14
Views
2K
  • Sticky
  • · Replies 13 ·
Replies
13
Views
8K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
16
Views
3K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 13 ·
Replies
13
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K