The Adafruit FT232H Breakout is a multifunctional USB to serial converter module that bridges USB connections to a variety of communication protocols such as GPIO, SPI, and I2C. This breakout board is designed to simplify interfacing with different electronic components and modules by leveraging the capabilities of the FT232H chip. It features a USB C connector for modern connectivity and a STEMMA QT connector for quick and easy I2C interfacing. This board is commonly used in applications that require communication between a computer and peripheral hardware, such as for sensor data acquisition, controlling actuators, or interfacing with microcontrollers and other integrated circuits.
Pin Number | Name | Description |
---|---|---|
1 | GND | Ground connection |
2 | C0 | Configurable GPIO/Chip Select for SPI |
3 | C1 | Configurable GPIO/MISO for SPI |
4 | C2 | Configurable GPIO/MOSI for SPI |
5 | C3 | Configurable GPIO/SCLK for SPI |
6 | C4 | Configurable GPIO/SDA for I2C |
7 | C5 | Configurable GPIO/SCL for I2C |
8 | C6 | Configurable GPIO/Additional GPIO |
9 | C7 | Configurable GPIO/Additional GPIO |
10 | VCC | Power supply (3.3V output from USB) |
Powering the Board:
Using GPIO Pins:
Using SPI/I2C:
The following is an example of how to use the FT232H to blink an LED connected to pin C0 configured as a GPIO output. This example assumes you have the Adafruit FT232H library installed.
#include <Adafruit_GPIO.h>
#include <Adafruit_FT232H.h>
// Create an FT232H object
Adafruit_FT232H ft232h;
void setup() {
// Initialize the FT232H
ft232h.begin();
// Configure pin C0 as an output
ft232h.pinMode(0, OUTPUT);
}
void loop() {
// Turn the LED on
ft232h.digitalWrite(0, HIGH);
delay(500);
// Turn the LED off
ft232h.digitalWrite(0, LOW);
delay(500);
}
Remember to adjust the pin numbers and logic according to your specific setup and requirements.