Page 1 of 1
USB-Midi Component
Posted: Mon May 27, 2024 5:01 pm
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.
Re: USB-Midi Component
Posted: Mon Jun 03, 2024 7:54 pm
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
Re: USB-Midi Component
Posted: Tue Jun 04, 2024 9:46 am
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.
Re: USB-Midi Component
Posted: Tue Jun 04, 2024 12:09 pm
by mnfisher
Re: USB-Midi Component
Posted: Tue Jun 04, 2024 3:01 pm
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
Thanks all.
Simon
Re: USB-Midi Component
Posted: Tue Jun 04, 2024 3:12 pm
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
Re: USB-Midi Component
Posted: Tue Jun 04, 2024 4:19 pm
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.
Re: USB-Midi Component
Posted: Wed Jun 05, 2024 9:11 am
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
Re: USB-Midi Component
Posted: Wed Jun 05, 2024 10:53 am
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.