Say hello to Moses, Betta fish extraordinaire.
I picked Moses out of a sad little container at a pet store in downtown Los Altos. I could sense his caretaker's disappointment that his prize Betta was leaving the nest. I promised I would take good care of his little boy.
Arduino to the rescue
These inputs then control outputs --pieces that "do stuff", like turn on a light, move an "arm", rotate, make noise, etc.
You can program your Arduino to perform an output when it senses an input. Like entertaining and feeding your Betta fish!
A Day in the Life of a Betta Fish
Every 86,400 seconds (24 hours), the following things occur:
- At precisely 9am, an unobtrusive servo (a mechanical arm) makes a 90-degree turn and serves Moe his daily meal via a modified salt-shaker that dispenses 4-5 little pebbles per turn.
- At noon another servo does a 90-degree turn from behind the pebbles, displaying a mirror directly into Moe's lair and putting Moe face-to-face with his arch nemesis. He flares and flares, puffing himself up to defend his territory. After 3 minutes, the offender disappears.
- At 4pm the same servo does a 90 degree turn in the opposite direction, displaying a picture of Moe's ladyfriend. She is so beautiful! After 10 minutes she vanishes--the tease!
Do I know how to keep a pet or what?