Three buttons and a menu
SELECT, CONFIRM and CANCEL with no resistors to fit, a menu of six icons, and why a button needs debouncing.
Open it in the simulatorA Tamagotchi-style pet on an OLED: a screen, buttons, stats, a clock and a memory, ending with Pip.
0 of 6 done
6 lessons in 3 chapters, about 4 hours on a simulated Arduino Uno R3. Free, in your browser, every step checked by the simulator.
SELECT, CONFIRM and CANCEL with no resistors to fit, a menu of six icons, and why a button needs debouncing.
Open it in the simulatorA clock that counts pet minutes, an egg that hatches, a baby that grows into a kid, and a pet that gets sleepy.
Open it in the simulatorEverything together: hatching, feeding, two mini-games, cleaning up, medicine, sleep and a pet that remembers you.
Open it in the simulatorEach lesson opens when the one before it is done, and each chapter ends in a project.
A screen to live on and buttons to talk to it with.
Wake a 128x64 OLED over two wires, write on it, and draw a pixel-art egg from flash. The first thing any pet needs is somewhere to live.
0 of 4 steps
SELECT, CONFIRM and CANCEL with no resistors to fit, a menu of six icons, and why a button needs debouncing.
0 of 4 steps
Stats that fall, a clock that counts pet minutes, and growing up.
Food, joy and rest that fall a little every pet minute on a millis() clock, and buttons that put them back.
0 of 4 steps
A clock that counts pet minutes, an egg that hatches, a baby that grows into a kid, and a pet that gets sleepy.
0 of 4 steps
Save the pet in EEPROM, then meet the whole thing.
Keep the pet in the Uno EEPROM as one struct with a magic number, save when something happens, and find it again after a reset.
0 of 4 steps
Everything together: hatching, feeding, two mini-games, cleaning up, medicine, sleep and a pet that remembers you.
0 of 4 steps
All 6 lessons, in order, each with what it covers. Any of them opens in the editor right away.
Every lesson runs in the simulator with nothing to buy. When you want the real thing, these kits have the parts.
An Uno, a little screen, three buttons and a piezo: a pet that grows, sleeps and remembers you.
Open the kitPick the starter kit you own and run every lesson in its manual with the same parts on the same pins.
See every kitYes. All 6 lessons of Build a pocket pet are free and run in your browser, with nothing to install and no parts to buy before you start.
No. Every lesson runs on a simulated Arduino Uno R3 with its parts on the canvas, and the simulator checks each step as you go. When you want to build it for real, the same wiring and code work on a real board.
About 4 hours: 6 lessons in 3 chapters, each one a few short steps. Your progress is kept, so you can stop after any lesson and pick up where you left off.
Each chapter ends in a project that puts it together: Three buttons and a menu, Growing up and going to bed and Meet Pip.
With "A face for your pet", and each lesson builds on the one before it. New to circuits? Electronics basics is the course that starts from zero.