But for starters there is a sample project, analog read serial. Use tht, delete the unnecessary text and the use serial plotter on the arduino ide to see what signal you are getting.
If it is just pulses the i would probably use an interrupt instead of the analog input.
|