Putting robotics at your service™

Free shipping on orders over $75

Mecanum 2.0 code samples

Print view Share :
Previous topicNext topic

Page 1 of 1 [ 3 posts ]

New ( offline )
Posts: 2
Posted: 2012-04-15 14:55 
 Post subject: Mecanum 2.0 code samples
We've got our kit basically together, and have run sketch#1, and it is working for the front wheels.

Are there any additional sample sketches specific to the mecanum wheeled rover 2.0 that you can refer us to?
What are the pins for the rear wheels, so we can alter sketch #1?


New ( offline )
Posts: 2
Posted: 2012-04-15 15:09 
Sorry, will check Sketch #3 - don't know how I missed that.
Would be interested in seeing some collision avoidance sketches with an IR or Sonar, if any are available - any suggestions?

User avatar
Admin ( offline )
Posts: 4720
Posted: 2012-04-16 08:13 
The Mecanum kit has the second motor controller; if you have the Sparkfun version (red PCB), the pins to assign are 3, 11, 12 and 13. If you have the DFRobotShop Rover version, the pins are the same as those in the sample code, and they are marked on the PCB itself (M1, E1, M2, E2).

We'd like to work on additional code, but we have so many new versions of the DFRobotShop Rover in the queue that we need to finish the sample code for those first. The Mecanum version was only the start of many DFRobotShop Rover versions which all use the same PCB. Not to worry - there will be upgrade kits as well if you purchased a V1, V1.5 or V2.

Coleman Benson

RobotShop inc.
Putting Robotics at your service!™

Imagine it. Build it. Control it.™


All times are UTC - 5 hours [ DST ]. It is currently 2015-08-29 14:57
Feedback Form