Final Project Math Candy Dispenser The servo motor is now wired to the Arduino and will turn only when the user inputs a correct answer. It moves only for less than a second to allow only a small amount of candy to dispense. The LCD and servo are both wired to the 5V power supply on the Arduino using a breadboard. Overall, this project was intended to function as a incentivized way to practice basic math, rewarding users by dispensing candy when they correctly solve a math equation. That entire function was successful, including the dispensing mechanism, but it lacked the outer shell to hide the electronics and make it look more user-intuitive, so it that sense it was not as successful. I wished to have gotten a working enclosure for the dispenser, as well as to added more forms of interaction, for example being able to choose a level of difficulty for the math equations. Final Code: https://docs.google.com/document/d/1nYY_ScFA2V7kpMhJh4uejsz59CCSOndLVTeWHNebstc/edit?u...
Final Project Summary Project Title : Password-protected Candy dispenser Objective : Math based lock system where users must solve a randomly generated math equation displayed on an LCD to earn a candy. How It Works : The Arduino generates a simple math problem and displays it on the LCD. Users input their answer using a keypad. If the answer is correct, the system dispenses candy using a motorized mechanism and displays a success message. Incorrect answers prompt feedback on the LCD screen, and lets the user try again. Challenges : How to create the dispensing mechanism (servo motor)
The first version of the circuit featured three individual switches, each connected to a speaker. When you pressed a switch, it played a sound at a unique pitch, creating a simple but effective system for producing different tones. https://vimeo.com/1011063769 Taking the project a step further, the circuit was modified to include a scale-like switch. Instead of pressing a button, this switch activates when a heavy enough weight is placed on it, triggering the sound through the speaker. This added an interesting dynamic, as the pressure-sensitive feature opened up more creative possibilities for interaction with the circuit. For example, playing the sound as a way to notify that something exceeds a weight limit. https://vimeo.com/1011080755 One way this circuit could've been expanded on is by incorporating more sophisticated sensors and sound manipulation techniques. For instance, we could also have experimented with varying the pitch or duration of the sounds based on the am...
Comments
Post a Comment