USB-Midi Component

Post here to discuss any new features, components, chips, etc, that you would like to see in Flowcode.
Post Reply
simon-sandtcontrols
Posts: 43
http://meble-kuchenne.info.pl
Joined: Sun Mar 21, 2021 3:56 pm
Has thanked: 5 times
Been thanked: 7 times

USB-Midi Component

Post by simon-sandtcontrols »

Hi,
I have just gone to use the USB-Midi component with a PIC16F1459 and it wouldn't compile! I then read the description properly and it says only 16Bit PIC's supported currently. I read this as if it may be intended to open this up to the 8 Bit families of PIC at some point, is this correct, please?

If so, do you have any ETA on this please, I have a simple project that I need 1 input and 1 output to control / be controlled via a Midi interface and I have just looked the 16 bit PIC with a USB controller on board all have upward of 60 pins, a bit of a sledge hammer to crack a nut!!

Many Thanks.

Simon.

simon-sandtcontrols
Posts: 43
Joined: Sun Mar 21, 2021 3:56 pm
Has thanked: 5 times
Been thanked: 7 times

Re: USB-Midi Component

Post by simon-sandtcontrols »

Hi Ben and team,

Sorry to be a pest, but Is this an awkward request? I have looked at the source code of the component to see if it's something I could do and it looks like there are some .dll files called. This is where I got a bit lost.

Many Thanks.

Simon

BenR
Matrix Staff
Posts: 1950
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 510 times
Been thanked: 694 times

Re: USB-Midi Component

Post by BenR »

Hi Simon,

I'm afraid I can't dedicate any time to this at the moment, it's likely a big job and I've got a lot of other commitments on. There are some 16-bit PIC devices that are smaller and through hole. For example the PIC24FJ32GB002.

Otherwise you could maybe use one of the PIC16 based boards that Microchip do for example the EV10K72A.

Hopefully this is workable for you and many apologies.

mnfisher
Valued Contributor
Posts: 1577
Joined: Wed Dec 09, 2020 9:37 pm
Has thanked: 140 times
Been thanked: 743 times

Re: USB-Midi Component

Post by mnfisher »

Midi looks fairly easy to bit-bang..

See https://greg-kennedy.com/wordpress/2013 ... ontroller/
or http://www.rossbencina.com/code/midipic

For some good resources.

Martin

simon-sandtcontrols
Posts: 43
Joined: Sun Mar 21, 2021 3:56 pm
Has thanked: 5 times
Been thanked: 7 times

Re: USB-Midi Component

Post by simon-sandtcontrols »

Thanks Ben,

No worries, I had missed this section of 16 Bit PIC's I am not sure where I looked and failed before, actually I think I may have looked in the section of Flowcode that has the free components rather than the licensed ones. I will revisit and get some on order. This is probably the push I need to get me to try the 16 bit range anyway!!

Martin,

I am looking for the USB interface which is the bit that's more difficult. I am not sure I fancy trying to bit bang a USB port :o

Thanks all.

Simon

mnfisher
Valued Contributor
Posts: 1577
Joined: Wed Dec 09, 2020 9:37 pm
Has thanked: 140 times
Been thanked: 743 times

Re: USB-Midi Component

Post by mnfisher »

Yes the USB might be a little bit harder :-)

Could you add a USB chip to do the hard work? CH340 or similar?

Martin

simon-sandtcontrols
Posts: 43
Joined: Sun Mar 21, 2021 3:56 pm
Has thanked: 5 times
Been thanked: 7 times

Re: USB-Midi Component

Post by simon-sandtcontrols »

Hi Martin,

That was my original plan, but turns out that the Midi interface appears as a Midi interface USB device, not as a virtual com port (as I had imagined). I did look at the MCP2221A to see if I could re-program it to appear as a Midi device, but I couldn't see how.

There are some chips out there for this application, but reports are they are buggy at best.

I think this is the push I need to experiment with the 16 Bit PIC's.

Thanks,

Simon.

mnfisher
Valued Contributor
Posts: 1577
Joined: Wed Dec 09, 2020 9:37 pm
Has thanked: 140 times
Been thanked: 743 times

Re: USB-Midi Component

Post by mnfisher »

you've probably explored the ch345 as well?

They might be buggy (?) but if you only need certain functionality they might be worth a look. It would probably be a simpler approach than moving to a 6bit PIC?

Martin

simon-sandtcontrols
Posts: 43
Joined: Sun Mar 21, 2021 3:56 pm
Has thanked: 5 times
Been thanked: 7 times

Re: USB-Midi Component

Post by simon-sandtcontrols »

Hi Martin,

I did look at the CH345, some of my decision going to PIC was the availability of them. I could only find them in Ali Express and there were only a few available. I can't vouch for the "buggy" it was only what I read when I was looking to try and purchase them.

My wife has opened a little no for profit internet radio station and want's a mic live light and a couple of buttons that interface with the play out software she's using. The first one is for her, but I can't help feeling when her other presenters see hers they are going to want them, so I need a chip that's easily available. With the right PIC it looks easy enough in Flowcode.

Simon.

Post Reply