Hackster is hosting Hackster Holidays, Ep. 6: Livestream & Giveaway Drawing. Watch previous episodes or stream live on Monday!Stream Hackster Holidays, Ep. 6 on Monday!
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 hours2,081
nanoFramework - 16 Motor Demo

Things used in this project

Hardware components

Adafruit Motor Shield V2.3
×4
fischertechnik motor
×16

Software apps and online services

Visual Studio extension
.NET 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

3 projects • 7 followers

Comments