how to check more than 5v d.c in pic 18f micro controller's

Status
Not open for further replies.

Karthi Keyan

Junior Member level 1
Joined
Aug 2, 2011
Messages
16
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Bangalore
Activity points
1,385

i want check 5V- 12v d.c in pic 18f micro controller. is it possible? if it possible tell me the way.

Thanks,
Karthi
 

Yes, use a voltage divider at the analogue input. What the ADC reads is 1/3 of the actual value so you will be able to read any thing from 0 - 15 V DC.
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…