on an Arduino, which receives the roll angle (proportional) from the accelerometer on an MPU6050 MEMS sensor and the roll rate (Derivative) from a potentiometer that measures the gyro’s tilt angle.
Up the pipe goes a piece of LED strip, and onto it a hilt containing an Arduino and an MPU6050 gyroscope sensor. The physical controls come courtesy of a small analogue joystick and a trigger ...