# Automation HAT Mini as pump controller

**URL:** <https://forums.pimoroni.com/t/automation-hat-mini-as-pump-controller/16943>\
**Category:** Support\
**Created:** [April 21, 2021, 7:11pm UTC](https://forums.pimoroni.com/t/automation-hat-mini-as-pump-controller/16943 "2021-04-21T19:11:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bssackma](https://avatars.discourse-cdn.com/v4/letter/b/ed8c4c/32.png) [@bssackma](https://forums.pimoroni.com/u/bssackma)\
**Post date:** [April 21, 2021, 7:11pm UTC](https://forums.pimoroni.com/t/automation-hat-mini-as-pump-controller/16943/1 "2021-04-21T19:11:41Z")

</div>

Hi All,

I would like to use the Automation HAT Mini to control a water pump. The pump includes an interface for a PLC that includes two pins that can be used to remotely Start/Stop the pump:

- Pin 1 (Brown) for ‘Common’
- Pin 2 (White) for ‘Digital Input (Start/Stop Signal)’

The ratings for the Digital Input (Start/Stop Signal) on the pump are as follows:

- Voltage Range: 12-24 VDC
- Max Voltage: 30 VDC
- Logic High: \> 6.0 VDC
- Logic Low: \< 4.0 VDC
- Internally Pulled-Up to 12 VDC

**Start/Stop (Full Remote)**

- The falling edge of the Start/Stop signal will start the pump. The Start/Stop signal must remain asserted (pulled low) to run the pump.
- Pressing the local Stop button disables the system until the local Start button is pressed.

From what I can tell the Automation HAT Mini can only source 5V - so I will need a separate power supply (e.g., 9V?) to provide the logic signal voltage. What I hoping to get clarification on is how exactly to wire things up.

I was assuming it would look something like:

- 9V(+ from power supply) \> Pin 2 (on pump PLC connector)
- Pin 1 (on pump PLC connector) to OUT1 on Automation HAT Mini
- …where do I wire the ground from the power supply…do I wire GND (from power supply) to GND on the Automation HAT Mini?

I am still waiting for delivery of the pump and just want to be sure I get this straight in my head before it arrives. Any guidance/suggestion would be appreciated.

Thanks!
