Hey guys,
Uni break is coming up and I wanted a project to keep me occupied during the day (my only job is DJing woo) so I thought why not learn about electronics and keep programming fresh in my mind?
So I recently re-read the article about making your own MIDI Controller using a Teensy and the Arduino IDE. Now, I thought I'd go balls to the wall here and build a 2 channel rotary mixer to control the software mixer inside of Traktor Pro 2 (the DJ software I use).
I plan on using this as a bit of a build log and notepad to keep track of what I've done/researched/asked but I also wanted everyone's critique on my method because I don't have too much experience making something like this. (I've done a couple of small electronic kits in the past but nothing this crazy)
----------------------- Right now, none of this is final -----------------------
Elements of the controller
4 VU Meters - one per channel to see pre-fader gain levels and 2 for L+R Master levels (I'm thinking PWM filtering for these?)
15 pots - 6 per channel (volume, gain, HP/LP combo filter, high EQ, mid EQ, low EQ) + 1 for master volume, 1 for headphone level, 1 for headphone cue/master mix
4 buttons + LEDs - for headphone cue and filter on/off
Parts List
Rough Plan
So I'll be using the Teensy as the base of this project. The makers of the Teensy board provide addons to the Arduino IDE that allow you to upload sketches to the Teensy and more importantly, use the Teensy as a USB MIDI device.
As far as inputs go, there will be 15 pots and 4 buttons. There are 20 pins on the Teensy that are analogRead capable, 15 of which will have the pots connected to. The 4 buttons will be connected to 4 of the digitalRead capable pins.
To output information to the LED VU Meters, I had the idea to use a PWM output which gets passed through a low pass filter to send the value to each meter. There's a section below outlining my thoughts on this.
Would it be worth printing a circuit board to assemble everything onto or would the Teensy be enough? I plan on having everything mounted on the top plate of the chassis, not mounted on a PCB.
I'm not 100% sure on what I'll make the case from. Part of me wants to go with acrylic so you can see the guts but the other part of me wants to make it look legit by using wood.
I've been thinking about also getting a 4 channel sound card (Something like an NI Traktor Audio 2) and chucking a little USB hub and audio extension cables in the case to make this a more well rounded bit of gear.
PWM Output and Filtering
After researching what voltages VU meters run at, I've found that 4dBu is equal to 1.228v (probably the max value I'd display, not sure if I'd go to +10 or not. Depends on if I get an all in one solution and what that displays). Traktor sends out values between 0-127. Assuming the Teensy is supplying 3.3v to each PWM output, the maximum duty cycle to achieve the 1.228v would be ~53%. If I cap the PWM output value to 67 (roughly 53% of 127) by multiplying the number sent to it by 0.53 and pass that through the LP filter, am I correct in thinking that it would give me a maximum voltage of ~1.228? (If it's being fed with 5v, change the multiplier to 0.245). In all reality, I won't need that much resolution for the output because I'll probably go with 10 segment VU meters. The most important part is the update time of the meters. I don't want them updating once every second, a 0.1s update time would probably be the quickest I'd need.
Also, I just wanted to check if the values for the resistors and caps I've chosen for the filter are correct. (1k ohm and 10uF with a PWM frequency of over 10kHz).
More info and some drawings will come pretty soon, I'd love to hear everyone's questions and input. I've most definitely left things out at this stage so I'm happy to clarify if you'd like.
--- This has also been posted on the OCAU Forums here ---
--- 14/6 Update here http://forum.djtechtools.com/showthr...l=1#post746279
--- 16/6 update here http://forum.djtechtools.com/showthr...l=1#post746399
Bookmarks