Pedalino
Smart wireless MIDI foot controller for guitarists and more.
Install / Use
/learn @alf45tar/PedalinoREADME
Pedalino™ has been superseed by PedalinoMini™.
Pedalino™ (discontinued)
I know. You are thinking: "yet another MIDI controller with Arduino". Pedalino™ is something new from any previous DIY projects and even better of commercial alternatives at a fraction of the cost.
<img src="logo/Pedalino_Transparent.png" width="180"/>Right now the hardware is just a working well prototype. It will be boxed when the hardware will be frozen.
Smart wireless MIDI foot controller for guitarists and more.
- Plug-and-play with any MIDI-compatible app on iOS 8 and above as well as OS X Yosemite and above.
- High customizable using iOS or Android app
- 4 MIDI interface (USB, Bluetooth, WiFi, legacy DIN MIDI IN and MIDI OUT connectors)
- No extra drivers to connect Windows, macOS, iOS (iPad/iPhone) and Android
- USB MIDI class-compliant device
- Bluetooth LE MIDI (iOS and macOS compatible)
- Network MIDI (aka AppleMIDI or RTP-MIDI)
- ipMIDI
- Open Sound Control (OSC)
- IEEE 802.11 b/g/n Wi-Fi 2.4 GHZ with WPA/WPA2 authentication
- Bluetooth Low Energy 4.0
- MIDI routing from/to any interface (USB, Bluetooth, WiFi, legacy)
- MIDI clock master and slave
- MIDI Time Code (MTC) master and slave
- OSC to MIDI and vicecersa
- Any number of pedals of any type in any order
- Auto-sensing footswitches and expression pedals
- Modular assembly of easy to find hardware and re-use of open source software libraries
Applications
- Change preset to your favourite guitar rig
- Hands-free way to control your audio parameters during live performance
- Dramatically expanded audio system parameter control via WiFi, Bluetooth, USB, MIDI or OSC.
- Set your music free with wireless MIDI connectivity
- Bluetooth wireless MIDI adaptor for connecting instruments with MIDI IN/OUT terminals to your iOS devices (iPhone/iPad/iPod Touch) or Mac
- Transform legacy MIDI equipment to USB MIDI class-compliant device
- Transform wired MIDI equipment into wireless MIDI equipment
- Transform legacy MIDI equipment to OSC control surface
- Connect Windows to macOS and iOS devices via AppleMIDI or Bluetooth LE
- Send MIDI messages using an IR remote control from your sofa
Features
- Support for digital foot switches (momentary or latch), analog expression pedals and jog wheels (rotary encoders)
- 10 banks of 16 controllers each
- 3 user configuration profiles
- Each port can connect 1 expression pedal or up to 3 foot switches for a maximum of 48 foot switches.
- MIDI output via USB MIDI, Bluetooth, classic MIDI OUT connector, AppleMIDI (also known as RTP-MIDI) or ipMIDI via Wi-Fi
- Send the following MIDI events: Program Change, Control Code, Note On/Off or Pitch Bend
- MIDI channel, MIDI note, MIDI control code, MIDI program change can be configured by each pedal and by each bank
- Switch debouncing and analog noise suppression without decreasing responsiveness
- Invert polarity via software
- Individual automatic calibration of expression pedals. Manual fine tuning is not usually requested.
- Transform a linear expression pedal into log expression pedal and vice versa
- Responsive and mobile-first configuration web interface (http://pedalino.local)
- Configuration via IR remote control
- Change bank via IR remote control
- Simulate footswitch push via IR remote control
- Use any spare IR remote control
- Smart Config technology to help users connect to a Wi-Fi network through simple app on a smartphone.
- Firmware update via HTTP (http://pedalino.local/update)
iOS and Android App
The app made with Blynk is on the way. Final version will be released later this year. Here some sneak preview images.
<img src="https://github.com/alf45tar/Pedalino/blob/master/images/ios-live.png" width="280"/> <img src="https://github.com/alf45tar/Pedalino/blob/master/images/ios-bank.png" width="280"/> <img src="https://github.com/alf45tar/Pedalino/blob/master/images/ios-pedal.png" width="280"/>
Bill of materials
- Arduino Mega 2560 R3 or equivalent
- LCD Keypad Shield very popular 16x2 LCD based on the Hitachi HD44780 (or a compatible) chipset
- New Liquid Crystal library
- Bounce2 library
- ResponsiveAnalogRead library
- MD_Menu library
- MD_UISwitch library
- Arduino MIDI library
The rest is not mandatory but it depends of which features you want to support.
-
USB MIDI class-compliant device
- MocoLUFA firmware
-
MIDI IN interface
- 6N137 Single-Channel High Speed Optocoupler (6N138 may works too)
-
WIFI only (Model A)
- Any ESP8266/ESP12 board supported by Arduino core for ESP8266 WiFi chip with a serial interface available. A development board provide direct USB connection and 5V compatibility.
- Tested on ESP8266 ESP-01S 1M WiFi module and YL-46 AMS1117 3.3V Power Supply Module (Arduino 3.3V pin cannot provide enough current for the ESP-01S stable operation)
- Arduino core for ESP8266 WiFi chip
-
WIFI and Bluetooth MIDI (Model B)
- Any ESP32 board supported by Arduino core for ESP32 WiFi chip with a serial interface available (usually Serial2 on standard development board because Serial is connected to USB and Serial1 cannot be connected during reset)
- Tested on DOIT ESP32 DevKit V1 4M dual-mode Wi-Fi and Bluetooth module
- Arduino core for ESP32 WiFi chip
-
AppleMIDI via WIFI
- AppleMIDI for Arduino library
-
OSC via WIFI
- CNMAT OSC for Arduino library
-
Infrared Remote Control
-
Bluetooth Remote Control
- HM-10 (or compatible like HC-08) Bluetooth UART Communication Module
Pedalino™ Breadboard Prototype
MODEL A - WiFi only

MODEL B - WiFi and Bluetooth MIDI

Model A and B use HM-10 Bluetooth LE module to connect the app.
MODEL C - Arduino UNO R3 + ESP8266 - WiFi only
Due to memory limit of Arduino Uno R3 some of the features cannot be supported. We eliminated the superfluous ones and kept the most interesting ones.
- All the interfaces (USB, Bluetooth, WiFi, legacy DIN MIDI IN and MIDI OUT connectors) and protocols (NetworkMIDI, IPMIDI and OSC) are supported
- 5 banks of 8 controllers each
- 3 profiles
- Configuration via web interface only
- No LCD
- No app
- No IR remote control

First prototype

Firmware update
Pedalino is using 2 boards and 3 microcontrollers. All of them need to be flashed with the right firmware before using Pedalino.
Model|Board|Microcontroller|Firmware|Flashing software|Flashing hardware|Instructions -----|-----|-----|-----|-----|-----|----- Both|Arduino Mega 2560|ATmega2560<hr>ATmega16U2|Pedalino<hr>MocoLUFA|Arduino IDE/PlatformIO IDE<hr>Atmel's flip programmer|None|Click here<hr>Click here and here A|ESP-01S 1M|ESP8266|PedalinoESP|Arduino IDE/PlatformIO IDE|Arduino Mega|Click here B|DOIT ESP32 DevKit V1|ESP32|PedalinoESP|Arduino IDE/PlatformIO IDE|None|Click here
Pedal Wiring
Pedalino is designed to work with the majority of expression pedals on the market, but there are a few popular pedal types which are incompatible and need to use adapters in order to work with Pedalino.
There is no recognized standard for footswitch and expression p

