I am trying to duplicate a ROV system using Beagleboene black with Arduino Mega (2560) and an IMU. Wanted to test how to update IMU values on the cockpit from a post here. I have wired the connections between BBB and Arduino using the schematic files (sheet 7/8) placed on github.
Since BBB pins operate at 3.3v and Arduino operates at 5v, a bidirectional conveter was needed. The OpenROV controller board uses 8 channel bidirectional logic level shifterTxB0108 but I could not get that from the local market, so used some other 4 channel converters similar to this one. The IMU has also been connected to the Arduino I2C through the level converter. I have attached my hand drawn schematic for detail.
Problem is, when I try to upload the firmware code from the cockpit (launched using start.htm), the code compiles effortlessly but then fails to load on the arduino, giving me the following errors:
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x00 avrdude: ser_recv(): programmer is not responding avrdude: stk500_recv(): programmer is not responding
The BBB Transmit indicator LED as indicated in the schematic never blinks. Any hints on what might be wrong or how to proceed further on uploading firmware to Arduino would be appreciated.