Arduino Lightsaber

Maybe this will help?