PIC16F84A: 3 Digit 7-segment UP and Down Counter

Thread Starter

eduejr

Joined Aug 7, 2012
5
Good day to all! Can somebody help me in programming a 3 digit 7 segment up and down counter? The count is from 0 - 999. Input/switch is RA3 and RA4. Ouputs are RB6 -G, RB5 - F, RB4 - E, RB3 - D, RB2 - C, RB1 - B and RB0 - A.
 

SgtWookie

Joined Jul 17, 2007
22,230
Then you also will need to use RA0, RA1, and RA2 to select which digit you are currently displaying. You should use the output to drive a transistor or MOSFET to supply or sink enough current to/from the common terminal.
 

SgtWookie

Joined Jul 17, 2007
22,230
I believe you mean 2N3906 instead of 2N9006.
That should work as long as your LED display's power supply is the same as your PIC's power supply. The 2N3906 is pretty much limited to sourcing about 100mA.

Maybe someone will be able to help you with the Asm portion. I'm really tied up today.
 

takao21203

Joined Apr 28, 2012
3,702
I almost forgot, I'm using .ASM language.
I might have source code around from years ago.
2-digit LED display, 16f54, assembler.

How much will you pay for this? But this is only a joke.

Have you done any work yet? Like soldering the circuit, or building it on breadboard? Have you written any code? Did you set up a PIC programmer? MPLAB maybe?
 
Top