Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[SOLVED] PIC Based LED Voltmeter

Status
Not open for further replies.

Raza

Advanced Member level 3
Joined
Feb 10, 2002
Messages
828
Helped
266
Reputation
530
Reaction score
259
Trophy points
1,343
Location
PAK
Activity points
4,486
Hi Friends
I want to make a PIC 16F84 based LED voltmeter. Can any one help me on this with schematic and software for the same. Will appreciate an early help.
 

The PIC16F84 is probably not the best choice for a voltmeter. It has no ADC internal features, therefore it will require an external ADC. It also has limited I/O and no serial bus features. So the ADC with have to pass the data in parallel 4,8 or 12 bits consuming the limited I/O pins which have to also drive the LED.

It can be done, but probably not the most cost effectively.
The PIC16F84 is also no longer supported by many of the newer chip programmers and debuggers.

What are the voltage type and range requirements?
 

Thanks friends I got it solved with 16F676.
 

Here is pic16F72 based volt meter with 16*2 digit LCD.

hex=
Code:
:020000009C2939
:0400060000000800EE
:10000A00083083120313FC002330FD00FD0B0B287C
:06001A00FC0B0B2808009E
:10002000103083120313FD00FD0B1428000008009C
:1000300083120313CD1B1E2887121F2887164D1B02
:100040002328071224280716CD1A282887112928C3
:1000500087154D1A2D2807112E280715401832280C
:10006000071433280710871403208710CD193A2866
:1000700087123B2887164D193F280712402807167C
:10008000CD1844288711452887154D184928071190
:100090004A28071540184E2807144F2807108714C0
:1000A00003208710401C56280520572810200800E0
:0E00B000073083120313FD00FD0B5C280800CF
:0E00BE008312031344088A00430882000800DE
:1000CC008312031340104C08CD0018204014080074
:1000DC0083120313F801F9011030FC00710DF80DB7
:1000EC00F90D7408F8027508031C750FF902031852
:1000FC0086287408F80775080318750FF90703109C
:0A010C00F00DF10DFC0B7428080043
:100116009D28803083120313C800AE28C030C80063
:10012600AE289430C800AE28D430C800AE2880303F
:10013600C800AE284808013A03198C284808023A34
:10014600031991284808033A031994284808043AE1
:10015600031997289A284903F0004808F007700801
:10016600C80040147008CD00182040104A08CD0081
:06017600182040140800EF
:10017C00D028803083120313C800E128C030C80097
:10018C00E1289430C800E128D430C800E128803040
:10019C00C800E1284808013A0319BF284808023A68
:1001AC000319C4284808033A0319C7284808043A15
:1001BC000319CA28CD284903F0004808F007700835
:1001CC00C8007008CD0018204010CB014B084A071E
:1001DC00840000080319FA284B084A078400000819
:0C01EC00CC006620CB0AEC284014080070
:1001F800831203139F01C0309F044808F000F00DDC
:100208007010F00D7010F00D701070089F041F141E
:1002180058201F151F1D122900000E291F101E0827
:06022800F000F1010800E6
:10022E0083120313FB01FA01F9018030F800F10C7F
:10023E00F00C031C2B297408F90775080318750FA9
:10024E00FA070318FB0A0310F01F33297408FA0784
:10025E0075080318750FFB07FB0CFA0CF90CF80C5C
:10026E00031C1E297B08F3007A08F2007908F100BE
:06027E007808F000080002
:1002840083160313871007100711871107128712AB
:100294008312871007108712071287110711052090
:1002A40005200520871507158714032087100520CE
:1002B4008714032087100520871403208710052046
:1002C4000711871403208710052087140320871043
:1002D40087118716871403208710052087120715B6
:1002E4008714032087100711871403208710052023
:1002F400871403208710071587140320871005200F
:10030400071187140320871087160716871507150A
:0C03140087140320871005204014080007
:100320005F208A110A128000840AC30A0319C40AD2
:08033000F003031D90290800F1
:10033800353083120313A0002030A1002030A20022
:100348002030A3002030A4006530A5006430A6004A
:100358006130A7006230A8006F30A9006130AA00A0
:100368007230AB006430AC002E30AD006330AE00AC
:100378006F30AF006D30B0002030B1002030B200D7
:100388002030B300B4013030B5002E30B600303024
:10039800B7005630B8003D30B9004D30BA00413092
:1003A800BB004930BC004E30BD005330BE00BF0119
:1003B8009F0183169F0187012F308500422101305C
:1003C800CD0018200C30CD0018200130C8000130B5
:1003D800C9002130CA00BE200230C8000A30C90056
:1003E8005630CA008B200230C800FC207008C500B7
:1003F8007108C6000C30F4000030F50017217008B1
:10040800C1007108C2002008C700E830F4000330BA
:10041800F5006E203030F00747088400700880002F
:10042800200AC7006430F4000030F5004108F000ED
:100438004208F1006E200A30F4000030F5006E200A
:100448007808F0007908F1003030F0074708840098
:100458007008800002302007C7000A30F40000301E
:10046800F5004108F0004208F1006E200A30F4005F
:100478000030F5006E207808F0007908F10030307F
:10048800F00747088400700880000230C800053073
:10049800C9002008CA00BE208230FC00DD30FD0003
:1004A800FD0B542AFC0B542A00000000F7295B2A94
:02400E00590057
:00000001FF
DNS File for Proteus user.
 

Attachments

  • 16f72meter_micro_c.rar
    12.3 KB · Views: 89

pnjbtr,
Thanks a lot for the circuit, BUT I did not want LCD (I had this already) but the LEDs. Anyways that is solved long back. I may upload that here for others to be benefited.
 

    V

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top