getting started with aws iot on raspberry pi
TRANSCRIPT
![Page 1: Getting started with AWS IoT on Raspberry Pi](https://reader031.vdocuments.net/reader031/viewer/2022022203/58781f371a28aba12d8b62e9/html5/thumbnails/1.jpg)
Getting Started with AWS IoT on the Raspberry Pi
Ian Massingham @IanMmmm Chief Evangelist (EMEA) Amazon Web Services
![Page 2: Getting started with AWS IoT on Raspberry Pi](https://reader031.vdocuments.net/reader031/viewer/2022022203/58781f371a28aba12d8b62e9/html5/thumbnails/2.jpg)
AGENDA FOR THIS SHORT TALK
• What is AWS IoT? • Why is the Raspberry Pi a good option for IoT prototyping? • Things you might (will) need • Setting up • Examples + demos • Further reading
![Page 3: Getting started with AWS IoT on Raspberry Pi](https://reader031.vdocuments.net/reader031/viewer/2022022203/58781f371a28aba12d8b62e9/html5/thumbnails/3.jpg)
AWS IoT: simplify and accelerate IoT development
Amazon SNS Mobile Push
and Notifications
Amazon DynamoDB
Predictable and Scalable NoSQL
Data Store
AWS Lambda Run Code in
Response to Events
Amazon Redshift Petabyte-Scale
Data Warehouse
…and more
Amazon API Gateway
Build, Deploy, & Manage APIs
Amazon Kinesis Streaming Analytics
Amazon Cognito User Identity and
Data Synchronization
AWS IoT Connect Devices to
the Cloud
![Page 4: Getting started with AWS IoT on Raspberry Pi](https://reader031.vdocuments.net/reader031/viewer/2022022203/58781f371a28aba12d8b62e9/html5/thumbnails/4.jpg)
AWS IoT
“Securely connect one or one billion devices to AWS, so they can interact with applications and other devices”
![Page 5: Getting started with AWS IoT on Raspberry Pi](https://reader031.vdocuments.net/reader031/viewer/2022022203/58781f371a28aba12d8b62e9/html5/thumbnails/5.jpg)
AWS IoT
![Page 6: Getting started with AWS IoT on Raspberry Pi](https://reader031.vdocuments.net/reader031/viewer/2022022203/58781f371a28aba12d8b62e9/html5/thumbnails/6.jpg)
WHY THE PI?
• Full Linux environment • Supports all AWS IoT SDKs • Run git directly on the device • Sync/Deploy code with github
• Lots of electronics kits/hats available • LoRaNET • GPS • Cellular Radio
![Page 7: Getting started with AWS IoT on Raspberry Pi](https://reader031.vdocuments.net/reader031/viewer/2022022203/58781f371a28aba12d8b62e9/html5/thumbnails/7.jpg)
HARDWARE YOU WILL (& MIGHT) NEED
• A Raspberry Pi
• Electronics Kit • Try the SunFounder 37 modules Sensor Kit v2.0 for
Raspberry Pi 3, 2, Model B+ with 40-Pin GPIO Extension Board & Jump Wires
• http://www.amazon.co.uk/dp/B014PF05ZA • Example tutorial
• Raspberry Pi Sense Hat (optional fun) • https://www.raspberrypi.org/products/sense-hat/
![Page 8: Getting started with AWS IoT on Raspberry Pi](https://reader031.vdocuments.net/reader031/viewer/2022022203/58781f371a28aba12d8b62e9/html5/thumbnails/8.jpg)
SETTING UP FOR GPIO/SENSE HAT
Your own electronics/sensor build C (for embedded C)
http://wiringpi.com Python Wrapper Module for WiringPI
https://github.com/WiringPi/WiringPi-Python
For the Sense Hat Python Module
https://github.com/RPi-Distro/python-sense-hat
![Page 9: Getting started with AWS IoT on Raspberry Pi](https://reader031.vdocuments.net/reader031/viewer/2022022203/58781f371a28aba12d8b62e9/html5/thumbnails/9.jpg)
SETTING UP FOR AWS IOT
Use the AWS Console to create your device
Download the required crypto materials & save the C header file contents with your endpoint, cert, and key details
Download & set up your chosen AWS IoT SDK Get them at : https://aws.amazon.com/iot/sdk/
Building the C SDK on the Raspberry Pi requires the CppUTest library from: https://github.com/cpputest/cpputest/releases/tag/v3.6
Start with the sample applications that come SDKs
![Page 10: Getting started with AWS IoT on Raspberry Pi](https://reader031.vdocuments.net/reader031/viewer/2022022203/58781f371a28aba12d8b62e9/html5/thumbnails/10.jpg)
EXAMPLES & DEMOS
Emulating the AWS IoT Button (C++) https://github.com/ianmas-aws/iot-button-emulator
Controlling the Sense Hat via AWS IoT Device Shadow (Python) https://github.com/ianmas-aws/PiPyIoT
![Page 11: Getting started with AWS IoT on Raspberry Pi](https://reader031.vdocuments.net/reader031/viewer/2022022203/58781f371a28aba12d8b62e9/html5/thumbnails/11.jpg)
PRICING
• Pay as you go. No minimum fees.
• $5 per million messages published to, or delivered by, AWS IoT.
• AWS IoT does not charge for deliveries to the following AWS services: Amazon S3, Amazon DynamoDB, AWS Lambda, Amazon Kinesis, Amazon SNS, and Amazon SQS.
• Free Tier: 250,000 messages per month for 12 months.
AWS IoT
![Page 12: Getting started with AWS IoT on Raspberry Pi](https://reader031.vdocuments.net/reader031/viewer/2022022203/58781f371a28aba12d8b62e9/html5/thumbnails/12.jpg)
Thank You + Any QuestionsIan Massingham @IanMmmm Chief Evangelist (EMEA) Amazon Web Services
aws.amazon.com/iot