DS18B20 Temperature sensor with Arduino IoT Cloud | DS18B20 with Esp32 & Arduino IoT Cloud
Hello Everyone!
I have come up with new tutorial based on the all new Blynk IoT platform. which is DS18B20 Temperature sensor with new Blynk IOT Platform | DS18B20 with Esp32 & Blynk IoT Cloud #iot #blynk In this video what you will learn about? 1. How to configure the new Blynk IoT Platform. 2. How to interface DS18B20 sensor with esp32 4. How to configure mobile blynk IoT platform 5. How to setup Automation in Blynk IoT You can Watch Playlist on New Blynk IoT Platfom
1.New Blynk IoT platform with esp32 | how to setup automation in Blynk IoT app | #iot #blynk #esp32 https://youtu.be/O2HZuu4KtIc 2.How to create events in blynk IoT platform | events in new Blynk IoT platform 🔥🔥 #blynk #esp32 #iot https://youtu.be/X5zVaGk8QV0 3.IoT Based smart garden monitoring system | Smart plant monitoring using Blynk IoT #iot #blynk #esp32 https://youtu.be/GTdxD5vQwy0 4.Water level monitoring system using IoT | IoT based water level using Nodemcu ESP8266 & ESP32 #iot https://youtu.be/WsfyeBtGXNM 5.Monitoring MPU6050 data over blynk IoT platform | IoT based Vibration Monitoring using Esp32 MPU6050 https://youtu.be/zFbH-f8mhAE 6.IoT Based weather station using BMP280 & ESP32 | BMP280 pressure and temperature sensor with Blynk https://youtu.be/4CysMQn-OLE 7.Home automation using blynk IoT platform | home automation project using esp32 #homeautomation #iot https://youtu.be/Moow367kucU You can watch my previous series videos based on Arduino IoT cloud Platform 1.Getting started with Arduino IoT cloud | Arduino IoT cloud with Esp32🔥 #arduinoiotcloud #esp32 https://youtu.be/I92CX2V5NxA 2. Home automation using Arduino IoT cloud | controlling relay using Arduino IoT cloud #iot #iotproject https://youtu.be/19DYvM-N2ps 3. Soil moisture sensor with Arduino IoT cloud | IOT Smart Plant Monitoring System #iot #esp32 https://youtu.be/VryVyi9Kj0Y 4. How to send sensor data from Arduino IoT cloud to Email | webhook & IFTTT with Arduino IoT cloud #iot https://youtu.be/KwkAI8ZT7fo 5. Sending sensor data to google sheet using Arduino IoT cloud | log sensor data in cloud #esp32 #iot https://youtu.be/D5gBc29V8xg
Code:
#include "arduino_secrets.h"
/*
Sketch generated by the Arduino IoT Cloud Thing "Untitled"
https://create.arduino.cc/cloud/things/d68d2f9a-e8a5-4ecf-a7dd-218352c610a6
Arduino IoT Cloud Variables description
The following variables are automatically generated and updated when changes are made to the Thing
float temperature;
Variables which are marked as READ/WRITE in the Cloud Thing will also have functions
which are called when their values are changed from the Dashboard.
These functions are generated with the Thing and added at the end of this sketch.
*/
#include "thingProperties.h"
#include <OneWire.h>
#include <DallasTemperature.h>
#define ONE_WIRE_BUS 13
OneWire oneWire(ONE_WIRE_BUS);
DallasTemperature sensors(&oneWire);
void setup() {
// Initialize serial and wait for port to open:
Serial.begin(9600);
// This delay gives the chance to wait for a Serial Monitor without blocking if none is found
delay(1500);
// Defined in thingProperties.h
initProperties();
// Connect to Arduino IoT Cloud
ArduinoCloud.begin(ArduinoIoTPreferredConnection);
/*
The following function allows you to obtain more information
related to the state of network and IoT Cloud connection and errors
the higher number the more granular information you’ll get.
The default is 0 (only errors).
Maximum is 4
*/
setDebugMessageLevel(2);
ArduinoCloud.printDebugInfo();
}
void loop() {
ArduinoCloud.update();
// Your code here
// Request temperature to all devices on the data line
sensors.requestTemperatures();
Serial.print("Celsius temperature: ");
//We can connect more than one IC on the same data wire. 0 refers to the first IC on the wire
Serial.print(sensors.getTempCByIndex(0));
Serial.print(" - Fahrenheit temperature: ");
Serial.println(sensors.getTempFByIndex(0));
temperature=sensors.getTempCByIndex(0);
//int tempC=sensors.getTempCByIndex(0);
// int tempF=sensors.getTempFByIndex(0);
delay(1000);
}
You can connect me on Facebook : facebook.com/impulsetech101 Instagram: instagram.com/impulsetechy/ Linkdin: linkedin.com/in/yogesh-bawane Linkdin: linkedin.com/company/impulse-tech-robotics Blog : impulsetechx.blogspot.com/
Comments
Post a Comment
If you any query please comment