Im pretty much a beginner with arduino boards. I have nano and mega, but i have only used them to control some RGB LEDs in a past.
- Neato Controlled robot vacuum
- Arduino Nano & Mega 2560
- Neato stock piezo speaker
I want the vacuum robot to play back several custom sounds during different situations. I have already thought a two "easily" executable situations.
When robot is docked, it's both two state leds either lit white or orange.
When they are white, robot is ready to clean, when they are orange, robot needs dust bin empty, or filter clean. When they blink orange, robot is charging and is not ready to clean.
At first, i when i start normal cleaning, only the robots "house clean button is lit white, Spot clean button is not on. I want the robot to start playing Terminator 2 Main Theme only the house clean button (white) is on. And i only want it to play once.
When i start spot cleaning, only the robots "spot clean button" is lit white, house cleaning button is not on. I want the robot to start playing Terminator 2 "Trust Me" theme. And i only want it to play once.
What kind of hardware and what kind of code i need to project like this?
Some kind of audio shield to arduino with microsd card? Better speaker? Wires from leds, wired to arduino analog inputs?
Sorry for my english, its not my main language.