

The HuskyLens 2 Power Board by DFRobot is a power management module specifically designed for the HuskyLens 2 AI camera module. It ensures a stable and reliable power supply while offering convenient connectivity for various peripherals. This board is ideal for projects requiring consistent power delivery to the HuskyLens 2 and its associated components, such as microcontrollers, sensors, and actuators.








The HuskyLens 2 Power Board is designed to meet the power and connectivity needs of the HuskyLens 2 module and its peripherals. Below are the key technical details:
| Parameter | Value |
|---|---|
| Input Voltage Range | 5V DC (via USB-C) |
| Output Voltage | 3.3V / 5V DC (selectable) |
| Maximum Output Current | 2A |
| Power Connector Type | USB-C |
| Peripheral Connections | 4-pin Grove interface |
| Dimensions | 40mm x 30mm x 10mm |
| Weight | 10g |
The HuskyLens 2 Power Board features a simple pinout for easy integration with the HuskyLens 2 module and other peripherals.
| Pin Name | Description |
|---|---|
| VCC | Power output (3.3V or 5V, selectable) |
| GND | Ground |
| SDA | I2C Data Line |
| SCL | I2C Clock Line |
| Pin Name | Description |
|---|---|
| VBUS | 5V Power Input |
| GND | Ground |
The HuskyLens 2 Power Board is straightforward to use and integrates seamlessly with the HuskyLens 2 AI camera module. Follow the steps below to set up and use the board:
The HuskyLens 2 Power Board can be connected to an Arduino UNO for AI-based projects. Below is an example code snippet to interface the HuskyLens 2 module with the Arduino UNO:
#include <Wire.h>
// Define the I2C address of the HuskyLens 2 module
#define HUSKYLENS_I2C_ADDRESS 0x32
void setup() {
Wire.begin(); // Initialize I2C communication
Serial.begin(9600); // Start serial communication for debugging
// Check if the HuskyLens 2 module is connected
Wire.beginTransmission(HUSKYLENS_I2C_ADDRESS);
if (Wire.endTransmission() == 0) {
Serial.println("HuskyLens 2 module detected!");
} else {
Serial.println("Error: HuskyLens 2 module not detected.");
}
}
void loop() {
// Example: Request data from the HuskyLens 2 module
Wire.requestFrom(HUSKYLENS_I2C_ADDRESS, 6); // Request 6 bytes of data
while (Wire.available()) {
char c = Wire.read(); // Read each byte
Serial.print(c); // Print the received data
}
delay(1000); // Wait for 1 second before the next request
}
HuskyLens 2 module not powering on:
Peripheral devices not receiving power:
I2C communication errors:
Q: Can I use a battery pack to power the HuskyLens 2 Power Board?
A: Yes, as long as the battery pack provides a stable 5V output via USB-C and can supply at least 2A.
Q: Is the power board compatible with other Grove modules?
A: Yes, the Grove interface on the power board can be used with other Grove-compatible modules, provided they operate at 3.3V or 5V.
Q: How do I know if the power board is working correctly?
A: The onboard LED indicator will light up when the board is powered and functioning properly.
By following this documentation, you can effectively use the HuskyLens 2 Power Board in your projects and troubleshoot any issues that may arise.