I am trying to use the Arduino to read the Voltage produced by my turbine. It is in A/C current.
The code I wrote out is:
#include "LCDout.h"
void setup()
{
}
void loop()
{
lcd << 0.0049*(analogRead (2)) << " V";
delay (100);
lcd.cls ();
}
But on my LCD screen it just constantly gives random numbers, I was wondering if there is another way to go about this?