Volatile byte windclicks = 0 //1 click = 1.492 mph Long millicounter //counts milliseconds to seconds declaring variables for pins on arduino boardĬonst byte REFERENCE_3V3 = A3 // This is the 3.3 volt rail to power the light sensorĬonst byte WIND_DIR = A0 //wind directionĭateTime now = rtc.now() //DateTime is an object that Weather myHumidity //Create an instance of the humidity sensor MP元115A2 myPressure //Create an instance of the pressure sensor String WU_pwsPASSWORD = "Wunderground_PSWD" // wunderground weather station passwordĮSP8266Server wifiserver = ESP8266Server(80) //Create instance of wifi shield String WU_pwsID = "Wunderground_ID" //wunderground weather station ID #include "SparkFun_Si7021_Breakout_Library.h" //Humidity sensor #include "SparkFunMP元115A2.h" //Pressure sensor this is for the actual weather station parts #include // Include the ESP8266 AT library #include // Include software serial library, ESP8266 library dependency including all of the fancy libraries for the Weather Station - copied from SparkFun site I'm wondering if its a problem with my string concatenation or PHP commands?Īny ideas would be appreciated! // RTClib - Version: 2.0.2 If I Serial.print the stuff that SHOULD be sending out to Wunderground and manually enter it into a web browser, it works! However, I am missing something that allows my code to send it automatically. I have the sensors figured out, but Wunderground isn't receiving my data. I have an Arduino UNO using the SparkFun WeatherShield and WifiShield, and I am trying to send weather data to Wunderground.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |