Approximate time: 90 minutes
Welcome to Dive into IoT. This is a simple hands on lab to get you started with AWS IoT using the Raspberry Pi.
If you have landed on this repository from an email about the hands on session, then just follow 00 - Prerequisite, and keep your Pi ready for the hands on lab. If you want to follow ahead on your own, you are more than welcome. Also refer the official documentation, Getting Started with AWS IoT for any unanswered questions you might have.
- Raspberry Pi, with power supply & Class 10 microSD card, loaded with Rasbian, libraries and wifi setup.
- A valid AWS account with rights to create IAM roles, and accesss needed AWS services
- IAM roles
- DynamoDB
- Lambda functions
- IoT core
- API Gateway
You can always sign up for a free tier account for this lab
- Photo cell
- LEDs
- Resistors of LEDs
- Female-to-Female jumper cables (to connect components to header).
We are going to transfer files between the Pi and your local machine, and also test the API. Please install the softwares listed below.
- Connect sensors (input) to GPIO ports
- Collect sensor state and push to DynamoDB
- Connect LEDs (output) on the Raspberry Pi
- Post requests to API Gateway, and control state of LED (turn it on-off)
- 00 - Prerequisite ~ Follow this to ready your pi for the hands on lab.
- 01 - Setup Hardware
- 02 - Setup IoT Core
- 03 - Build AWS supporting infrastructure
- 04 - End-to-end connections
By the end of this session, you should have a basic idea on how to setup a raspberry pi with AWS IoT and send/receive data from pi to cloud securely over the internet.
There is a lot more information available, about fleet management, RTOS, Greengrass. Check the AWS documentation for more details.
Start --> 00 - Prerequisite
Lets prep to pi for the lab...