KUI

midibox_mm_v3

32 posts in this topic

Hi All,

Presently playing with the midibox mm v3. Wondering if it is possible to spread the display over 2 2x40 clcd displays?

Any hints or tips would be appreciated for modifying mm_lcd.c.

Thanks

KUI

Share this post


Link to post
Share on other sites

Hi,

just update your svn repository, open mm_lcd.c and enable the USE_TWO_LCDS option in the header! :)

Best Regards, Thorsten.

Share this post


Link to post
Share on other sites

Hi Thorsten

Thanks for the update. I have a small problem with lcd 2. Attached are 2 pics. One of LCD 1 and one of LCD 2.

post-8647-0-81228200-1346365287_thumb.jppost-8647-0-30246700-1346365312_thumb.jp

Not quite sure where to look.

KUI

Share this post


Link to post
Share on other sites

How does it look like if the USE_TWO_LCDS option is disabled?

And are you able to provide me the SysEx strings which have been sent by the host application to reproduce this?

(e.g. if you are working under MacOS, use the snoize MIDI monitor with a "spy" MIDI Out)

Best Regards, Thorsten.

Share this post


Link to post
Share on other sites

Also Here are pics of the new update with 1 lcd selected and the previous mm_lcd.c

post-8647-0-57895200-1346372277_thumb.jp

post-8647-0-16867200-1346372297_thumb.jp

KUI

Sorry for the upside down pic.

post-8647-0-35191200-1346372538_thumb.jp

KUI

Share this post


Link to post
Share on other sites

Hello KUI

Im doing the same for SAC at the moment. Maybe we can work together...?

How much channel numbers are you planing? And do you want to integrate the EQ as well? I already have a solution i can provide if you are interested...

And I asked TK if he wold provide the MM emulation in CH2 and CH3 as well so it can get a 24CH as SAC maximum is...

Have a look here if you speak German: www.vlr-projekte.blogspot.com

Best regards

novski

Share this post


Link to post
Share on other sites

Hello KUI

Im doing the same for SAC at the moment. Maybe we can work together...?

How much channel numbers are you planing? And do you want to integrate the EQ as well? I already have a solution i can provide if you are interested...

And I asked TK if he wold provide the MM emulation in CH2 and CH3 as well so it can get a 24CH as SAC maximum is...

Have a look here if you speak German: www.vlr-projekte.blogspot.com

Best regards

novski

Hi Novski,

I am only looking for scribble strips and faders. All other functions are controlled by mouse and touch.

I have already built a 32 fader controller based on 4 bcf2000.

post-8647-0-99378800-1346421201_thumb.jp

The bcf2000's work well, but are too loud when they all land together after changing mixers.

I have 40 channels worth of mbmf-ng boards built.

I am hoping to use ssd1306 oleds for display.

This is a large learning curve.

KUI

Share this post


Link to post
Share on other sites

Sounds interesting.

And you are right, the Behringer are to loud for conference or singer song writer stuff. I want to eliminate mine as soon as possible.

I mostly only use the CH1 Fader (because mine are not so nice aligned as yours and i always grab the false fader) and now I'm trying to get access to all parameters of the Hot Channel as well...

I use a Electronic assembly 2x16 OLED Display. Mostly because it is supported... :smile:

good luck!

novski

Share this post


Link to post
Share on other sites

Sounds interesting.

And you are right, the Behringer are to loud for conference or singer song writer stuff. I want to eliminate mine as soon as possible.

I mostly only use the CH1 Fader (because mine are not so nice aligned as yours and i always grab the false fader) and now I'm trying to get access to all parameters of the Hot Channel as well...

I use a Electronic assembly 2x16 OLED Display. Mostly because it is supported... :smile:

good luck!

novski

A selected chanel module holds much interest to me. I noticed you had an OSC data connetion in your plan.

Do you know how write/format osc data.

I am trying to get BobL to add an OSC control template to SAC. He has to learn the format and particulars.

KUI

Share this post


Link to post
Share on other sites

yes if you use a LPC17 Core you are able to Control over Ethernet with OSC Gear. But i didn't look at that until now. I just thought about it for a advanced feature. The good thing is, that its possible to connect over midi after implementing it in software of Midibox... So there is no need of BobL...

You write you have 40Ch of MBMF_NG. How do you want to connect those 40 Faders with SAC? I thought that there is a limit of 32 with the Behringer and with MotorMix it is 24 as well as Mackie with 8+1... I don't know about a Template that provides 40CH...

Best regards

novski

Share this post


Link to post
Share on other sites

Alright, I fixed this - please update the repository.

Later today I will overwork the LCD handling again, it's too cumbersome and error-prone as you noticed.

Instead I will generalize the "buffered LCD" method which I implemented for MBSEQ.

This method has also the advantage, that characters are only transfered to the LCD when they have been changed to increase the performance (especially important when GLCDs are used)

OSC: the uip_task_standard module is already included. Once you know the OSC packets which are sent/received by the host, I can enhance the osc_server/osc_client accordingly.

Best Regards, Thorsten.

Share this post


Link to post
Share on other sites

yes if you use a LPC17 Core you are able to Control over Ethernet with OSC Gear. But i didn't look at that until now. I just thought about it for a advanced feature. The good thing is, that its possible to connect over midi after implementing it in software of Midibox... So there is no need of BobL...

You write you have 40Ch of MBMF_NG. How do you want to connect those 40 Faders with SAC? I thought that there is a limit of 32 with the Behringer and with MotorMix it is 24 as well as Mackie with 8+1... I don't know about a Template that provides 40CH...

Best regards

novski

novski,

I only meant that I have 40chs of mbmf-ng built.

2-16 ch 21" lcdtouch screens will carry 32 channels of the Zmixer in SAC

Thorsten,

Thanks that did it:)

KUI

Share this post


Link to post
Share on other sites

Here are the results , thanks.

post-8647-0-14086700-1346527306_thumb.jp

I am trying to build MMV3 on Midi ch 2. No luck changing the mm ch in mm_hwcfg.c

/////////////////////////////////////////////////////////////////////////////

// define the MIDI channel to which this MM listens and transmits here:

// (Allowed values: 1-16)

/////////////////////////////////////////////////////////////////////////////

u8 mm_hwcfg_midi_channel = 1;

Is this the proper place to change the device midi ch?

Thanks

KUI

Share this post


Link to post
Share on other sites

I updated the firmware for the new BUFLCD driver (the complete repository has to be updated).

You shouldn't really notice a difference - but in future it will be much easier to spread the message over more than 2 LCDs (e.g. 4 2x20 LCDs)

To the MIDI channel situation (Apple wording): mm_hwcfg_midi_channel only sets the MIDI channel for buttons and encoders.

For motorfaders you need an MBHP_MF_NG update which hasn't been released yet.

@novski: is the preliminary MBHP_MF_NG release working at your side?

Best Regards, Thorsten.

Share this post


Link to post
Share on other sites

I updated the firmware for the new BUFLCD driver (the complete repository has to be updated).

You shouldn't really notice a difference - but in future it will be much easier to spread the message over more than 2 LCDs (e.g. 4 2x20 LCDs)

To the MIDI channel situation (Apple wording): mm_hwcfg_midi_channel only sets the MIDI channel for buttons and encoders.

For motorfaders you need an MBHP_MF_NG update which hasn't been released yet.

@novski: is the preliminary MBHP_MF_NG release working at your side?

Best Regards, Thorsten.

Thank you I will update and report.

As to the midi channel, I understand the MBHP_NG update is needed. What about the displays on midi ch 2 ,3 etc?

Thanks in advance

KUI

Share this post


Link to post
Share on other sites

Hi TK.

Im busy right now and can't test at least until next Weekend.

@KUI

Maybe you want to test is Manual as TK mentioned he sent me a describtion about how to make the direct Hex files for CH2 and CH3.

I translated it:

Load the new firmware under: http://www.ucapps.de/mbhp/mbhp_mf_ng_v1_003.zip

As the configuration over MIOS Studio is not finished you have to make your .hex File for the CH2 and CH3 by your own.

Thats pretty easy: go to File src/mf_presets.inc and change this line:

db 0x00, 0x00 ; MIDI channel (0..15), reserved

to:

db 0x01, 0x00 ; MIDI channel (0..15), reserved

for the Core of CH3:

db 0x02, 0x00 ; MIDI channel (0..15), reserved

Then execute:

gpasm -p p18f452 -I./src -I ./include/asm -I ./include/share -I ./modules/app_lcd/dummy setup_mbhp_mf_ng_standard.asm

You have to assemble the code and load it to the right core in the chain...

"gpasm" is available under: http://gputils.sourceforge.net

I hope i translated right.

best regards

novski

Share this post


Link to post
Share on other sites

Hi TK.

Im busy right now and can't test at least until next Weekend.

@KUI

Maybe you want to test is Manual as TK mentioned he sent me a describtion about how to make the direct Hex files for CH2 and CH3.

I translated it:

Load the new firmware under: http://www.ucapps.de/mbhp/mbhp_mf_ng_v1_003.zip

As the configuration over MIOS Studio is not finished you have to make your .hex File for the CH2 and CH3 by your own.

Thats pretty easy: go to File src/mf_presets.inc and change this line:

db 0x00, 0x00 ; MIDI channel (0..15), reserved

to:

db 0x01, 0x00 ; MIDI channel (0..15), reserved

for the Core of CH3:

db 0x02, 0x00 ; MIDI channel (0..15), reserved

Then execute:

gpasm -p p18f452 -I./src -I ./include/asm -I ./include/share -I ./modules/app_lcd/dummy setup_mbhp_mf_ng_standard.asm

You have to assemble the code and load it to the right core in the chain...

"gpasm" is available under: http://gputils.sourceforge.net

I hope i translated right.

best regards

novski

Thanks novski,

I got 2 working.

You also have to change

MF_PRESETS_CFG db 0x08, 0x00 ; number of faders / operation mode

To db 0x08, 0x19 ; number of faders / operation mode

TK,

The BUFLCD version seems to be working fine.

I have attached a working set of SAC .syx files for the bcf2000.

Would it be possible to intergrate them into the mbhp_mf_ng?

MidiCtrl_Behringer_BCF2000_Preset.zip

Thanks for everything.

KUI

Share this post


Link to post
Share on other sites

Thosten,

I am starting to dive into OSC.

"OSC: the uip_task_standard module is already included. Once you know the OSC packets which are sent/received by the host, I can enhance the osc_server/osc_client accordingly."

Do lc_v2 and mm_v3 already respond to OSC commands? If so is there a list of the commands ie:[ /pitch/1 value, /pitch/2 value ], etc?

Thanks

KUI

Share this post


Link to post
Share on other sites

Yes, various protocols are already supported.

A list can be found at the end of this page: http://www.ucapps.de/midio128.html

(still haven't found the time to create a generic description... most MIOS32 apps use the standard OSC client/server meanwhile)

The protocol can be configured in the MIOS terminal (type 'help' for available commands) for port OSC1..OSC4

You could use the MIDI router (configurable in the terminal as well), to forward incoming and outgoing motorfader events from IN4->OSC1 and OSC1->OUT4

(assumed that your MBHP_MF_NG module is connected to J4B, for J5A connections use IN3/OUT3)

Btw.: if you are working on a Mac, you could even transport SysEx messages via OSC by using the osc_midi_proxy: http://svnmios.midibox.org/listing.php?repname=svn.mios32&path=%2Ftrunk%2Ftools%2Fosc_midi_proxy%2F

Best Regards, Thorsten.

Share this post


Link to post
Share on other sites

Yes, various protocols are already supported.

A list can be found at the end of this page: http://www.ucapps.de/midio128.html

(still haven't found the time to create a generic description... most MIOS32 apps use the standard OSC client/server meanwhile)

The protocol can be configured in the MIOS terminal (type 'help' for available commands) for port OSC1..OSC4

You could use the MIDI router (configurable in the terminal as well), to forward incoming and outgoing motorfader events from IN4->OSC1 and OSC1->OUT4

(assumed that your MBHP_MF_NG module is connected to J4B, for J5A connections use IN3/OUT3)

Btw.: if you are working on a Mac, you could even transport SysEx messages via OSC by using the osc_midi_proxy: http://svnmios.midibox.org/listing.php?repname=svn.mios32&path=%2Ftrunk%2Ftools%2Fosc_midi_proxy%2F

Best Regards, Thorsten.

So I was able to get the mbmf-ng through the core to output OSC data and move 8 faders on an Ipad running touchOSC.

I was NOT able to get the TouchOSC on the Ipad to move the faders.

I can see the osc data when connected to the MiosStudio OSC tool.

I can not get them to move when inputing OSC code fron the MiosStudio OSC tool.

I can move the TouchOSC faderss using the Mios OSC tool.

Any thoughts?

Share this post


Link to post
Share on other sites

Have stopped working on OSC right now.

I am working on 8 ssd 1306 displays.

I cannot get the 7th and 8th display to work with the SSD1306 test.

post-8647-0-23689200-1347658137_thumb.jp

Looking on how to get the LC and the MM display on eight ssd 1306's

Thanks in advance for any help.

KUI

Share this post


Link to post
Share on other sites

First swap the displays around to make sure it's not the displays' fault. Then I would look at/continuity test the PCB for obvious mistakes. I assume you are using an official display driver? Check the Readme how many displays are actually supported.

Share this post


Link to post
Share on other sites

Still haven't found the time to check the proposed OSC configuration at my side... :-(

To the display issue: I never tested more than 5 CS lines... (and everything which hasn't been tested usually doesn't work ;-))

However, on a first look the driver looks ok and uncritical regarding the number of supported CS lines (up to 8 are available).

What happens if you swap the CS lines of a "working" and "not working" LCD?

Best Regards, Thorsten.

Share this post


Link to post
Share on other sites

Still haven't found the time to check the proposed OSC configuration at my side... :-(

To the display issue: I never tested more than 5 CS lines... (and everything which hasn't been tested usually doesn't work ;-))

However, on a first look the driver looks ok and uncritical regarding the number of supported CS lines (up to 8 are available).

What happens if you swap the CS lines of a "working" and "not working" LCD?

Best Regards, Thorsten.

So I got all 8 displays to work. There appears to be a mistake on the lcp17 core board. IC2 pin 7 (also the 8th cs line) is connected to both j15a&b pin 14 and p1.19 of the expresso module, this is usb ppwr. This coonection makes the 7th cs pin high. I broke the trace on my core board bottom side between IC2 pin7 and p1.19. Now the eight SSD1306 works.

post-8647-0-12024200-1348327954_thumb.jp

Now to spread the mmv3 and LCv2 over thesee nice displays.

KUI

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now