Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Practical Python Programming for IoT 2nd Edition

Chapter 11 - Movement with Motors, Servos and Steppers

Source Code

  • rpi folder - Raspberry Pi Python Code

    • requirements.txt - Python dependencies required for this chapter
    • motor_rpi.py - Using a L293D as a H-Bridge to control a DC Motor
    • motor_class_rpi.py - Using a L293D as a H-Bridge to control a DC Motor (Driver class)
    • servo_rpi.py - Controlling a servo
    • servo_alt_rpi.py - Controlling a servo (alternative)
    • stepper_rpi.py - Controlling a bipolar stepper motor
  • pico folder - Pico MicroPython Code

    • motor_pico.py - Using a L293D as a H-Bridge to control a DC Motor
    • motor_class_pico.py - Using a L293D as a H-Bridge to control a DC Motor (Driver class)
    • servo_pico.py - Controlling a servo
    • servo_alt_pico.py - Controlling a servo (alternative)
    • stepper_pico.py - Controlling a bipolar stepper motor

Datasheets

Post Publication Updates and Errata

None