
Dodepan: Lo-Fi Raspberry Pi Pico Music Creator
The dodepan is a hexagonal formed lo-fi musical instrument. from TuriSc It’s powered by our favourite microcontroller, the Raspberry Pi Pico. Utilizing twelve inputs and a sensor, this unassuming instrument creates lo-fi beats for rest and turns into a MIDI instrument.
The Dodepan venture makes use of 12 capacitive touchpads linked to an MPR121 capacitive contact module as enter, and TuriSc says “the bottom word it might produce is C2 (Midi quantity 36), highest D8 (Midi quantity 110)”. Its chromatic vary is 75 notes.” The important thing might be modified utilizing one button together with one in all 16 scales on one other button. There might be as much as six simultaneous voices (polyphonic) and every of the inputs is assigned a word based mostly on the present scale and key. What does this imply? In brief, it might make music from varied beeps and tones.
Music is all about expression, so generally performers use motion to alter the word in play – think about guitarists making a buzzing sound by shaking the neck of the guitar. With Dodepan, TuriSc has integrated an MPU-6050 Inertial Measurement Unit (IMU) into the unit to transform contact depth into velocity information. This information is then used to alter the quantity of the notes. The IMU additionally offers accelerometer information used to carry out pitch bending. A built-in Li-ion battery is powered through a TP4056 (a linear charger for single-cell lithium-ion), an element generally out there for pennies on Aliexpress.
Raspberry Pi Pico is the core of Dodepan. It takes all the information (inputs, buttons, IMU) and shows the information through LEDs and makes use of Pulse Width Modulation (PWM) to generate the sound. That is then fed into an analog circuit for additional processing earlier than reaching a PAM8403 amplifier and loudspeaker. If you wish to hearken to music in your commute, placed on headphones and switch in your music.
The Dodepan isn’t just a one-numbered pony. It will also be used as a MIDI enter by sending information to appropriate functions utilizing the usual MIDI format. The code that holds this venture collectively is written in C.
You’ll be able to create your personal model of this nice venture as TuriSc paperwork the construction, the Invoice of Supplies (BoM) and the code on it. GitHub repository.
#Dodepan #LoFi #Raspberry #Pico #Music #Creator