help about up/down counter

Thread Starter

jrdine

Joined Jul 30, 2013
1
can you help create a 0-99 counter with up when i pressed button the relay is on , down and reset button and a start button and also once the start button is pressed it will countdown until it reach 00 the relay is off... i need to use pic16f84a....
 

donpetru

Joined Nov 14, 2008
185
I'd help you, only if you opt for an Atmel microcontroller. Display you want to be with 7-segment or LCD?
The project can be achieved by a small donation to my website (for more details, send me one message).
 

tshuck

Joined Oct 18, 2012
3,534
... i need to use pic16f84a....
Is this because it is for school?

What have you done thus far? Your description is not entirely clear, what does pressing up/down do differently, aside from just counting in a different direction? Does the relay stay on while counting up?

Define what happens on each button press. Draw an ASM chart, it will help you. From there, it's just a matter of coding
your design to match the program flow...
 
Top