This “talking, watching, listening” candy dispenser is triggered by the code word, “Alexa.” When “Alexa” is heard, the Adafruit sound board requests, “If you want candy, smile NOW!” The Google AIY vision kit watches for a smile. If there is no smile, the sound board says, “No smile, no candy.” If there is a smile, candy is dropped onto the catapult, aimed and flung toward the requestor (direction is determined by “where Alexa heard sound from.” An Arduino Uno monitors Alexa (Amazon Echo Dot), Google AIY vision, Adafruit sound and four servo motors.”

Link