Comments (2)
You said "pins 1 or 0", but the connectors label the pins 1 and 2. It is common for hardware to begin indexes at 1 instead of 0.
The hardware design convention is pin 1 gets the square solder pad. You can find the solder pad from the bottom of the board or looking at the board layout.
The silkscreen attempts to communicate the clockwise numbering of the motor connectors, starting at the lower-right in your picture.
So, motor 1 pin 1 is the lower-right connector on the upper-most pin within that connector, whereas motor 1 pin 2 is the lower-right connector on the lower-most pin within that connector.
There is a nice TB6612FNG motor driver truth-table on Sparkfun's website. I've mapped the pins to the gpio/pwm numbers as defined in the librobotcontrol motor driver and schematic processor ball numbers below:
Mx | In1 | In2 | PWM | Out1 | Out2 | SW correction |
---|---|---|---|---|---|---|
M1 | GPIO2.0 T13 | GPIO0.31 U17 | EHRPWM1A U14 | 2 | 1 | -1 |
M2 | GPIO1.16 R13 | GPIO0.10 U17 | EHRPWM1B T14 | 1 | 2 | 1 |
M3 | GPIO2.9 R4 | GPIO2.8 R3 | EHRPWM2A U10 | 1 | 2 | 1 |
M4 | GPIO2.6 R1 | GPIO2.7 R2 | EHRPWM2B T10 | 2 | 1 | -1 |
Note that the software accounts for when Out1 is connected to pin 2 by performing a correction.
from beaglebone-blue.
This helps very much! Will add this to our robot slides. Thank you.
from beaglebone-blue.
Related Issues (20)
- Increase size of text HOT 2
- Drivers of the motors are insufficiently protected for over-current
- Do we keep WL1835 or move to WL1831? HOT 2
- eMMC/SD card goes into read only mode
- WiFi antenna attachment
- Battery drains when power is disabled
- MPU 9250 via SPI HOT 7
- Getting Started HOT 7
- The two black JST-SH connectors don't have a retention bed, unlike the white JST-SH connectors
- Beaglebone Blue: Pull PWM Pins Low on Boot
- Convert client port to OTG HOT 2
- Update to use lower-cost battery management
- Need spec on conformal coating HOT 4
- Adjust to fit in Altoid's tin HOT 10
- Add PDFs HOT 3
- Are alternate colors available for the JST connectors? HOT 4
- Please add one-liner module test for IMU and Barometer!
- Amperage consumption when operating on battery
- [Help Wanted] BeagleBone Blue Does Not Turn On (No LEDs nor USB Detection) HOT 2
- BBB GPIO and libgpiod
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from beaglebone-blue.