Building a Robot Pet Without a Microcontroller
ALTco built a tiny solar-powered, battery-free robot that moves like a real pet using pure analog circuits — no code required.
Robotic pets normally rely on microcontrollers, batteries, and software to bring them to life. But YouTuber ALTco has taken a different approach, building a tiny solar-powered robot that wanders around the living room without any programming whatsoever. Inspired by classic BEAM robotics, this unusual little creature runs entirely on analog electronics, using light to power its movements and guide its behavior.
The idea came after ALTco spent some time caring for frogs. Rather than taking on the responsibility of caring for another living creature, the maker decided to build an artificial one that could roam around the living room and mostly take care of itself. The result is a solar-powered robot that exhibits lifelike behavior without a microcontroller or a single line of code.
The project takes inspiration from BEAM (Biology, Electronics, Aesthetics, Mechanics) robotics, an approach that favors simple analog circuits over programmable processors. Instead of an Arduino or Raspberry Pi, this little creature relies on a handful of electronic components that work together to produce autonomous movement.
At the core of the design are two N20 gear motors that drive a pair of custom 3D-printed wheels. Rubber O-rings fitted into grooves around the wheels provide traction, and a pair of stacked 74HC240 inverter chips serve as low-power motor drivers. These chips were selected because their minimal standby power consumption makes them particularly well suited for solar-powered applications.
Speaking of power, the robot gets its energy from a solar cell mounted on top of a brass frame. A classic Miller solar engine stores the harvested energy in a capacitor until enough has accumulated to activate the circuit. This allows the robot to operate without a battery, although its activity naturally depends on the available light.
To make the robot serviceable, the chassis separates into two sections, with the electronics and solar panel on top and the motors and sensors underneath. JST connectors simplify disassembly, while spring-loaded contacts allow the solar panel to slide out. Sockets for resistors and capacitors also make it easy to experiment with different component values.
Two photodiodes act as the robot's eyes, detecting differences in incoming light. Their signals influence a pair of coupled oscillators that control the motors. One oscillator handles motor activity, while the other responds to light and influences the robot's speed and direction.
Under bright illumination, the robot tends to move toward the light source. In dimmer or uneven lighting, however, the oscillators drift in and out of phase, creating unpredictable movements that look like those of a small animal exploring its surroundings.
This behavior is what makes ALTco's creation so interesting. There are no complicated algorithms, machine learning models, or predefined movement patterns involved — just a clever arrangement of analog components producing something that looks alive. It may not replace a real pet, but it's certainly easier to care for.
Please log in or sign up to comment.