Giter VIP home page Giter VIP logo

motorbridge's Introduction

MotorBridge

MotorBridge.py now needs smbus2 for i2c use for the Beagleboard.org boards...

https://github.com/kplindegaard/smbus2

This library can be installed with:

pip3 install smbus2. 

smbus2.py has been added

Now...we can alter line 302 in the smbus2.py file to fit our needs.

First, go to .local/lib/python3.5/site-packages/smbus2/smbus2.py

filepath = "/dev/i2c-2".format(bus)

That is how the line 302 should look now outside of the regular pip3 install.

Additional Source

If you have a BBB, BBG, BBGW, BBBW, or another variation of board from beagleboard.org, you can, with their debian images, add a 12v DC battery, a couple of hook-up wires(4), and a screwdriver, add functionality to your Motor Bridge Cape with the pip3 install and a DC motor.

...

Look at the source for uMoveI.py for an update to the source. It is simplistic and approachable. If it keeps running, just run the source and Control-C before the software starts to cancel the motor from moving.

uMoveI.py will initiate your motor with time, make several turns, and 
then turn in the opposite direction and then stop for about 10 seconds 
before stopping the program. Enjoy!

Seth

motorbridge's People

Contributors

silver2row avatar

Stargazers

 avatar

Watchers

 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.