Detailed connection diagrams for DIY Foot Pedal Water Tap
This shows all connections between components. Follow this diagram when building your circuit on the breadboard.
12V DC POWER SUPPLY (2A minimum)
|
(+)
|
+-----------------------+-----------------------+
| | |
| | |
[SOLENOID 1] [SOLENOID 2] [ARDUINO VIN]
(Hot Water) (Cold Water)
| | |
| | |
[1N4001 DIODE] [1N4001 DIODE] |
Cathode (^) Cathode (^) |
| | |
| | |
Collector Collector |
+---[C]---+ +---[C]---+ |
| | | | |
[TIP120 #1] | [TIP120 #2] | |
| | | | |
+---[E]---+ +---[E]---+ |
Emitter Emitter |
| | |
+----------+------------+-----------+-----------+
| |
GND [ARDUINO GND]
ARDUINO CONNECTIONS:
====================
Arduino Pin 9 ----[2.2kΩ Resistor]---- Base of TIP120 #1
Arduino Pin 10 ---[2.2kΩ Resistor]---- Base of TIP120 #2
Arduino Pin 2 ------------------------- Foot Pedal Terminal 1
GND ------------------------------------- Foot Pedal Terminal 2
Arduino Pin 13 ---[220Ω Resistor]------ LED Anode (+, long leg)
GND ------------------------------------- LED Cathode (-, short leg)
Flat side facing you:
+---+
| |
B | | C
A | | O
S | | L
E | | L
| | E
| | C
| | T
| | O
| | R
E +---+
M
I
T
T
E
R
| Pin Name | Function | Connects To |
|---|---|---|
| Base | Control signal input | Arduino (via 2.2kΩ resistor) |
| Collector | High current output | Solenoid valve (load) |
| Emitter | Ground reference | GND |
+----------------+
| |
| 1N4001 | ← Stripe on one end = CATHODE
| |
+----------------+
Anode (-) Cathode (+)
This shows the physical arrangement of components on the breadboard. Use this as a reference when placing parts.
POWER RAILS COMPONENT AREA GND RAILS
=========== ============== =========
+ + + + + Arduino Uno - - - - -
+ + + + + (Positioned to left side) - - - - -
+ + + + + - - - - -
+ + + + + TIP120 #1 - - - - -
+ + + + + (Hot Water) - - - - -
+ + + + + B C E - - - - -
+ + + + + | | | - - - - -
+ + + + + R | +---> GND - - - - -
+ + + + + | | - - - - -
+ + + + + Pin 9 | - - - - -
+ + + + + To Solenoid #1 - - - - -
+ + + + + - - - - -
+ + + + + TIP120 #2 - - - - -
+ + + + + (Cold Water) - - - - -
+ + + + + B C E - - - - -
+ + + + + | | | - - - - -
+ + + + + R | +---> GND - - - - -
+ + + + + | | - - - - -
+ + + + + Pin 10 | - - - - -
+ + + + + To Solenoid #2 - - - - -
+ + + + + - - - - -
Legend:
R = 2.2kΩ Resistor
B = Base, C = Collector, E = Emitter
Repeat Step 2, but use:
Before powering on, verify each section:
Avoid these common errors that can damage components or prevent the circuit from working.
+12V ----[====]---- Solenoid ----[====]---- GND
^ ^
No stripe Stripe here
(WRONG - will not protect transistor!)
Problem: Transistor will be damaged by voltage spikes
+12V ----[====]---- Solenoid ----[====]---- GND
Stripe No stripe
(Cathode to +12V side - CORRECT!)
Result: Transistor protected from voltage spikes
Arduino Pin 9 ---- TIP120 Base
(WRONG - can damage Arduino!)
Problem: Too much current drawn from Arduino pin
Arduino Pin 9 ---[2.2kΩ]--- TIP120 Base
(CORRECT - limits current)
Result: Safe current level for Arduino
Use different colours for different functions:
Once wiring is complete, follow this testing sequence:
| Component | Quantity | Key Connections |
|---|---|---|
| TIP120 Transistor | 2 | Base → Arduino pin (via 2.2kΩ) Collector → Solenoid Emitter → GND |
| 1N4001 Diode | 2 | Across solenoid terminals Stripe to +12V side |
| 2.2kΩ Resistor | 2 | Between Arduino pins 9/10 and TIP120 bases |
| 220Ω Resistor | 1 | Between Arduino pin 13 and LED anode |
| Solenoid Valves | 2 | Terminal 1 → TIP120 collector Terminal 2 → +12V |
| Foot Pedal | 1 | Terminal 1 → Arduino Pin 2 Terminal 2 → GND |
| LED | 1 | Anode → 220Ω → Pin 13 Cathode → GND |
If something isn't working, check the troubleshooting section in the complete guide.
🔧 Troubleshooting Guide