Mood Light Bluetooth Water Fountain

by Ashwini Kumar_Sinha in Circuits > Arduino

648 Views, 1 Favorites, 0 Comments

Mood Light Bluetooth Water Fountain

Home made Fountain
IMG_20170831_001327.jpg
IMG_20170831_001332.jpg
IMG_20170831_000410.jpg
IMG_20170831_000423.jpg
IMG_20170831_000425.jpg
IMG_20170831_000827.jpg
IMG_20170831_000830.jpg
IMG_20170831_001319.jpg

We are going to misusing old Plastic box and some bottle caps into a a Smart water fountain that changes color randomly or according to our mood.We can change the color of light according to our mood from our smartphone over Bluetooth connectivity..We are going to have fun in during making the projects my misusing a lots of different thing into a wonderful smart water fountain.so Lets start our fun

MATERIALS WE ARE GOING TO MISSUSE IN OUR PROJECT

IMG_20160905_164004.jpg
IMG_20160905_164240.jpg
IMG_20160905_160938.jpg
IMG_20160905_160944.jpg
IMG_20160905_163959.jpg
  • Old bottle cap one like in pic above
  • A small plastic piece
  • A straw (you got it free with some soft drink)
  • Hot glue gun
  • A plastic box for fountain body any type to your own design

Some electronics part we need to collect:

  • D.C motor
  • Arduino mini
  • Bluetooth HC 05
  • Some wires
  • RGB LED

IN FIRST PART WE ARE GOING TO MAKE PUMP

IMG_20160905_160932.jpg
IMG_20160905_164004.jpg
IMG_20160905_163959.jpg
IMG_20160905_164554.jpg
IMG_20160905_164600.jpg
IMG_20160905_170249.jpg
IMG_20160905_170300.jpg
IMG_20160905_170308.jpg
IMG_20160905_170315.jpg
IMG_20160905_170321.jpg
IMG_20160905_170329.jpg
IMG_20160905_170835.jpg
IMG_20160905_170845.jpg
IMG_20160905_170851.jpg
IMG_20160905_171448.jpg
IMG_20160905_171458.jpg
IMG_20160905_171507.jpg
IMG_20160905_171511.jpg
IMG_20160905_171515.jpg

Firstly we are going to make a water pump from these scrap materials (plastic cap, straw pipe).No I am not joking We are really going to turn these useless materials into a water pump.So lets get ready.

First make two hole in the cap one at the center of top and other at the ring of cap as illustrated in pic.

Now we fix the straw at ring hole of cap.with Hot glue as like in pic.I think you can understand better by seeing the pics carefully that what we are going to do.Follow the steps illustrated in pics and fix all the things together as like in pic above.Now at last to protect the motor from water short circuit cover the wire connections with hot glue and heat sink tube and seal all the holes in motor with hot glue or fevibond .or other rubber based adhesive.Carefully inspect hole pump and motor and seal the motor with hot glue.

MAKING OF FOUNTAIN

IMG_20160905_172630.jpg
IMG_20160905_172623.jpg
IMG_20160905_172636.jpg
IMG_20160905_174749.jpg
IMG_20160905_174753.jpg
IMG_20170831_000804.jpg
IMG_20170831_000410.jpg

Now we need to fix the motor pump on the top cap of our plastic box as illustrated in the pic above.Then fill the box with water and power the motor its starts pumping the water congrats we have almost done our project.

Now open Arduino IDLE and upload the following code to it .you can download the code from the link below

download fountain code

const int red = 9;
const int green = 10; const int blue = 11; int val=0;

void setup() {

Serial.begin(9600);

pinMode(red, OUTPUT); pinMode(green, OUTPUT); pinMode(blue, OUTPUT);

} void loop(){ val=Serial.read();

if (val=='a'){

ran();

} if (val=='b'){ analogWrite(red,0); analogWrite(green,222); analogWrite(blue,100); }

if (val=='c'){ analogWrite(red,222); analogWrite(green,0); analogWrite(blue,100); }

if (val=='d'){ analogWrite(red,222); analogWrite(green,165); analogWrite(blue,0); }

} void ran(){ while (1){ analogWrite(red,0); analogWrite(green,222); analogWrite(blue,100); delay(60); analogWrite(red,222); analogWrite(green,0); analogWrite(blue,100); delay(100); analogWrite(red,222); analogWrite(green,165); analogWrite(blue,0); delay(50); analogWrite(red,0); analogWrite(green,222); analogWrite(blue,0); delay(60); analogWrite(red,0); analogWrite(green,190); analogWrite(blue,100); delay(100); analogWrite(red,222); analogWrite(green,0); analogWrite(blue,160); delay(50); analogWrite(red,0); analogWrite(green,222); analogWrite(blue,100); delay(60); analogWrite(red,222); analogWrite(green,55); analogWrite(blue,120); delay(100); analogWrite(red,222); analogWrite(green,165); analogWrite(blue,0); delay(50); analogWrite(red,0); analogWrite(green,222); analogWrite(blue,0); delay(60); analogWrite(red,222); analogWrite(green,19); analogWrite(blue,10); delay(100); analogWrite(red,222); analogWrite(green,186); analogWrite(blue,195); delay(100); } }

code to upload to arduino


MAKING CONNECTION

Connect the wires as follow:

Arduino R.G.B BLUETOOTH HC 05

Pin9 ------------.>Red

Pin10------------->Blue

pin11-------------->Green

3.3v -------------->Common +ve

5V -------------------------------------------->VCC

GND -------------------------------------------->GND

RX ---------------------------------------------> TX

TX -----------------------------------------------> Rx

PUMP MOTOR +VE -------------------> BATTERY+VE

PUMP MOTOR-VE ---------------------->BATTERY -VE

Now after connecting all the wires fix the RGB led near fountain box according to you where you found it gives good light effect.If you want put it inside water make sure cover all the bare connections with hot glue and make it water proof double check the connection and water sealing with hot glue.

Now pack all the other electronics components in plastic and fix it out side the fountain box make sure it is away from water

NOW DOUBLE CHECK ALL CONNECTIONS AND WATER SEALING AND THEN POWER IT ON CONGRATS YOUR FOUNTAIN IS READY.

put some pebbles or artificial grass and plants on the top of fountain to make it look good or you can decorate it according to your own idea.

Now download nay Bluetooth terminal app on your phone and connect the Bluetooth HC05 to it then send

either a or b, or c or d from Bluetooth terminal to change the different color on it you can change and add many different color in its code. NOTE:If you send "a" from Bluetooth terminal it automatically change random color continuously.

NOW YOUR SMART WATER FOUNTAIN IS READY ENJOY IT HAVING IT ON YOUR TABLE .


IMG_20170831_000410.jpg
IMG_20170831_000830.jpg
IMG_20170831_001319.jpg
Water fountain rgb lights