The exact 2-axis PID principles of our stick are used in satellite attitude control.
In the vacuum of space, aerodynamic control surfaces don't work. Instead, satellites use internal reaction wheels mounted on different axes.
A satellite's lifespan is entirely dictated by its fuel. If it uses chemical thrusters to maintain orientation, it will eventually run dry and become space junk.
By using the Reaction Wheel PID System, the satellite relies purely on electricity to spin the motors. This electricity is infinitely generated by solar panels facing the sun, effectively giving the orientation system unlimited "fuel" and extending the satellite's mission by decades.
Advanced humanoid robots use inverted pendulum mathematics. By constantly shifting their center of mass over their feet, they maintain upright posture even when pushed or walking on uneven terrain.
Drone and cinema gimbals use multi-axis PID controllers connected to BLDC motors. As the operator's hands shake, the motors counter-rotate instantly, keeping the lens perfectly horizontal.
Segways and hoverboards operate exactly like our stick. When the rider leans forward (causing an error angle), the wheels accelerate forward to "catch" the fall, resulting in smooth forward motion.
Hardware engineering is rarely straightforward. Here is how I solved the three major hurdles.
Laptop completely refused to recognize the Arduino Nano directly.
Solution: Used an Arduino Uno as an ISP to route the connection and program the Nano.
The magnetic encoder heated up dangerously during operation.
Solution: Removed it completely. Traded minor precision for hardware safety and stability.
Complex power distribution led to two separate short circuits.
Solution: Implemented strict polarity checks, power rail isolation, and better wire insulation.