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

« LEGO EV3 vs VEX IQ | Main | QSITE - Quick Journal article »
Monday
Oct132014

EV3 Musical Sequencer

I was recently asked to update my popular NXT sequencer for an EV3 version, so here it is!

The build is pretty simple and can be made by either the Home (31313) or Education (45544) versions of the EV3 kit.  

 

 

Programming:

The programming was done in EV3-G and very straight forward.  A single loop checks the Colour Sensor connected to Port 1 via a Switch Block.  I added multiple conditions to the switch so that there was one for each colour LEGO brick I had available (huge thanks to Filippa from LEGO for the coloured beams!).

 For each colour there is a particular sound that is played.  I just chose the notes from a C Major scale but you can get creative (Mixolydian anyone???)

For the colour White, I left the sequence blank.  This means that as the colour sensor goes over anything white, it won't play any sound.  If I had a black table, I would switch the Black case to be 'play nothing' and the White case to play a note.

A separate task spins the motor (connected to Port A).  Change the speed as necessary to speed up or slowdown your sequencer.

Download the full Project Here - EV3_Sequencer.ev3

Building Instructions

Download the full colour pdf here - EV3_sequencer_build.pdf

Let me know how you go and post up your musical creations!

 

 

EmailEmail Article to Friend

Reader Comments (1)

Damien, thank you so much for updating the Nxt sequencer for the ev3. I am looking forward very much to building it with my grandson with our 31313 set.

April 20, 2016 | Unregistered CommenterSasha

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>