Musical Toothbrush

by forwattpadandstuff040 in Circuits > Arduino

423 Views, 0 Favorites, 0 Comments

Musical Toothbrush

ECET1.PNG
ECET2.PNG

Hi! My name is Tina the tooth fairy and I am here to show you how to create your own musical toothbrush! I will show you step by step how to take a non-musical tooth brush and take it to the next level! As a hint in this tutorial, all purple glow around parts in pictures are important for the step. Now continue on and make your own magical musical tooth brush!

This toothbrush design should take about an hour and a half to complete. To upgrade for an extra challenge, try to attach a buzzer to the circuit to amplify the sound.

Disclaimer

This toothbrush design is intended for display and demonstration purposes only and should NOT be used in a human's mouth. It should also not be placed under water under any circumstances. Tina and the tooth fairy community does not fall liable for any injuries or illnesses that occur with the misuse of our product. Tina also recommends that if you have no experience with a soldering gun, you should consult an adult for supervision to prevent injury.

Supplies

The list below is all the materials you need to complete your own toothbrush. Part numbers and store to the exact materials used are provided in the list as well.

  • Motor Driver from Mouser, LM293NE
  • Oral-B Pro 500 from Wal-Mart
  • Arduino Mega 2560 from Amazon, EL-CB-003
  • Soldering and Wire Kit from Amazon, EAN0721248989376
  • Push Button from Mouser, 612-LL3301NF065QG
  • Breadboard from Mouser, 424-240-131
  • 5V Power Supply from Amazon, AL5V3ABK
  • Solid 22AWG Wire Kit from Amazon, EAN0721248989765

Place Your First Wires

ECET3_fixed.jpg
oop.PNG

Start by putting motor driver IC and pushbutton across the middle dip in the breadboard as shown. Ensure the little dot on the IC is to the right. Additionally make 2 black wires for 1 and 2 labeled in the picture. Tina reminds you that the location of the wires are VERY important and if it is not followed exactly, the circuit could malfunction. The final circuit should look like the second picture.

Begin to Expand Wiring

ECET4_fixed.png

Cut, strip, and bend 3 pieces of wire as shown for wires 1, 2, and 3. Wires 2 and 3 will be 5V coming from the Arduino, where wire 1 will be 5V coming from the power supply to drive the motor.

Pushbutton Wiring

ECET5.PNG

Add another wire for the pushbutton ground. Tina always tests her push buttons by pressing it before wiring, to ensure once wired you can press down without issue.

Start to Power the Circuit

ECET6.PNG

Next, we will wire the connector for the power supply. For the end that gets screwed into the housing, loop the back on itself as shown in the picture. Connected the red wire to the terminal with the ‘+’ on it. Tina is careful when she puts negative and positive wires, Mixing them up could lead to a reverse circuit, which is not good!

Continue to Power the Circuit

ECET7.PNG

Repeat the previous step for the black wire.

Power Warning

ECET8.PNG

The toothbrush will be powered by plugging this in. As we will still be working on the circuit, do not plug it in yet otherwise there is a risk of electric shock. Tina keeps that cord away from the circuit until you want to power the toothbrush, to avoid any shocking results.

Connect the Arduino

ECET9_fixed.jpg
Arduino-Mega-Pinout.jpg

Next connect pin 11 from the Arduino to the motor driver as shown with wire 1. Connect the pushbutton to A0 of the Arduino as shown with wire 2. Finally, connect wire 3 and 4 to provide 5V and ground to the breadboard. Tina uses the pin out sheet provided to make sure she connects the wires correctly to the Arduino Mega 2560.

Begin to Edit the Toothbrush

ECET10.PNG

Moving the breadboard aside, get out the toothbrush. Tina had a rather hard time opening the box, so if need be use a small knife to open the package. If you are unfamiliar with how to use a knife safely, allow an adult to open your toothbrush box.

Begin to Disassemble

ECET11.PNG

This step is a little tricky so be careful! Get a small flat head screwdriver and gently pry up the plastic around the top of the toothbrush head. Once you’ve gotten it loosened up, pull the plastic piece around the metal shaft towards the front of the toothbrush. The cap should now come off.

Innerworkings of the Toothbrush

ECET12.PNG

Shown are the three main components to the toothbrush. The cap, the circuit board and motor assembly, and the housing. Tina makes sure she has all the correct parts from the toothbrush before continuing. If your toothbrush does not look like this, or something breaks, you have to get a new toothbrush! Tina does not want her tooth followers like you to get harmed by a wild electric toothbrush.

Gathering Soldering Materials

ECET13.PNG

Next up is some soldering, locate the soldering iron from the kit, along with the sliver and blue tube called a ‘solder suck’, along with the circuit board.

Heat Up the Soldering Iron

ECET22.PNG

Now that your circuit is open to use, take your soldering gun and turn it to a comfortable heat. This is the setting used on the gun from the materials list, but if using a personal soldering gun, the temperature settings may differ. Tina reminds you not to touch the metal part of the soldering gun, as it can cause major burns. If you do touch this part, let an adult know immediately!

Soldering Stabilization

ECET23.PNG

To provide more support with soldering, you can place the circuit in the middle of a pair of household plyers. This is optional, but recommended for those with little soldering experience. Tina prefers to provide support when she solders, to prevent any from slipping and sliding around the circuit and her tiny tooth fairy hands.

Desoldering

Now you can begin to remove the solder already present on the tooth brush circuit. Watch one of Tina's helpful fairy's complete this in the video.

Soldering Results

ECET24.PNG

If the video is followed correctly, the circuit should now look like this! There should be no solder left on the pads and the plus symbol should be visible.

Remove Circuit Housing P1

ECET25.PNG

You will now begin to remove the housing attached to the circuitry. To begin, press the small black button on the side of the circuit housing.

Remove Circuit Housing P2

ECET26.PNG

Press the button in an upward motion until you feel the circuit slide away from the circuit housing.

Remove Circuit Housing P3

ECET14.PNG

Once the circuit board and battery has been removed from the motor housing, set them aside as you will not need it for the next steps. Tina likes to keep all her unused parts close together, to make sure she keeps track of all her materials.

Gather Solder and Wiring

ECET15.PNG

For the next step you will need the spool of solder from the kit, and 2 wires 12-16 inches long.

Soldering

After removing the housing from the circuit, solder on a red wire, positive, and black wire, negative, to the pads you originally desoldered from. The video above shows how this is done. Do not forget to thank Tina's helper for the soldering help!

Place Wires in Housing

ECET16.PNG

After the wires are soldered on, cut the power button on the toothbrush from the motor housing. Place the circuit housing and motor housing on, making sure the red and black wire come out of the hole created in the motor housing.

Download Code

ECET21.PNG
image.png

Connect the Arduino to a computer with the Arduino cable and download the code provided. Tina wrote the code and is happy to share it! (If you want an extra challenge, Tina encourages you to change the music notes for your own song)

Downloads

Code Analysis

Code2.PNG
Code3.PNG
Code4.PNG
Code5.PNG
Code1.PNG

Tina wanted to provide an explination to the code and how it works while it downloads to your computer! Comments, which are in green, explain what lines perform what actions in the code.

Connect Toothbrush to Breadboard

ECET18.PNG

To make the connection between the toothbrush and the Arduino, connect the red wire to in between the black and yellow wire, and the black wire to the negative terminal of the breadboard.

Finishing the Toothbrush

ECET19.PNG
ECET17.PNG

The top cap can then be put back on, followed by the toothbrush head. Make sure the Arduino is plugged into the computer before running the toothbrush. Once the toothbrush head and cap are connected to the toothbrush, connect the 5V power supply to the power supply connector and then press the push button on the breadboard to enable the power.

Congratulations!

ECET20.PNG

If you followed all the steps, your toothbrush should sing in joy! Tina congratulates you on making tooth brushing even more fun than it already is. Now go and impress your friends with your homemade musical dental tool! As a reminder do not put this in your mouth or near water for your safety. Tina likes healthy teeth from her living friends!