Monday, 8 May 2017

Auduino Synth - 3D Enclosure

In my last LIVE from the Lab Youtube stream, I constructed a temporary breadboard version of the Auduino Synth using an Arduino Nano.

But, this is the kind of project that is so much fun, you will most likely want a permanent version to add to your musical toys. So I decided to create a 3D printable enclosure and transfer the circuit to an Adafruit Perma-Proto board.

Watch the video below to see a live demonstration of the circuit board construction. You can download the Arduino Code, Schematics, and STL files for your 3D printer HERE.

Parts List (With Amazon affiliate links)

5 - 10K Ohm Potentiometers - Linear (P160KNP-0EC15B10K - from Digi-Key)
1 - Adafruit Perma-Proto - Half Size PCB
1 - Arduino Nano (clone version)
1 - 6N138 Optocoupler
1 - 1n914 Diode
1 - 1/4" Phone Jack (Mono)
1 -  5 Pin Midi Jack (Panel Mount)
1 - 2.1mm DC Power Jack
1 - 33nF Polyester Film Capacitor
1 - 100uF 25V Electrolytic Capacitor (Radial)
1- 4 Position DIP Switch
1 - 220 Ohm Resistor
1 - 1K Ohm Resistor
1 - 2.2K Ohm Resistor
1 - 470 Ohm Resistor

Tools used in video

FlashForge Creator Pro - 3D printer
HATCHBOX - ABS Filament (Black)
Hakki FX888D - Soldering Station
Aven 17010 - Circuit Board Holder
22 Gauge - Solid Wire
22 Gauge - Stranded Wire

Auduino Synth build for the Arduino Nano

In my recent LIVE from the Lab Youtube stream, I built up an Auduino Granular Synth using an Arduino Nano and a handful of parts. You can watch the VOD of the session below.

This is a relatively simple (but extremely fun) project that demonstrates how quickly you can build a fully functioning Synth and control it with Midi. **NOTE - This project uses old school 5-Pin Midi only so you will need a Midi interface to connect it to your PC**

Download the code and schematics HERE and follow the video for the complete tutorial. Enjoy!!

Sunday, 22 January 2017

Twitch Switch - Part 4

User Guide

To finish up the Twitch Switch project I am posting a User Guide that shows how to configure the device and set it up in OBS Studio.

The Twitch Switch has a built-in configuration menu system that uses a standard Text Document for communication. To program the Twitch Switch do the following:

1. Open a new Text Document on your desktop. The Twitch Switch will type out the configuration menu in this document.

2. Hold the STEAM, MIC, and PC keys simultaneously for three seconds to enter KEY EDIT MODE. Follow the on-screen instructions to set the Keys and Modifiers (CTRL,SHIFT,ALT). You can set up to two modifier keys per button.

3. Hold the SCENE1, SCENE2, SCENE3, and SCENE4 keys simultaneously for three seconds to enter UTILITY MODE. Here you can set the Debounce Time (this prevents false readings due to contact bounce) and the Delay Time. The Delay Time is used to insert a small pause between the Modifier and the Key press. OBS seems to not register key presses if two keys are pressed at the same time.

Watch the video below for a full demonstration! HAPPY TWITCHING!

Saturday, 21 January 2017

Twitch Switch - Part 3

Load the Code

If you have made it this far you should be admiring your newly constructed Twitch Switch. Now we need to add the brains to this beauty.

First, download the Twitch Switch Software by clicking the link.

Uploading the program to the Teensy LC board at the heart of the Twitch Switch will require two pieces of software:

1 - Arduino IDE: This is the standard software used to program the Adruino family of microcontroller boards. If you are an Arduino user, you probably have this already on your PC. If not, follow the link to visit the website.

2 - Teensyduino Add-On: This is a software add-on for the Arduino IDE that adds the extra functionality needed to program the Teensy series.
NOTE: Check the information on the Teensyduino download page to find the latest supported version of the Arduino IDE. Sometimes it takes a while before new versions are supported so you may need to use an older version of the Arduino software for this to work.

Now, install the Arduino and Teensyduino software and upload the Twitch Switch program. Watch this video for a step by step guide.

Sunday, 27 November 2016

Twitch Switch - Part 2

Construction Ahead

In this instalment of the Twitch Switch project, we will assemble the components and complete the wiring. Check out Part 1 of this project if you haven't already. Once you're up to speed, watch the video below for step by step instructions.

Wire it up!

Here is a handy wiring diagram for your reference. Just follow the numbers and connect the dots. A soldering iron with a sharp tip and a magnifying glass will help you connect the wires to the Teensy-LC (they don't call it a Teensy for nothing).

Thursday, 29 September 2016

Twitch Switch - Part 1

A Switch for your Twitch

I recently started streaming on so I can have some company when I'm working in the lab. Since I'm sitting at a workbench and usually have my hands full, I found it inconvienient to reach for the keyboard and mouse every time I wanted to switch scenes on my stream.

To solve this problem I created the Twitch Switch. This little box functions as a USB keyboard that can send multiple key presses with one button. This makes it really easy to change scenes and camera views in OBS Studio (my streaming software) at any time.

I have found the Twitch Switch to be extremely useful during my live streams so I thought I would share it with you.

Build It

First download the Drill Guide and the Front Panel. Next, watch the video for instructions.

Parts you need

1 x Hammond - 1590BB enclosure (I went with the purple one)

10 x Push Buttons - White

1 x Push Button - Red

1 x Teensy LC

4 x Rubber Feet - Self Adhesive

2 x Wire - 22 Gauge Solid Core

1 x USB cable - Type B (Female - Panel Mount) to Mirco B (Male)


1/8" Drill Bit

1/2" Drill Bit

13.5mm Drill Bit

Center Punch

Thermal Laminator


Photo Paper - Matte

Sunday, 10 July 2016

Arduino MIDI Controller: Multiplexers

More, More, More!!

Over the last couple of tutorials we have been building up a MIDI Controller using a trusty Arduino UNO board. So far, we've learned how to connect buttons and potentiometers to the controller and generally had a lot of fun.

"But Dave!! I want to build a custom controller with a zillion pots and buttons! The UNO only has six measily analog inputs and a handful of digital ports! What can I do????"

Never fear! We can add lots of controls to our project with the help of Multiplexers.

Watch This!

What is a Mux?

A Multiplexer is a chip with multiple inputs that can be individually connected to a single output. By sending different combinations of signals to some control pins, each button or pot connected can be read by a single pin on the Arduino. The video explains this in detail.

We will be looking at two popular multiplexers in this lesson. The first is the 74HC4051 which has 8 inputs. The second is the 74HC4067 which has a impressive 16 inputs.

The Software

The Midi Controller program we have used in previous lessons can handle either type of multiplexer with some simple configuration. The video will show you how. Download the software HERE if you don't have it yet.

Stuff you need (With Amazon links)

Here are the parts you will need to do the experiment:

Arduino UNO or Arduino UNO (Official Adafruit Version)

2 x 10K Potentiometers (Linear taper) - Inexpensive
or model used in video

2 x Push Button Switch

74HC4051 Multiplexer (8 Input)
74HC4067 Multiplexer (16 Input)

Breadboard (63 pin width)


2 x 220 Ohm Resistors

Jumper Wires

MIDI Cable