# Switching on a solenoid

**URL:** <https://forum.core-electronics.com.au/t/switching-on-a-solenoid/21800>\
**Category:** Uncategorized\
**Created:** [5 February 2025 03:37 UTC](https://forum.core-electronics.com.au/t/switching-on-a-solenoid/21800 "2025-02-05T03:37:03Z")\
**Posts on this page:** 2\
**Page:** 6

<div class="post-metadata">

**Author:** ![Robert93820](https://avatars.discourse-cdn.com/v4/letter/r/ac91a4/32.png) [@Robert93820](https://forum.core-electronics.com.au/u/Robert93820)\
**Post date:** [20 February 2025 03:11 UTC](https://forum.core-electronics.com.au/t/switching-on-a-solenoid/21800/101 "2025-02-20T03:11:19Z")

</div>

Hi Geratd

> [@Gerard163258](#):
>
> there is an unused set of header pins to just happen to have gnd, 3v3 and the spare (only one) GPIO pin side by side matching the DFR PH 3 pin connector exactly on the prototype.

Got lucky there.  
In your case the 3.3V will be unused. According to the schematic the centre pin marked VCC is not connected. The only external power connection is the solenoid power marked on the schematic as VCC1. Your only MCU connection is Ground and one I/O pin to drive the Opto Coupler directly.  
I think you will find this should work OK  
I think this is some sort of standard “gravity” connection where in a lot of cases the 3.3V IS used.  
Cheers Bob

---

<div class="post-metadata">

**Author:** ![Gerard163258](https://avatars.discourse-cdn.com/v4/letter/g/a5b964/32.png) [@Gerard163258](https://forum.core-electronics.com.au/u/Gerard163258)\
**Post date:** [20 February 2025 03:57 UTC](https://forum.core-electronics.com.au/t/switching-on-a-solenoid/21800/102 "2025-02-20T03:57:48Z")

</div>

Yep, I guess you have to luck it in every once in a while.

[Previous page](https://forum.core-electronics.com.au/t/switching-on-a-solenoid/21800.md?page=5)
