Introduction: Wind - Bubble

The idea is how to make other people happy.

The soap bubble is one of the thing causing most of the people mood to be happy because somehow soap bubble is remembered of our joyful childhood.

There are two machines that we are going to build, first is the windmill and the bubble generator secondly. I tried to make it fun by adding LED level indicator so people need to blow harder to achieve higher rpm in the windmill. Though you could always change the limit in the program.

So those machines are communicating via telemetry module and once you blow the wind, the bubble generator will make a bubble wirelessly. Hopefully they will get the dopamine by looking the bubble or seeing smiley faces who enjoy the bubble.

This project is intended for maker, designer, engineer and whoever is interested to learn or build about sensor or just want to make people happy. Any constructive suggestion would be appreciated. Please feel free to upgrade and enjoy!

3 x Screws m4 and nuts

4 x Stopper 6 inner diameter

IR Reflective sensor module

Plywood

Bearing 16 mm inner diameter and 6 mm outer diameter

Wires 5mm

2 x Arduinos

2 x Telemetries

TIP122 (NPN)

Tools:

3d printer

Laser cutter

Basic electronics tool.

Step 1: Encoder With IR Sensor Hardware

3D print the mounting of the encoder, blade and the base holder.

Laser cut the encoder plate with plywood.

Mount the skateboard bearings outer diameter of 16mm with inner diameter of 6mm by just pressing it in the holes.

Mount the IR sensor ( I used TCRT5000 IR Reflective Sensor Module, EUR 1,48)

Cut the 9mm holow alumunium with the required length.

connect the wires ( Gnd, Vcc and Do) and make sure the wires are long enough to be attach to the arduino.

Step 2: Encoder Software & Connection

Interrupt is needed for having accurate result from the IR sensor pin 2 from the arduino which connect to the IR sensor.

// set compare match register to desired timer count:
OCR1A = 15624; every one second to update the rpm.

To calculate the rpm is just simply count the number of gaps passing from the IR sensor and devided by 17 which is the total number of the gaps on the encoder.

1 rotation = 17 gaps

rpm = (1 rotation/17 gaps) * (number of gaps /1 min)

rpmSave = rpmCount/(double)17;

Connect LED to pin number 3,4,5,6,7,8,9,12 and 13 with series to the 220 ohm resistor.

Step 3: Bubble Machine Transistor

Connect all the cables as the following schematic above.

This is how I calculate the Resistor at the base.

I_B=Ic/β=(0.92 A)/1000=9.2x10^(-4) A

R_B=(V_CC-V_BE)/I_B = 2.7k Ω

Step 4: Turn It on and Enjoy!

Please feel free to give me any feedback or suggestion.

I hope this can bring people to be happier! :)

Make someone extremely happy today!

Step 5: Video