help!!proj using p16f84a chip....

Status
Not open for further replies.

galdz03

New Member
we have a proj in school using pic's..
problem is using the pic16f84 chip as the main ic to a 4 digit led display voltmeter.........
 
Easy solution is NOT to use an old obselete PIC, use a more modern one like the 16F819 or 16F88 - these are pin compatible and have analogue to digital converters built-in.
 
Oh my god... so you will have to use external ADC to have some decent results... mmm nice way to learn SPI , I2C and multiplexing in one shot... good luck!

Nigel, i heard some school still using 16C711/JW

Time for school to have some update
 
Last edited:
If he's got large stocks of 16F84's then it makes sense to use them, what doesn't make sense is ordering them now (and it hasn't made sense for over six years). The actual code is not really any different to the 16F628, but there are a couple of slight changes required - and the 16F628 is a FAR more useful chip.
 
odering them only if you have to replace some and don't have anything else than the .HEX file and knowledge/time to redo the software... i hate using external Crystal when i don't really need. at least 2 extra i/o for free.. not bad.

For school, i don't know if they stock them... i guess it's much a matter of rewriting some books... lazy? Maybe!
 
mister_e said:
odering them only if you have to replace some and don't have anything else than the .HEX file and knowledge/time to redo the software!

No problem! - use WinPicprog to disassemble the HEX file, make the minor changes, and reassemble it!.
 
Yeah i know how to, there's no big deal to port code from one to another... But Ask to most repair shop tech to modify the code this is why i said knowledge/time.

Anyways galdz03. Here's an example of how to connect your 7 Segments display.

mmm you'll be short in i/o soon if you have to use external ADC...

between the PIC and 7 segment, use a drive like 7447 will give you 3 extra i/o. Using a LED driver like MAX6958 is another choice
 

Attachments

  • Freq_counter.JPG
    97.3 KB · Views: 160
Last edited:
The real question is how your professor wants the voltmeter ADC built?

Using ADC chips or discrete components like opamps and comparator?
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…