A heartbeat sensor controls the motion of a servo motor.  No computer necessary