Package Deals | Optional Features | Tutorials | Samples
  Top | Back | Home | Microcontroller Examples  

Musical Game 


The game is a clear plastic circular tube with a ball that rolls around in it. A song is played with a tempo or beat. The object of the game is to keep the ball rolling around in beat with the music. The beat of the music is changed throughout the game. Verbal directions and other emphasis audio were played during the game. This told the player what is coming up or to perform actions such as reverse the ball direction. A difficulty switch was used to change the  ball timing precision and length of time the player had to get the ball in beat. Several songs were also selectable. 
   
The microcontroller was a PIC 15 series with programmable comparator inputs. Two sound chips were use, one for the music and one for voice. The sound storage of two chips exceeded four minutes. Two optical detectors, which work on reflected light, detect the ball rolling in the clear plastic tube.  

The detectors are at a 90° angel to each other so the direction of the ball could be detected. 

The outputs of the sound chips are mixed and sent to the audio amplifier and then to a speaker.

The microcontroller and both sound chips were programmed after the board was assembled. The microcontroller acting as a programmer for the sound chips.  

The strange board shape and game switch were design constraints. 



Netopoly
Home | Contact Us | Package Deals | Optional Features | Rates | Policies 
Tutorials
Tutorials Overview | All About the Internet | All About Web Pages | All About Programming
All About Image | Image Index | All About Templates | Tutorial Links | Links Index

Samples
Samples Overview | Sample Images