background image

TT MIDI-Switcher - Version 2019

Introduction

The TT MIDI switcher is based on an ATMEGA 16 micro-controller and can be used as 
switching central for channel switching and / or additional functions in guitar and bass 
amplifiers.
The module does not necessarily have to be controlled via MIDI, but can also be operated 
only with foot switches or switches mounted on the front of the amplifier. If a different 
switching behavior than the standard configuration is needed, the use of external switches 
is necessary. 

General overview / inputs and outputs

If the TT-Midi-Switcher is operated with analog footswitches and panel mounted switches, 
the following functions are available.

Footswitch inputs I1 - I4 are for channel switching. These are designed to work with the 
usual cable lengths when footswitches are used. They correspond to the outputs A1 to A4 
and output Z0, which is intended as a mute. Only one output can be active at a time in this 
switching group, all other outputs are switched off automatically as soon as a new 
switching state is initiated. Example: If input I2 is activated, then output A2 is set to ON 
and outputs A1, A3 and A4 are immediately set to ZERO. In addition, output Z0 is set to ON 
before the actual switching. This can be used to achieve a mute function (e.g., with an 
optocoupler which switches the input signal to ground).
The inputs I5-I8 are for additional controls, e.g. panel mount switches on the front panel 
and are assigned to the outputs A5-A8. These inputs have no added circuit to handle 
longer cable lengths and are intended only for the use of control elements directly on the 
amp, so the cable lengths should be kept as short as possible (maximum 0.5 m). The 
purpose of these inputs is to control features like e.g. a "bright" or a "boost" feature. The 
inputs or the assigned outputs work independently of each other. Thus, each of the 
outputs A5 - A8 can be ON or OFF at the same time, or in any possible mixed combination.
The outputs A1-A8 are linked to a power driver ULN2803 (Darlington Transistor Arrays). 
With the ULN2803, a maximum load of 500 mA per output can be controlled. Another 
advantage is the internal wiring of the ULN2803, which makes it possible to control relays 
directly without the need for an additional protection circuitry. Please note: it is always 
switched to ground!

Tube-Town GmbH - www.tube-town.net  - 

Page 3

Summary of Contents for TT-Midi-Switcher

Page 1: ...Midi Switch MIDI Channel Switcher Version 2019 ...

Page 2: ... 6 Controller Change 7 Special functions 7 Programming your own switching states 8 Hints 8 Appendix 1 schematic 9 Appendix 2 basic wiring 10 Appendix 3 Example switching with 5V relays 11 Appendix 4 Example switching with 9 V relays 12 Notes for relay switching 13 Appendix 5 Connection of external switches 14 Tube Town GmbH www tube town net Page 2 AVR ISP ...

Page 3: ... activated then output A2 is set to ON and outputs A1 A3 and A4 are immediately set to ZERO In addition output Z0 is set to ON before the actual switching This can be used to achieve a mute function e g with an optocoupler which switches the input signal to ground The inputs I5 I8 are for additional controls e g panel mount switches on the front panel and are assigned to the outputs A5 A8 These in...

Page 4: ... used 7805 can deliver For higher current and or different voltages the additional power supply must be used It may also be necessary to passively cool the 7805 with a heat sink The second power supply on the main board labeled Extra Power Supply can be used for voltages other than the supply voltage As an example 12 V for the operation of 12 V relays or 9 V for phantom power of a MIDI device It i...

Page 5: ...led LED C1 C2 C3 C4 C10 C20 C30 C40 C101 C102 C103 Oz1 D1 D2 D3 D4 D50 7805 IC1 IC2 IC3 1 kOhm 10 kOhm 220 Ohm 3mm rot 1000 µF 25 V 1000 pF 500 V 100n 50V 47 µF 35 V 100n 63 V 22 pF 100 V 7 372800 MHz 1N4007 LM7805 AVR Atmega 168 PU ULN2803A 6N138 Tube Town GmbH www tube town net Page 5 ...

Page 6: ...ller 88 to A8 To turn on output A6 a CC command must be sent on MIDI channel 1 to the MIDI switcher which addresses the controller 86 and includes a value greater than 64 Conversely a value less than 64 switches the output off Besides the standard ON OFF switching the controllers 89 90 91 and 92 enable a toggle mode The current switching state of the output is simply reversed ON turns OFF and OFF ...

Page 7: ...output A8 if value 64 to ON if value 64 to OFF 89 switches output A5 Toggle value arbitrary 90 switches output A6 Toggle value arbitrary 91 switches output A7 Toggle value arbitrary 92 switches output A8 Toggle value arbitrary Special functions Since firmware 2 2 the following controller change commands are also available by means of which further configurations and settings can be made on the MID...

Page 8: ... controllers i e PC 4 Then set the desired switching states either with external footswitches and front panel controls or via the controller change commands listed above Example A2 to ON A5 and A6 to ON remaining outputs all OFF The configuration is finally saved by pressing the memory key or alternatively by controller change 104 Finished If you want to recall this switching state at a later time...

Page 9: ...TT MIDI Switcher Version 2019 The actual link to the project page can be found on the product page of the article kit midisw Tube Town GmbH www tube town net Page 9 ...

Page 10: ...TT MIDI Switcher Version 2019 Appendix 1 schematic Tube Town GmbH www tube town net Page 10 ...

Page 11: ...TT MIDI Switcher Version 2019 Appendix 2 basic wiring Tube Town GmbH www tube town net Page 11 ...

Page 12: ...TT MIDI Switcher Version 2019 Appendix 3 Example switching with 5V relays Tube Town GmbH www tube town net Page 12 ...

Page 13: ...TT MIDI Switcher Version 2019 Appendix 4 Example switching with 9 V relays Tube Town GmbH www tube town net Page 13 ...

Page 14: ...ge have the same ground reference so both grounds are referenced together This is shown in appendix 4 The relay boards shown on the pictures are not included these can be selected as required Possible boards to use are e g the following articles tbez 010 double relay PCB tbez 020 single relay PCB tbez 057 single relay PCB PCB terminal blocks tbez 059 double relay PCB MAXI PCB terminal blocks tbez ...

Page 15: ...TT MIDI Switcher Version 2019 Appendix 5 Connection of external switches Tube Town GmbH www tube town net Page 15 ...

Reviews: