Read +2.5v and -2.5v adc value

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
lock attach
Attachments are accessible only for community members.
DeAa_335316
Level 4
Level 4
First like received

Hello

   

Please tell me where i am doing mistake ,

   

here i make AGND p2[4] pin and connect through 10k+10k voltage divider. and reading through P0[1] pin.

   

adc not working 

0 Likes
5 Replies
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

I have not the lightest clue with your description how you do a level shift to get the ADC input into the range 0..5V. Can you supply us with a schematic scetch?

   

 

   

Bob

0 Likes
DeAa_335316
Level 4
Level 4
First like received

by DEMUX i am selecting adc point and 0v to 5v its is working  but now i have to read 0v to -2.5v . i am not able to configure it properly 

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

You need to level shift your negative input using a resistor ladder. Read this article. Sorry, I couldn't find the excel file, you have to search for yourself.

   

 

   

Bob

0 Likes
0 Likes
rola_264706
Level 8
Level 8
50 likes received 25 likes received 10 likes received

Your files are not a PSoc Creator file set.  Please send them correctly.

0 Likes