Explore
Groups to get your gears turning
XOUT and YOUT from a joystick can connect to analog pins A0 and A1.
The eyes move autonomously by default — settings in the code enable the joystick instead.
If you need to mount the joystick in a different orientation, there are also settings to invert each axis. Swap the X and Y pins in the code to use the joystick sideways.
This thumb stick has a click feature, which could be used to control eye blinks if desired. The smaller “mini” stick doesn’t have this, but is extra tiny for working into a costume or puppet.