I had purchased a Netduino 2 a few weeks back and wanted to try and make it work with my Zumo chassis for Arduino. Unfortuatenly I couldn’t find an existing ZumoMotors library for the Netduino, after a while for searching i finally gave up and decided to write my own.
The code is availabe on GitHub:
https://github.com/OmarElabd/ZumoNetduino
Example Usage:
ZumoMotors zmotors = new ZumoMotors(); //Set Left and Right Motors to go forward with 100% Speed zmotors.SetSpeeds(100,100); Thread.Sleep(1000); //Stop the Motors zmotors.SetSpeed(0,0); Thread.Sleep(1000); //Set Left and Right Motors to go in reverse with 100% Speed zmotors.SetSpeed(-100,-100); Thread.Sleep(1000); //Set Left Motor to 100% forward and Right Motor 50% forward zmotors.SetSpeed(100,50);
If you’re interested in purchasing your own Netduino or Zumo chassis you can find them here on Amazon:
*Note: While this code should work on the Netduino 2 Plus the ethernet port for it will get in the way of it connecting to the male header pins of the Zumo Chasis, you would need to build an extender to lift it up.
*Note: It might be worthwhile to wait until blackfriday as Pololu will usually put deep discounts on their Zumos and give some away as doorbusters.
Omar Elabd
Latest posts by Omar Elabd (see all)
- Exporting Objects from the Visual Studio Debugger - February 21, 2015
- Automatically generating Repository and Unit Of Work classes - February 2, 2015
- Generating C# Classes from Excel - January 27, 2015