Chapter 1: Robotic Hello World!
IN THIS LESSON
Main objective:
Understand how electric motors are controlled and apply this knowledge to make the Joy-Car robot move using MicroPython.
Topics covered:
How motors work: An overview of the basic operating principles of electric motors.
H-bridge: Understanding how an H-bridge allows a motor to be controlled in different directions.
PWM (Pulse Width Modulation): Understanding how PWM is used to regulate motor power and speed.
I²C communication: An introduction to communication between electronic components using the I²C protocol.
Practical programming: Writing code to make one of the robot's motors turn.
Outcome:
A single motor can be controlled forward and backward.
Voluntary Homework:
Extend the motor-control function developed during the lesson so that both motors can move.