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.
Data logger wind speed Anemometer
Hey,
You need to break down the project into multiple steps.
You will need few libraries,
1. Adafruit GPS Library - https://docs.arduino.cc/libraries/adafruit-gps-library/ and https://github.com/adafruit/Adafruit_GPS
2. SD.h - https://docs.arduino.cc/libraries/sd/ , https://github.com/arduino-libraries/SD and https://github.com/arduino-libraries/SD ... r/src/SD.h
3. Wire.h - https://github.com/esp8266/Arduino/blob ... ire/Wire.h and https://docs.arduino.cc/language-refere ... tion/Wire/
4. WiFi.h or ESP8266WiFi.h - https://github.com/esp8266/Arduino/blob ... 8266WiFi.h , https://github.com/arduino-libraries/WiFi and https://docs.arduino.cc/libraries/wifi/
You can refer to the attached code.
Set the GPS to obtain the current date and time. The anemometer, connected to analog pin A0, calculates wind speed based on its voltage output. The SD card saves wind speed logs with filenames reflecting the current date, ensuring separate storage for each day. Accurate timestamps are provided by the GPS module, while the Wi-Fi module allows data upload to a remote you to access the logs from anywhere.
You can implement server-side software to handle incoming data from the Arduino and store it in a database.
Check, https://forum.arduino.cc/t/anemometer-h ... ging/79183
You need to break down the project into multiple steps.
You will need few libraries,
1. Adafruit GPS Library - https://docs.arduino.cc/libraries/adafruit-gps-library/ and https://github.com/adafruit/Adafruit_GPS
2. SD.h - https://docs.arduino.cc/libraries/sd/ , https://github.com/arduino-libraries/SD and https://github.com/arduino-libraries/SD ... r/src/SD.h
3. Wire.h - https://github.com/esp8266/Arduino/blob ... ire/Wire.h and https://docs.arduino.cc/language-refere ... tion/Wire/
4. WiFi.h or ESP8266WiFi.h - https://github.com/esp8266/Arduino/blob ... 8266WiFi.h , https://github.com/arduino-libraries/WiFi and https://docs.arduino.cc/libraries/wifi/
You can refer to the attached code.
Set the GPS to obtain the current date and time. The anemometer, connected to analog pin A0, calculates wind speed based on its voltage output. The SD card saves wind speed logs with filenames reflecting the current date, ensuring separate storage for each day. Accurate timestamps are provided by the GPS module, while the Wi-Fi module allows data upload to a remote you to access the logs from anywhere.
You can implement server-side software to handle incoming data from the Arduino and store it in a database.
Check, https://forum.arduino.cc/t/anemometer-h ... ging/79183
You do not have the required permissions to view the files attached to this post.