Skip to content

Designed to help you get your Raspberry Pi based Robot. This board can control DC motor as well as the stepper motor. You can connect your IR and Ultrasonic sensors to tell your robot about its environment. You can easily make your Line Following, Object following, Wall following, Maze-Solver Robots.

Notifications You must be signed in to change notification settings

SebastienRetail/MotorShield

 
 

Repository files navigation

Motor-Shield

Motor Driver for Raspberry Pi to control DC and Stepper Motors

Steps for Motor Shield software installation -

  1. Open Terminal and download the code by writing:

    git clone https://github.com/sbcshop/MotorShield.git
    
  2. Your code will be downloaded to '/home/pi' directory. Use 'ls' command to check the list of directories.

  3. Go to directory 'MotorShield' and open 'Test_Motor.py'

  4. Run (Press F5) file 'Test_Motor.py'. This is the example code to run all the motors in 'Forward' and 'Backward' direction

  5. For interfacing Stepper Motor use example code 'Stepper_Test.py'

Motorshield GUI

PiRelay GUI

Changes:

Added Motor, LinkedMotor, Arrow and Sensor classes. Allows user to specify what is "forward" and what is "reverse" without requiring re-wiring of the motors.

About

Designed to help you get your Raspberry Pi based Robot. This board can control DC motor as well as the stepper motor. You can connect your IR and Ultrasonic sensors to tell your robot about its environment. You can easily make your Line Following, Object following, Wall following, Maze-Solver Robots.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%