Automatically opening and closing scythe (cosplay weapon)

Get an Arduino and start with the simple projects provided with the software. Learn the programming language, the special features of the Arduino, how to blink an LED, how to read a voltage and then, work your way up to activating a motor.

With this information, controlling an actuator is easy. But if you don't start this way, expect endless frustration.