Highly Liquid Forum facebook twitter google plus rss feed
  #1  
Old 02-26-2013, 06:27 AM
JMC JMC is offline
Junior Member
 
Join Date: Oct 2012
Location: Ringsted, Denmark
Posts: 7
Default Foot controller

Hi John!

As we discussed in the Midi CPU thread http://forum.highlyliquid.com/showthread.php?t=980 i'm building a midi foot controller with 18 switches and LEDs.



The midi CPU will drive the switches and the MD24 will drive the LEDs.

I have an idea of how to do the wiring and programming of the Midi CPU but could use some help with the MD24? (By the way it allready arrived so Thanks )
Reply With Quote
  #2  
Old 02-26-2013, 05:03 PM
John's Avatar
John John is offline
Moderator
 
Join Date: Jan 2009
Posts: 3,007
Default

Quote:
Originally Posted by JMC View Post
Hi John!

As we discussed in the Midi CPU thread http://forum.highlyliquid.com/showthread.php?t=980 i'm building a midi foot controller with 18 switches and LEDs.



The midi CPU will drive the switches and the MD24 will drive the LEDs.

I have an idea of how to do the wiring and programming of the Midi CPU but could use some help with the MD24? (By the way it allready arrived so Thanks )
Ok. The new MD24 firmware will make this a bit easier, but since it isn't ready yet, we can get things done by doing the following:

1. Set up the MD24 with v1.3 firwmare to respond to CC messages to control the LED states.

2. Configure the MIDI CPU to send the LED control CC messages at the same time that it sends the program change messages.

With that in mind, for the LED control messaging, you will need to select 3 arbitrary CC #s on an arbitrary MIDI channel. Please choose them so that they won't interfere with any devices downstream from the MIDI CPU and MD24.

For example, CC 125, 126 and 127 on channel 16.

It can be whatever you would like.

Once I have that info, I can tell you how to get both the MIDI CPU and MD24 to work together.
Reply With Quote
  #3  
Old 02-26-2013, 05:36 PM
John's Avatar
John John is offline
Moderator
 
Join Date: Jan 2009
Posts: 3,007
Default

A wiring diagram for connecting the LEDs to the MD24 can be found here:

http://forum.highlyliquid.com/showthread.php?t=997
Reply With Quote
  #4  
Old 02-27-2013, 12:05 PM
JMC JMC is offline
Junior Member
 
Join Date: Oct 2012
Location: Ringsted, Denmark
Posts: 7
Default

Hi John!

I'm sorry but i'm really lost with this programming

I guess CC 125, 126 and 127 on channel 16 is fine?
Reply With Quote
  #5  
Old 02-28-2013, 08:34 PM
John's Avatar
John John is offline
Moderator
 
Join Date: Jan 2009
Posts: 3,007
Default

Ok. As I mentioned before, in the future this will be simpler to set up, but for now, here is the best way to do things.

I am going to provide a MD24 configuration that causes it to control the LEDs as follows:

MD24 outputs 0-5: channel 16, CC #125, value bits 0-5
MD24 outputs 6-11: channel 16, CC #126, value bits 0-5
MD24 outputs 12-17: channel 16, CC #127, value bits 0-5

Then, the MIDI CPU can be set up so that each time it sends a program change message, it also sends the CC mesages shown above to activate the correct LED attached to the MD24.

Here is the MD24 configuration:

Code:
// MD24 MIDI Configuration Header
F0 00 01 5D 03 01

// Outputs 0-5: Bits 0-5 of CC value for CC #125 on channel 16
00 12 10 7D
01 13 10 7D
02 14 10 7D
03 15 10 7D
04 16 10 7D
05 17 10 7D

// Outputs 6-11: Bits 0-5 of CC value for CC #126 on channel 16
06 12 10 7D
07 13 10 7D
08 14 10 7D
09 15 10 7D
0A 16 10 7D
0B 17 10 7D

// Outputs 12-17: Bits 0-5 of CC value for CC #127 on channel 16
0C 12 10 7D
0D 13 10 7D
0E 14 10 7D
0F 15 10 7D
10 16 10 7D
11 17 10 7D

// Footer
F7
Info for sending the sysex message to the MD24 can be found here. The thread is written for the MIDI CPU but applies to the MD24 as well:

http://forum.highlyliquid.com/showthread.php?t=280

Now, I will go to the MIDI CPU thread to add the MIDI CPU configuration to match the MD24 LED control.
Reply With Quote
  #6  
Old 03-01-2013, 06:26 AM
JMC JMC is offline
Junior Member
 
Join Date: Oct 2012
Location: Ringsted, Denmark
Posts: 7
Default

Thanks John!!! I really appreciate all the help! I'll write back once I get everything set up
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:20 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc.