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.
USB-Midi Component
-
- Posts: 43
- http://meble-kuchenne.info.pl
- Joined: Sun Mar 21, 2021 3:56 pm
- Has thanked: 5 times
- Been thanked: 7 times
-
- Posts: 43
- Joined: Sun Mar 21, 2021 3:56 pm
- Has thanked: 5 times
- Been thanked: 7 times
Re: USB-Midi Component
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
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
-
- Matrix Staff
- Posts: 1950
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 510 times
- Been thanked: 694 times
Re: USB-Midi Component
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.
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.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
-
- Valued Contributor
- Posts: 1577
- Joined: Wed Dec 09, 2020 9:37 pm
- Has thanked: 140 times
- Been thanked: 743 times
Re: USB-Midi Component
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
See https://greg-kennedy.com/wordpress/2013 ... ontroller/
or http://www.rossbencina.com/code/midipic
For some good resources.
Martin
-
- Posts: 43
- Joined: Sun Mar 21, 2021 3:56 pm
- Has thanked: 5 times
- Been thanked: 7 times
Re: USB-Midi Component
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
Thanks all.
Simon
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

Thanks all.
Simon
-
- Posts: 43
- Joined: Sun Mar 21, 2021 3:56 pm
- Has thanked: 5 times
- Been thanked: 7 times
Re: USB-Midi Component
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.
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.
-
- Valued Contributor
- Posts: 1577
- Joined: Wed Dec 09, 2020 9:37 pm
- Has thanked: 140 times
- Been thanked: 743 times
Re: USB-Midi Component
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
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
-
- Posts: 43
- Joined: Sun Mar 21, 2021 3:56 pm
- Has thanked: 5 times
- Been thanked: 7 times
Re: USB-Midi Component
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.
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.