24vdc input to pic16f877a

Status
Not open for further replies.
I have to use a 24 volt dc input to the pic port a and port b.it is for normal inputs only.

hi,
Use a resistive voltage divider, to divide the 24V down to 5V.
Say a 10K and a 2k5
 
Last edited:
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…