Hi Markos. Did Yoy take a look on the PIC datasheet? If you have a Voltage 
reference (2 pins) on the IC apart  power supply, and in the datasheet is 
specified that can support 12 V with 5V on power supply, of course you can.

I didn´t see that PIC datasheet, but in case that you cannot use that 
voltage reference range, you will have to make a conditioning signal circuit 
with an operational amplifier.

Take care to not exed the specified ranges or damage of the device may 
ocurr.

On a simple way, if you use a couple of resistors use metal film resistor 
diu to the lower inductance they have compared with others. On most AD 
imputs its not recommended to use caps, inductors exept you have the 
impedances well separated.

I hope this help you.

Regards, Casiano.




----- Original Message ----- 
From: "Markos" <[EMAIL PROTECTED]>
To: <sdcc-user@lists.sourceforge.net>
Sent: Thursday, March 08, 2007 5:48 AM
Subject: [Sdcc-user] [OT] - ADC Ideas


> Hi guys,
>             maybe this is a little offtopic, but i'm sure you could
> help me. I'm implementing a simple battery charger, and I need to
> messaure voltages ranges from 0 to 12 V.
> ¿Could I use the PIC integrated ADC to messaure above 5 V (provided that
> I use the voltage reference pins tied to 0 and 12 V, for example)? Most
> external ADC have a 0 to 5V input range....
> How would you guys solve this? Any Ideas?
>
> Thanks in advance.
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share 
> your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Sdcc-user mailing list
> Sdcc-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sdcc-user
>
> __________ NOD32 1.1458 (20060324) Information __________
>
> This message was checked by NOD32 antivirus system.
> http://www.eset.com
>
> 


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to