Sequencer Version 1 and 2
This is the follow up to version 1. It can be made out of a single NXT2.0 kit. The motor spins the device around and the colour sensor is constantly taking readings. Each colour is assigned a different note. For this test I was lucky that the carpet gave a reading of 'black' and as such, no note is played. Download the building instructions (pdf)
Download the NXT-G Program file here - sequencer.rbt



August 29, 2010

Reader Comments (6)
Hey I'm a 12 year old and I think what you made is really,really FREAKING AWESOME!!!...but, i just got my set a week ago and i have absolutely no clue how to programs ur bot. :( anyway,could u make a program file that would do the program for me? please if you have any response to this could u send it to my email?
Simon
Hi Simon,
I managed to lose the program during the website changeover but will see if I can put it back together. You can just follow the picture of the program if you want though.
Awsome work!
Great!! I will use this sequencer for a NXT demo in a music school. I'm sure will be a great success. Thanks
Is there any way to modify the program to use a light sensor instead of a color sensor? Please let me know!!!
Hi Candace, using the light sensor might be possible, but would be tricky to program. Essentially each light source will give a range of values rather than a single value. Instead of using the Tabbed switch, you would have to do a series of nested switches.
ie. If light reading above 50 {
play A
else {
if light reading above 40 {
play B
else {
if light reading above 30 {
....
etc.
Won't be as accurate but should still be possible.