Home

Awesome

GitHub license GitHub contributors GitHub issues GitHub pull-requests PRs Welcome

GitHub watchers GitHub forks GitHub stars

Bengali Chinese Turkish French Korean Japanese

IoT for Beginners - A Curriculum

Azure Cloud Advocates at Microsoft are pleased to offer a 12-week, 24-lesson curriculum all about IoT basics. Each lesson includes pre- and post-lesson quizzes, written instructions to complete the lesson, a solution, an assignment and more. Our project-based pedagogy allows you to learn while building, a proven way for new skills to 'stick'.

The projects cover the journey of food from farm to table. This includes farming, logistics, manufacturing, retail and consumer - all popular industry areas for IoT devices.

A road map for the course showing 24 lessons covering intro, farming, transport, processing, retail and cooking

Sketchnote by Nitya Narasimhan. Click the image for a larger version.

Hearty thanks to our authors Jen Fox, Jen Looper, Jim Bennett, and our sketchnote artist Nitya Narasimhan.

Thanks as well to our team of Microsoft Learn Student Ambassadors who have been reviewing and translating this curriculum - Aditya Garg, Anurag Sharma, Arpita Das, Aryan Jain, Bhavesh Suneja, Faith Hunja, Lateefah Bello, Manvi Jha, Mireille Tan, Mohammad Iftekher (Iftu) Ebne Jalal, Mohammad Zulfikar, Priyanshu Srivastav, Thanmai Gowducheruvu, and Zina Kamel.

Meet the team!

Promo video

Gif by Mohit Jaisal

🎥 Click the image above for a video about the project!

Teachers, we have included some suggestions on how to use this curriculum. If you would like to create your own lessons, we have also included a lesson template.

Students, to use this curriculum on your own, fork the entire repo and complete the exercises on your own, starting with a pre-lecture quiz, then reading the lecture and completing the rest of the activities. Try to create the projects by comprehending the lessons rather than copying the solution code; however that code is available in the /solutions folders in each project-oriented lesson. Another idea would be to form a study group with friends and go through the content together. For further study, we recommend Microsoft Learn.

For a video overview of this course, check out this video:

Promo video

🎥 Click the image above for a video about the project!

Pedagogy

We have chosen two pedagogical tenets while building this curriculum: ensuring that it is project-based and that it includes frequent quizzes. By the end of this series, students will have built a plant monitoring and watering system, a vehicle tracker, a smart factory setup to track and check food, and a voice-controlled cooking timer, and will have learned the basics of the Internet of Things including how to write device code, connect to the cloud, analyze telemetry and run AI on the edge.

By ensuring that the content aligns with projects, the process is made more engaging for students and retention of concepts will be augmented.

In addition, a low-stakes quiz before a class sets the intention of the student towards learning a topic, while a second quiz after class ensures further retention. This curriculum was designed to be flexible and fun and can be taken in whole or in part. The projects start small and become increasingly complex by the end of the 12 week cycle.

Each project is based around real-world hardware available to students and hobbyists. Each project looks into the specific project domain, providing relevant background knowledge. To be a successful developer it helps to understand the domain in which you are solving problems, providing this background knowledge allows students to think about their IoT solutions and learnings in the context of the kind of real-world problem that they might be asked to solve as an IoT developer. Students learn the 'why' of the solutions they are building, and get an appreciation of the end user.

Hardware

We have two choices of IoT hardware to use for the projects depending on personal preference, programming language knowledge or preferences, learning goals and availability. We have also provided a 'virtual hardware' version for those who don't have access to hardware, or want to learn more before committing to a purchase. You can read more and find a 'shopping list' on the hardware page, including links to buy complete kits from our friends at Seeed Studio.

💁 Find our Code of Conduct, Contributing, and Translation guidelines. We welcome your constructive feedback!

Each lesson includes:

A note about quizzes: All quizzes are contained in the quiz-app folder, for 48 total quizzes of three questions each. They are linked from within the lessons but the quiz app can be run locally or deployed to Azure; follow the instruction in the quiz-app folder. They are gradually being localized.

Lessons

Project NameConcepts TaughtLearning ObjectivesLinked Lesson
01Getting startedIntroduction to IoTLearn the basic principles of IoT and the basic building blocks of IoT solutions such as sensors and cloud services whilst you are setting up your first IoT deviceIntroduction to IoT
02Getting startedA deeper dive into IoTLearn more about the components of an IoT system, as well as microcontrollers and single-board computersA deeper dive into IoT
03Getting startedInteract with the physical world with sensors and actuatorsLearn about sensors to gather data from the physical world, and actuators to send feedback, whilst you build a nightlightInteract with the physical world with sensors and actuators
04Getting startedConnect your device to the InternetLearn about how to connect an IoT device to the Internet to send and receive messages by connecting your nightlight to an MQTT brokerConnect your device to the Internet
05FarmPredict plant growthLearn how to predict plant growth using temperature data captured by an IoT devicePredict plant growth
06FarmDetect soil moistureLearn how to detect soil moisture and calibrate a soil moisture sensorDetect soil moisture
07FarmAutomated plant wateringLearn how to automate and time watering using a relay and MQTTAutomated plant watering
08FarmMigrate your plant to the cloudLearn about the cloud and cloud-hosted IoT services and how to connect your plant to one of these instead of a public MQTT brokerMigrate your plant to the cloud
09FarmMigrate your application logic to the cloudLearn about how you can write application logic in the cloud that responds to IoT messagesMigrate your application logic to the cloud
10FarmKeep your plant secureLearn about security with IoT and how to keep your plant secure with keys and certificatesKeep your plant secure
11TransportLocation trackingLearn about GPS location tracking for IoT devicesLocation tracking
12TransportStore location dataLearn how to store IoT data to be visualized or analysed laterStore location data
13TransportVisualize location dataLearn about visualizing location data on a map, and how maps represent the real 3d world in 2 dimensionsVisualize location data
14TransportGeofencesLearn about geofences, and how they can be used to alert when vehicles in the supply chain are close to their destinationGeofences
15ManufacturingTrain a fruit quality detectorLearn about training an image classifier in the cloud to detect fruit qualityTrain a fruit quality detector
16ManufacturingCheck fruit quality from an IoT deviceLearn about using your fruit quality detector from an IoT deviceCheck fruit quality from an IoT device
17ManufacturingRun your fruit detector on the edgeLearn about running your fruit detector on an IoT device on the edgeRun your fruit detector on the edge
18ManufacturingTrigger fruit quality detection from a sensorLearn about triggering fruit quality detection from a sensorTrigger fruit quality detection from a sensor
19RetailTrain a stock detectorLearn how to use object detection to train a stock detector to count stock in a shopTrain a stock detector
20RetailCheck stock from an IoT deviceLearn how to check stock from an IoT device using an object detection modelCheck stock from an IoT device
21ConsumerRecognize speech with an IoT deviceLearn how to recognize speech from an IoT device to build a smart timerRecognize speech with an IoT device
22ConsumerUnderstand languageLearn how to understand sentences spoken to an IoT deviceUnderstand language
23ConsumerSet a timer and provide spoken feedbackLearn how to set a timer on an IoT device and give spoken feedback on when the timer is set and when it finishesSet a timer and provide spoken feedback
24ConsumerSupport multiple languagesLearn how to support multiple languages, both being spoken to and the responses from your smart timerSupport multiple languages

Offline access

You can run this documentation offline by using Docsify. Fork this repo, install Docsify on your local machine, and then in the root folder of this repo, type docsify serve. The website will be served on port 3000 on your localhost: localhost:3000.

PDF

You can generate a PDF of this content for offline access if needed. To do this, make sure you have npm installed and run the following commands in the root folder of this repo:

npm i
npm run convert

Slides

There are slide decks for some of the lessons in the slides folder.

Help Wanted!

Would you like to contribute a translation? Please read our translation guidelines and add input to one of the translations issues. If you want to translate into a new language, please raise a new issue for tracking.

Other Curricula

Our team produces other curricula! Check out:

Image attributions

You can find all the attributions for the images used in this curriculum where required in the Attributions.