v1.0... Initial code development
v1.1... Added referance to Parallax #30052 part number and fixed a couple of typo's
v2.0... Uploaded to GitHub and corrected a few spelling errors
Code to test SMC02B / 30052 Dual Motor Controller with a BS2
After pulling my hair out and spending fruitless hours searching the web for a good example of how to use the Parallax #30052 / SMC02B Pololu controller I gave up and created my own.
The attached file will quickly test a pair of DC motors connected to a Stamp and also (I hope) explain the commands and operation of the motor controller as I understand them.
Maybe it will help someone down the road.
Have fun,
Jeff
Parallax Basic Stamp = BS2 (or simulair)
Pololu SMC02B / 30052 Dual Motor Controller
http://www.parallax.com/detail.asp?product_id=30052
http://www.pololu.com/catalog/product/411/resources
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request
https://www.facebook.com/LetsBuildBots/
Copyright (c) 2009 Jeff Skinner
Copyright (c) 2018 Jeff Skinner
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses>