#define BLYNK_PRINT Serial
char auth = "";
char ssid = "";
char pass = "";
int reading = analogRead(A0);
float voltage = reading * 3.3;
voltage /= 1024.0;
float temperatureC = (voltage - 0.5) * 100;
Blynk.virtualWrite(V5, temperatureC); //sending to Blynk
Blynk.begin(auth, ssid, pass);
The above code worked. Thanks Gunner! You pushing me helped for sure.
for noobs out there like me the above code gets uploaded on wemos d1 mini using adruino.
on blynk app select value widget, go to its settings set v5 as input and reading rate to anything expect push
the hardware set up is as such
connect tmp36 pin 1 to 3v3 pin on wemos d1 mini board
tmp36 pin 2 to a0 pin on wemos d1 mini board
tmp36 pin 3 to gnd on wemos d1 mini
Next is to have blynk push a notification on my android phone when the temperature drops below a set point to monitor temperature on my house pipes. Is that possible?