Search
About

Damien works with students and teacher from around the world, bringing the effective use of technology to the classroom.  

LEGO MINDSTORMS
Damien is a member of the MCP (Mindstorms Community Program), a small group of experts who collaborate with LEGO to make the MINDSTORM product better.

VEX IQ Robotics
Damien is a member of the VEX IQ Super User group, a small group of experts who collaborate with VEX to make the VEX IQ platform a better product 

 

Books

Teacher Resource Books

Global Map

See where the DomaBot and RileyRover is being used around the world

« miniVEX - VEX-IQ Classroom robot design | Main | International Robotics Academy Workshop - Amman, Jordan »
Monday
Dec292014

Carol of the Bells

I know it’s late, but the end of the year just got a little too busy for me.


Here is my LEGO MINDSTORMS EV3 version of ‘Carol of the Bells’.  I found a version of the song in 3 parts and assigned each voice to an EV3.  Timing was particularly difficult as while the notes played as expected, things like Loop and Bluetooth functions all take a finite time, which can throw out the timing of the song.  In the end I sent a bluetooth message from the Master EV3 (left hand one) to the two Slaves ever 4 bars of the song.  It does a pretty good job of keeping it roughly in time.

 

To make the Brick Lights flash in time with each note, requires some multi-tasking.  I start the musical note and turn on the brick light at the same time.  Then as the note is still playing, I take the note duration, divide by 3 and wait for that amount of time before turning the light off.  This gives a nice effect whereby longer notes have the light left on for a longer period of time.  Rather than do this for every single note, I used the My Block Builder to create my own block.  It accepts inputs of Note name, Note Duration and Volume and then send all those variables to the right places.


This is a screenshot of one of the programs.  You can download the full project file here - carol_of_the_bells.ev3

 

EmailEmail Article to Friend

Reader Comments (4)

Very cool for carol of the bells

January 1, 2015 | Unregistered CommenterLoomman

Awesome, I'm going to show my students tomorrow. Thanks for that. Happy holidays.

PS - If you want to see and hear an amazing Carol of the bells, listen to Carol of the Bells by Pentatonix. Enjoy.

https://www.youtube.com/watch?v=WSUFzC6_fp8

January 9, 2015 | Unregistered CommenterBrian Shaver

This made me smile!
I love the fact that this is a totally novel way to use multiple EV3s.
: )

March 21, 2015 | Unregistered CommenterSpinningayarn

Cool program. Great lights

October 3, 2016 | Unregistered CommenterAnonymous

PostPost a New Comment

Enter your information below to add a new comment.
Author Email (optional):
Author URL (optional):
Post:
 
Some HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>