Categories
Uncategorized

Simple USB Switching Device

I recently sold a USB controller to a large company and then the Experiential Marketing Team there had a few calls with me about what they wanted to do next, which was build a “very large” controller. I gave them a huge quote (because it would have been a huge project involving custom fabrication) and they eventually got back to me saying they found someone local who would do the fabrication, but wondered if I could still do the programming part of it. I said “Of course!” and we got going…

As we talked through the project I realized that if I just sent them a microcontroller with a bunch of bare wires it may not be the best experience for them, so I offered to build a prototype/testing unit that would be fully functional, and then also provide the “bare wire” version they could install into the custom fabricated unit they were having built.

One of the people asked if they should have a backup in case of failure, and of course that’s always a good idea so I said I would throw in a spare as well.

Projects like this tend to be pretty easy for me. I’ve got my own OpenSCAD library to easily create the enclosure with the holes I need, and I can easily add new holes as needed. I can choose to print the top lid integrated or separately (and attach with hardware) and I tend to do the lid separately now because it means faster printing, less support material, and I can easily iterate when needed.

The electronics for most controllers I build is the same, so if I don’t have code that does what someone wants, it’s fairly simple for me to rewrite existing code to do what is needed. I test things on macOS and Windows for every project, and Linux if that is needed. (It is sometimes, but it’s rare most of the time.)

Anyway, a project like this is actually pretty fun for me, which is why I keep doing them. I can get away with not charging a ton because I have my system down really well to produce what people want.

Categories
Uncategorized

Three Button Tradeshow Video Player Controller

Custom USB Controller for trade show video playback

I was contacted by a trade show company about helping with a project on a tight deadline. At first it seemed as though they had a solution but just needed some hardware or some advice, but I did a call with the software developers and it seemed like the quickest (and most solid) plan was to create a drop-in replacement for what they were working on (and were stuck on) that would do exactly what was required.

Custom USB Controller for trade show video playback

One of the requirements was for each button to be lit a specific amount of time to match the length of video playback for each button. Since we didn’t yet know the lengths of the video, and I had to ship this across the country, I suggested an easy method of setting the time for each button to be lit. This would allow them to dial in (literally) the timing once they had the videos completed.

Custom USB Controller for trade show video playback

We did know that the videos would be under 75 seconds. Just to be safe I set the timers to go up to 90 seconds (1 minute, 30 seconds, to be precise.) The controller plugs into a computer via USB and sends commands that the custom software needs to play the appropriate video.

Cabinet

There are a lot of details I didn’t know, but it seemed like I had enough to do my part. They sent me a rendering of a cabinet the controller would live in (which I’ve replicated in the simple sketch above). When I was building museum exhibits much of my work lived inside of cabinets and was never seen by the public, only technicians… that doesn’t mean things shouldn’t look nice.

Custom USB Controller for trade show video playback

There’s a small OLED display in the controller which shows the time that corresponds to each button, and can be adjusted by the appropriate dial. The dials are 3D printed because I forgot to pocket out the back of the lid where the potentiometers are placed. There’s a few compromises that were made due to this being a rush job. (I completed this build in under a week, using only parts I had in my shop at the time.)

Custom USB Controller for trade show video playback

For other controllers I’ve used TRS jack and cables to connect the buttons, or on occasion, Cat5 cables and connectors. Both are nice because they are easy to obtain in any length, and trade show companies usually have a bunch in their inventory.

Custom USB Controller for trade show video playback

The bottom of the enclosure has four mounting holes, and I included screws to allow it to be attached inside the cabinet. Alternately, VHB or hook & loop could be used to attach it.

As always, if you need a device you can check out raster.etsy.com for some of the more popular stock items I make, but if you need something custom just get in touch.

Categories
Uncategorized

USB Footswitch

I made a USB Footswitch. Someone got in touch with me and wanted a button that could work with QLab and that they could easily trigger with their foot. I designed and printed an enclosure and I made it pretty darn solid. I’ve stood on it and it hasn’t broken yet.

You can find this USB Footswitch on Etsy if you want or need one. It can be programmed to do pretty much anything you could do with a computer keyboard, and it can alternately work as a USB MIDI device. Which, as long as you need only one button, might be useful!

Here’s a shoe for scale. It’s a shoe that belongs to my wife. I asked her if I could borrow a shoe and she didn’t even want to know what I was using it for. Anyway, it shows how you might trigger the button with your foot.

There’s a port for a Micro USB cable, and you’ll get a 6 foot USB cable with it. You could use a 10 or 15 foot cable if you have one, or use a pair of USB over Ethernet if you want to go even further. Maybe your computer is in another room, or another part of the building. Maybe it’s in the control room and you’re in the booth. I don’t know.

Those rubber feet on the bottom should prevent it from sliding around. It’s also fairly heavy for its size, so that should help it from sliding around. Stay put, footswitch!

Here’s a computerized rendering of the device. I model everything I 3D print using OpenSCAD because I love it.

Categories
Uncategorized

A Real USB Knob and Virtual Knobs

Back in 2021 I built this USB controller featuring a rotary encoder that can turn endlessly in both directions. I sell the S1 Controller on Etsy.

Update: There are now two new versions: S1D Controller and S1A Controller.

If it’s programmed as a USB device it can act like a mouse scroll wheel, which I discovered some people love for controlling analog-style knobs on-screen. Typically someone will have a DAW with a bunch of dial in the interface where they can adjust them by putting their mouse pointer over one and then using the mouse scroll wheel. But some people really like the feel of turning an actual know… So we can do that!

With the S1 Controller you just put your mouse over a control and then turn the knob on the S1 Controller and the knob on-screen changes value. Along the way people would ask if the S1 Controller would work with their software, so I made this for people to test things: raster.github.io/knob

Basically if you can control that knob with your mouse scroll wheel, we can program the S1 Controller to work for you. It’s that simple. (I’m a huge fan of simple devices.)

The S1 Controller can also be programmed as a USB MIDI device. Some people use it to control specific parameters in their DAW. Typically we set the knob to output MIDI CC3 (from 0 to 127), and the button to send 127 on CC9. (But we can use any CC number, or noteOn/noteOff, etc. Anything MIDI really.)

I’ve been pleased that so many people have wanted a physical control for an on-screen UI element. As much as we love what computers can do for us and the capabilities they provide, it’s still nice that the analog world (or the desire to emulate it) hasn’t completely disappeared.

(Oh, the code for the virtual knob can be found here: github.com/raster/knob. It uses the JavaScript pure-knob from Andre Plötze)

Categories
Uncategorized

S3 Game Controller

Here’s another custom controller that was requested by someone. They were interested in the S1 Rotary Controller but wanted three knobs, and wanted potentiometers instead of encoders. No problem!

Update: There are now two new versions: S1D Controller and S1A Controller.

The main edit to the S1 was to widen the device to accommodate three knobs instead of one.

Here’s a photo of the device in use that I got from the customer. It’s attached to his larger game controller with some 3M double sided tape and it controls the X,Y,Z axes for the flight simulation game IL-2 Sturmovik.

Enjoy the renders below.