UpCode Academy Mobile Logo

Main Links

Signup Login

IoT with Raspberry Pi in Python

IoT with Raspberry Pi in Python featured image

About this Course

Internet of Things (IoT) is the considered the driving force of the next industry revolution, Industry 4.0. As the name suggests, IoT is about devices connected to the internet. It is a very exciting area to be in. At home, we are only beginning to see air conditions being able to be controlled remotely by a mobile app. There are tons of devices can be IoT-ed. Outside home, in the commercial world, there is a huge demand to monitor and collect data from various machines.

In the past, hardware development requires specific circuit board and obscured programming languages. In 2004, Arduino was introduced to the world as the first programmable board for hobbyists. It gives the possibility of every programmer to hack their own hardware device. In 2012, Raspberry Pi (RPi) came to the market. On top of Arduino’s functionalities, it has a full operating system with much more powerful processing power. RPi has opened more doors for DIY enthusiasts. The internet is flooded with wonder projects using RPi. The only limitation is your imagination now.


This course is meant for IoT enthusiasts with zero hardware knowledge. The course will teach you useful knowledge by building simple hardware prototypes. It covers both the hardware and the software sides of IoT project creation. The following topics will be covered:

- Introduction to IoT and its significance
- Introduction to electronic signals and different pins on Raspberry Pi board
- Installation and introduction to Raspbian: a linux operating system for RPi
- Basic electronic components: resistor, capacitor and transistors
- Blinking and LED light, the “Hello World” of hardware programming
- Programming a web server with Flask: a python web framework
- How to use AWS IoT Core for data collection and visualisation
- Explore various sensors
- Building a health monitoring system for elderlies with a motion sensor
- Concepts of using AI to learn and predict health status based on the data collected with motion sensor
- Security and IoT

What am I going to get from this course?

Our mini projects will build an universal internet enabled remote controller, a sound reactive LED light, a temperature data collection system and a motion data collection system to monitor elderlies’ physical activities in the house.

Raspberry Pi And Soldering Set

We will be providing each student a new Raspberry Pi set and Soldering Tools.

Course Schedule

Lesson 1: Introduction to IoT - April 7th, 2018 04:00PM - 06:30PM

- Outline of the course
- Definition of IoT
- Significance of IoT
- 2 ways of communication: data collection and remote control
- History of microcontroller boards
- Arduino
- Raspberry Pi
- ESP8266
- ESP32
- Capabilities of RPi
- Installation of Raspbian OS on RPi
- Introduction to Linux OS and a few useful commands
- Installing packages in Python

Lesson 2: Pins - April 14th, 2018 04:00PM - 06:30PM

- Differences of all the pins: digital, analog, PWM
- Basic electronic components: resistor, capacitor and transistors
- Blinking LED
- Creating a web server with Flask web framework
- Remote control LED

Lesson 3: Relay and Signal - April 21st, 2018 04:00PM - 06:30PM

- Relay
- Remote control real light (very dangerous)
- Principles of IR remote control
- Decode IR signal
- Emit IR signal
- Remote control IR signal

Lesson 4: AWS IoT Core - April 28th, 2018 04:00PM - 06:30PM

- Setting up AWS IoT core
- Testing data collection from computer
- Using AWS library in RPi
- Collecting temperature data and sent to AWS
- Visualising temperature data

Lesson 5: Sensors - May 5th, 2018 04:00PM - 06:30PM

- Experimenting with other sensors
- Sound sensor
- Accelerometer sensor
- Hall effect sensor
- Rotary Encoder

Lesson 6: Building real world IoT for Elderlies - May 12th, 2018 04:00PM - 06:30PM

- Building a health monitoring system for elderlies
- Motion sensor
- Using Push button to collect user feedback

Lesson 7: Applying AI to IoT - May 19th, 2018 04:00PM - 06:30PM

- Building a health monitoring system for elderlies with Artificial Intelligence
- Basic concepts of AI
- Basic concept of deep neural network
- Train model to predict health status

Lesson 8: Bluetooth and Security Risks - May 27th, 2018 04:00PM - 06:30PM

- Exploring bluetooth
- Control LED lights with bluetooth
- IoT security risks

Similar Courses