My DIY HUI DAW Controller

GroupDIY Audio Forum

Help Support GroupDIY Audio Forum:

This site may earn a commission from merchant affiliate links, including eBay, Amazon, and others.

bjosephs

Well-known member
Joined
May 10, 2021
Messages
127
Location
Massachusetts
AKA the silliest project I've ever undertaken.

Still not complete, though nearing an end, I started this project in 2016 according to my files. I was enamored with control surfaces in the early 2000s when my recording/production journey started but the high cost and often excessive size prevented me for just buying one. Sometime around 2013 as part of my engineering degree I started to dabble in Arduino programming and after graduation, at some point early in 2016 I stumbled on this thread post that linked to someones painstaking reverse engineering of the protocol. I spent a week's worth of sleepless night drafting my first attempt at a one way implementation to collect status from a session on my computer. It worked well enough.

Over the next few years I picked the project up for maybe 100 hours at a time experimenting with various considerations like PID control of the faders, motor driver circuits that don't whine, what kind of encoders I would use, what type of displays. Oh, and how to process all the user inputs, displays, and USB data reliably - something that ended up with my current implementation which uses 8 atmega chips on an I2C bus managing "modules" and communicating with a 9th microcontroller that handles USB and the scribble displays. I spiraled in that state for a long time but some unexpected time off early this year prompted me to lock in some choices and try to finally bring this to a close. In the time since I began I had purchased many parts. The faders I'm using are now NRND and the encoder cables are obsolete. I bought NOS LED displays because the ones I had my eye on 5 years ago had quadrupled in price.

In comparison, the cost and capability of control surfaces has improved substantially. Surely when done I'll have spent 3 times as much and gotten maybe 80% of the functionality. But I have learned a staggering amount and enjoyed many fantastic "ah ha" moments.

In the next few posts I'll put some pictures of various parts/states of the project and, hopefully, before long I'll have the whole thing done. But I'll link one cool video here as a preview.
 

Attachments

  • IMG_4189.MOV
    28.7 MB
Last edited:
Nice one!

I've been following the same path as you did I can tell that there's nothing better than using my own custom controller in my daily job.

I used the same switches! Are these alps faders. How do they feel? Are they silent enough? I used Bourns faders, they're nit bad, but i wish i could get my hands on some tkd...

Keep on going!
 
Last edited:
I used the same switches! Are these alps faders. How do they feel? Are they silent enough? I used Bourns faders, they're nit bad, but i wish i could get my hands on some tkd...

Keep on going!
Ah yes, the switches. Another part that doubled in price while I procrastinated. They are great though. The faders are Alps "RS" series. They feel great and are very quiet when I keep the PID control values tuned low. They make some noise when the PID is tuned for maximum response. The only criticism I have is that they do have about bit too much side to side play.

 
I'm not sure where to start so I guess I'lll describe the fader modules.

The whole system needed 8 analog inputs for the fader reading, 16 PC interrupts for the encoders to work smoothly, and 16 PWM pins for the motor drivers. It just made sense to put a single Atmega 328 (the same chip at the heart of a standard arduino uno) on each channel to manage that stuff.

I flashed them as arduinos and the code reads the fader position, runs a PID loop, and drives the motor PWM at 31.26kHz while monitoring everything else. The encoder knob is on the PC interrupt pins for fast response. I left TX/RX open and put a header on the back for future updates. The touch pin on the fader is tied to an AT42QT1011 IC that senses capacitive changes. It's the smallest part I've ever installed and I'm glad I started to move in the direction of SMT on my last few projects.

The other pins were for buttons and LEDS but I still managed to come up a couple short so I'm using WS2811 LED drivers when can be driven like shift registers off a single pin for three LEDs each. I needed 5 LEDs for buttons so at the last moment I added a 6th for "signal". I had the code to implement meters but HUI meters aren't very useful with the DAW meters already on screen. But having little white light pulsing to the music helps me find the fader I want.

Because the modules are held to the panel through the fader body I needed very tall buttons... Which don't exist so I bought some stackable headers and put my buttons on a mezzanine PCB. After lot of testing and deliberation I decided that the module would be rigid enough held in place only by the fader screws. I was wrong and the moment of force created when pressing the buttons does cause deflection. So once assembled I have a task to find a way to support the boards a bit more. I have a few ideas.
 

Attachments

  • proto module.jpeg
    proto module.jpeg
    1.5 MB
  • module PCBs.jpeg
    module PCBs.jpeg
    1.4 MB
  • Completed Fader Modules.jpeg
    Completed Fader Modules.jpeg
    1.6 MB

Latest posts

Back
Top