Skip to content

Arduino firmware for interfacing with a common DC motor controller

Notifications You must be signed in to change notification settings

evanlivingston/MC-2100-motor-speed-controller

Repository files navigation

This repo contains software and information for controlling a DC motor using an existing motor controller scavenged from a treadmill. Most of this information comes from Sons of Invention blog which has excellent details and schematics.

Parts

  • Arduino Nano
  • rotary encoder
  • 4 digit 7 segment display
  • MC-2100 Motor control board

Building and Uploading Firmware

The firmware is uploaded to the arduino use arduino makefiles rather than the Arduino IDE in order to avoid some of the limitations of the IDE. You can build and upload the firmware via the command-line.

Check out Arduino CMake for more information.

Pre-requisites

You must have Arduino Core and CMake (version 2.8 or greater) installed on your machine.

sudo apt install arduino-core cmake

Building the Firmware

Navigate to the root directory of the repository and use make:

make

Uploading the Firmware

make upload

About

Arduino firmware for interfacing with a common DC motor controller

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published