
This circuit consists of an ESP32 CAM module powered by a Micro USB breakout board. The USB breakout board supplies 5V and ground to the ESP32 CAM, enabling it to function and perform tasks such as image capture and processing.

The Adafruit HUSB238 USB-C PD Breakout is a versatile and powerful component designed to simplify the integration of USB-C Power Delivery (PD) into your electronic projects. This breakout board allows devices to negotiate and draw different power levels from USB-C power sources, making it ideal for a wide range of applications, from powering microcontrollers to charging batteries.

This circuit consists of an ESP32 CAM module powered by a Micro USB breakout board. The USB breakout board supplies 5V and ground to the ESP32 CAM, enabling it to function and perform tasks such as image capture and processing.

This circuit is a power management system that uses multiple 18650 Li-ion batteries connected in series to provide a stable power output. The batteries are regulated by MP1584EN power regulator boards, which step down the voltage to a suitable level for the connected USB-C PD trigger board and a power jack. The system ensures a consistent power supply for devices connected to the USB-C port and the power jack.

This circuit powers a 15.6-inch capacitive touch display and a Raspberry Pi 3B using a USB Type C power delivery breakout and two buck converters. The Raspberry Pi connects to the display via HDMI and USB for touch functionality, while the power delivery breakout provides regulated power to both the display and the Raspberry Pi through the buck converters.

This circuit features an ESP32 microcontroller connected to multiple GC9A01 displays and a USB Type C breakout for power. The ESP32 runs a sketch to retrieve the current time from an NTP server over WiFi and displays the hours and minutes across the GC9A01 displays, with each display showing a single digit or colon separator. Pushbuttons are connected to GPIOs on the ESP32, potentially for user input to control display functions or settings.
| Parameter | Value |
|---|---|
| Input Voltage | 5V to 20V (via USB-C) |
| Output Voltage | Configurable (5V, 9V, 12V, 15V, 20V) |
| Maximum Current | Up to 5A (depending on the power source) |
| Communication | I2C |
| Dimensions | 25mm x 20mm x 3mm |
| Pin Name | Description |
|---|---|
| VIN | Input voltage from USB-C source |
| GND | Ground |
| SCL | I2C clock line |
| SDA | I2C data line |
| VOUT | Output voltage (negotiated via USB-C PD) |
| INT | Interrupt pin (indicates power negotiation status) |
| EN | Enable pin (active high, enables the output voltage) |
Power Connection:
I2C Communication:
Output Voltage:
Interrupt Handling:
Below is an example code to interface the Adafruit HUSB238 USB-C PD Breakout with an Arduino UNO using the I2C protocol.
#include <Wire.h>
#define HUSB238_I2C_ADDRESS 0x08 // Default I2C address for HUSB238
void setup() {
Serial.begin(9600);
Wire.begin(); // Initialize I2C communication
// Request 9V from the USB-C PD source
Wire.beginTransmission(HUSB238_I2C_ADDRESS);
Wire.write(0x01); // Command to request voltage
Wire.write(0x02); // 0x02 corresponds to 9V
Wire.endTransmission();
// Enable the output voltage
pinMode(7, OUTPUT); // Assuming EN pin is connected to digital pin 7
digitalWrite(7, HIGH);
}
void loop() {
// Monitor the interrupt pin for power negotiation status
int intPin = digitalRead(2); // Assuming INT pin is connected to digital pin 2
if (intPin == HIGH) {
Serial.println("Power negotiation successful.");
} else {
Serial.println("Power negotiation failed.");
}
delay(1000); // Wait for 1 second before checking again
}
No Output Voltage:
I2C Communication Failure:
Overheating:
By following this documentation, users can effectively integrate the Adafruit HUSB238 USB-C PD Breakout into their projects, leveraging the power and flexibility of USB-C Power Delivery.