Robot that listens then repeats drum beats made from lego NXT!

Posted on 03/04/2008 by baka
Modified on: 13/09/2018
Project
Press to mark as completed
Introduction
This is an automatic import from our previous community platform. Some things can look imperfect.

If you are the original author, please access your User Control Panel and update it.

I made this robot using lego NXT. The program is written in NBC/NXC using BrickCC. A drum pattern is played by the user then after one second of silence the robot repeats the pattern played. This is achieved by using the sound sensor, when a sound loud enough is played the time in ms that the sound was registered is recorded into an array. Once the drum pattern is completed the robot then plays a beat that corresponds to the information stored in the array. If anyone wants the source code ...


Robot that listens then repeats drum beats made from lego NXT!

I made this robot using lego NXT. The program is written in NBC/NXC using BrickCC. A drum pattern is played by the user then after one second of silence the robot repeats the pattern played. This is achieved by using the sound sensor, when a sound loud enough is played the time in ms that the sound was registered is recorded into an array. Once the drum pattern is completed the robot then plays a beat that corresponds to the information stored in the array. If anyone wants the source code your more than welcome, just ask! (but I am self taught so it might not make for great reading! enjoy! :)

Flag this post

Thanks for helping to keep our community civil!


Notify staff privately
It's Spam
This post is an advertisement, or vandalism. It is not useful or relevant to the current topic.

You flagged this as spam. Undo flag.Flag Post