Connecting DC Solenoid

Thread Starter

Christopher Siguan

Joined Nov 4, 2018
10
Hello guys, I'm planning to use Raspberry Pi board to drive 8 pcs of 6V solenoid.

The solenoid need not to be active in one go but 2 or 3 might need to be active at one time.

What would be the ideal connection for the DC supply?

Each solenoid has it's own 6V DC supply?

But ground will be common and connected to Raspberry Pi.

Thanks for any ideas.
 

ebeowulf17

Joined Aug 12, 2014
3,307
Are you sure you want to switch power to the solenoids on the high voltage side and tie all commons together? You can build simpler circuits if you switch low side (connect all solenoids directly to 6V positive leg, and switch the ground legs of each solenoid with MOSFETs.) Here are examples of each scenario - in both cases demonstrating two solenoids worth of control circuits, but numbers 3-6 will just be identical copies of the first two. It's not a huge difference, but you save one transistor and one resistor per solenoid channel by switching low side.

MOSFET-high-vs-low-side.png
 

Attachments

Thread Starter

Christopher Siguan

Joined Nov 4, 2018
10
Hi ebeowulf17, so basically there will be no harm if there are separate DCs to supply the solenoid?

Yes I do have almost same circuit with yours except for the relay part.

Thanks.
 

MisterBill2

Joined Jan 23, 2018
27,164
A very big problem will be the inductive voltage spike when the solenoids are switched off. The circuits in post#4 include protection against damage from the voltage spike, but other arrangements may not show it. Such an inductive voltage spike may damage the processor board if there is no protection provided.
 
Top