I got the 3D Robotics optical flow device few weeks back. Yesterday I soldered the connecters and loaded the sketch " AP_OpticalFlow_test.pde" to an Arduino mini pro. I selected digital pin 10 to be the chip select pin (NCS).
This does not work for me as I get the error message "Failed to initialize ADNS3080". In the library I see that the byte returned should be 0x17. However when I print the value returned, I see that the value returned is 0xFF. As the device is unable to initialize, the error message is reported. Has anyone else faces this issue? How can I rectify this? A picture of my setup is attached. I had the feeling that my wires are too long for the 2Mhz signal to travel from the sensor to the arduino. So I slowed the SPI clock, still I see the same behavior. I would appreciate any help on this.
Thanks
Replies
This is embarrassing for me. It works fine now. I was connecting MISO at sensor side with MOSI at arduino side and vice versa. Once I fix the connection it works fine.
Thanks
Hi,
I have the same issue with APM2 and flow sensor.
I have the same error "Failed to initialise ADNS3080". When I print the config it says:
Config: 11111111,11111111
product id: FF (hex)
frame rate: 366 (manual)
resolution: 1600
shutter speed: 65535 (manual)
I tested the conectivity with a multimeter and all wires are connected properly.
Anybody with the same problem/solution?