Development Of The Christmas Bells

Photo of Kitronik

Made by Kitronik / Music / Robotics

About the project

How we worked through the initial prototyping stage of a Christmas project idea. This is what happened before we got stuck into the CAD.

Project info

Difficulty: Moderate

Platforms: micro:bit

Estimated time: 1 hour

Items used in this project

Hardware components

mini Rainbow Musical bells mini Rainbow Musical bells x 1
technic lego technic lego x 1
micro:bit Battery Holder 2xAA (JST-PH) micro:bit Battery Holder 2xAA (JST-PH) x 1
180-degree mini servos 180-degree mini servos x 1
Kitronik 16 Servo Control Board Kitronik 16 Servo Control Board x 1
USB Cable A/MicroB - 3ft USB Cable A/MicroB - 3ft x 1
Kitronik Prototyping System for the BBC micro:bit. Kitronik Prototyping System for the BBC micro:bit. x 1
Jumper Wires Jumper Wires x 1

View all

Software apps and online services

Kitronik Custom MakeCode Editor Servo Blocks Kitronik Custom MakeCode Editor Servo Blocks
Microsoft MakeCode Editor Microsoft MakeCode Editor

Story

Handbells playing Christmas tunes is a very traditional sound at that time of year. Of course at Kitronik, we like to add a technology twist, so a plan was quickly hatched to make a microbit ring in the Christmas season.


Whenever these types of resources/tutorials are created, they often gloss over the early stages of the idea that can involve trial and error and the occasional dead end. This resource covers how we went from 'wouldn't it be good if we...' to, 'ok, let's design the parts and build it.'


We Used:


Coding Resources:


Development Of The Christmas Bells:

Using technic lego a quick lever arm ringer was built. This proved that a microbit could drive a small servo sufficiently well to ring the bell. 


Initially, I experimented with 360-degree servos, where the servo arm dropped the bell by simply driving past. After a bit more experimentation I settled on 180-degree mini servos as they allowed for a more straightforward mechanism.

A laser cut equivalent bell ringer was made and tested, before making another 7, so all 8 bells could be rung. These were then arrayed on a baseplate, making a semicircle of bells with servos.

To move the servos, and hence ring the bells, there are a couple of choices. The Servo:Lite board can drive up to 3 servos, so a collaboration with 3 of these would be possible. To do this each microbit would need to know which bells it was responsible for, and then the 'master' micro:bit would broadcast the song on the radio channel, with each microbit driving the bells as they were called.

The other option is to use the 16 servo driver board. Here a single microbit can drive the 8 servos directly. I initially chose the 16 servo board option as it is more straightforward to create the software.

The 16 Servo board has a set of custom blocks for the MakeCode environment. Find out how to add and use these blocks here. To ring the bell the micro:bit drives the servo to lift the arm off its stop, then reverses the servo to drop the arm quickly.

The sudden impact causes the spring-loaded clapper to sound the bell. For my build, the servo needed driving from 80 degrees to 165 degrees to pick up the bell, then back to 80 degrees to drop it.

For a step by step look at how the finished project was assembled, check out the resource we put out over Christmas here.

Credits

Photo of Kitronik

Kitronik

Kitronik create high quality products and resources for education and makers. Since 2005 we've specialised in electronic project kits. We were also a partner in the BBC micro:bit program.

   

Leave your feedback...