Two inputs at different voltages in parallel

Thread Starter

jonfarrugia

Joined Feb 19, 2010
71
I have two micro processor in which I need to connect both of them to the same single pole switch which is grounded on one side. One of the micro processors is sitting at 12v while the other is sitting at 5v. I just cant connect these two inputs together and than connect them to the grounded switch...can I?
connecting them together may cause damage or premature triggering. What circuit should go between them? They are just inputs so there should only be a few ma of current. I was considering a diode between the inputs but thought the voltage drop across the diode might cause issues.

The current circuit is very similar to the one attached.
 

Attachments

wayneh

Joined Sep 9, 2010
17,498
That arrangement will cause a bit more current to flow from the 12V source than from the 5V source. You could increase the 10K resistor to reduce the current. Otherwise I don't see a problem, but I must admit I don't quite understand why the micro is sourcing current at its input pin?
 

inwo

Joined Nov 7, 2013
2,419
No, just the diodes.

With the resistors, and switch "off", the 5 volt input will see 12 volts. Maybe that's OK.

A diode on the 5v is all you need, as it would be biased off with switch open.
 
Top