Data logger wind speed Anemometer
Posted: Sat Oct 05, 2024 7:27 pm
Hi,
I want data log from Anemometer using Arduino Uno with date, time wind speed and store all data in local SD card with datewise file name.
I got suggestion to use GPS module for Latlong, Date, Time and Micro SD module to store all log in SD card.
And I want to use WiFi module to collect data from SD card and communication with Arduino Uno.
I hope you understood my requirement. I have sample code as given below for Anemometer and Arduino Uno.
/*
Connect the voltage signal wire to Arduino analog interface:
Yellow Cable<---->A0
*/
void setup()
{
Serial.begin(9600);
}
void loop()
{
int sensorValue = analogRead(A0);
float outvoltage = sensorValue * (5.0 / 1023.0);
Serial.print("outvoltage = ");
Serial.print(outvoltage);
Serial.println("V");
int Level = 6*outvoltage;//The level of wind speed is proportional to the output voltage.
Serial.print("wind speed is ");
Serial.print(Level);
Serial.println(" level now");
Serial.println();
delay(500);
}
Thanks if anybody can support.
I want data log from Anemometer using Arduino Uno with date, time wind speed and store all data in local SD card with datewise file name.
I got suggestion to use GPS module for Latlong, Date, Time and Micro SD module to store all log in SD card.
And I want to use WiFi module to collect data from SD card and communication with Arduino Uno.
I hope you understood my requirement. I have sample code as given below for Anemometer and Arduino Uno.
/*
Connect the voltage signal wire to Arduino analog interface:
Yellow Cable<---->A0
*/
void setup()
{
Serial.begin(9600);
}
void loop()
{
int sensorValue = analogRead(A0);
float outvoltage = sensorValue * (5.0 / 1023.0);
Serial.print("outvoltage = ");
Serial.print(outvoltage);
Serial.println("V");
int Level = 6*outvoltage;//The level of wind speed is proportional to the output voltage.
Serial.print("wind speed is ");
Serial.print(Level);
Serial.println(" level now");
Serial.println();
delay(500);
}
Thanks if anybody can support.