Beginning IoT for Developers

18
Internet of Things (IoT) for Developers

Transcript of Beginning IoT for Developers

Internet of Things (IoT) for Developers

Agenda

•What is IoT, really•First Look at Arduino•Adding Sensors to Arduino•Getting Data to the Cloud

Speakers

•Abhishek Kant •Vic Parmar

[email protected]

A Telerik Survey

•The term ‘IoT’ is confusing• It’s an exciting space but it’s hard to prepare for•What’s working now?•You can make money with the Internet of Things … in the future•Android and Java are particularly popular as a platform and language•Security and privacy are top challenges

http://www.telerik.com/blogs/what-developers-think-about-iot

What is IoT

•Devices that connect to one another & interact using the internet

The Business of IoT

Idea Breadboarding

Manufacturing

• Top Segments:• Smart Home• Wearables• Sports/ Fitness• Automotive• Logistics• Healthcare

The Wild West of IoT

•Devices: • Arduino• Raspberry Pi• Intel Galileo/ Edison• Tessel• Spark• Beagleboard• …………..

• Communication Protocol: • HTTP• Xbee• MQTT• BLE• RFID

Arduino

•Simple Microcontroller•Programmed in C (called sketches)•Arduino IDE• Upload Sketch• Serial Monitor

•Runs in a loop

Microcontroller ATmega328

Operating Voltage 5V

Input Voltage (limits) 6-20V

Digital I/O Pins14 (of which 6 provide PWM output)

Analog Input Pins 6

DC Current per I/O Pin 40 mA

DC Current for 3.3V Pin 50 mA

Flash Memory32 KB (ATmega328) of which 0.5 KB used by bootloader

SRAM 2 KB (ATmega328)

EEPROM 1 KB (ATmega328)

Clock Speed 16 MHz

Anatomy of Sketch

•setup()•loop()•pinMode()•digitalWrite()•delay()•Libraries

Blinky

Adding a Temperature Sensor

•DHT 11• Simple Digital Temperature & Humidity Sensor

•Hardware Fritzing Diagram

My Digital ThermometerHardware + Sketch

IoT Architecture

Sensors

Arduino

Cloud

Gateway

Sending Readings to the Cloud

Sensor

Sensor Makes Data Available

Arduino

Sends data over USB serial

Gate

way

Node App: Reads data from serial & POSTs Data to Cloud

My Digital Thermometer – In Cloud

Hardware + Sketch

Monitoring Temperature from Phone

Latest Temperature on Phone

Thanks [email protected] Phone: +91-124-4300987/996

Raspberry Pi

• IoT Gateway•Host Node Applications