Build Your Own IOT Device !!

by AXR AMAR in Circuits > Arduino

18829 Views, 46 Favorites, 0 Comments

Build Your Own IOT Device !!

temp_-318452000.jpg
Please Do vote :)

This is a simple project which you can build it in 30 minutes ,but it has lot of applications and advantages ,this project is basically an Internet of things project ,here I used a sensors like Vibration, pressure (pot),fire,temperature (lm35) and esp8266 n Arduino uno .this sensors will send the data through WiFi module and Arduino to the blynk app which is installed on an Android app which can be used to view sensor's data over the internet.

Components Required.!

temp_1870741681.jpg
temp_867349801.jpg
temp_-1173785682.jpg
temp_988445933.jpg
temp_603113167.jpg
Arduino - 1

esp8266-1

LM-35 -1

vibration sensor -1

fire sensor-1

for pressure we have used potentiometer of 10Kohm-1 .

few jumpers

breadboard if necessary !!

Connection !!

temp_-648473283.jpg
temp_-1487799236.jpg
temp_1198555182.jpg
temp_-750209707.jpg
temp_557846895.jpg
temp_2043003720.jpg
Arduino A0- Fire sensor

Arduino A1- LM35

A2 - Pressure sensor

A5-Vibration sensor !


and esp8266

ch-pd and vcc to 3.3v
gnd -gnd
tx-2
rx-3

Coding !!

temp_-1358091294.jpg
/#define BLYNK_DEBUG
#define BLYNK_PRINT Serial // Comment this
#include
#include
// Set ESP8266 Serial object
#define EspSerial Serial1
// This can be a SoftwareSerial object (rememb
//#include
//SoftwareSerial EspSerial(2, 3); // RX, TX
ESP8266 wifi(EspSerial);
// You should get Auth Token in the Blynk App
// Go to the Project Settings (nut icon).
char auth[] = "YourAuthToken";
void setup()
{
Serial.begin(9600); // Set console baud
delay(10);
EspSerial.begin(9600); // Set ESP8266 baud
delay(10);
Blynk.begin(auth, wifi, "ssid", "pass");
}
void loop()
{
Blynk.run();
}

Blynk App !!

temp_1762148547.jpg
temp_1244455279.jpg
Blynk was designed for the Internet of Things. It can control
hardware remotely, it can display sensor data, it can store
data, vizualize it and do many other cool things.


open the app

create account

select board type

copy auth token & insert into your program

connect all the sensors !!

and run app

Connection !!