An RFID module reports read tags to the micro controller, which in turn commands the sound card to play the musical tone associated with the ring that was just read. If the rings are stacked in the correct order, all notes play again in succession and a motor rotates a figure on top of the secondary dowel. When the rings are stacked in the inncorrect order, the famous Wilhelm scream is played from the soundboard to signify that all rings are present and have been scanned, just not in an orderly fashion.
Limit Switches communicate with the micro controller to notify if/when an animal pin is inserted. When a pin is inserted, the micro controller sends a signal to the soundboard to play an associated animal noise. If all animal pins are inserted, a celebration sound is also played. The corresponding holes that the switches sit in are in the shape of their respective animals so that the user knows where to place the pin (Animal Matching).
Hall Effect Sensors are sensors that detect a magnetic presence to trigger a certain action. These communicate with the micro controller to notify when a 3D shape has been inserted. Each shape has a magnet inside which will only activate the sensor if the correct shape is used. The micro controller also sends a signal to illuminate the appropriated LED when a shape is inserted. Each shape has a specific color which would light up its corresponding LED.
Each game has sounds associated with them. The ring stacking game has mucial notes designated for each ring size, along with a celebration sound for a successfully completed task, and a wilhelm scream to signify an error in stacking order. The animal matching game 4 animal sounds, each associated with their respective animal cutout. When all four animal pins are placed on the board, a celebration sound will play. Lastly, the 3D shapes puzzle game has only the celebration ssond attached to its functionality when all 4 shapes are placed in their respective slots, activating the celebration sound. The sound board has a maximum of 16 mb worth of space for sound files, and due to the number of available pins on the soundboard itself, we were able to include 10 different files.
An Arduino Mega 2560 monitors all sensors for appropriate input values and outputs signals to LEDs, a 4.5V brushed DC motor, and the sound card in order to respond to user input. This specific model of Arduino was key since we needed the roughly 50 pins available onboard. This was able to control all of the logic set by software and handle a full game system. To help with overloading the Arduino's power capabilities, we utiized a separate wall outlet source that had an oboard volatage regulator down to 5V. This helped take care of most of the power for the sensors and motor so that the Arduino could use its power for the logic alone.