Micro:bit – Micro Drum Machine

This is a micro:bit micro drum machine, that instead of just generating the sound, actuelly drums. It is heavy inspired by the rabbits from the micro:bit orchestra.

It took me some time to find some solenoids that were easy to use with the mocro:bit, since I didn’t want to use alternstive power sources or relays.

The circuit is a bit more complicated than my other projects, and though it is not that hard, it is properly not a project for middle school students.

Supplies:

Materials:

1 x micro:bit

4 mm plywood

3 x M3 bolts

12 x M3 nuts

1 x TIP120 darlington transistor

1 x 1k ohm resistor

2 x 10 uF electrolytic capacitors

1 x 47 uF electrolytic capacitor

1 x TO220-3 voltage regulator

1 x rubber band

1 x 9 volt battery

1 x 9 volt battery clip

1 x Switch

1 x Diode

1 x 5 volt solenoid

A few meters of wire.

It is good if you have different colours

Some perf board

Wood glue

Hot glue

Tools:

Soldering tools

Lasercutter

Wirecutter

Hot glue gun

Step 1: Solder the Circuit

Solder the circuit on the drawings. You shouldn’t solder anything to the micro:bit since we are going to connect it with bolts and nuts. Just leave some wire there. I soldered the 1k ohm resistor into the wire.

When I made this first I didn’t realise that a switch was needed, so I added it later, but you should properly learn from my mistake and add it now.

Step 2: Lasercutting

Download the files and cut them out of 4 mm plywood.

Step 3: Add Battery

First attach the rubber band, then strap in the battery.

Step 4: Attach Circuit

Use hot glue to attach the circuit and solenoid. Use plenty of hot glue. You will be able to recover the solenoid for another project if you want to, since hot glue doesn’t stick that well to metal.

Step 5: Glue It Together

Use woodglue to glue the two sides on. Wait a bit before you continue working.

Step 6: Add Bolts

Now take one of the M3 bolts, wrap the data wire you want to connect to the micro:bit around it and keep it in place with one of the nuts. Do the same for the ground and 3.3 V wire.

Then put the screws through the holes. Gnd through the left most hole, 3.3 V through the second most to the left and data throught the right most hole. Use two nuts on each to keep them in place. We use two instead of one,because we also need to creat some distance for when we connect the micro:bit.

Step 7: Add the Forgotten Switch(Optional)

If you forgot to add a switch like me, then this is when I added it. Without the switch to turn of the circuit it will be very hard to get the micro:bit in place, because the solenoid will randomly turn on and off, until the micro:bit is properly set. Cut the ground wire from the battery clip, solder on the switch and glue it on with hot glue.

Source: Micro:bit – Micro Drum Machine


About The Author

Muhammad Bilal

I am a highly skilled and motivated individual with a Master's degree in Computer Science. I have extensive experience in technical writing and a deep understanding of SEO practices.

Leave a Comment

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

Scroll to Top