490 likes | 1.05k Views
Internet of Things ( IoT ) Bootcamp. Internet of Things(IoT). Make “Things” Smart. Satish Rao. Day 1 - Agenda. Introduction to IoT and its Building Blocks Software Installation Installation of Arduino IDE Setting up ESP 8266 Drivers Installation of USB Driver
E N D
Internet of Things(IoT) Make “Things” Smart Satish Rao
Day 1 - Agenda • Introduction to IoT and its Building Blocks • Software Installation • Installation of Arduino IDE • Setting up ESP 8266 Drivers • Installation of USB Driver • Introduction to NodeMCU • Break • Introduction to Arduino Programming • Hello World Program • Serial Communication • Led Blinking Program
Day 2 - Agenda • Introduction to MQTT • Reading Sensor Values using MQTT • Controlling Led using MQTT
Outcome of the workshop • Knowledge about • IoT • Sensors • Microcontrollers • NodeMCU • Arduino IDE and Programming • Serial Communication • Control a Led from Mobile • Connecting a Sensor and reading its values • ESP Web Server • MQTT Protocol
3C’s of IoT Connect, control and communicate
What is IoT The Internet of things (IoT) is the inter-networking of • physical devices, • vehicles (also referred to as "connected devices" and "smart devices"), • buildings, and • other items embedded with electronics, software, sensors, actuators, and network connectivity which enable these objects to collect and exchange data.
Simple Equation for IoT Internet of Things (IoT) = Physical Things (Objects) + Microcontrollers + Sensors + Actuators + Internet
Cloud Gateways Controllers Sensors Sensors Actuators Block Diagram of IoT Device
Sensors Temperature and Humidity Sensor Sound Detection Sensor Soil Moisture Sensor Rain Sensor
RGB Color Sensor Hall Sensor PIR Motion Sensor
MQ – 135 Air Quality Sensor MQ-7 Carbon Monoxide Gas Sensor MQ -2 LPG Gas Sensor
IR Sensor Flame Sensor Ultrasonic Sensor
Actuators LED’s Relay’s Servo Motor’s
Arduino Boards Arduino Uno ( 14 Pins) Arduino Nano (14) Arduino Mega (54) Arduino Lilypad ( 14)
Raspberry Pi • Broadcom BCM2837 64bit Quad Core Processor powered Single Board Computer running at 1.2GHz • 1GB RAM • BCM43143 WiFi on board • Bluetooth Low Energy (BLE) on board • 40 pin extended GPIO • 4 x USB 2 ports • 4 pole Stereo output and Composite video port • Full size HDMI • CSI camera port for connecting the Raspberry Pi camera • DSI display port for connecting the Raspberry Pi touch screen display • Micro SD port for loading your operating system and storing data
Others….. Intel Galileo Intel Edison BeagleBone
ESP 8266 802.11 b/g/n protocol Wi-Fi Direct (P2P), soft-AP Integrated TCP/IP protocol stack Integrated low power 32-bit CPU could be used as application processor
Communication • Wifi • Bluetooth • Zigbee • Cellular • NFC • LoRa
Arduino wifi Shield Nodemcu ESP 01 Standard: Based on 802.11n (most common usage in homes today) Frequencies: 2.4GHz and 5GHz bands Range: Approximately 50m Data Rates: 600 Mbps maximum, but 150-200Mbps is more typical, depending on channel frequency used and number of antennas (latest 802.11-ac standard should offer 500Mbps to 1Gbps)
Bluetooth 4.0 Module Classic Bluetooth Module Standard: Bluetooth 4.2 core specification Frequency: 2.4GHz (ISM) Range: 50-150m (Smart/BLE) Data Rates: 1Mbps (Smart/BLE)
Standard: ZigBee 3.0 based on IEEE802.15.4 Frequency: 2.4GHz Range: 10-100m Data Rates: 250kbps
GSM Module GSM GPRS GPS Module A7 Standard: GSM/GPRS/EDGE (2G), UMTS/HSPA (3G), LTE (4G) Frequencies: 900/1800/1900/2100MHz Range: 35km max for GSM; 200km max for HSPA Data Rates (typical download): 35-170kps (GPRS), 120-384kbps (EDGE), 384Kbps-2Mbps (UMTS), 600kbps-10Mbps (HSPA), 3-10Mbps (LTE)
Standard: ISO/IEC 18000-3 Frequency: 13.56MHz (ISM) Range: 10cm Data Rates: 100–420kbps
Lora Shield for Raspberry Pi Lora Shield for Arduino Standard: LoRaWAN Frequency: Various (433/ 868 / 915 MHz) Range: 2-5km (urban environment), 15km (suburban environment) Data Rates: 0.3-50 kbps.
Others Neul Sigfox Thread 6LowPAN ZWave
Senses of Human Cameras Touch Sensors Sound Sensors Gas Sensors