Challenge 13: Create your own
- rainbowsandalex
- May 30, 2016
- 2 min read
For this challenge I will make a mostly musical oriented robot. The goal is to have a short repeating tune play throughout, with added parts coming in as it senses different colours. The order in which the colours come in will be changeable, and it will have to navigate through a maze while it does all this. Outside surroundings will also be used in the musical aspect, whether it's from hitting the ground or something else that can be set up.
A small maze will be constructed either from tape on the ground or actually building it up vertically with cardboard. The various musical parts that come in will have to sync up with each other as they do, and will have to work together in such a way that they can come in in any order.
The program will be completed once all colours have been detected, which means one of the colours will always need to be sensed at the end of the maze.
The robot will need to have at least one colour sensor, one medium motor, and depending on the way the maze is built, perhaps an ultrasonic sensor. The program will most likely use a lot of loops, for repeating the sound sequences. And there will need to be a way to sync the loops so they go at the same time. That or I will have to somehow create a new loop every time with each of the new components being added.
The maze solving should be simple enough, I will have it running separately from the colour sensor sequence so it won't interfere or be interrupted.
- I will start by programming the different actions that happen when different colours are sensed, and creating the melodies/sounds that will play.
- Then I will make it so all colours will need to be sensed before ending the program, and figure out how to sync up the sounds.
- Then I'll create the maze, and put in the part of the program to let it solve it.
- Then I will figure out how to have sounds other than the sound coming from the robot itself(ex. arms hitting floor, setting up things on sides that will make noise when bumped, etc, etc ,etc)


Comments