What it does and why

SimonDuino is an implementation of the classic game Simon Says. With a light sensor, our Arduino will keep track of taps once a record button is pressed. It will record the times at which these sounds occurred and store them. Once the button is released, it will play back these sounds using the blinking of a light. Also, the times of each sound will be uploaded to Blynk.

Iteration Throughout April

We met in the beginning of April to brainstorm ideas, and then had subsequent meetings to draw out the circuits, implement them, and then finally, write out the code to test it closer to the deadline.

Subsystems

We broke our project into three main parts.

1. The Recording Button

We wrote code to detect when this button is being pressed, held, and released. When it is pressed, it initializes an array, which will be used later to store the time values for each tap.

2. The Light Sensor

We first experimentally found the value that the light sensor returns in a lit classroom. We used this value as a threshold, and when we cover the light sensor with a finger (a tap), the value would dip below the threshold, and the time was recorded into an array.

3. The Blinking Light

We wrote a playback() function that, given an array with times, would blink the light at each time in the array.

Turning SimonDuino into a real product

First and foremost, this product is more of a goofy toy than a really useful product. The first step to making it a real product would be to clean up the design, put it in a nice case, have a large record button, a more sturdy place to tap and hit, and a prettier light, maybe even a display of some kind. Also, the raw data sent to Blynk would need to be processed in a more readable way.

Improvements

This project would ideally be used with a sound sensor that detects all sorts of sounds, and maybe even pitch, instead of just taps. Also, the data sent to Blynk could be processed in a nicer way instead of just being in milliseconds.

Note

Though it isn't clear in the video, the light actually did blink. It was not easy to capture.

Built With

Share this project:

Updates