Project Monitor Telemetry-Based Room Temperature

display BLYNkHow can you monitor the temperature around you? On this occasion I will share tips on how to monitor the temperature of the room using android, these tips are very useful to detect the temperature of your home or the temperature around you.

Here I will use some easy tools on the market, especially in electronic parts sales shop, here I just use an IC LM35 and Wemos D1 Mini, and do not forget your Smartphone, especially Android Smartphone.





First you connect Wemos D1 mini with Ic LM35 that you have bought.


Second you compose like a series of images below



Wemos D1 mini with Ic LM35

Wemos D1 mini with Ic LM35



Third upload the program using computer / laptop to wemos d1 mini. The program you can see below :


// Free Tutorial Arduino
// www.ioisalman.com 

#define BLYNK_PRINT Serial    // Comment this out to disable prints and save space
#include 
#include 
#include 


// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth[] = "token generated by Blynk"; //insert here your token generated by Blynk

float temp = 0;
int analog=0;
int tempPin = A0;

SimpleTimer timer;

void setup()
{
  Serial.begin(9600); // See the connection status in Serial Monitor
  Blynk.begin(auth, "SSID", "Password"); //insert here your SSID and password

  // Setup a function to be called every second
  timer.setInterval(1000L, sendUptime);
}

// This function sends Arduino's up time every second to Virtual Pin (5).
// In the app, Widget's reading frequency should be set to PUSH. This means
// that you define how often to send data to Blynk App.
void sendUptime()
{
  // You can send any value at any time.
  // Please don't send more that 10 values per second.
 
  Blynk.virtualWrite(10, temp); // virtual pin 10

}

void loop()
{
 
  
  Blynk.run(); // Initiates Blynk
  timer.run(); // Initiates SimpleTimer
  
  float tempa = analogRead(tempPin);
   
   int mVolt =(tempa/1024.0)*3300;
  temp= mVolt/10;
   
 
   Serial.print("Temeperature:");
  Serial.print(temp);
  Serial.print(" celcius\n");

delay(5000);
  
}


Fourth download BLYNK app on Google Play Store

BLYNK

BLYNK



 The circuit image is finished

CIRCUIT

Subscribe to receive free email updates:

0 Response to "Project Monitor Telemetry-Based Room Temperature"

Post a Comment