View allAll Photos Tagged ESP8266

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...

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/

This is a mains powered receiver which listens for the mesh broadcast from the sender unit, translates the data into temperature and depth based upon stored tank parameters and displays the tank fill status on an LCD screen.

 

There is also an ESP8266-01 module that will be configured as a web server. This will allow a local connection over WiFi for checking oil level from anywhere in the house. Potentially can be used as a logger to give trend info as well as alarms.

 

The encoder allows parameters such as tank capacity and height to be edited on screen. Once edited the parameters are stored in EEPROM.

In this tutorial, we learn how to make a BME280 Based Mini Weather Station using ESP8266/ESP32. BME280 is a Barometric Pressure Sensor that provides real-time data of Atmospheric Pressure, Temperature & Humidity. Not only that but using BME280 we can also measure the altitude above sea level.

 

Table Of ContentsOverview: BME280 Based Mini Weather StationComponents RequiredBME280 Pressure, Temperature & Humidity SensorFeatures of BME280Applications of BME280BME280 PinoutBME280 I2C interfaceInterfacing BME280 with ESP8266/ESP32 Wifi ModuleSource Code/ProgramBME280 Based Weather Station Code ExplanationProgram Code for NodeMCU ESP8266Program Code For ESP332Conclusion

 

Overview: BME280 Based Mini Weather Station

 

The BME280 is fairly simple to use, pre-calibrated, and does not require additional components. You can just start measuring relative humidity, temperature, barometric pressure, and approximate Altitude in no time. So here we will just interface BME280 barometric pressure sensor with NodeMCU ESP8266/ESP32 WiFi Module. And finally, display all the measured parameters such as temperature, pressure, humidity, and altitude on the webpage.

 

What is BME280 based mini weather station? A mini weather station is a simple device that collects information related to the weather & environment using different sensors. Actually, there are two types of weather stations, one which is having own sensors and the second type of weather station doesn't have its own sensor. theiotprojects.com/bme280-based-mini-weather-station-esp8...

Overview: IoT Based Battery Monitoring System using ESP8266

 

In this project, we will build a Battery Status Monitoring System using ESP8266 & Arduino IoT Cloud. Using this system we can monitor battery voltage and percentage from anywhere in the world. Therefore, this system is useful for monitoring battery charging /discharging status remotely.

 

As we know, the battery in any system or device is the main component because it powers the entire system. Hence, we need to monitor the voltage level of the battery. We all know that an improper system of charging and discharging may lead to battery damage or system failure. Most of the electrical/electronics devices have a Battery Management System (BMS). Actually, BMS monitors all the properties of the battery like the voltage, current, temperature & auto cut-off system. To ensure the proper safety and handling of Lithium-Ion or Lithium Polymer batteries.

 

The BMS can only monitor the condition of the battery and alarm the user through a battery indicator. But in this project, we have used the Internet of Things( IoT) technology which can directly notify the users remotely. now due to the use of the Internet of Things, we can directly notify the users remotely. The user can check the battery status on their smartphones or Computer Dashboard from anywhere in the world.

 

In this IoT-based Battery Monitoring System, we will use the NodeMCU ESP8266 board to send the battery status data to the Arduino IoT cloud.

 

theiotprojects.com/battery-status-monitoring-system-using...

In this session, I will show you how to make a simple IoT weather station using NodeMCU and DHT11 sensor. So, without doing any delay let's get started.

 

IoT Weather StationComponents RequiredCircuit DiagramConfigure Blynk App for IoT Weather StationProgramming CodeVideo Demonstration of IOT Weather station using DHT11 SensorConclusion:

 

Components Required

 

let's start with everything that we need for this project. First of all, we need something to measure the temperature and Humidity, for that perfect match is the DHT11 sensor. You can also use DHT22 but it's a bit expansive compared to DHT11 senor. Next, we need a microcontroller board, but we cannot use any regular Arduino Microcontroller board. So, we will use NodeMCU ESP8266, which is based on the ESP-12E chip and has onboard WiFi capabilities. This is what we are looking for in this project because we are working on IoT.

 

Lastly, we need a 16x2 LCD Display with an I2C interface, for displaying the weather status like Temperature and Humidity. We already made a Tutorial on the same topic but, to make it more interesting. Today, We will add IoT features using the Blynk Application. We will be using the Blynk App along with its library to even display the Temperature and Humidity on your smartphone too.

 

Pretty long explanation right? Check the following list: These are the components required for IoT based Weather station using a DHT11 sensor project. theiotprojects.com/iot-weather-station-using-dht11-sensor/

A bread boarded transmitter circuit talking to the assembled receiver circuit which had also been bread boarded originally.

 

USB connections to each are purely for powering each circuit.

Overview: Home Automation with Arduino IoT Cloud & ESP8266

 

In this project, we are going to make Home Automation with Arduino IoT Cloud using ESP8266. Recently the Arduino Community launched an IoT platform called Arduino IoT Cloud. Using this IoT Platform you can interface multiple devices to each other and permit them to exchange real-time data. Besides this, you will be able to monitor and control the data from anywhere using a simple interface.

 

The best part of this project is you can control the relays from anywhere in the world. Not only that, you can control your appliances through the manual switches if no internet is available. To find out more about the Arduino IoT Cloud, you can undergo this documentation.

 

In this project, you will be able to control multiple home appliances from the Arduino IoT Cloud Dashboard. We are going to interface 4 channel relay module with the ESP8266 NodeMCU Development board & send the ON/OFF commands either from the smartphone dashboard or from Computer Dashboard to Control Relay, Light, or anything else. So, let’s see how can deploy this complete system.

 

theiotprojects.com/home-automation-with-arduino-iot-cloud...

ESP-01 plugs into a 4x2 socket.

IC_EN is hard wired to VCC.

 

A jumper is fitted to CON2 and the reset switch pressed to put the device in programming mode. If the jumper is not fitted then pressing the reset button simply reboots the SoC and starts the programme.

 

A CH340G USB to serial adapter is used to connect the programmer to the PC, with the adapter set to 3.3V - the ESP8266 SoC is not 5V tolerant.

Metal stand-offs that hold the PCB in place allow the lid to screw down in place.

 

Mains inlet in the bottom right. Transient suppressor across live-neutral input with separate earth terminals.

 

1 2 ••• 14 16 18 19 20