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 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.