Huskylens 2 to Arduino Mega i2c

userHead AtefAll 2026-03-13 08:29:58 148 Views2 Replies

I updated my Huskylens 2 firmware to the latest version, v1.2.2. While the I2C connection works perfectly with the Arduino Uno, it fails with the Arduino Mega, even though I am using the designated SDA and SCL pins (20 and 21). Is it true that the HuskyLens 2 does not support the Arduino Mega?

2026-03-13 19:13:50

I think you can try to maker sure your mega I2C is working all right.  

Run a standard I2C Scanner sketch on your Mega. If the scanner finds the HuskyLens at address 0x32, the hardware and firmware are fine, and the issue is likely in the DFRobot_HuskylensV2 library version or your code's initialization.

 

And also try adding a small delay in your setup() before huskylens.begin(). 

userHeadPic R2D2C3PO
niu.yixuan wrote:

Hello! Just a quick correction on the I2C address:

HUSKYLENS V1 uses 0x32, while HUSKYLENS V2 uses 0x50. If you’re using HUSKYLENS V2, please check for address 0x50 with the I2C scanner.

2026-03-16 09:58:07
1 Replies