DHT11 based remote temparature Monitor. Uses ESP8266 and DHT11 to monitor temperature remotely using a WiFi connection and Thingspeak and NMA application.
In this project, we will create a standalone web server using a NodeMCU ESP8266 that displays the Temperature and Humidity with a DHT11 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.
DHT11 Digital Temperature and Humidity SensorRaghav Shetty
The DHT11 Temperature & Humidity Sensor features a temperature & humidity sensor complex with calibrated digital signal output. By using the exclusive digital-signal-acquisition technique and temperature & humidity sensing technology, it ensures high reliability and excellent long term stability.
This sensor include a resistive type humidity measurement component and a NTC temperature measurement component, and connect to a high performance 8-bit microcontroller, offering excellent quality, fast response, anti-interface ability and cost effectiveness.
It’s of small size, low power consumption and up-to 20 meter signal transmission makes it a best choice for various applications.
This presentation consisting of home automation using bluetooth controol on the basis of Arduino UNO. Arduino is a rapid proto type , that's why we are using this arduino board. This Arduino UNO consisting of a microcontroller namely ATMEGA328. It has both analog and digital I/O pins inorder to communicate with the external peripherals.
In this project, we will create a standalone web server using a NodeMCU ESP8266 that displays the Temperature and Humidity with a DHT11 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.
DHT11 Digital Temperature and Humidity SensorRaghav Shetty
The DHT11 Temperature & Humidity Sensor features a temperature & humidity sensor complex with calibrated digital signal output. By using the exclusive digital-signal-acquisition technique and temperature & humidity sensing technology, it ensures high reliability and excellent long term stability.
This sensor include a resistive type humidity measurement component and a NTC temperature measurement component, and connect to a high performance 8-bit microcontroller, offering excellent quality, fast response, anti-interface ability and cost effectiveness.
It’s of small size, low power consumption and up-to 20 meter signal transmission makes it a best choice for various applications.
This presentation consisting of home automation using bluetooth controol on the basis of Arduino UNO. Arduino is a rapid proto type , that's why we are using this arduino board. This Arduino UNO consisting of a microcontroller namely ATMEGA328. It has both analog and digital I/O pins inorder to communicate with the external peripherals.
Humidity and Temperature Measurement Using Arduinodollonhaider
Humidity and temperature are common parameters to measure environmental conditions. In this Arduino based project we are going to measure ambient temperature and humidity and display it on a LCD screen.
Home Automation Using Arduino Uno and HC-05Vidhi Shah
Controlling the DC motor (as fan) and Light bulb through HC-05 bluetooth module using the bluetooth terminal app from available on play store. The report attached herewith have a detailed description of the Circuit and the code. Interested ones can do further editings also:)
This is a slide containing the IoT theory and integration with arduino as an IoT device. There is also various IoT service providers like ThingSpeak and other cloud services are discussed.
SMART HOME AUTOMATION USING MOBILE APPLICATIONEklavya Sharma
Concept of Smart Home Automation
Communication with the microcontroller or sensors
Establishing Serial communication between Arduino and Mobile
To design a User Interface for HMI i.e. Mobile Application using MIT App Inventor
To design the hardware connections between Arduino, HC-06, Relay and AC-loads
This was one of my Diploma in Engineering Projects.
It's a Voice controlled Home Automation System which works with the Internet. Which means you can control your home appliances from anywhere.
I did the Presentation for the Home Automation System. I was also one of the core team members who made it happen.
Here are the complete powerpoint slides.
Thank You
Most of the people are having trouble in switching off their home appliances. Then there is only one thing to say," damn it ....I forgot "
here come the need of home automation using iot
Class materials for teaching the use of the DHT11 with an Arduino Uno. These materials were originally used in Startathon 2016.
The code is available here. https://github.com/SustainableLivingLab/dht-sensor-usage
Extending the current Internet and providing connection, communication, and inter-networking between devices and physical objects, or "Things," is a growing trend that is often referred to as the Internet of Things.
“The technologies and solutions that enable integration of real world data and services into the current information networking technologies are often described under the umbrella term of the Internet of Things (IoT)”
Humidity and Temperature Measurement Using Arduinodollonhaider
Humidity and temperature are common parameters to measure environmental conditions. In this Arduino based project we are going to measure ambient temperature and humidity and display it on a LCD screen.
Home Automation Using Arduino Uno and HC-05Vidhi Shah
Controlling the DC motor (as fan) and Light bulb through HC-05 bluetooth module using the bluetooth terminal app from available on play store. The report attached herewith have a detailed description of the Circuit and the code. Interested ones can do further editings also:)
This is a slide containing the IoT theory and integration with arduino as an IoT device. There is also various IoT service providers like ThingSpeak and other cloud services are discussed.
SMART HOME AUTOMATION USING MOBILE APPLICATIONEklavya Sharma
Concept of Smart Home Automation
Communication with the microcontroller or sensors
Establishing Serial communication between Arduino and Mobile
To design a User Interface for HMI i.e. Mobile Application using MIT App Inventor
To design the hardware connections between Arduino, HC-06, Relay and AC-loads
This was one of my Diploma in Engineering Projects.
It's a Voice controlled Home Automation System which works with the Internet. Which means you can control your home appliances from anywhere.
I did the Presentation for the Home Automation System. I was also one of the core team members who made it happen.
Here are the complete powerpoint slides.
Thank You
Most of the people are having trouble in switching off their home appliances. Then there is only one thing to say," damn it ....I forgot "
here come the need of home automation using iot
Class materials for teaching the use of the DHT11 with an Arduino Uno. These materials were originally used in Startathon 2016.
The code is available here. https://github.com/SustainableLivingLab/dht-sensor-usage
Extending the current Internet and providing connection, communication, and inter-networking between devices and physical objects, or "Things," is a growing trend that is often referred to as the Internet of Things.
“The technologies and solutions that enable integration of real world data and services into the current information networking technologies are often described under the umbrella term of the Internet of Things (IoT)”
The project uses ultrasonic sensor and ESP8266 to monitor tank water level at any point of time.
The monitoring aspect has 2 objectives:
To check water level at any given point (achieved with the help of cloud connectivity through Thingspeak)
To send an alert message when tank is filled or empty (achieved with the help of Notify My Android app)
ARDUINOLIKE BOARDS: A SHORT HARDWARE REFERENCE GUIDE FOR MAKERSLeandro Agro'
DESIGN GROUP ITALIA
This document provides a short reference to programmable microcontrollers and microcomputers – such as the Arduino, Raspberry Pi, BeagleBone - with the aim to inspire makers to build their own project leveraging these easy to program and easy to connect tools.
Why have we written this? Because -combined with vast range of cloud based services- these tools might be used to imagine, shape and prototype the Internet of Things....and -btw- we don’t want to just inspire the creation of new ways to water your balcony plants (have a look at our MEG project): we want to encourage creators in playing with the future.
HIGH-RES PDF DOWNLOAD: http://www.designgroupitalia.com
Featuring: Arduino Micro / Arduino Uno / Arduino Mega / Arduino Yun / BeagleBone Black / DQuid IO / Intel Edison / Intel Edison Arduino Kit / NodeMcu / Photon / Rasberry PI / Samsung ArDk 1 chip / Samsung ArDk 5 chip / Samsung ArDk 10 chip / Teensy / Udoo Dual / St Nucleo /
Analyzing data and driving business decisions to the edge of Internet-of-Things (IoT) is rapidly becoming critical for any IoT solution. And for real-time analysis of the data as it streams in is vital to many business processes. Informix, as the data management system of choice for IoT solutions delivers significant value proposition for businesses across all industry segments looking to deploy IoT Solutions. And with Apache Edgent/Quarks integration, you get real-time analysis of streaming IoT data.
Apache Spark Introduction and Resilient Distributed Dataset basics and deep diveSachin Aggarwal
We will give a detailed introduction to Apache Spark and why and how Spark can change the analytics world. Apache Spark's memory abstraction is RDD (Resilient Distributed DataSet). One of the key reason why Apache Spark is so different is because of the introduction of RDD. You cannot do anything in Apache Spark without knowing about RDDs. We will give a high level introduction to RDD and in the second half we will have a deep dive into RDDs.
Presented by David Taieb, Architect, IBM Cloud Data Services
Along with Spark Streaming, Spark SQL and GraphX, MLLib is one of the four key architectural components of Spark. It provides easy-to-use (even for beginners), powerful Machine Learning APIs that are designed to work in parallel using Spark RDDs. In this session, we’ll introduce the different algorithms available in MLLib, e.g. supervised learning with classification (binary and multi class) and regression but also unsupervised learning with clustering (K-means) and recommendation systems. We’ll conclude the presentation with a deep dive on a sample machine learning application built with Spark MLLib that predicts whether a scheduled flight will be delayed or not. This application trains a model using data from real flight information. The labeled flight data is combined with weather data from the “Insight for Weather” service available on IBM Bluemix Cloud Platform to form the training, test and blind data. Even if you are not a black belt in machine learning, you will learn in this session how to leverage powerful Machine Learning algorithms available in Spark to build interesting predictive and prescriptive applications.
About the Speaker: For the last 4 years, David has been the lead architect for the Watson Core UI & Tooling team based in Littleton, Massachusetts. During that time, he led the design and development of a Unified Tooling Platform to support all the Watson Tools including accuracy analysis, test experiments, corpus ingestion, and training data generation. Before that, he was the lead architect for the Domino Server OSGi team responsible for integrating the eXpeditor J2EE Web Container in Domino and building first class APIs for the developer community. He started with IBM in 1996, working on various globalization technologies and products including Domino Global Workbench (used to develop multilingual Notes/Domino NSF applications) and a multilingual Content Management system for the Websphere Application Server. David enjoys sharing his experience by speaking at conferences. You’ll find him at various events like the Unicode conference, Eclipsecon, and Lotusphere. He’s also passionate about building tools that help improve developer productivity and overall experience.
Smart Industry 4.0: IBM Watson IoT in de praktijkIoT Academy
Tijdens de tweede IoT meetup van 2017 gaf Ronald Teijken inzicht hoe bedrijven slimmer complexe beslissingen kan nemen dankzij het Watson IoT Platform van IBM. Sensoren, Data, Analytics, Cognitive zijn enkele onderwerpen die hierbij aan bod kwamen.
Presentation of the ESP8266 WiFi module created for the course Pervasive Systems 2016 of the Master Degree in Engineering in Computer Science (DIAG, University of Rome "La Sapienza")
Pervasive Systems 2016 Web Site: http://ichatz.me/index.php/Site/PervasiveSystems2016
LinkedIn Profile: https://www.linkedin.com/in/biagio-botticelli-444b87105?trk=hp-identity-name
GitHub Repository: https://github.com/biagiobotticelli/ESP8266
In This PPT we are discussed about complete details of that product (Use,Operation, Technical details, Dimensions, Wiring, and etc..)
Please Support us and Follow our other Sites
https://www.instagram.com/controlsandsystems.offical
https://twitter.com/ControlsSystems
https://automationtechplc2.blogspot.com
https://humidificationcontrol.blogspot.com
https://controlsandsystems.business.site
www.controls.systemsdm@gmail.com
If you enjoyed this article, share it with your friends and colleagues
The main aim of this project is to avoid the accident and death in the gas leakage explosion in house, hotels and industries. Domestically we use natural gas and it is very useful for burning purpose. If this gas is leaked in our kitchens, hotels or factories and not sensed in time, it may lead to fatal disaster, and may cause human and material loss. For this purpose we have developed “GAS LEAKAGE DETECTION SYSTEM”.
In this presentation, we highlight the details on doing IoT home automation with openHAB on pcDuino3B, and use Bluetooth BLE 4.0 technology to talk to sensors
Stanley A Meyer Legacy Back up Secret Docs Save all Protect Spread print and give to schools NEVER STOP!!!!!!! Join Support here https://www.patreon.com/securesupplies/shop
ESAT-ISP Programmer is a multipurpose development tool for Physical Computing and ISP Programming for Atmel AVR 8 bit devices.
ESAT-ISP is compatible with Arduino-UNO board.
There are three main topics in here. First technologies – simply put, this part is mainly for early adopters. It’s about coding, developing toys, plugging in kettles on the web (and we and many others actually did that!).
The second part is about new ideas, prototyping and new technologies that are in the lab. It’s about research papers, and software philosophy, and about researchers worldwide. Third part is about end-users and products.
UiPath Test Automation using UiPath Test Suite series, part 4DianaGray10
Welcome to UiPath Test Automation using UiPath Test Suite series part 4. In this session, we will cover Test Manager overview along with SAP heatmap.
The UiPath Test Manager overview with SAP heatmap webinar offers a concise yet comprehensive exploration of the role of a Test Manager within SAP environments, coupled with the utilization of heatmaps for effective testing strategies.
Participants will gain insights into the responsibilities, challenges, and best practices associated with test management in SAP projects. Additionally, the webinar delves into the significance of heatmaps as a visual aid for identifying testing priorities, areas of risk, and resource allocation within SAP landscapes. Through this session, attendees can expect to enhance their understanding of test management principles while learning practical approaches to optimize testing processes in SAP environments using heatmap visualization techniques
What will you get from this session?
1. Insights into SAP testing best practices
2. Heatmap utilization for testing
3. Optimization of testing processes
4. Demo
Topics covered:
Execution from the test manager
Orchestrator execution result
Defect reporting
SAP heatmap example with demo
Speaker:
Deepak Rai, Automation Practice Lead, Boundaryless Group and UiPath MVP
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...James Anderson
Effective Application Security in Software Delivery lifecycle using Deployment Firewall and DBOM
The modern software delivery process (or the CI/CD process) includes many tools, distributed teams, open-source code, and cloud platforms. Constant focus on speed to release software to market, along with the traditional slow and manual security checks has caused gaps in continuous security as an important piece in the software supply chain. Today organizations feel more susceptible to external and internal cyber threats due to the vast attack surface in their applications supply chain and the lack of end-to-end governance and risk management.
The software team must secure its software delivery process to avoid vulnerability and security breaches. This needs to be achieved with existing tool chains and without extensive rework of the delivery processes. This talk will present strategies and techniques for providing visibility into the true risk of the existing vulnerabilities, preventing the introduction of security issues in the software, resolving vulnerabilities in production environments quickly, and capturing the deployment bill of materials (DBOM).
Speakers:
Bob Boule
Robert Boule is a technology enthusiast with PASSION for technology and making things work along with a knack for helping others understand how things work. He comes with around 20 years of solution engineering experience in application security, software continuous delivery, and SaaS platforms. He is known for his dynamic presentations in CI/CD and application security integrated in software delivery lifecycle.
Gopinath Rebala
Gopinath Rebala is the CTO of OpsMx, where he has overall responsibility for the machine learning and data processing architectures for Secure Software Delivery. Gopi also has a strong connection with our customers, leading design and architecture for strategic implementations. Gopi is a frequent speaker and well-known leader in continuous delivery and integrating security into software delivery.
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf91mobiles
91mobiles recently conducted a Smart TV Buyer Insights Survey in which we asked over 3,000 respondents about the TV they own, aspects they look at on a new TV, and their TV buying preferences.
UiPath Test Automation using UiPath Test Suite series, part 3DianaGray10
Welcome to UiPath Test Automation using UiPath Test Suite series part 3. In this session, we will cover desktop automation along with UI automation.
Topics covered:
UI automation Introduction,
UI automation Sample
Desktop automation flow
Pradeep Chinnala, Senior Consultant Automation Developer @WonderBotz and UiPath MVP
Deepak Rai, Automation Practice Lead, Boundaryless Group and UiPath MVP
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...DanBrown980551
Do you want to learn how to model and simulate an electrical network from scratch in under an hour?
Then welcome to this PowSyBl workshop, hosted by Rte, the French Transmission System Operator (TSO)!
During the webinar, you will discover the PowSyBl ecosystem as well as handle and study an electrical network through an interactive Python notebook.
PowSyBl is an open source project hosted by LF Energy, which offers a comprehensive set of features for electrical grid modelling and simulation. Among other advanced features, PowSyBl provides:
- A fully editable and extendable library for grid component modelling;
- Visualization tools to display your network;
- Grid simulation tools, such as power flows, security analyses (with or without remedial actions) and sensitivity analyses;
The framework is mostly written in Java, with a Python binding so that Python developers can access PowSyBl functionalities as well.
What you will learn during the webinar:
- For beginners: discover PowSyBl's functionalities through a quick general presentation and the notebook, without needing any expert coding skills;
- For advanced developers: master the skills to efficiently apply PowSyBl functionalities to your real-world scenarios.
Epistemic Interaction - tuning interfaces to provide information for AI supportAlan Dix
Paper presented at SYNERGY workshop at AVI 2024, Genoa, Italy. 3rd June 2024
https://alandix.com/academic/papers/synergy2024-epistemic/
As machine learning integrates deeper into human-computer interactions, the concept of epistemic interaction emerges, aiming to refine these interactions to enhance system adaptability. This approach encourages minor, intentional adjustments in user behaviour to enrich the data available for system learning. This paper introduces epistemic interaction within the context of human-system communication, illustrating how deliberate interaction design can improve system understanding and adaptation. Through concrete examples, we demonstrate the potential of epistemic interaction to significantly advance human-computer interaction by leveraging intuitive human communication strategies to inform system design and functionality, offering a novel pathway for enriching user-system engagements.
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Tobias Schneck
As AI technology is pushing into IT I was wondering myself, as an “infrastructure container kubernetes guy”, how get this fancy AI technology get managed from an infrastructure operational view? Is it possible to apply our lovely cloud native principals as well? What benefit’s both technologies could bring to each other?
Let me take this questions and provide you a short journey through existing deployment models and use cases for AI software. On practical examples, we discuss what cloud/on-premise strategy we may need for applying it to our own infrastructure to get it to work from an enterprise perspective. I want to give an overview about infrastructure requirements and technologies, what could be beneficial or limiting your AI use cases in an enterprise environment. An interactive Demo will give you some insides, what approaches I got already working for real.
DevOps and Testing slides at DASA ConnectKari Kakkonen
My and Rik Marselis slides at 30.5.2024 DASA Connect conference. We discuss about what is testing, then what is agile testing and finally what is Testing in DevOps. Finally we had lovely workshop with the participants trying to find out different ways to think about quality and testing in different parts of the DevOps infinity loop.
PHP Frameworks: I want to break free (IPC Berlin 2024)Ralf Eggert
In this presentation, we examine the challenges and limitations of relying too heavily on PHP frameworks in web development. We discuss the history of PHP and its frameworks to understand how this dependence has evolved. The focus will be on providing concrete tips and strategies to reduce reliance on these frameworks, based on real-world examples and practical considerations. The goal is to equip developers with the skills and knowledge to create more flexible and future-proof web applications. We'll explore the importance of maintaining autonomy in a rapidly changing tech landscape and how to make informed decisions in PHP development.
This talk is aimed at encouraging a more independent approach to using PHP frameworks, moving towards a more flexible and future-proof approach to PHP development.
GraphRAG is All You need? LLM & Knowledge GraphGuy Korland
Guy Korland, CEO and Co-founder of FalkorDB, will review two articles on the integration of language models with knowledge graphs.
1. Unifying Large Language Models and Knowledge Graphs: A Roadmap.
https://arxiv.org/abs/2306.08302
2. Microsoft Research's GraphRAG paper and a review paper on various uses of knowledge graphs:
https://www.microsoft.com/en-us/research/blog/graphrag-unlocking-llm-discovery-on-narrative-private-data/
"Impact of front-end architecture on development cost", Viktor TurskyiFwdays
I have heard many times that architecture is not important for the front-end. Also, many times I have seen how developers implement features on the front-end just following the standard rules for a framework and think that this is enough to successfully launch the project, and then the project fails. How to prevent this and what approach to choose? I have launched dozens of complex projects and during the talk we will analyze which approaches have worked for me and which have not.
2. Summary
• The project uses DHT11 and ESP8266 to monitor temperature at any point
of time
• The monitoring aspect has 2 objectives:
• To check temperature at any given point (achieved with the help of cloud connectivity through Thingspeak)
• To send an alert message when temperature exceeds a predefined value(achieved with the
help of Notify My Android app)
3. Things needed
6Pin USB 2.0 to TTL
UART Module Serial
Converter
HARDWARE
ESP8266 - 01
DHT11
Multi Power Supply
(5V and 3.3V)
Jumper wires Male to
Male
Jumper wires Female
to Female
Jumper wires Male to
Female
12V adaptor (1Amp)
Bread Board
Laptop
Breadboard Adapters
(optional)
WiFi connection
Any android mobile
4. Things needed
SOFTWARE
NodeMCU firmware (free)
Scripting language (free)
Account on Thingspeak (free)
Account on NMA (free)
Premium one at $5
Windows (any other
also would do)
5. Costing
• ESP8266 Rs300
• UART Rs180
• DHT11 Rs180
• Multipower supply Rs140
• 12V adapter Rs100
• Jumper wires(15) Rs50
• Bread board Rs120
• Premium NMA membership Rs350
TOTAL COST ~Rs 1500 or ~US $23
Note: The price quoted is as per what I got on SP road in Bangalore,India. It may be cheaper online/offline at other places so cost can come down further.
Assumptions:
1. WiFi connection already exists
2. Laptop with windows is available
3. Android Mobile phone available
6. 1.ESP8266
microcontroller from Chinese manufacturer Espressif that includes Wi-Fi capability
Cadence Tensilica LX106 microcontroller
• Operates at 3.3V
• Firmware upgrade is needed as first step after purchase
• GPIO 0 should be grounded for firmware upgrade mode
• RST and GPIO2 to be left open
• Connect RX of ESP8266 to TX of FT232RL
• Connect TX of ESP8266 to RX of FT232RL
• Supply external voltage of 3.3V to VCC and CH_PD
• GND to be connected to ground (FT232RL and ESP8266 ground should be
common)
Once the connections are done. RED LED on ESP8266 should be on. BLUE LED
will flash momentarily.
PIN PIN Description
VCC 3.3V
RST Reset (low active)
CH_PD Chip Power down (low active)
TXD Transmit data (3.3V level)
RXD Receive data (3.3V level)
GPIO 0 General Purpose Input / Output
GPIO 2 General Purpose Input / Output
GND Ground
Steps for firmware upgrade: http://www.whatimade.today/loading-the-nodemcu-firmware-on-the-esp8266-windows-guide/
7. 2. Lua
powerful, fast, lightweight, embeddable scripting language
What is Lua?
Lua is a powerful, fast, lightweight, embeddable scripting language.
Lua combines simple procedural syntax with powerful data description constructs based on associative arrays and
extensible semantics. Lua is dynamically typed, runs by interpreting bytecode for a register-based virtual machine, and has
automatic memory management with incremental garbage collection, making it ideal for configuration, scripting, and rapid
prototyping.
Where does Lua come from?
Lua is designed, implemented, and maintained by a team at PUC-Rio, the Pontifical Catholic University of Rio de Janeiro in
Brazil. Lua was born and raised in Tecgraf, formerly the Computer Graphics Technology Group of PUC-Rio in 1993. Lua is
now housed at LabLua, a laboratory of the Department of Computer Science of PUC-Rio.
What's in a name?
"Lua" (pronounced LOO-ah) means "Moon" in Portuguese. As such, it is neither an acronym nor an abbreviation, but a noun.
More specifically, "Lua" is a name, the name of the Earth's moon and the name of the language. Like most names, it should
be written in lower case with an initial capital, that is, "Lua".
8. 3. NodeMCU firmware upgrade
Lua based firmware for wifi-soc esp8266
• http://benlo.com/esp8266/esp8266QuickStart.html
• Plug the USB to serial adapter into your PC. Most adapters are automatically recognized by
Windows 7 and 8. Users of XP or older versions of Windows may need a driver which should be
supplied by the manufacturer of the USB adapter. The adapter will appear as a new COM port
on your system. Check the Device Manager if necessary.
• Run ESP8266Flasher.exe
• NodeMcuFlasher
• If you only have one COM device, the port will appear automatically. If you have more than one,
select the correct one from the drop down menu.
• The flasher program comes with default NodeMCU firmware in memory. This is unlikely to be
the latest version, but to get started quickly, use the default internal image. Later, you can
download the latest firmware, then select the [Config] tab and choose the new .bin file. Select
the 0x7C000 default and 0x7E000 blank sections. Uncheck the box for the 0x10000 IROM
section.
• Click on Flash(E) to start the programming process.
• https://www.youtube.com/watch?v=Gh_pgqjfeQc
• https://github.com/nodemcu/nodemcu-firmware
• https://bigdanzblog.wordpress.com/2015/04/14/installing-nodemcu-lua-firmware-on-esp8266-wifi-module/
• http://www.roboremo.com/flashing-nodemcu-firmware-to-esp8266.html
Videos:
9. If ESP8266 gets bricked what to do?
(Blue LED starts flashing on continuous basis)
• https://www.youtube.com/watch?v=VQ6-WrX54_s
http://www.xess.com/blog/esp8266-reflash/
10. Sketch for ESP8266 firmware upgrade
ESP 8266-01FT232RL
TXD
TXD
RXD
RXD
GND GND
GPIO 0
GPIO 2
+3.3V
Multi-Power
Supply
VCC CH_PD
GND
USBconnectiontoLaptop
3 pins used 7 pins used
Note: use a bread board to get connections in place.
A
11. 4.DHT11 Temperature and Humidity Sensor
GPIO 0 of ESP8266
along with ESP8266 and FT232 ground pins
5V External power supply
Basic working :
Note: now NodeMCU has built in DHT function so same can be used directly, Arduino also has one built in function
12. 5. ThingSpeak
The open data cloud platform for the Internet of Things
ThingSpeak API Quick Start
1. Sign Up for a ThingSpeak account
2. Go to Channels, and click New Channel
3. Complete the channel settings, and click Save Channel.
4. Update your Channel via URL:
5. https://api.thingspeak.com/update?api_key=YOUR_CHANN
EL_API_KEY&field1=7
6. View your Channel feed:
7. https://api.thingspeak.com/channels/YOUR_CHANNEL_ID/f
eeds.json
Video Link: https://www.youtube.com/watch?v=I_Jm6Q4z7ig
13. 6. Notify My Android(NMA)
platform that allows you to deliver push notifications from virtually any application to your Android device
NMA API Quick guide
1. Sign Up for a NMA account
2. Go to Manage API Keys and Generate New Key
3. Key details will appear in Key Description field.
4. Update NMA alerts via URL:
conn:send("GET /publicapi/notify?apikey=YOUR API KEY
&application=ESP8266&event=XXXX&description=text1%20tex
t2%20text3&priority=2rn HTTP/1.1rn")
14. 7. ESPlorer
Integrated Development Environment (IDE) for ESP8266 developers
• The essential multi-platforms
tools for any ESP8266 developer
from luatool author’s, including
a LUA for NodeMCU and
MicroPython.
• Download link :
• https://github.com/4refr0nt/ESPlorer
• http://esp8266.ru/esplorer/#download
15. Code (init.lua)
print("Setting up WIFI..")
wifi.setmode(wifi.STATION)
--modify according your wireless router settings
wifi.sta.config("SSID","PASSWORD")
wifi.sta.connect()
tmr.alarm(1, 1000, 1, function()
if wifi.sta.getip()== nil then
print("IP unavailable, Waiting...")
else
tmr.stop(1)
print("Config done, IP is "..wifi.sta.getip())
dofile("dht11.lua")
end
end)
Source: https://github.com/Parshwadeep/DHT11andESP8266andLuaandThingspeak/blob/master/init.lua
Change the RED part in your code
16. --- Get temperature and humidity data and send data to thingspeak.com
function sendData()
getTemp()
-- conection to thingspeak.com
print("Sending data to thingspeak.com")
conn=net.createConnection(net.TCP, 0)
conn:on("receive", function(conn, payload) print(payload) end)
-- api.thingspeak.com 184.106.153.149
conn:connect(80,'184.106.153.149')
conn:send("GET /update?key=YOUR_KEY&field1="..temp.."&field2="..humi.." HTTP/1.1rn")
conn:send("Host: api.thingspeak.comrn")
conn:send("Accept: */*rn")
conn:send("User-Agent: Mozilla/4.0 (compatible; esp8266 Lua; Windows NT 5.1)rn")
conn:send("rn")
conn:on("sent",function(conn)
print("Closing connection")
conn:close()
end)
conn:on("disconnection", function(conn)
print("Got disconnection...")
end)
end
-- send data every X ms to thing speak
tmr.alarm(2, 60000, 1, function() sendData() end )
Code (dht11.lua)
pin=3
m=0
function getTemp()
status,temp,humi,temp_decimial,humi_decimial = dht.read(pin)
if( status == dht.OK ) then
-- Float firmware using this example
print(string.format("DHT
Temperature:%d.%02d;Humidity:%d.%02drn",temp,temp_decimial,humi,humi_decimi
al))
if (temp >25) then
print ("ALERT: Temperature is out of range")
if m == 1 then
conn=net.createConnection(net.TCP, 0)
conn:on("receive", function(conn, payload) print(payload) end)
conn:connect(80,"50.116.34.97")
conn:send("GET
/publicapi/notify?apikey=YOUR_KEY&application=ESP8266&event=TEMP_ALERT&descri
ption=Temperature%20is%20more%20than%2025&priority=2rn HTTP/1.1rn")
conn:send("Host: notifymyandroid.comrn")
conn:send("Accept: */*rn")
conn:send("User-Agent: Mozilla/4.0 (compatible; esp8266 Lua; Windows NT
5.1)rn")
conn:send("rn")
m = 0
else m = 1
end
end
elseif( status == dht.ERROR_CHECKSUM ) then
print( "DHT Checksum error." );
elseif( status == dht.ERROR_TIMEOUT ) then
print( "DHT Time out." );
end
end
Source: https://github.com/Parshwadeep/DHT11andESP8266andLuaandThingspeak/blob/master/dht11.lua
Change the RED part in your code
17. Sketch for SW update and working model
ESP 8266-01FT232RL DHT11
TXD
TXD
RXD
RXD
GND GND GND
GPIO 0 Signal
+5V+3.3V
Multi-Power
Supply
VCC CH_PD
VCC
GND
USBconnectiontoLaptop
3 pins used 7 pins used 3 pins used
Note: use a bread board to get connections in place.
B
18. Important for software upload on ESP8266
• FIRST UPLOAD dht11.lua on ESP8266 by
clicking on Save to ESP in ESplorer.
• NEXT UPLOAD init.lua on ESP8266 by
clicking on Save to ESP in ESplorer.
• Wait for 1-2 min after upload. The setup
should work and updated data points
available on Thingspeak channel and
alerts on Notify My Android as per
distance monitored.
19. Sketch for post software update on ESP8266
ESP 8266-01 DHT11
GND GND
GPIO 0 Signal(S)
+5V+3.3V
Multi-Power
Supply
VCC CH_PD
VCC
GND
4 pins used 3 pins used
C
21. In a Nutshell
• Get ESP8266 upgraded with NodeMCU firmware with help of UART (Sketch A)
• Open accounts on Thingspeak and Notify My Android App and get the API keys to be used
in code
• Connect DHT11 to ESP8266 and upload the code on ESP8266 using ESPlorer (Sketch B)
• Check the working of init.lua on serial monitor:
• Check Charts on Thingspeak
• Check condition of Mobile Alert when temperature is above a predefined value.
• Remove UART connections and check standalone working of ESP8266 and DHT11 (Sketch C)
22. Next Steps
• Get the things working on circuit board with minimal size
• Implement it in real server room/other environment