GithubHelp home page GithubHelp logo

skyhoshi / motorshield Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sbcshop/motorshield

0.0 2.0 0.0 19.87 MB

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.

Home Page: https://shop.sb-components.co.uk/products/motorshield-for-raspberry-pi

Python 100.00%

motorshield's Introduction

Motor-Shield

The Motorshield is designed to help you get your Raspberry Pi-based Robot. This board can control the 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, and Maze-Solver Robots. 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.

motorshield's People

Contributors

sbcshop avatar sbcshop1 avatar mfoster avatar sbcshop2 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.