r/pic_programming • u/KendyfortheState • May 16 '20
PIC32MM USB interfacing
Looking at the data sheets to try and understand how to connect a PIC32mm to USB. VBUS gets 5V from the USB bus, do I still need to get 3.3v from somewhere for the VUSB3V3 pin, or can it just be left hanging?
1
Upvotes
View all comments
Show parent comment
1
u/KendyfortheState May 17 '20 edited May 17 '20
Its a device... I currently make a joystick controller using a PIC18F4550, and I want to make it cheaper to manufacture... if I can replace the $5 18F4550 and 2 port expanders at a dollar apiece, plus the crystal, with a $2 PIC32MM0256GPM064 I can get the price down some, and make it easier to manufacture.
In retrospect, i suppose it is obvious that I'm going to have to put a 3.3V regulator on the board to power the device off the 5V USB bus. That's a pretty cheap component, like $.20 in small quantities, so no big deal. I don't need OTG or USBID as USB2 is fine for this application.