Electronic – arduino – use Arduino’s FTDI chip for another device

arduinoftdipic

I have an Arduino UNO (R3) with its main chip and main crystal oscillator accidentally destroyed, but everything else is working I presume.

I started learning PIC (16/18f) and was wondering if I could use the on-board FTDI Atmega 16u2 to program or speak serially to my PIC, as a separate FTDI chip would? (i.e. TX/RX pin headers -> appropriate pins for serial on PIC) Are there any caveats to using it, if so, compared to an FTDI? Would the USB interface work as-is with a computer and be recognised just as it was with the Arduino?

Best Answer

We don't know if ATmega16U2 is damaged or not but assuming it isn't you can use it as a generic USB<->USB.

According to this FAQ

The Uno has changed that by exchanging the FT232RL chip with an atmega8u2 chip. There are a few things that are possible with this new chip but before we discuss that lets make it clear that by default, this chip acts identically to the FTDI chip that it replaces. It's just a USB-serial port!

One improvement in updating the chip is that, previously, Mac users needed to install FTDI drivers. The 8u2 imitates a 'generic' CDC serial device. So now, Mac users do not have to install a driver. Windows users still need to install the .INF file but luckily there are no drivers. This means there will be fewer problems with new versions of windows. There is no way to have a serial USB device that doesn't require an INF file in windows

So is will be enumerated as a virtual serial port, you just need to locate the port number in the hardware panel of the PC.

Also note that the Rx/Tx are connected to two pins of the header but at the same time are connected to the damaged MCU so maybe that will be a problem altough I doubt it.

(red/blue are the Rx/Tx lines) enter image description here