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 Twitch.tv 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)

Tools


1/8" Drill Bit

1/2" Drill Bit

13.5mm Drill Bit

Center Punch

Thermal Laminator

Printer

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)

MIDI Jack

2 x 220 Ohm Resistors

Jumper Wires

MIDI Cable




Saturday, 30 April 2016

Arduino MIDI Controller: Buttons

Push It!

In this installment of the MIDI for the Arduino Series, we will add Push Buttons to the Midi Controller we started building in the last chapter.

Before You Start

This tutorial will ONLY work with the Arduino UNO. (Please don't ask if it will work on other Arduino models.) I am using some direct port manipulation in the code that is currently specific to the UNO. I'll let you know if this changes in the future.

The Software

To make things simple, I have created a plug and play program that will allow you to customize your controller. All you need to do is tell the software the number of controls you will be using and how these controls should behave and the software will take care of the details. The video explains how to configure the software for your project.

Download the software HERE

Build It!

Watch this video for a step by step guide.

Thursday, 17 March 2016

Arduino MIDI Controller: Potentiometers

Take Control


In this installment of the MIDI for the Arduino series, we will apply the knowledge we have gained from previous chapters and begin the construction of a MIDI controller. This lesson deals specifically with potentiometers. But have no fear, we will cover buttons in the next installment.

Before You Start

This tutorial will ONLY work with the Arduino UNO. (Please don't ask if it will work on other Arduino models.) I am using some direct port manipulation in the code that is currently specific to the UNO. I'll let you know if this changes in the future.

The potentiometers I am using in the video are ALPS RK09L12D0A1W. Other types will work but they may not fit in your breadboard as nicely. You can simply solder some wires to them to make them work. Slide pots (faders) will also work if that's what you're into.

If you are planning to make a permanent version of this circuit, think about how you will mount the potentiometers and the size of knobs you will use before you buy your pots.

Buying An Arduino

As you may have heard, Arduino LLC (the company that created the brand) had a falling out with the manufacturing company that produced the original boards. There are now two entities, Arduino.cc and Arduino.org. Both make their own version of the UNO. The version produced by Adafruit for Arduino.cc is considered to be the official version. The Arduino.org board should also work (although the Arduino IDE may complain a bit when you plug it in).

The Software

To make things simple, I have created a plug and play program that will allow you to customize your controller. All you need to do is tell the software the number of controls you will be using and how these controls should behave and the software will take care of the details. The video explains how to configure the software for your project.

Download the software HERE

Part List (With Amazon links)

Here are the parts you will need to complete this tutorial:

Arduino UNO or Arduino UNO (Official Adafruit Version)

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

Breadboard (63 pin width)

MIDI Jack

2 x 220 Ohm Resistors

Jumper Wires

MIDI Cable

Build It!

Watch this video for a step by step guide.

Wednesday, 30 September 2015

MIDI for the Arduino - Reading MIDI CC Messages

Be a Control Freak


In this installment of the MIDI for the Arduino series, we will look at using MIDI CC messages to control our Arduino board.

Before You Start

If you are new to this series you will first need to build the MIDI Input circuit described HERE.

You will also need to install the Arduino MIDI library as described HERE.

What is MIDI CC?

The 'CC" in MIDI CC stands for Continuous Controller or Control Change. Like everything on the internet, there is much debate over the correct term. I like to think of the physical knob as a Continuous Controller and the data it produces as Control Change messages. Everybody wins!!

See The Light

To demonstrate this topic, we will build up a little LED light show that can be controlled by incoming CC data. Don't be fooled by the simplicity of this project. With the right interface circuit, you could run full size stage lighting using this concept.

Build It

Download the software HERE and upload it to your Arduino. ** NOTE - Make sure you disconnect the wires from your Arduino's RX and TX pins before you send the program. If you don't, you will get an error message and the upload will fail. **

Now watch the video and follow along. Have fun!


Wednesday, 8 July 2015

MIDI for the Arduino - Understanding MIDI Language

Computer Science for Musicians


Have you ever looked at the back pages of a synthesizer manual? It's filled with charts and tables that resemble the markings found on debris from a UFO crash site. But do not despair!

The following video will provide a crash course in Computer Science to help you take control of your Midi device. As a bonus, you can astound your band mates with your new found knowledge of Hexadecimal to Binary number conversions. Enjoy!