The Adafruit FTDI Friend is a versatile, compact USB to serial converter based on the FT232RL chip from FTDI. This component is essential for interfacing microcontrollers and other serial devices with a computer, enabling programming, debugging, and serial communication through a USB port. It is particularly useful for devices that do not have a built-in USB-to-serial converter, such as older Arduino boards or custom microcontroller projects.
Pin Number | Name | Description |
---|---|---|
1 | GND | Ground connection |
2 | CTS | Clear to Send, input to FTDI Friend |
3 | VCC | Power supply (5V from USB) |
4 | TX | Transmit Data, output from FTDI Friend |
5 | RX | Receive Data, input to FTDI Friend |
6 | RTS | Request to Send, output from FTDI Friend |
7 | DTR | Data Terminal Ready, output from FTDI Friend |
Connecting to a Microcontroller:
Powering the Device:
Logic Level Selection:
Device not recognized by the computer:
No communication with the microcontroller:
Microcontroller not auto-resetting:
Q: Can the FTDI Friend be used with 3.3V devices? A: Yes, the logic level can be set to 3.3V by adjusting the onboard solder jumper.
Q: Does the FTDI Friend come with a USB cable? A: No, a USB Mini-B cable must be purchased separately.
Q: How can I change the serial baud rate? A: The baud rate can be set through the serial communication software on your computer, such as the Arduino IDE's Serial Monitor.
// This example demonstrates basic serial communication between the FTDI Friend
// and an Arduino UNO. The Arduino will echo any received characters.
void setup() {
// Start the serial communication with a baud rate of 9600
Serial.begin(9600);
}
void loop() {
// Check if data is available to read
if (Serial.available() > 0) {
// Read the incoming byte
char incomingByte = Serial.read();
// Echo the incoming byte back to the serial port
Serial.write(incomingByte);
}
}
Remember to select the correct COM port and board configuration when uploading code to the Arduino using the FTDI Friend.