| HOW TO MAKE ALMOST ANYTHING, help pages, 2002 |
| << back to topics page |
|
DRIVING SOLENOIDS Technical details:(originally from: http://web.media.mit.edu/~dmerrill/mas863/micro.html)To drive the solenoids, we needed more current than we could safely get from the pin of the pic. (If you look at the datasheet for any microcontroller it will tell you (in the electrical specifications section) how much current can be drawn and sunk from/by a pin) We knew that loads like solenoids (much like motors, other inductors etc..) need a fair amount of current - and that 4 or more solenoids would need a lot! So we had a situation where we needed the following:
Question: Since we used 2 different power supplies to drive the different parts of our circuit (one for the pic/breadboard, and one to drive the solenoids), are there any rules for getting the voltages to play well with each other? Answer:
Common ground. On the big power supply (the one providing current to the solenoids) we wired the negative and ground (earth ground) to each other, and then to the ground on our little breadboard. That way they all had the same ground as a reference point. |