12F629 12v/24v input

Status
Not open for further replies.

jamie398

New Member
Hi, I need an input pin to detect 12/24v but i'm trying to keep parts to a min. If i fed that straight in would it be ok or should I use a zener regulator or a transistor switch and enable WPU on that port? Thanks....
 
Ensure the pin you're using has a protection diode, and then just use a resistor to feed the pin - choose the resistor to only supply something like 1mA or less. 10K for 12V or 22K for 24V should be fine.
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…