Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

16F84A programming

Status
Not open for further replies.

aardvark0812

New Member
I need to connect count from 0-99 using 2 7-segment displays connected to a 16F84A microntroller via 2 x LS74273 d-Flip Flops

What is the best way to program the 16F84A microntroller
 
I need to connect count from 0-99 using 2 7-segment displays connected to a 16F84A microntroller via 2 x LS74273 d-Flip Flops

What is the best way to program the 16F84A microntroller

Very, very, very, difficult question. Sounds simple, but it is not.. if it was simple, you would not be asking it.

You could help us to help you..

Do you have schematics? Or do you need help with that?

Are you a beginner with microcontrollers?
Do you know C-programming?
Do you know asm-programming?

"best way to program"? There are no best ways. There are only "ways to program".. and the best one is the one you study.
 
Last edited:
To use the LS273s you will need low power common anode displays as they can sink 8mA and source only 0.7mA You'd connect the data pins to a port (B), the clock pins to other pins (A0,A1) and /MRs to 5V. You connect the displays via resistors to the Q outputs and the common to 5V. To display a digit you place the (inverted) value on portb and toggle the relevant clock pin.

You would be better to just drive the displays directly with the 16F84 as it would be simpler.

Mike.
 
Hi aardvark,
try it with assembler!
Connect the segments to the 74LS273 Outputs Q0-Q66
You need only 2 PIC-Pins for Data and Clock
Drive The Anode/Kathode for each 7seg-Unit with a npn/pnp-Transistor
You need 2 lines for this.
Use Google to find an asm-example

regards Wil
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top