Development Of The Christmas Bells
Hand bells playing Christmas tunes is a very traditional sound at that time of year. Of course in the Kitronik development office, we like to add a technology twist. So, a plan was quickly hatched to make a microbit ring in the Christmas season. servo-controlled-xmas-bells-12-makes-of-xmas-main-1000 A set of mini Rainbow Musical bells was ordered from Amazon and I began to produce a prototype, using the things we had to hand.  

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. development-of-the-christmas-bells-microbit-lego-1000 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. development-of-the-christmas-bells-microbit-lego-servo-1000 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. servo-microbit-controlled-christmas-bells-12-makes-of-christmas-28-1000  

Driving the 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. development-of-the-christmas-bells-microbit-lego-servo-lite-1000 The other option is to use the 16 servo driver board (see the latest compact version of this board here). 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. development-of-the-christmas-bells-microbit-16-servo-control-board-1000 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. servo-microbit-controlled-christmas-bells-12-makes-of-christmas-25-1000 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.   Learn more about the author, learn more>>

Leave a comment

All comments are moderated before being published