This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Board to Sensors / Actuators Mapping | |
// | |
//1. Input Switch 1 : GPI0 03 (D9) >> Button 1 | |
//2. Input Switch 2 : GPI0 01 (D10) >> Button 2 | |
//3. Output Relay 1 : GPI0 05 (D1) >> Relay 1 | |
//4. Output Relay 2 : GPI0 04 (D2) >> Relay 2 | |
//5. Output LED : GPI0 12 (D6) >> LED | |
//6. Temperature & Humidity Sensor | |
//DHT-11 : GPI0 14 (D5) >> DHT Sensor |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Board to Sensors / Actuators Mapping | |
// | |
//1. Input Switch 1 : GPI0 03 (D9) >> Button 1 | |
//2. Input Switch 2 : GPI0 01 (D10) >> Button 2 | |
//3. Output Relay 1 : GPI0 05 (D1) >> Relay 1 | |
//4. Output Relay 2 : GPI0 04 (D2) >> Relay 2 | |
//5. Output LED : GPI0 12 (D6) >> LED | |
//6. Temperature & Humidity Sensor | |
//DHT-11 : GPI0 14 (D5) >> DHT Sensor |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Cloud : | |
AWS | |
What is AWS IoT Core? | |
AWS IoT Core is a managed cloud service that lets connected devices easily and securely interact with cloud applications and other devices. AWS IoT Core can support billions of devices and trillions of messages, and can process and route those messages to AWS endpoints and to other devices reliably and securely. With AWS IoT Core, your applications can keep track of and communicate with all your devices, all the time, even when they aren’t connected. | |
AWS IoT Core also makes it easy to use AWS and Amazon services like AWS Lambda, Amazon Kinesis, Amazon S3, Amazon SageMaker, Amazon DynamoDB, Amazon CloudWatch, AWS CloudTrail, Amazon QuickSight, and Alexa Voice Service to build IoT applications that gather, process, analyze and act on data generated by connected devices, without having to manage any infrastructure. | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Version 0.1 - Feb 10 2018 | |
*/ | |
#include <Arduino.h> | |
#include <ESP8266WiFi.h> | |
#include <ESP8266WiFiMulti.h> | |
#include <WebSocketsClient.h> // https://github.com/kakopappa/sinric/wiki/How-to-add-dependency-libraries | |
#include <ArduinoJson.h> // https://github.com/kakopappa/sinric/wiki/How-to-add-dependency-libraries |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <Servo.h> | |
int servoPin = 5 ; | |
int val = 0; | |
Servo myservo; | |
void setup() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <Servo.h> | |
int servoPin = 5 ; | |
int val = 0; | |
Servo myservo; | |
void setup() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*************************************************** | |
Adafruit MQTT Library ESP8266 Example | |
Must use ESP8266 Arduino from: | |
https://github.com/esp8266/Arduino | |
Works great with Adafruit's Huzzah ESP board & Feather | |
----> https://www.adafruit.com/product/2471 | |
----> https://www.adafruit.com/products/2821 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*************************************************** | |
Adafruit MQTT Library ESP8266 Example | |
Must use ESP8266 Arduino from: | |
https://github.com/esp8266/Arduino | |
Works great with Adafruit's Huzzah ESP board & Feather | |
----> https://www.adafruit.com/product/2471 | |
----> https://www.adafruit.com/products/2821 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Exp 1 : | |
Choose a wifi based board | |
LDR - Light Dependent Resistor | |
Light intensity sensor : BH1750 | |
---------------------------------------------------------- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
IOT Devices | |
Gateways | |
Cloud | |
------------------------------ | |
IOT Device : | |
GYROSCOPE Sensor - |