adding USB to your project

Hello,

I want to add USB to my board.

I know about the FTDI chip and cables.

Does anyone know of a good example, with explanations,

for inserting this into a pic project?

To start, I want to make something like an Arduino mini with

my pic micro controller. I’m using the 16F18313.

And it doesn’t seem to have USB built in to it.

Or maybe get USB some other way.

Thanks.

Try taking a look at the schematic for our retired Bus Pirate board. It has a PIC24FJ64 processor and a FT232RL integrated on the PCB and should give you a good general idea of how to have a PIC chip integrated with a FTDI chip:

https://www.sparkfun.com/products/12942

BusPirate-v3.6a.pdf (95.2 KB)

The schematic should be self explanatory. There are also folks talking about interfacing a 16F628A (using INTOSC) via its serial port to an FTDI FT230XQ and having issues with speed:

https://www.electro-tech-online.com/thr … 292/page-2

Hope this helps.

Thanks, I did look at one of the retired ftdi boards. But then I noticed the new USB C board,

and I’m kind of excited about that now. The ch340c is as new and difficult as the ftdi,

I’m equally clueless for both.