View Full Version : Footswitch: 12 x CC on/off with indicator LEDs (Firmware 1.2+)
Hi John iam lost already sorry mate
what i have is 12 switches and 12 led
how do this
Then switches for rjm rg-16 1 to 8 are on midi Chanel 4 loop number 80 to 87
The rest 4
for triaxis midi Chanel 5 preset
Ok, here's the updated wiring diagram. This will work with MIDI CPU firmware version 1.2+.
For the current limiting resistors, start with 1kohm. If the LEDs are not bright enough, we'll add a couple of NPN transistors to allow larger currents.
http://highlyliquid.com/support/img/midi-cpu/midi-cpu-remco-footswitch.png
I'll post the sysex configuration as a reply.
Ok, here's the sysex configuration.
I'm assuming momentary switches. I can't remember if you have momentary or latching switches--we can easily accomodate either, or a mixture of the two.
The configuration will require two "layers". The sysex for each layer needs to be sent separately. Send one, wait for the MIDI CPU to reset (activity LED pulse), then send the other.
Layer 0: Sends CC messages from switch input, and sets up the LED matrix.
// Fixed Header and Layer 00h
F0 00 01 5D 04 01
00
// CT #0-7: LED Data Output
00 00 2B 00 00 00
01 00 2B 00 00 00
02 00 2B 00 00 00
03 00 2B 00 00 00
04 00 2B 00 00 00
05 00 2B 00 00 00
06 00 2B 00 00 00
07 00 2B 00 00 00
// CT #8, 9: LED Common Output
// Register 11h for channel 4 CCs, register 12h for channel 5 CCs.
// Output Format 02h is common cathode "bit indication"
08 00 2A 00 02 11
09 00 2A 00 02 12
// CT #12-19: CC toggle, 80-87 on channel 4
// Note: CC 80-87 (decimal) = CC 50h - 57h (hex)
0C 00 56 04 50 00
0C 01 7F 00 00 00
0D 00 56 04 51 00
0D 01 7F 00 00 00
0E 00 56 04 52 00
0E 01 7F 00 00 00
0F 00 56 04 53 00
0F 01 7F 00 00 00
10 00 56 04 54 00
10 01 7F 00 00 00
11 00 56 04 55 00
11 01 7F 00 00 00
12 00 56 04 56 00
12 01 7F 00 00 00
13 00 56 04 57 00
13 01 7F 00 00 00
// CT #20-23: CC 0-3 on channel 5
14 00 56 05 00 00
14 01 7F 00 00 00
15 00 56 05 01 00
15 01 7F 00 00 00
16 00 56 05 02 00
16 01 7F 00 00 00
17 00 56 05 03 00
17 01 7F 00 00 00
// Fixed Footer
F7
Layer 1: Allows the switches to control the LED states.
// Fixed Header and Layer 01h
F0 00 01 5D 04 01
01
// CT #12-19: Toggle corresponding LED bit in register 11h.
0C 00 76 00 11 10
0C 01 7F 00 00 00
0D 00 76 00 11 11
0D 01 7F 00 00 00
0E 00 76 00 11 12
0E 01 7F 00 00 00
0F 00 76 00 11 13
0F 01 7F 00 00 00
10 00 76 00 11 14
10 01 7F 00 00 00
11 00 76 00 11 15
11 01 7F 00 00 00
12 00 76 00 11 16
12 01 7F 00 00 00
13 00 76 00 11 17
13 01 7F 00 00 00
// CT #20-23: Toggle corresponding LED bit in register 12h.
14 00 76 00 12 10
14 01 7F 00 00 00
15 00 76 00 12 11
15 01 7F 00 00 00
16 00 76 00 12 12
16 01 7F 00 00 00
17 00 76 00 12 13
17 01 7F 00 00 00
// Fixed Footer
F7
remco
08-06-2010, 01:51 AM
Hi John
i have done the new wiring
and tried to upload the data you send me
but when i send it the cpu does not light up
and the switching nor the lights work
what to do now
Hi John
i have done the new wiring
and tried to upload the data you send me
but when i send it the cpu does not light up
and the switching nor the lights work
what to do now
The LEDs & switches won't work until the MIDI CPU accepts the control terminal configuration.
Since you had so much trouble with the firmware sysex, it seems like there's something flaky with your MIDI interface or with the MIDI wiring. So you might have to try the control terminal configuration several times.
In any case, I'm attaching the same sysex as .syx files for you to use. After you send each file, if successful, the MIDI CPU activity LED will blink once, just like when it is first powered up.
After the sysex is accepted by the MIDI CPU, please send a configuration dump so we can verify the new configuration.
remco
08-07-2010, 02:22 AM
Hi John it looks like it is working what is the code again for the midi configuration
remco
08-07-2010, 02:26 AM
Yep it seems that the the midi on for the rjm is working
ch 4 cc 80 to 87
triaxis does not respond
remco
08-07-2010, 03:11 AM
Hi John i did get this email from the nice people from voodoo labs
Hello, Remco:
Switching between the user presets on the Triaxis requires MIDI Program
Change messages. MIDI Program Change messages are sent by the Ground
Control Pro preset buttons. The Instant Access buttons will send MIDI
Control Change messages only.
may bee this helps
Hi Remco,
Here's the code for program change messages 0-3, channel 5 from CT 20-23.
Since the other control terminals are working, I'm leaving out the rest of the configuration.
Layer 0:
// Fixed Header and Layer 00h
F0 00 01 5D 04 01
00
// CT #20-23: Program Change 0-3 on channel 5
14 00 50 05 00 00
14 01 7F 00 00 00
15 00 50 05 01 00
15 01 7F 00 00 00
16 00 50 05 02 00
16 01 7F 00 00 00
17 00 50 05 03 00
17 01 7F 00 00 00
// Footer
F7
Layer 1:
// Fixed Header and Layer 01h
F0 00 01 5D 04 01
01
// CT #20-23: Set corresponding LED and clear the rest (register 12h)
14 00 74 00 12 01
14 01 7F 00 00 00
15 00 74 00 12 02
15 01 7F 00 00 00
16 00 74 00 12 04
16 01 7F 00 00 00
17 00 74 00 12 08
17 01 7F 00 00 00
// Footer
F7
remco
08-07-2010, 11:26 PM
Hip Hip Hoera it is all working
Thanks for all the support john and the time you put into it i will send the old cpu back to next week ones i have my new rack setup i will send you a photo of the howl rig
Thanks again
Remco sent pictures of this guitar rig and completed MIDI CPU footswitch controller:
http://highlyliquid.com/support/img/midi-cpu/remco-controller1.jpg
http://highlyliquid.com/support/img/midi-cpu/remco-controller2.jpg
Good work!
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.