Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

MCU input question - handling +/- voltage

Status
Not open for further replies.

rezaf

Advanced Member level 4
Joined
Apr 11, 2009
Messages
106
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,298
Location
Montagram
Activity points
2,147
MCU input question

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.
 

Re: MCU input question

Is your signal analog or digital? Is it a standard communication bus (such as RS232)?

You might have to use a opamps (or comparators) to bring the signal into the range where PIC can sense it.
 

    rezaf

    Points: 2
    Helpful Answer Positive Rating
Re: MCU input question

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) .
 

Re: MCU input question

rezaf said:
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) .

use opto couplers. this option is safest..
 

    rezaf

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top