beginning iot for developers
TRANSCRIPT
Agenda
•What is IoT, really•First Look at Arduino•Adding Sensors to Arduino•Getting Data to the Cloud
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
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
Adding a Temperature Sensor
•DHT 11• Simple Digital Temperature & Humidity Sensor
•Hardware Fritzing Diagram
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