• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Circuit Ideas for You

Get free circuit ideas online.

  • Home
  • Privacy Policy
  • About
Home » Dancing Water Fountain Circuit with Arduino

Dancing Water Fountain Circuit with Arduino

Last updated on 23 June 2026 by Admin-Lavi Leave a Comment

The Dancing Water Fountain Circuit with Arduino is a small project that makes water move like a dance when music plays.

Sound sensor listen music beat and Arduino controls the motor pump and then pump push water up and down in rhythm of sound.

Also, with some LED light, it look very beautiful like mini musical fountain at home; in addition, the circuit is with easy parts, easy code but very fun to make and show our friends.

Arduino Code:

int soundSensor = 2;
int ledRed = 3;
int ledBlue = 4;
int relayPin = 5;
int sensorValue = 0;

void setup() {
  pinMode(soundSensor, INPUT);
  pinMode(ledRed, OUTPUT);
  pinMode(ledBlue, OUTPUT);
  pinMode(relayPin, OUTPUT);
}

void loop() {
  sensorValue = digitalRead(soundSensor);
  if(sensorValue == HIGH) {
    digitalWrite(ledRed, HIGH);
    digitalWrite(ledBlue, HIGH);
    digitalWrite(relayPin, HIGH);
  } else {
    digitalWrite(ledRed, LOW);
    digitalWrite(ledBlue, LOW);
    digitalWrite(relayPin, LOW);
  }
}

Code Explanation:

  • Arduino uses sound sensor as input.
  • LED and relay are output.
  • The setup function defines which pins act as inputs and which pins act as outputs.
  • Loop function run again and again.
  • Arduino reads sensor value.
  • If sound is high then Arduino make LED ON and relay ON.
  • Relay ON means pump starts.
  • If sound is low then Arduino make LED OFF and relay OFF.
  • Relay OFF means pump stops.
  • This repeat fast with music.
  • Water moves like dance.

Circuit Working:

Dancing Water Fountain Circuit Diagram with Arduino

Parts List:

ComponentsValuesQuantity
Resistors 220Ω, 330Ω 1/4 watts1 each
SemiconductorsArduino Uno1
Sound Sensor Module1
12V Relay Module1
12V DC Pump1
5V Mini Pump (fountain)1
Red LED1
Blue LED1
Any Container1
12V Battery1

The main parts of this circuit is Arduino Nano which works as brain of the project.

Sound Sensor Module which detects the sound or music beat and relay module which controls the 12V DC water pump

The 12 V DC water pump pumps water when the circuit detects music and connect one terminal of the 12 V battery directly to the pump terminal and to the Arduino GND.

After that, resistors R1 and R2 are the protector for LEDs and Arduino and LEDs show the status visually

Moreover, the sound sensor gives signal to Arduino when sound crosses a set level and then Arduino checks this signal and sends output to the relay module.

The relay turns the pump ON or OFF according to the music beat, and the LEDs display visual effects along with the water movement.

Circuit works as follows:

Sound sensor detects sound level and if sound is more than the set threshold then Arduino sends HIGH signal to relay.

Relay connects pump with 12V supply and water flows and when sound is low then Arduino sends LOW signal and relay cuts pump OFF and water stops.

Hence, LEDs blink with the output so we can see the rhythm of dancing water fountain.

Formulas:

Relay module coil works at 5V from Arduino, while pump needs 12V and then this relay acts as isolation.

Pump current = P/V

If pump power = 12W and current = 12W / 12V = 1A.

Choose a relay that can handle at least 1 A at 12 V DC and adjust the sound sensor sensitivity with the onboard potentiometer, which changes the voltage threshold for the OUT pin.

How to Build:

To build a Dancing Water Fountain Circuit with Arduino follow the below steps:

  • First, gather all the parts as shown in circuit diagram
  • Next, sound sensor VCC connects to Arduino 5V, sound sensor GND connects to Arduino GND and then sound sensor OUT connects to Arduino D2
  • Then red LED connects to Arduino D3 through resistor R and blue LED connects to Arduino D4 through resistor R2
  • Also, relay IN pin connects to Arduino D5, relay VCC connects to Arduino 5V and then relay GND connects to Arduino GND
  • After that, 12V positive supply battery connects to Relay COM pin and relay NO pin connects to Pump positive (+)
  • Finally, pump negative (–) connects direct to 12V battery negative (–)

Conclusion:

Overall, this project for Dancing Water Fountain Circuit with Arduino shows how to make a low cost musical water fountain using Arduino.

The sound sensor detects beats, Arduino processes signal, relay drives the pump and water dances with music.

We can easily build this project, enjoy watching it, and use it for school projects or hobby experiments.

Filed Under: Arduino Projects, Automation Circuits, DIY Projects, Sensors and Detectors

About Admin-Lavi

Lavi is a B.Tech electronics engineer with a passion for designing new electronic circuits. Do you have questions regarding the circuit diagrams presented on this blog? Feel free to comment and solve your queries with quick replies

Previous Post: « Arduino Based Obstacle Avoidance Robot Circuit
Next Post: Sound Sensor Direction Circuit using Arduino »

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar




Categories

  • 555 Timer Projects (134)
  • Alarm Circuits (81)
  • Amplifier Circuits (94)
  • Arduino Projects (103)
  • Audio Circuits (189)
  • Automation Circuits (150)
  • Automobile Circuits (40)
  • Battery Charger Circuits (88)
  • DIY Projects (425)
  • Free Energy (12)
  • Heater and Temperature Controllers (32)
  • High Voltage (24)
  • Hobby Circuits (240)
  • Indicator Circuits (63)
  • Inverter Circuits (17)
  • IoT projects (12)
  • LDR Circuits (47)
  • LED and Lamps (201)
  • Meters and Testers (44)
  • Mini Projects (390)
  • Motor Controllers (25)
  • Oscillator Circuits (70)
  • Power Supply Circuits (244)
  • Radio Frequency (8)
  • Remote Control Circuits (12)
  • Renewable energy (20)
  • Security and Protection (128)
  • Sensors and Detectors (236)
  • Solar Circuits (31)
  • Timer Circuits (63)
  • Transistor Circuits (178)
  • Transmitter Circuit (19)
  • Tutorials (33)
  • Voltage Regulator (51)
  • Water Level Controller (10)

Recent Posts

  • Low Current Controlled Battery Charger Circuit using LM723 IC
  • 741 Op-Amp Treble Booster Circuit
  • Simple Diode and Transistor Based Audio Limiter Circuit
  • Simple 500mW Speaker Driver Circuit
  • Easy DIY LM386 Audio Amplifier Circuit

Recent Comments

  1. Admin-Lavi on High Voltage Fence Charger Circuit
  2. etere on High Voltage Fence Charger Circuit
  3. Admin-Lavi on High Voltage Fence Charger Circuit
  4. egidio grzinic on High Voltage Fence Charger Circuit
  5. Logic OR Gate Circuit using Transistors - Circuit Ideas for You on Automatic Street Light Circuit using LDR

Copyright © 2026 | New Circuit Ideas