Description
In this course you will learn:
- How to use the GPIO to control lights and motors, read data from sensors, and interact with the Internet of Things.
- How to go deep into WiringPi, a GPIO access library, to experiment with pulse width modulation.
- How to control input and output through GPIO pins, you'll open up a whole new world of electronics.
Syllabus :
- Welcome
- What you will learn
- What you should know
- Using the exercise files
1. Basics
- GPIO overview
- Locate the GPIO on the Raspberry Pi
- Program with Python and Scratch
2. Breadboards, Jumpers, and Electronic Components
- Breadboards simplify GPIO experiments
- Connecting the GPIO to a breadboard
3. Basic Project
- Build a simple GPIO project
- Troubleshoot a circuit
- Basic GPIO programming
- Add an input
- Read an input
4. Identifying GPIO Pins
- Overview
- Power and ground
- Challenge: Identify a pin
- Solution: Identify a pin
- Identify pins with Python
- Identify pins with Scratch
5. WiringPi Library
- WiringPi vs. RPi.GPIO
- Installing the WiringPi library
- Use WiringPi with Python
6. Input
- Configuration for input
- Electronic protection for input pins
- Python programs for input
- Scratch programs for input
- Read analog
- Analog programming
7. Output
- Electronic protection for output pins
- Python programs for output
- Scratch programs for output
- Control a DC motor
8. Specialty Pins
- UART TXD and RXD
- I2C SDA and SCL
- Pulse width modulation (PWM)