Hello friends.
I have a question :
how can I connect a 12v DC wire that may be positive or negative to a input pin of PIC MCU with no polarity change ?
(I connected 470k resistor but no change see)(the another problem of me is in pullup 10k resistor of MCU input pin that change my polarity)
Thanks for answers.
Best Regards.
I have a DC motor that rotate clockwise and counter clockwise and I want connect a wire of it to MCU to know motor direction and do afew works according to direction of motor (to increase or decrease the number of hall effect sensor pulses) .
I have a DC motor that rotate clockwise and counter clockwise and I want connect a wire of it to MCU to know motor direction and do afew works according to direction of motor (to increase or decrease the number of hall effect sensor pulses) .