Timeline for Switch that turns on both arduino and motor shield that use different power supplies
Current License: CC BY-SA 3.0
9 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 22, 2015 at 16:33 | comment | added | kabZX | @NickJohnson- yes you're right. Just one SPST then. | |
Jul 22, 2015 at 12:17 | comment | added | Nick Johnson | @kabZX With ground disconnected from all the batteries, there's no circuit, so no current can flow through any of the circuits concerned. If there's a path from the +12V source to the logic rail, that would flow even when the circuit's connected. | |
Jul 22, 2015 at 11:52 | history | edited | kabZX | CC BY-SA 3.0 |
edited body
|
Jul 22, 2015 at 11:51 | comment | added | kabZX | @NickJohnson: Without knowing the circuit better I would not risk that. If the ground line is opened, the ground of the uC will float, causing the pins to float. The motor subsystem is still connected, and is connected to a possibly higher voltage, perhaps 6V or 12V for the motors. This can cause the 12V source to discharge into the lower voltage source for the uC and possibly causing some reverse voltages to show up. | |
Jul 22, 2015 at 10:48 | comment | added | 0gener | I agree with @Brian. | |
Jul 22, 2015 at 10:37 | comment | added | user16324 | @Nick - you might want to draw a circuit to illustrate that option in an answer... | |
Jul 22, 2015 at 10:25 | comment | added | Nick Johnson | You could use an SPST switch, switching ground instead of the supplies. | |
Jul 22, 2015 at 10:06 | comment | added | 0gener | Sorry by the lack of information, anyway your answer was useful. My sensor is working correctly, and i'll follow your advice and try to google something about the switch. Thank you. | |
Jul 22, 2015 at 9:51 | history | answered | kabZX | CC BY-SA 3.0 |