Skip to content

Commit

Permalink
update readme with image
Browse files Browse the repository at this point in the history
  • Loading branch information
madskjeldgaard committed Jul 7, 2024
1 parent 8fe703a commit c7bba42
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 13 deletions.
16 changes: 3 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,16 @@

# MIDI 2 DC Motor controller

This firmware will turn a Raspberry Pi Pico with two DRV8833 controller boards into a USB Midi to DC Motor controller of sorts.
![midi2dcmotor in action](midi2dcmotor.jpg)

This firmware will turn a Raspberry Pi Pico with two [DRV8833 motor controller boards](https://learn.adafruit.com/adafruit-drv8833-dc-stepper-motor-driver-breakout-board) into a USB Midi to DC Motor controller of sorts.

It maps midi notes to one of the 4 currently available channels and uses the velocity of the notes to set the speeds.

These midi notes are 60-63.

It also features a small auto sleep function which will activate the DRV8833's sleep mode when idle.

## Features

- Platformio-based – easy to compile and upload, gets dependencies automatically
- Has common libraries set up:
- Bounce2 for debouncing button presses
- ResponsiveAnalogRead for smoother readings of analog voltages / potentiometers
- Adafruit MIDI library
- TINYUSB for USB Midi
- C++17, allowing a lot of modern C++ tricks.
- VSCode tasks are included making building easy in VSCode and in NeoVim (using the Overseer plugin)
- A Github Action which runs every time you push code to test if your firmware still compiles.

## Dependencies

You need to have platformio installed to make use of this.
Expand Down
Binary file added midi2dcmotor.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit c7bba42

Please sign in to comment.