Jump to content


Photo
- - - - -

6x6 Midi Router CORE_LPC17 based


  • Please log in to reply
25 replies to this topic

#1 Ripper

Ripper

    MIDIbox Newbie

  • Members
  • Pip
  • 25 posts

Posted 24 April 2012 - 11:50

Hi my friends.

I'm fresh meat on this electronic circuitry planning thing, so noob doubts are something that I have A LOT. (not an issue for me to solder or etch a pcb if I have the final project file though, just fixed two old midi mergers this month, lol)

I've been reading some things here and at the uccaps.de fabulous pages, and would like to do someting like a 5 In 1/2 out Midi Merger.

So, the question is: May I do it without having to go for the router project? How?
It's not that I think I couldn't build the Router, but more a question of going for the cheaper option. I admit I don't have a clue of where to start or which is the cheaper way of doing this.

I suppose that the midi router would be the answer, but the cost is something that counts a lot here.

By the way, C programming is not my land, I'm an SQL guy. Obviously I thing I can tweak some things in C if I'm guided on the right direction.

Please, appologise the noob here for this one, but believe me, I am reading on a daily basis on this, and can't see an alternative for this without being the midi router.

Best regards.

Edited by Ripper, 26 April 2012 - 19:04.


#2 TK.

TK.

    MIDIbox Guru

  • Administrators
  • 12,450 posts
  • LocationGermany

Posted 25 April 2012 - 23:28

Today, with the MBHP_CORE_LPC17 core, it's probably better to create a MIDI merger based on MIOS32, especially since you will get USB-MIDI (and even OSC via Ethernet for wireless transfers) for free!

E.g. have a look into the MIDI 4x4 application: http://svnmios.midib...c/usb_midi_4x4/

The APP_MIDI_NotifyPackage() function in app.c routes the MIDI events, even for a SQL guy it should be obvious what has to be changed to route all inputs to a single output, no? ;-)

Best Regards, Thorsten.
Posted Image Buy TK a Beer Disclaimer: buying TK a beer gets you absolutely nothing in return likesuchas firmware enhancements, technical advices and MIDIbox troubleshooting assistance.

#3 Ripper

Ripper

    MIDIbox Newbie

  • Members
  • Pip
  • 25 posts

Posted 26 April 2012 - 11:14

Today, with the MBHP_CORE_LPC17 core, it's probably better to create a MIDI merger based on MIOS32, especially since you will get USB-MIDI (and even OSC via Ethernet for wireless transfers) for free!

E.g. have a look into the MIDI 4x4 application: http://svnmios.midib...c/usb_midi_4x4/

The APP_MIDI_NotifyPackage() function in app.c routes the MIDI events, even for a SQL guy it should be obvious what has to be changed to route all inputs to a single output, no? ;-)

Best Regards, Thorsten.


Thanks TK

To be absolutely honest I was already convinced that the way would be the midi router project. As such, I've been reading on it and doing my maths (AKA €, lol) with your part lists help ;)

Now, with this CORE_LPC17 of yours you messed all my plans, hehe.
Have to start everything again and see if I really have the needed courage to do a 2 side PCB etching AND figure the right approach to the "periferal" MBHP boards I should need to "convert" from your original Core V_3 Midi Router project to the new CORE_LPC17.
About the MIOS, it looks easier than I thought, althought I'm aware that the doubts on these things only appear when you really put your hands on it.

Obviously, If I'm going for "some" changes (for me, as a noob, any change to the original is a headache) from the base project, I will try to get the most out of it.

That being sad, I am considering a 6x6 routing approuch, so that I wouldn't need the ESI M8U Midi Interface, the midi mergers and to change cables everytime I need to sysex the synths anymore.

My encyclopaedia of doubts will come up to this thread as far as i'm reading more on the CORE_LPC17 thing.

Once again, a big thanks from Portugal to TK.

Cheers,
Joao

#4 Ripper

Ripper

    MIDIbox Newbie

  • Members
  • Pip
  • 25 posts

Posted 26 April 2012 - 12:31

I'm sold: CORE_LPC17 will be. :)

Let's read, read, restart. Then, ask midibox fellows, haha!

#5 Ripper

Ripper

    MIDIbox Newbie

  • Members
  • Pip
  • 25 posts

Posted 26 April 2012 - 17:10

First 2 doubts (Those noobs...:( ):

1- As far as I can understand midi in/out3 goes to J5b and midi in/out4 goes to J4b. In the extensions example there is no "J2" for slave chaining as it does on the IIC modules schematics. How should I "chain" the 2 extra in/outs I need? (I need 6)

2- J5a/b should be enough for direct connection for the 6 buttons and 1 knob, or do I have to shut up and keep on reading (herm... I know i must)?

Thanks for the answers you may give to me!

Edited by Ripper, 26 April 2012 - 18:50.


#6 Ripper

Ripper

    MIDIbox Newbie

  • Members
  • Pip
  • 25 posts

Posted 26 April 2012 - 18:51

As I do my reading I think the answer to my doubt 1 is called J4A, am I right? (using IIC Midi Modules, of course)

Obviously I wouldn't mind if I could use the "no PIC" option, used in J4b and J5b, but I thing I'm putting my feet on moving sand! :)

Edited by Ripper, 07 June 2012 - 14:21.


#7 TK.

TK.

    MIDIbox Guru

  • Administrators
  • 12,450 posts
  • LocationGermany

Posted 26 April 2012 - 23:23

Yes, J4A is free for IIC accesses.

Handling the IIC_MIDI interface requires a bit more code, see this test app: http://svnmios.midib...iic_midi_check/
The RI signals if the IIC_MIDI modules have to be connected to J10.D0..3 (see the LPC17 configuration in mios32_config.h)

Best Regards, Thorsten.
Posted Image Buy TK a Beer Disclaimer: buying TK a beer gets you absolutely nothing in return likesuchas firmware enhancements, technical advices and MIDIbox troubleshooting assistance.

#8 Ripper

Ripper

    MIDIbox Newbie

  • Members
  • Pip
  • 25 posts

Posted 27 April 2012 - 09:18

Thanks TK, I'll study that!

Now, let's do my maths to buy the parts for the beast.

#9 Ripper

Ripper

    MIDIbox Newbie

  • Members
  • Pip
  • 25 posts

Posted 01 May 2012 - 15:29

Hi guys,
How can I connect the extra usb ports? I mean: On the LPC core's PCB.

Is this ALPS STEC12E encoder, 24/24, vert, MT encoder good for the LCD control of the Midi Router? http://www.reichelt....cb567cc7d8aeaf6

Just ordered some of the parts (LPCXpresso, LPC_core17 Pcb and IIC pcb). Would like to order the rest from Reichelt, but have this doubt on the encoder.

Best regards,
Joao

#10 TK.

TK.

    MIDIbox Guru

  • Administrators
  • 12,450 posts
  • LocationGermany

Posted 01 May 2012 - 18:30

There is only a single USB port, it will open multiple MIDI interfaces on your PC.
If you are working on a Mac, and if you downloaded another application before which only specified a single MIDI IO port, you have to remove the old config from the Audio/MIDI Configuration, and re-power the core to get all 4 interfaces.

Yes, ALPS STEC12E will work.

Best Regards, Thorsten.
Posted Image Buy TK a Beer Disclaimer: buying TK a beer gets you absolutely nothing in return likesuchas firmware enhancements, technical advices and MIDIbox troubleshooting assistance.

#11 Ripper

Ripper

    MIDIbox Newbie

  • Members
  • Pip
  • 25 posts

Posted 01 May 2012 - 18:51

Thanks TK,

Best regards,
Joao

#12 Ripper

Ripper

    MIDIbox Newbie

  • Members
  • Pip
  • 25 posts

Posted 21 May 2012 - 16:58

Hi guys, Just to inform you that this project is not forgotten or the forum is ignored.
I've been collecting the parts I need for the project. Already have Pcb's, NXP LPC1769 and the LCD. Next month will be the rest.

Still searching for the way to go for the enclosure, but probably it will be something like an old vcr enclosure or similar. In time it could be changed for a more deserved one.

A big thank you for this great community and all the knowledge that TK and all the other mages share with us, mere noobs.

Best regards,
Joao

#13 Ripper

Ripper

    MIDIbox Newbie

  • Members
  • Pip
  • 25 posts

Posted 25 May 2012 - 11:16

The noob is back.

Can someone tell me if i can use these function keys for the router? http://www.reichelt....6b8da9822583924

Edited by Ripper, 25 May 2012 - 13:36.


#14 Hawkeye

Hawkeye

    MIDIbox Guru

  • Frequent Writer
  • PipPipPipPip
  • 1,435 posts
  • LocationGermany, Munich

Posted 25 May 2012 - 11:49

Yes, these tactile switches will work :-)

#15 Ripper

Ripper

    MIDIbox Newbie

  • Members
  • Pip
  • 25 posts

Posted 25 May 2012 - 11:52

Yes, these tactile switches will work :-)


Thanks Hawkeye ;)

#16 Zossen

Zossen

    MIDIbox Newbie

  • Members
  • Pip
  • 79 posts
  • LocationGermany

Posted 25 May 2012 - 17:03

for the eclosure : you can make the faceplate and the case easy from Acryl and MDF


- just make the plate with "Frontplattendesigner" export it to .dxf
- open that in "Inkscape" ,
- correct the mistakes, corners and lines , make the changes to 0,01 mm line and RGB-color B255 (for Lasercut the lines you have drawn)
- save as .svg and send it to Formulor/Ponoko :)

( you can engrave text and later fill it with color or use transparent Acryl and make the text behind the "glas" )

Edited by Zossen, 09 June 2012 - 01:41.


#17 Ripper

Ripper

    MIDIbox Newbie

  • Members
  • Pip
  • 25 posts

Posted 25 May 2012 - 19:55

for the eclosure : you can make the faceplate and the ease from Acryl and MDF at Formulor.de


- just make the plate with "Frontplattendesigner" export it to .dxf
- open that in "Inkscape" ,
- correct the mistakes, corners and lines , make the changes to 0,01 mm line and RGB-color B255 (for Lasercut the lines you have drawn)
- save as .svg and send it to Formulor :)

( you can engrave text and later fill it with color or use transparent Acryl and make the text behind the "glas"
but i still have not found out how to convert text :question: )


I'll consider your advice, Zossen. :hug:

Thanks

#18 Ripper

Ripper

    MIDIbox Newbie

  • Members
  • Pip
  • 25 posts

Posted 29 May 2012 - 14:12

Hi my friends.
While i'm waiting for the rest of the parts to come, i'm reading and doing the work I can with the parts I already have with me.
So, to start I'm trying to flash the bootloader for the lpc17, by following the tutorial in uccaps.de. The problem is that the LED on the LPCXpresso doesn't change from 2 to 3 flashes after I disconnect the usb cable and reconnect it.

What am I missing?

#19 Ripper

Ripper

    MIDIbox Newbie

  • Members
  • Pip
  • 25 posts

Posted 29 May 2012 - 14:43

Forget that. :thumbsup:

Just flashed it again with no fuzz now: 3 beautifull fadings + 1 off + continuous on.

Go figure.

I'm good (lol) :super:

#20 TK.

TK.

    MIDIbox Guru

  • Administrators
  • 12,450 posts
  • LocationGermany

Posted 29 May 2012 - 21:00

Fine! :thumbsup:

Best Regards, Thorsten.
Posted Image Buy TK a Beer Disclaimer: buying TK a beer gets you absolutely nothing in return likesuchas firmware enhancements, technical advices and MIDIbox troubleshooting assistance.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users