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.

DC volts and A/D converter

Status
Not open for further replies.

mnm43

New Member
DC volts and A/D converter

--------------------------------------------------------------------------------

I'am using a 16F877A for my project...and I need to get the DC voltage from and other circuit (0 to 100 volt dc). This voltage is use for my calculation and results are shown on display.

I have found schematic for voltage 0 to 5 volts. The idea is to bring the 0 to 100 volt to scale 0 to 5 ( only one scale, no pot or resistors with selector).

A schematic that i have found is
**broken link removed**

But i don' t need the display. I need to get voltage the same way but instead of the ilc7107 it would be with my 16f877a.

Can anyone help me with this.

Tanks
 
Simply a resistive attenuator (potential divider), two resistors is all you need, bearing in mind the source impedance the 16F877 needs to see.

Check my PIC tutorial which does just that, but for 0-10.23V with a 2.5V reference (so divide roughly by four) - you would only need to change the value of the input resistor to give a 100V range (preferably actually 102.3V range).
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top