Aero-Pendulum

http://aeropendulum.arizona.edu/#2

Before starting a project like this, buy an Arduino and go through the simple examples that come with the IDE (programming software). You will need to learn the language and the special functions of the Arduino.