SlideShare a Scribd company logo
Open Source Home Automation
With LinkSprite.IO
Jingfeng Liu
LinkSprite IO
LinkSprite IO
Open Source Home Automation with LinkSprite.IO
Open Source Home Automation with LinkSprite.IO
Open Source Home Automation with LinkSprite.IO
Open Source Home Automation with LinkSprite.IO
Open Source Home Automation with LinkSprite.IO
Open Source Home Automation with LinkSprite.IO
$9 WiFi Arduino: LinkNode
D1
Open Source Home Automation with LinkSprite.IO
Open Source Home Automation with LinkSprite.IO
LinkNode R4
LinkNode D1 based Home Automation
Open Source Home Automation with LinkSprite.IO
Hardware List
 LinkNode D1
 Linker Base for D1
 Llnker Oxygen Sensor
 Linker temperature & humidity sensor
 Linker relay module
 Linker LED module
 IR distance sensor
 Servo
 1602 LCD
Software
 Arduino IDE with ESP8266 hardware
package
 Android SDK and Java
Open Source Home Automation with LinkSprite.IO
Arduino Code for WiFi
 include <ESP8266WiFi.h>
 #include <WString.h>
 #include <DNSServer.h>
 #include <ESP8266WebServer.h>
 #include <WiFiManager.h>

 void linksprite_io_init()
 {
 WiFiManager wifiManager;
 wifiManager.setAPStaticIPConfig(IPAddress(10,0,1,1),
IPAddress(10,0,1,1), IPAddress(255,255,255,0));
 wifiManager.autoConnect("LinkNodeAP");
 Serial.print("WiFi Connected ...n");
 Serial.println("WiFi connected");
 }
LinkSpriteIO using HTTP
post request
 if (client.connect(server,80))
 {
 String postStr ="{";
 postStr +=""action":"update",";
 postStr +=""apikey":"";
 postStr += apikey;
 postStr +="",";
 postStr +=""deviceid":"";
 postStr += deviceID;
 postStr +="",";
 postStr +=""params":";
 postStr +="{";
 ...
 postStr +=""humidity":"";
 itoa(h,hum,10);
 postStr +=hum;
 postStr +=""rn";
 postStr +="}";
 postStr +="}";

 client.print("POST /api/http HTTP/1.1n");
 client.print("Host: ");
 client.print(server);
 client.print("nContent-Type: application/jsonn");
 client.print("Content-Length: ");
 client.print(postStr.length());
 client.print("nn");
 client.print(postStr);
Open Source Home Automation with LinkSprite.IO
Zigbee pcDuino based Home
Automation
Thank you!
Ad

Recommended

IoT with openHAB on pcDuino3B
IoT with openHAB on pcDuino3B
Jingfeng Liu
 
物聯網連結智慧生活-環境監控與智慧家電的開發與應用
物聯網連結智慧生活-環境監控與智慧家電的開發與應用
永忠 曹
 
Cassiopeia Ltd - ESP8266+Arduino workshop
Cassiopeia Ltd - ESP8266+Arduino workshop
tomtobback
 
Esp8266 basics
Esp8266 basics
Eueung Mulyana
 
pcDuino Presentation at SparkFun
pcDuino Presentation at SparkFun
Jingfeng Liu
 
Scratch pcduino
Scratch pcduino
Jingfeng Liu
 
Remote temperature monitor (DHT11)
Remote temperature monitor (DHT11)
Parshwadeep Lahane
 
Adafruit Huzzah Esp8266 WiFi Board
Adafruit Huzzah Esp8266 WiFi Board
Biagio Botticelli
 
Remote tanklevelmonitor
Remote tanklevelmonitor
Parshwadeep Lahane
 
Serial Data from Arduino to Raspberry Pi to MySQL using CoAP Protocol
Serial Data from Arduino to Raspberry Pi to MySQL using CoAP Protocol
Sanjay Kumar
 
Webshield internet of things
Webshield internet of things
Raghav Shetty
 
lesson1 - Getting Started with ESP8266
lesson1 - Getting Started with ESP8266
Elaf A.Saeed
 
Attendance System using ESP8266(Wi-Fi) with MySQL
Attendance System using ESP8266(Wi-Fi) with MySQL
Sanjay Kumar
 
Rdl esp32 development board trainer kit
Rdl esp32 development board trainer kit
Research Design Lab
 
Node mcu x raspberrypi2 x mqtt
Node mcu x raspberrypi2 x mqtt
承翰 蔡
 
Arduino & NodeMcu
Arduino & NodeMcu
Guhan Ganesan
 
"Attacking industrial remote controllers for fun and profit" - Dr. Marco Bald...
"Attacking industrial remote controllers for fun and profit" - Dr. Marco Bald...
PROIDEA
 
The Arduino WiFi Shield
The Arduino WiFi Shield
kellison00
 
Wi-Fi Esp8266 nodemcu
Wi-Fi Esp8266 nodemcu
creatjet3d labs
 
Lesson 9- NodeMCU with Arduino UNO (UART)
Lesson 9- NodeMCU with Arduino UNO (UART)
Elaf A.Saeed
 
Icnd210 s07l03
Icnd210 s07l03
computerlenguyen
 
Icnd210 s07l01
Icnd210 s07l01
computerlenguyen
 
Raspberry Pi introduction
Raspberry Pi introduction
Lotfi Messaoudi
 
Icnd210 s05l02
Icnd210 s05l02
computerlenguyen
 
Arduino 習作工坊 - Lesson 1 燈光之夜
Arduino 習作工坊 - Lesson 1 燈光之夜
CAVEDU Education
 
Lesson 10- NodeMCU with LCD I2C
Lesson 10- NodeMCU with LCD I2C
Elaf A.Saeed
 
Icnd210 s04l02
Icnd210 s04l02
computerlenguyen
 
Birdwatching using a Raspberry pi, Azure IoT Hub and Cognitive services
Birdwatching using a Raspberry pi, Azure IoT Hub and Cognitive services
John Staveley
 
WIFI ESP01 interfacing with Arduino UNO with Sensor DHT11
WIFI ESP01 interfacing with Arduino UNO with Sensor DHT11
hussain0075468
 
Introduction to Things board (An Open Source IoT Cloud Platform)
Introduction to Things board (An Open Source IoT Cloud Platform)
Amarjeetsingh Thakur
 

More Related Content

What's hot (20)

Remote tanklevelmonitor
Remote tanklevelmonitor
Parshwadeep Lahane
 
Serial Data from Arduino to Raspberry Pi to MySQL using CoAP Protocol
Serial Data from Arduino to Raspberry Pi to MySQL using CoAP Protocol
Sanjay Kumar
 
Webshield internet of things
Webshield internet of things
Raghav Shetty
 
lesson1 - Getting Started with ESP8266
lesson1 - Getting Started with ESP8266
Elaf A.Saeed
 
Attendance System using ESP8266(Wi-Fi) with MySQL
Attendance System using ESP8266(Wi-Fi) with MySQL
Sanjay Kumar
 
Rdl esp32 development board trainer kit
Rdl esp32 development board trainer kit
Research Design Lab
 
Node mcu x raspberrypi2 x mqtt
Node mcu x raspberrypi2 x mqtt
承翰 蔡
 
Arduino & NodeMcu
Arduino & NodeMcu
Guhan Ganesan
 
"Attacking industrial remote controllers for fun and profit" - Dr. Marco Bald...
"Attacking industrial remote controllers for fun and profit" - Dr. Marco Bald...
PROIDEA
 
The Arduino WiFi Shield
The Arduino WiFi Shield
kellison00
 
Wi-Fi Esp8266 nodemcu
Wi-Fi Esp8266 nodemcu
creatjet3d labs
 
Lesson 9- NodeMCU with Arduino UNO (UART)
Lesson 9- NodeMCU with Arduino UNO (UART)
Elaf A.Saeed
 
Icnd210 s07l03
Icnd210 s07l03
computerlenguyen
 
Icnd210 s07l01
Icnd210 s07l01
computerlenguyen
 
Raspberry Pi introduction
Raspberry Pi introduction
Lotfi Messaoudi
 
Icnd210 s05l02
Icnd210 s05l02
computerlenguyen
 
Arduino 習作工坊 - Lesson 1 燈光之夜
Arduino 習作工坊 - Lesson 1 燈光之夜
CAVEDU Education
 
Lesson 10- NodeMCU with LCD I2C
Lesson 10- NodeMCU with LCD I2C
Elaf A.Saeed
 
Icnd210 s04l02
Icnd210 s04l02
computerlenguyen
 
Birdwatching using a Raspberry pi, Azure IoT Hub and Cognitive services
Birdwatching using a Raspberry pi, Azure IoT Hub and Cognitive services
John Staveley
 
Serial Data from Arduino to Raspberry Pi to MySQL using CoAP Protocol
Serial Data from Arduino to Raspberry Pi to MySQL using CoAP Protocol
Sanjay Kumar
 
Webshield internet of things
Webshield internet of things
Raghav Shetty
 
lesson1 - Getting Started with ESP8266
lesson1 - Getting Started with ESP8266
Elaf A.Saeed
 
Attendance System using ESP8266(Wi-Fi) with MySQL
Attendance System using ESP8266(Wi-Fi) with MySQL
Sanjay Kumar
 
Rdl esp32 development board trainer kit
Rdl esp32 development board trainer kit
Research Design Lab
 
Node mcu x raspberrypi2 x mqtt
Node mcu x raspberrypi2 x mqtt
承翰 蔡
 
"Attacking industrial remote controllers for fun and profit" - Dr. Marco Bald...
"Attacking industrial remote controllers for fun and profit" - Dr. Marco Bald...
PROIDEA
 
The Arduino WiFi Shield
The Arduino WiFi Shield
kellison00
 
Lesson 9- NodeMCU with Arduino UNO (UART)
Lesson 9- NodeMCU with Arduino UNO (UART)
Elaf A.Saeed
 
Raspberry Pi introduction
Raspberry Pi introduction
Lotfi Messaoudi
 
Arduino 習作工坊 - Lesson 1 燈光之夜
Arduino 習作工坊 - Lesson 1 燈光之夜
CAVEDU Education
 
Lesson 10- NodeMCU with LCD I2C
Lesson 10- NodeMCU with LCD I2C
Elaf A.Saeed
 
Birdwatching using a Raspberry pi, Azure IoT Hub and Cognitive services
Birdwatching using a Raspberry pi, Azure IoT Hub and Cognitive services
John Staveley
 

Similar to Open Source Home Automation with LinkSprite.IO (20)

WIFI ESP01 interfacing with Arduino UNO with Sensor DHT11
WIFI ESP01 interfacing with Arduino UNO with Sensor DHT11
hussain0075468
 
Introduction to Things board (An Open Source IoT Cloud Platform)
Introduction to Things board (An Open Source IoT Cloud Platform)
Amarjeetsingh Thakur
 
RAHUL NASKAR IOT.ppt
RAHUL NASKAR IOT.ppt
PrakasBhowmik
 
Introduction to Node MCU
Introduction to Node MCU
Amarjeetsingh Thakur
 
NodeMCU 0.9 Manual using Arduino IDE
NodeMCU 0.9 Manual using Arduino IDE
Subhadra Sundar Chakraborty
 
IRJET- Wi-Fi Control First Person View Robot (FPV)
IRJET- Wi-Fi Control First Person View Robot (FPV)
IRJET Journal
 
IoT on Raspberry Pi
IoT on Raspberry Pi
John Staveley
 
Introducing the Arduino
Introducing the Arduino
Charles A B Jr
 
How To Electrocute Yourself using the Internet
How To Electrocute Yourself using the Internet
Alexander Roche
 
Attendance system using MYSQL with Raspberry pi and RFID-RC522
Attendance system using MYSQL with Raspberry pi and RFID-RC522
Sanjay Kumar
 
Esp8266 v12
Esp8266 v12
handson28
 
IOT NodeMCU - NodeMCU Connection to Internet
IOT NodeMCU - NodeMCU Connection to Internet
Elaf A.Saeed
 
CONTROLLING HOME APPLIANCES WITH IOT,BLYNK APP & NODE MCU
CONTROLLING HOME APPLIANCES WITH IOT,BLYNK APP & NODE MCU
VINAY KUMAR GUDELA
 
WiFi SoC ESP8266
WiFi SoC ESP8266
Devesh Samaiya
 
Fiware IoT_IDAS_intro_ul20_v2
Fiware IoT_IDAS_intro_ul20_v2
FIWARE
 
Eclipse Kura Shoot a-pi
Eclipse Kura Shoot a-pi
Eclipse Kura
 
Send SMS with Arduino UNO R4 via Internet
Send SMS with Arduino UNO R4 via Internet
CircuitDigest
 
Global Azure Bootcamp 2016 - Real-world Internet of Things Backend with Azure...
Global Azure Bootcamp 2016 - Real-world Internet of Things Backend with Azure...
Andri Yadi
 
Controlling the world with Arduino & JavaScript
Controlling the world with Arduino & JavaScript
Magnus Green
 
smart switchboard pcu.pptx
smart switchboard pcu.pptx
ashrafpathan3312
 
WIFI ESP01 interfacing with Arduino UNO with Sensor DHT11
WIFI ESP01 interfacing with Arduino UNO with Sensor DHT11
hussain0075468
 
Introduction to Things board (An Open Source IoT Cloud Platform)
Introduction to Things board (An Open Source IoT Cloud Platform)
Amarjeetsingh Thakur
 
RAHUL NASKAR IOT.ppt
RAHUL NASKAR IOT.ppt
PrakasBhowmik
 
IRJET- Wi-Fi Control First Person View Robot (FPV)
IRJET- Wi-Fi Control First Person View Robot (FPV)
IRJET Journal
 
Introducing the Arduino
Introducing the Arduino
Charles A B Jr
 
How To Electrocute Yourself using the Internet
How To Electrocute Yourself using the Internet
Alexander Roche
 
Attendance system using MYSQL with Raspberry pi and RFID-RC522
Attendance system using MYSQL with Raspberry pi and RFID-RC522
Sanjay Kumar
 
IOT NodeMCU - NodeMCU Connection to Internet
IOT NodeMCU - NodeMCU Connection to Internet
Elaf A.Saeed
 
CONTROLLING HOME APPLIANCES WITH IOT,BLYNK APP & NODE MCU
CONTROLLING HOME APPLIANCES WITH IOT,BLYNK APP & NODE MCU
VINAY KUMAR GUDELA
 
Fiware IoT_IDAS_intro_ul20_v2
Fiware IoT_IDAS_intro_ul20_v2
FIWARE
 
Eclipse Kura Shoot a-pi
Eclipse Kura Shoot a-pi
Eclipse Kura
 
Send SMS with Arduino UNO R4 via Internet
Send SMS with Arduino UNO R4 via Internet
CircuitDigest
 
Global Azure Bootcamp 2016 - Real-world Internet of Things Backend with Azure...
Global Azure Bootcamp 2016 - Real-world Internet of Things Backend with Azure...
Andri Yadi
 
Controlling the world with Arduino & JavaScript
Controlling the world with Arduino & JavaScript
Magnus Green
 
smart switchboard pcu.pptx
smart switchboard pcu.pptx
ashrafpathan3312
 
Ad

Recently uploaded (19)

最新版意大利巴里理工大学毕业证(BARI毕业证书)原版定制
最新版意大利巴里理工大学毕业证(BARI毕业证书)原版定制
taqyea
 
Basic Computer system servicing grade 7-12.pptx
Basic Computer system servicing grade 7-12.pptx
grendel3
 
Godrej_Appliances_AC_Catalogue2021_Web_20103315_4339487c20.pdf
Godrej_Appliances_AC_Catalogue2021_Web_20103315_4339487c20.pdf
selvakishore8confide
 
Pathways_to_Silicon_World_Presentation.pptx
Pathways_to_Silicon_World_Presentation.pptx
pralay55
 
最新版美国杜比克大学毕业证(UD毕业证书)原版定制
最新版美国杜比克大学毕业证(UD毕业证书)原版定制
taqyea
 
Questions on Respiratory system..docxnnn
Questions on Respiratory system..docxnnn
medapatiramakrishnar
 
DS.pptx for study for a long ghuiiiiijjj
DS.pptx for study for a long ghuiiiiijjj
losbandidis55
 
Computer project for ai and non ai robot
Computer project for ai and non ai robot
shivaniarora32567
 
ECE_Embeded_Systems_Lecture_Notes of .pdf
ECE_Embeded_Systems_Lecture_Notes of .pdf
sudheerkurakula1218
 
Cryogenic Liquid Nitrogen Containers Introductions
Cryogenic Liquid Nitrogen Containers Introductions
3447752272
 
Understanding First Loss Default Guarantee (FLDG)
Understanding First Loss Default Guarantee (FLDG)
Lokesh Agrawal
 
Muscular_System_Scaffold_Presentation.pptx
Muscular_System_Scaffold_Presentation.pptx
Manikantan70
 
英国哈珀亚当斯大学学历认证查询{HAU学费单HAU成绩单复刻}原版制作
英国哈珀亚当斯大学学历认证查询{HAU学费单HAU成绩单复刻}原版制作
taqyed
 
原版一样(UAH毕业证书)德国海德堡大学毕业证多少钱
原版一样(UAH毕业证书)德国海德堡大学毕业证多少钱
taqyed
 
AZ-900 Summary with all information that
AZ-900 Summary with all information that
FadiAlkanani1
 
ChatGPT_Presentation_Laraib (1) Based on document editing and rlhf experiment...
ChatGPT_Presentation_Laraib (1) Based on document editing and rlhf experiment...
rajveerverma425
 
William_Shakespeare_Presentation (2).pptx
William_Shakespeare_Presentation (2).pptx
iriasmariela01
 
miiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiirs.pptx
miiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiirs.pptx
ChandanKumarMajhi4
 
Max Power products list 2024 compone.pdf
Max Power products list 2024 compone.pdf
jmglpa
 
最新版意大利巴里理工大学毕业证(BARI毕业证书)原版定制
最新版意大利巴里理工大学毕业证(BARI毕业证书)原版定制
taqyea
 
Basic Computer system servicing grade 7-12.pptx
Basic Computer system servicing grade 7-12.pptx
grendel3
 
Godrej_Appliances_AC_Catalogue2021_Web_20103315_4339487c20.pdf
Godrej_Appliances_AC_Catalogue2021_Web_20103315_4339487c20.pdf
selvakishore8confide
 
Pathways_to_Silicon_World_Presentation.pptx
Pathways_to_Silicon_World_Presentation.pptx
pralay55
 
最新版美国杜比克大学毕业证(UD毕业证书)原版定制
最新版美国杜比克大学毕业证(UD毕业证书)原版定制
taqyea
 
Questions on Respiratory system..docxnnn
Questions on Respiratory system..docxnnn
medapatiramakrishnar
 
DS.pptx for study for a long ghuiiiiijjj
DS.pptx for study for a long ghuiiiiijjj
losbandidis55
 
Computer project for ai and non ai robot
Computer project for ai and non ai robot
shivaniarora32567
 
ECE_Embeded_Systems_Lecture_Notes of .pdf
ECE_Embeded_Systems_Lecture_Notes of .pdf
sudheerkurakula1218
 
Cryogenic Liquid Nitrogen Containers Introductions
Cryogenic Liquid Nitrogen Containers Introductions
3447752272
 
Understanding First Loss Default Guarantee (FLDG)
Understanding First Loss Default Guarantee (FLDG)
Lokesh Agrawal
 
Muscular_System_Scaffold_Presentation.pptx
Muscular_System_Scaffold_Presentation.pptx
Manikantan70
 
英国哈珀亚当斯大学学历认证查询{HAU学费单HAU成绩单复刻}原版制作
英国哈珀亚当斯大学学历认证查询{HAU学费单HAU成绩单复刻}原版制作
taqyed
 
原版一样(UAH毕业证书)德国海德堡大学毕业证多少钱
原版一样(UAH毕业证书)德国海德堡大学毕业证多少钱
taqyed
 
AZ-900 Summary with all information that
AZ-900 Summary with all information that
FadiAlkanani1
 
ChatGPT_Presentation_Laraib (1) Based on document editing and rlhf experiment...
ChatGPT_Presentation_Laraib (1) Based on document editing and rlhf experiment...
rajveerverma425
 
William_Shakespeare_Presentation (2).pptx
William_Shakespeare_Presentation (2).pptx
iriasmariela01
 
miiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiirs.pptx
miiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiirs.pptx
ChandanKumarMajhi4
 
Max Power products list 2024 compone.pdf
Max Power products list 2024 compone.pdf
jmglpa
 
Ad

Open Source Home Automation with LinkSprite.IO

  • 1. Open Source Home Automation With LinkSprite.IO Jingfeng Liu
  • 10. $9 WiFi Arduino: LinkNode D1
  • 14. LinkNode D1 based Home Automation
  • 16. Hardware List  LinkNode D1  Linker Base for D1  Llnker Oxygen Sensor  Linker temperature & humidity sensor  Linker relay module  Linker LED module  IR distance sensor  Servo  1602 LCD
  • 17. Software  Arduino IDE with ESP8266 hardware package  Android SDK and Java
  • 19. Arduino Code for WiFi  include <ESP8266WiFi.h>  #include <WString.h>  #include <DNSServer.h>  #include <ESP8266WebServer.h>  #include <WiFiManager.h>   void linksprite_io_init()  {  WiFiManager wifiManager;  wifiManager.setAPStaticIPConfig(IPAddress(10,0,1,1), IPAddress(10,0,1,1), IPAddress(255,255,255,0));  wifiManager.autoConnect("LinkNodeAP");  Serial.print("WiFi Connected ...n");  Serial.println("WiFi connected");  }
  • 20. LinkSpriteIO using HTTP post request  if (client.connect(server,80))  {  String postStr ="{";  postStr +=""action":"update",";  postStr +=""apikey":"";  postStr += apikey;  postStr +="",";  postStr +=""deviceid":"";  postStr += deviceID;  postStr +="",";  postStr +=""params":";  postStr +="{";  ...  postStr +=""humidity":"";  itoa(h,hum,10);  postStr +=hum;  postStr +=""rn";  postStr +="}";  postStr +="}";   client.print("POST /api/http HTTP/1.1n");  client.print("Host: ");  client.print(server);  client.print("nContent-Type: application/jsonn");  client.print("Content-Length: ");  client.print(postStr.length());  client.print("nn");  client.print(postStr);
  • 22. Zigbee pcDuino based Home Automation