Stefan Falk
Published © MIT

nanoFramework - 16 Motor Demo

This is a demonstration how a Netduino 3 board, four Adafruit Motor Shields, and nanoFramework can control 16 fischertechnik motors at once.

IntermediateProtip4 hours958
nanoFramework - 16 Motor Demo

Things used in this project

Hardware components

Netduino3
Wilderness Labs (Netduino) Netduino3
×1
Adafruit Motor Shield V2.3
×4
fischertechnik motor
×16

Software apps and online services

nanoFramework Visual Studio extension
nanoFramework Visual Studio extension
AbstractIO

Story

Read more

Code

AbstractIO

This is my framework for abstracting any I/O operations to objects implementing simple interfaces. The actual program code can then accept any implementation of a needed interface. For example, you need a stop switch as an object implementing IBooleanInput. Easy - just use a button connected to an I/O pin. But you can change the physical implementation to a light barrier giving an analog value, converting this using a Schmitt Trigger component to a boolean value, and pass this to the very same program code. Also, you may pass mock objects to unit-test your program before having any hardware at all.

Credits

Stefan Falk

Stefan Falk

2 projects • 5 followers

Comments