Blog Home

Giving a teenage pet turtle a synthetic pizza-ordering voice

Arduino TeamSeptember 5th, 2024

If B. F. Skinner’s famous research proved anything, it is that virtually all animals are capable of some degree of training. Training is really just taking advantage of an animal’s natural inclination to adapt for survival, which is something all living organisms do. With that in mind, YouTuber Bao’s Builds constructed a box to give his teenage pet turtle a synthetic voice capable of ordering pizza.

The turtle, Lightning, just reached its 18th birthday and Bao decided that this would be the perfect gift. Like those mats covered in buttons that really smart dogs press with their paws to talk, Bao wanted Lightning to have a device with buttons assigned to specific requests, like “feed me” or “play with me.” Turtles aren’t quite as intelligent as border collies, so Bao decided the device only needed four buttons — turtles have pretty modest wants and needs, anyway.

Aside from the buttons themselves, which are standard arcade buttons, the key hardware components for this project are an Arduino Nano, a generic sound module, and a speaker. That sound module stores audio clips on an SD card to play whenever the Arduino makes a request. It also has a built-in amplifier, so it can feed a signal directly to the speaker. The sound clips contain realistic AI-generated voices: one for requesting food, one for requesting pets, and one for expressing love.

The final button orders pizza, which is the favorite food of teenage turtles (mutant or otherwise). That works by playing a sound file that tells an Amazon Echo to have Alexa place an order at Dominos. 

Sadly, Lightning seems to have struggled to grasp the concept — maybe Skinner was wrong, after all. But that’s probably a good thing for limiting the Bao’s Dominos budget.

Boards:Nano
Categories:Arduino