View allAll Photos Tagged esp8266

Overview: BME680 Environment Monitoring System

 

Today, in this session, we are going to build BME680 based Environment Monitoring System using ESP8266. The BME680 is an environmental Digital Sensor that measures Gas, Pressure, Humidity, Temperature, and Altitude. In this guide, you will learn to interfere BME680 sensor with the ESP8266 NodeMCU development board and program using Arduino IDE. This environmental sensor can communicate with microcontrollers using both I2C or SPI communication protocols.

 

By the end of this tutorial, you will be able to interface the BME680 sensor with the ESP8266 board, install required libraries, and program the ESP8266 development board. Furthermore, we will build a local webserver to monitor the BME680 sensor data remotely from a smartphone or PC.

 

Recommended Readings: Interface BME680 Environmental Sensor with ArduinoIndoor Air Quality Monitoring with BME680 & ESP8266 Webserver

 

Components Required

 

These are the components required for making BME680 Environment Monitoring System using ESP8266.

 

You can get all the parts for your projects at the best price on Amazon.

 

Introduction to BME680 Environmental Sensor

 

The BME680 is an Environmental sensor that has the capabilities to measure gas (VOCs), pressure, humidity, temperature, and even altitude. The gas sensor on BME680 can detect a wide range of gases, such as volatile organic compounds (VOCs). So the BME680 sensor can be used to control the indoor quality of air.

 

theiotprojects.com/bme680-environment-monitoring-system-u...

Are you looking for Arduino software development service? Then you are at the right place.

In this project, we are going to connect Node MCU ESP8266 and RFID- RC522 with MYSQL Database. So for that first we should connect our Node MCU ESP8266 Board with RFID Module. By using the RFID Module, scan RFID card and tag which are allow or not. And by using our ESP8266 we are going to send that data to our MYSQL Database which is connect through a php page.

goo.gl/JBUzBp

  

In this tutorial, I am going to show how we can insert sensor data into the MySQL database using ESP8266. we will also design a webpage that displays the sensor readings, with timestamps and other information from the database. You can visualize sensor data from anywhere by accessing the server.

 

Table Of ContentsComponents RequiredPHP Script to Insert Data into MySQL DatabaseTesting the PHP MySQL Database and a Web PageSetting Up NodeMCU ESp8266 to Insert Data into MySQL DatabaseUltrasonic HC-SR04 wiring to ESP8266Program Code ExplanationProgram Code for Inserting Data to MySQL Database with ESP8266Upload the CodeSome Frequently Asked Questions:Conclusion

 

For demonstration purposes, we’ll be using an Ultrasonic HC-SR04 sensor connected to an ESP8266 board. You can modify the program code to send readings from a different sensor like DHT11/DHT22, BMP180/BMP280, etc. or use multiple boards. theiotprojects.com/insert-data-into-mysql-database-with-e...

Fetching or posting data over the Internet is one of the main core functions of the IoT device. Doing so over HTTP is better implemented in NodeMCU ESP8366 Arduino libraries, but makes things more difficult for HTTPS requests. In this post, I will talk about the most common approaches used by the community and will show you the method to make Secure HTTPS Requests to URL Using NodeMCU ESP8266. No special certificates or fingerprints are required to manually code the program using this method.

 

HTTPS Requests to URL Using ESP8266- What are CA certificates?

- HTTPS Requests to URL Using Fingerprints - secure but annoying

- HTTPS Requests to URL Using client.setInsecure() - easy but unsafe

- HTTPS Requests to URL with the IoT framework

- Generating a certificate store

- HTTPS Requests to URL Using ESP8266 Source Code

- Conclusion

 

HTTPS is a method of requesting HTTP over a TLS (formerly SSL) connection. By doing so, the data sent between and behind your computer and server is encrypted and secure. The good news is that this protocol can be used in conjunction with the ESP8266 WiFiClientSecure class. The bad news is those common methods have some major disadvantages.

 

First I will discuss the two most common methods, and next, I will describe the generic solutions to their problems.

 

What are CA certificates?

 

Before diving into the details I will briefly describe the basic principles of secure HTTPS requests in general terms.

 

Generally, there is a certificate for each website.

 

theiotprojects.com/https-requests-to-url-using-esp8266/

Today in this tutorial, we will learn to interface the BMP280 sensor with the NodeMCU ESP8266 development board, then monitor its parameters like temperature, barometric pressure, and altitude, on the 0.96 inch OLED display and also on the Blynk IoT Platform. This IoT Project provides your NodeMCU ESP8266 board the ability to sense the environment with a BMP280 Barometric Pressure sensor. Overall, we are building ESP8266 & BMP280 based IoT Weather Station.

 

Table Of Contents- Components Required

- Introduction to BMP280 Sensor

- BMP280 Sensor Pinout

- BMP280 Sensor Measures

- Accuracy of BMP280 Sensor

- Interface BMP280 Sensor & OLED Display with NodeMCU ESP8266

- PCBway for ordering custom PCB

- Configure Blynk App for BMP280 IoT Weather Station

- Programming ESP8266, BMP280 Sensor & OLED Display with Arduino IDE

- Preparing Arduino IDE For NodeMCU ESP8266

- Installing Adafruit BMP280, Unified Sensor, GFX, SSD1306, & Blynk Libraries

- Program Code Explanation

- Check the Default I2C address for BMP280 Sensor

- Final Program Code For BMP280 based IoT Weather Station

- Demonstration: BMP280 based IoT Weather Station

- Conclusion

 

Here, the NodeMCU ESP8266 reads the temperature, pressure, and altitude values from the BMP280 sensor and prints them on a 0.96″ (SSD1306) OLED display (128×64 pixel) which can be monitored over the Blynk IoT cloud.

 

Components Required

 

The following are the lists of the components that are required for ESP8266 & BMP280 based IoT Weather Station.

 

theiotprojects.com/bmp280-based-iot-weather-station-using...

Overview: Temperature based Automatic IoT Fan

 

The main objective of this project is to build IoT based temperature control fan using NodeMCU ESP8266 & Blynk cloud for home automation. This device will be able to control your AC Home Appliances like AC, Fan, Heater, Cooler, or even light bulb, etc. Suppose you came from work, enter the room, and feel hot. After a while you want your cooler or fan to be “ON” automatically, and then “OFF” when the room temperature is back to normal. If you are searching for such a project, then you’re in the right place.

 

Nowadays, technology is advancing and houses are getting smarter. Modern houses are usually shifting from conventional switches to some kind of IoT-based centralized control system. In this project, we will use the ESP8266 NodeMCU development board, a DHT11/DHT22 Temperature, and Humidity Sensor, and a relay module to control your fan/cooler automatically based on your room temperature. We use the Blynk IoT app for monitoring the DHT11/DHT22 sensor temperature and humidity data and set temperature thresholds. When Temperature rises above the threshold temperature, the cooling fan connected to a relay will start automatically.

 

Working of Temperature-control Fan for Home Automation System

 

This temperature-based automatic fan control system comprises components like the ESP8266 board, Relay, and Temperature Sensor. The entire system depends on the Relay and DHT11/DHT22 sensor.

 

theiotprojects.com/iot-based-temperature-control-fan-usin...

In this project, we will make an Internet Clock Using NodeMCU ESP8266 and 16x2 LCD without RTC Module. This simple Internet Clock using NodeMCU ESP8266 gets the current Date and Time from NTP Client. Here, NTP stands for Network Time Protocol.

 

Overview

 

In this project, we will design an Internet Clock using NodeMCU ESP8266 Wifi Module. We will fetch the time and date from the internet using the ESP8266 controller. Actually, we all know that the internet time clock has a precision of 0.02 to 0.10 seconds. While being on lockdown due to coronavirus, I spent some time browsing the internet and found an Internet Clock that is made using RTC Modules like DS1307, DS3231 or PCF8563 to get the time. But, due to lockdown, there is no availability of any RTC Module.

 

So I tried making an Internet Clock Using NodeMCU ESP8266 and 16x2 LCD without RTC Module. Instead, I used the NTP client to get the current date and time through the Internet. Actually, while surfing the internet I found some disadvantages as well. The RTC has poor accuracy and requires manual adjustments from time to time to keep date and time-synchronized.

 

Hence, the solution I Founded here is to use the Network Time Protocol (NTP). If your NodeMCU ESP8266 project has access to the Internet, you can get date and time (with precision within a few milliseconds of UTC) for FREE. Basically, we don’t need any additional hardware to make this project. You

 

theiotprojects.com/internet-clock-using-nodemcu-esp8266-a...

ESP8266 case attached to antenna switch

In this tutorial, I am going to show how we can insert sensor data into the MySQL database using ESP8266. we will also design a webpage that displays the sensor readings, with timestamps and other information from the database. You can visualize sensor data from anywhere by accessing the server.

 

Table Of ContentsComponents RequiredPHP Script to Insert Data into MySQL DatabaseTesting the PHP MySQL Database and a Web PageSetting Up NodeMCU ESp8266 to Insert Data into MySQL DatabaseUltrasonic HC-SR04 wiring to ESP8266Program Code ExplanationProgram Code for Inserting Data to MySQL Database with ESP8266Upload the CodeSome Frequently Asked Questions:Conclusion

 

For demonstration purposes, we’ll be using an Ultrasonic HC-SR04 sensor connected to an ESP8266 board. You can modify the program code to send readings from a different sensor like DHT11/DHT22, BMP180/BMP280, etc. or use multiple boards. theiotprojects.com/insert-data-into-mysql-database-with-e...

W11STOP is Pakistan's leading electronic store. We deal in multiple brands which include Arduino, Raspberry Pi, ESP8266, Simcom, Fluke, Mastech, Sanwa, Tes, Lutron, Kyoritsu, Uni-T, ARMmbed, Intel, Microchip, Texas Instruments, Sparkfun, Pololu, Digi and many more.

Overview: Temperature based Automatic IoT Fan

 

The main objective of this project is to build IoT based temperature control fan using NodeMCU ESP8266 & Blynk cloud for home automation. This device will be able to control your AC Home Appliances like AC, Fan, Heater, Cooler, or even light bulb, etc. Suppose you came from work, enter the room, and feel hot. After a while you want your cooler or fan to be “ON” automatically, and then “OFF” when the room temperature is back to normal. If you are searching for such a project, then you’re in the right place.

 

Nowadays, technology is advancing and houses are getting smarter. Modern houses are usually shifting from conventional switches to some kind of IoT-based centralized control system. In this project, we will use the ESP8266 NodeMCU development board, a DHT11/DHT22 Temperature, and Humidity Sensor, and a relay module to control your fan/cooler automatically based on your room temperature. We use the Blynk IoT app for monitoring the DHT11/DHT22 sensor temperature and humidity data and set temperature thresholds. When Temperature rises above the threshold temperature, the cooling fan connected to a relay will start automatically.

 

Working of Temperature-control Fan for Home Automation System

 

This temperature-based automatic fan control system comprises components like the ESP8266 board, Relay, and Temperature Sensor. The entire system depends on the Relay and DHT11/DHT22 sensor.

 

theiotprojects.com/iot-based-temperature-control-fan-usin...

Overview: BME680 IAQ Monitoring on webserver & OLED Display

 

In this project, we will make the Indoor Air Quality Monitoring with BME680 & ESP8266 Webserver and 0.96" SSD1306 OLED Display. We will use the advanced BSEC library for BME680 and monitor its parameters including IAQ on OLED Display and ESP8266 web server simultaneously. So, that you can monitor the sensor values remotely from your local network.

 

In our previous projects, we have interfaced Arduino with an integrated BME680 Environmental Sensor. Further, we made an IoT-based Indoor Air Quality Monitoring system on the Blynk IoT Cloud. But the drawback of that project was, we could not calculate the IAQ value i.e. Index of Air Quality, C02 equivalent, and percentage of (VOC) Volatile Organic Compound. we could only measure the environmental parameters like temperature, humidity, pressure, altitude, dew point, and Gas Resistance.

 

So in this tutorial, we will use a highly advanced BME680 Library called BSEC library, Which is now supported by NodeMCU ESP8266 and ESP32 Development Board. With the help of this library, we can measure the Temperature, Humidity, Pressure, value of IAQ, equivalent carbon dioxide, and Total volatile compound. SSD1306 0.96” OLED Display is used to monitor environmental data. We can also use ESP8266 Webserver to remotely monitor those values. The ESP8266 connects to your WiFi network & uploads the data regularly to the webserver.

 

theiotprojects.com/indoor-air-quality-monitoring-with-bme...

Overview: Power Supply board for NodeMCU

 

In this tutorial, we will make a Power Supply board for NodeMCU ESP8266. Here, we will use a battery boost converter circuit to operate the NodeMCU with a 3.7V battery. Obviously, the battery gets discharge after using it for a long time. So, we need to integrate a battery charging circuit that has a built-in battery management system. This will protect your battery from over-charging and over-discharging, so the battery lasts longer.

 

Most of the lithium-ion batteries found in the market come with 3.7V and 4.2V when fully charged. This is not enough to power up the NodeMCU Board. So we need to convert the voltage of the battery to 5V. For this reason, we are using a small boost converter module. Which is made using some inductors, IC & resistor. Similarly, the TP4056 Battery Charger Module is used to charge and manage the battery.

 

Besides this, if you don’t want to power the NodeMCU board using the battery, you can use the DC Power Adapter. we can power this board using a 9V/12V DC Adapter. The LM7805 Voltage regulator IC will limit the voltage up to 5V only.

 

Components Required

 

Following are the components required for making this Power Supply board for NodeMCU ESP8266. We can easily purchase all the components from Amazon. We provided the component purchase link below.

 

Power Required By NodeMCU

 

NodeMCU ESP8266 operates at 5V & 3.3V. It has an onboard LDO voltage regulator to keep the voltage steady at 3.3V.

 

theiotprojects.com/power-supply-board-for-nodemcu-esp8266/

ESP12-F ESP8266 Serial Port WIFI Transceiver Wireless Module | $ 6.95

The ESP12-F ESP8266 is a highly integrated chip designed to satisfy the expectations of a smarter world in the future.

 

www.stuff2buy.com.au/esp12-f-esp8266-serial-port-wifi-tra...

In this quick tutorial, we will learn to control LED using Google Firebase and ESP8266 (NodeMCU) development board. Simply integrating google firebase in our previous project, you can control your LED from anywhere in the world.

 

Table Of ContentsIntroduction: IoT Based LED Control using Google Firebase & ESP8266Components RequiredSet up Google Firebase -15 stepsCircuit Diagram for IoT based LED ControlInstalling Required LibraryControl LED using Google Firebase & ESP8266Program Code: IoT Based LED Control using Google Firebase & ESP8266Code ExplanationWrapping Up

 

Introduction: IoT Based LED Control using Google Firebase & ESP8266

 

NodeMCU ESP8266 is a powerful hardware platform for IoT applications. It is widely used for the development and prototyping of IoT applications. While Google Firebase is Google's database platform widely used for creating, managing, and modifying data generated from any Android/IOS application, web services, sensors, etc.

 

What is Google Firebase?In short: Firebase is a mobile and web application development platform which has several services like Firebase cloud messaging, Firebase auth, Realtime database, etc. Using a real-time database, we can see realtime data on the firebase cloud and can control any connected peripheral devices from anywhere using the Internet. for further information on Firebase please visit the official website of Google Firebase. theiotprojects.com/iot-based-led-control-using-google-fir...

Today we will learn to interface MPU6050 Sensor with NodeMCU to Monitor MPU6050 Tilt Angle on Blynk IoT Application.

 

Table Of ContentsIntroductionComponents RequiredMPU6050 Gyroscope/Accelerometer Sensor3-Axis Gyroscope:3-Axis Accelerometer:Circuit: Monitor MPU6050 Tilt Angle on Blynk using NodeMCUSetting Up Blynk IoT Application for MPU6050 Tilt MonitoringSource Code/ProgramDemonstration: MPU6050 Tilt Angle on IoT BlynkConclusion:

 

Introduction

 

In this post, we will learn how to Monitor MPU6050 Tilt Angle on Blynk using NodeMCU. This can be done by simply interfacing the MPU6050 6-axis Gyro/Accelerometer Sensor with NodeMCU. The Accelerometer sends X, Y, and Z acceleration forces. We need to convert those forces into X, Y, Z 3D angle to determine the 3D Orientation of the sensor. Then the measured tilt angle is sent to the Blynk Application using the Blynk cloud. So the tilt position can be monitored in IoT.

 

The gyroscope measures the position of rotation velocity or angle along with the X, Y, and Z-axis. It uses MEMS technology and the Coriolis effect for measurement. The outputs of the gyroscope are degrees per second, so to get the angular position, we just need to integrate the angular velocity.

 

You can refer to the previous post where we measured tilt angle using MPU6050 and send an SMS notification as fall detected when the defined threshold value is reached: IoT Based Fall Detection system using MPU6050 & NodeMCU ESP8266

 

Components Required

 

The following compone theiotprojects.com/monitor-mpu6050-tilt-angle-on-blynk-us...

In this project, we will create a standalone web server using a NodeMCU ESP8266 that displays the temperature and humidity with a DHT11 or DHT22 sensor using the Arduino IDE. Actually, the webserver we will build can be easily accessed with any device that features a browser on your local network. NodeMCU ESP8266 Monitoring DHT11/DHT22 Temperature and Humidity with Local Web Server. Throughout this tutorial we’ll show how we build web servers:

 

Web Server: Asynchronous web server which will updates the temperature and humidity automatically. We don’t need to refresh the webpage to update the data. Actually, we have used custom CSS to style the webpage.

 

Monitoring DHT11/DHT22 Temperature and Humidity with Local Web Server Using NodeMCU ESP8266Components requiredNodeMCU ESP8266 and DHT11/DHT22 Schematic DiagramVideo TutorialInstalling the DHT Library for NodeMCU ESP8266ESP8266 Asynchronous WebserverProgram Sketch/CodeHow the Code WorksImporting librariesSetting your network credentialsVariables definitionDesign Web Page for ESP8266 DHT11/DHT22 Temperature & Humidity with Local Web ServerESP8266 DHT11/DHT22 Temperature & Humidity with Local Web Server StylesHTML BodyHow to display iconsAutomatic UpdatesProcessorSetup( )Uploading ESP8266 DHT11/DHT22 Temperature & Humidity with Local Web Server codeESP8266 IP AddressMonitoring DHT11/DHT22 Temperature and Humidity DemonstrationConclusion

 

Components required

 

To build this project, you need the following components:

 

Required com theiotprojects.com/esp8266-dht11-dht22-temperature-humidi...

Overview: MAX30100 ESP8266 Web Server

 

In this project, you will learn to make MAX30100 Pulse Oximeter Webserver using NodeMCU ESP8266. In our previous project, we have made an IoT based Pulse oximeter in which Pulse rate and Sp02 level are shown in OLED Display and Blynk Application. But in today's project, we will monitor Heart Rate and oxygen saturation (Sp02) values on the ESP8266 NodeMCU Web Server. You can monitor those values from any device which has wifi support and browsing capabilities.

 

In today's project, you will learn:

 

- What is the MAX30100 sensor and how it works?

- How to interface the MAX30100 Pulse Oximeter sensor with ESP8266?

- Program ESP8266 board using Arduino IDE.

- Create a beautiful local webserver to display BPM and Sp02 parameters.

 

Components Required

 

To make an ESP8266 based MAX30100 Pulse oximeter, you will need the NodeMCU ESP8266 Development board. A MAX30100 Pulse oximeter sensor, few jumper cables, and a breadboard. You can buy all these components from the Amazon link provided below.

 

Working of MAX30100 Pulse Oximeter Sensor

 

The sensor has two LEDs, one emitting red light, the other emitting infrared light. Infrared light is required for pulse rate. But, Both red light and infrared light are required for measuring Sp02 levels in the blood.

 

When the heart pumps the blood, the oxygen level is increased because there is more blood. But, when the heart rests, there is a decrease in oxygenated blood.

 

theiotprojects.com/max30100-pulse-oximeter-webserver-usin...

In this project, we will make an Internet Clock Using NodeMCU ESP8266 and 16x2 LCD without RTC Module. This simple Internet Clock using NodeMCU ESP8266 gets the current Date and Time from NTP Client. Here, NTP stands for Network Time Protocol.

 

Overview

 

In this project, we will design an Internet Clock using NodeMCU ESP8266 Wifi Module. We will fetch the time and date from the internet using the ESP8266 controller. Actually, we all know that the internet time clock has a precision of 0.02 to 0.10 seconds. While being on lockdown due to coronavirus, I spent some time browsing the internet and found an Internet Clock that is made using RTC Modules like DS1307, DS3231 or PCF8563 to get the time. But, due to lockdown, there is no availability of any RTC Module.

 

So I tried making an Internet Clock Using NodeMCU ESP8266 and 16x2 LCD without RTC Module. Instead, I used the NTP client to get the current date and time through the Internet. Actually, while surfing the internet I found some disadvantages as well. The RTC has poor accuracy and requires manual adjustments from time to time to keep date and time-synchronized.

 

Hence, the solution I Founded here is to use the Network Time Protocol (NTP). If your NodeMCU ESP8266 project has access to the Internet, you can get date and time (with precision within a few milliseconds of UTC) for FREE. Basically, we don’t need any additional hardware to make this project. You theiotprojects.com/internet-clock-using-nodemcu-esp8266-a...

1 2 ••• 13 15 17 18 19