INTERNET OF THINGS DEFINITION APPLICATION CASE STUDY
1. INTERNET OF THINGS
(IOT) USING NODE MCU
AND THINGSPEAK
MR.R.IMMANUAL
CTO,PEZRAY TECHNOLOGIES.
AP/MECH, SRI RAMAKRISHNA INSTITUTE OF TECHNOLOGY
11-02-2024 PEZRAY TECHNOLOGIES 1
4. Programming….
The process of writing computer programs.(Wiki..)
The way to speak with computer with the help of its understandable language….(R.Immanual)
6. A bit (short for binary digit) is the smallest unit of data in
a computer. A bit has a single binary value, either 0 or 1.
Although computers usually provide instructions that can test and
manipulate bits, they generally are designed to store data and
execute instructions in bit multiples called bytes.
Abbreviation for binary term, a unit of storage capable of holding a
single character. On almost all modern computers, a byte is equal to
8 bits. Large amounts of memory are indicated in terms of kilobytes
(1,024bytes), megabytes (1,048,576 bytes), and gigabytes
(1,073,741,824 bytes).
10. Mapping using standards like ASCII
A compiler is a program that translates the source code for another program from a
programing language into executable code. The source code is typically in a high-
level programming language (e. g. Pascal, C, C++, Java, Perl, C#, etc.).
31. 98% of international internet traffic flows undersea 426 active submarine cables span more
than 807,000 miles, transmitting data at 180,000 miles per second. Amazing?
Credit: Tyler Morgan-Wall, GeoJSON, and TeleGeography
11-02-2024 PEZRAY TECHNOLOGIES 31
35. Kevin Ashton Describes “the Internet
of Things”
Def:
the network connecting objects in the
physical world to the Internet.
11-02-2024 PEZRAY TECHNOLOGIES 35
56. /Include the library files
#define BLYNK_PRINT Serial
#include <ESP8266WiFi.h>
#include <BlynkSimpleEsp8266.h>
//Define the relay pins
#define relay1 D0
#define relay2 D1
#define BLYNK_AUTH_TOKEN "PxMR-TonkYHpaDYrYcNPMprZi7SIY3Jz" //Enter your blynk auth token
char auth[] = BLYNK_AUTH_TOKEN;
char ssid[] = "immangwu";//Enter your WIFI name
char pass[] = "immangwu";//Enter your WIFI password
11-02-2024 PEZRAY TECHNOLOGIES 56
57. //Get the button values
BLYNK_WRITE(V0) {
bool value1 = param.asInt();
// Check these values and turn the relay1 ON and OFF
if (value1 == 1) {
digitalWrite(relay1, LOW);
} else {
digitalWrite(relay1, HIGH);
}
}
11-02-2024 PEZRAY TECHNOLOGIES 57
58. //Get the button values
BLYNK_WRITE(V1) {
bool value2 = param.asInt();
// Check these values and turn the relay2 ON and OFF
if (value2 == 1) {
digitalWrite(relay2, LOW);
} else {
digitalWrite(relay2, HIGH);
}
}
11-02-2024 PEZRAY TECHNOLOGIES 58
59. void setup() {
//Set the relay pins as output pins
pinMode(relay1, OUTPUT);
pinMode(relay2, OUTPUT);
// Turn OFF the relay
digitalWrite(relay1, HIGH);
digitalWrite(relay2, HIGH);
//Initialize the Blynk library
Blynk.begin(auth, ssid, pass, "blynk.cloud", 80);
}
11-02-2024 PEZRAY TECHNOLOGIES 59
85. ARDUINO – NODE MCU CODE TO UPDATE
THE DATABASE WITH SENSOR VALUES
https://github.com/immangwu
11-02-2024 PEZRAY TECHNOLOGIES 85
86. MY SITE CODES
Using the JS we can retrieve the sensor values from the db
https://github.com/immangwu?tab=repositories
Use the above link to take the html, css and JS code for the site
Final website link: http://immangwu.000webhostapp.com/
11-02-2024 PEZRAY TECHNOLOGIES 86