HuskyLens does not communication through UART with Arduino Mega 2540

userHead Ngoc.T Ho 2024-10-16 05:02:01 11 Views0 Replies

I have the Huskylens working on Arduino Uno on pin 10, 11, however, when I switching to Arduino Mega 2540, I use the UART1 pin 14,15 and modified the code on line 6 to 

SoftwareSerial mySerial(15, 14); // RX, TX but the camera keep return:

"
Begin failed!

1.Please recheck the "Protocol Type" in HUSKYLENS (General Settings>>Protocol Type>>Serial 9600)

2.Please recheck the connection.

"

Is there anyway for HuskyLens to work on Arduino Mega 2540 uart1?