Optical Flow Sensor and APM 2.5

I m trying to connect my optical flow sensor to my APM 2.5 but having a very hard time.


I have successfully uploaded the pde test file and install the python 2.7 and uploaded the python script successfully but nothing I send in a I and a M and no data is returned.


I was afraid the low light was an issue so I used LED's and I turned the lens in and out over and over again and nothing.



You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –


    • hi ,

      could you post me the photos thank you.


    • Can I have ur setup too? My email is sengkiat21@gmail dot com
  • Hi, two days back I tested my optical flow sensor with APM2.5 and its working quite well and even I'm able to grab the images. If you guys have any doubts feel free to ask me.
    • Hi,

      I connected the optical flow sensor with the APM2.5. However, I'm not sure what to do next. Could you please guide me? My email address is r43shah@uwaterloo.ca

      Thank you very much.

    • Hi Venkat, I know post is quite old now, but I have wired my optical flow up as shown above (same as arducopter web page) but can not get it to work, just getting a green power light. Any advice or photos would be much appreciated.    danielhorsley at hotmail dot com

    • Hi, I know this is digging things up but I have a problem with my optical flow. When using the test sketch it returns nothing but zeros. It says at the beginning "Failed to initiate ADNS3080" and if I use a normal firmware, in the terminal it says "Failed to init optflow". Have you got any ideas? I can't seem to find a reason it wouldn't be working

  • Ok I have uploaded the arducopter 2.9b and went to the CLI to test the optflow but it just gives 0's on the output.

    • Hi,

      Can you tell me where did you get 2.9b firmware..



  • So what is the steps?

    1. Download ArduCopter 2.9b from the repository

    2. Upload it thru Arduino IDE

    3. Upload optical flow test pde (I was under the impression if you upload this it will override the previous code set)

    4. Use the python to test the optical flow.

  • It is plugged in as in the described as here



This reply was deleted.


DIY Robocars via Twitter
RT @chr1sa: You can see this in person in two weeks for our next live event with real cars. It's great fun for adults and kids alike, and…
DIY Robocars via Twitter
RT @chr1sa: The final race (1:24) at yesterday's @DIYRobcars virtual event was our best. It's only two minutes long but it has everything,…
DIY Robocars via Twitter
RT @chr1sa: The monthly @diyrobocars virtual race is starting now! https://www.twitch.tv/roboticists2
Mike Whitney liked Mike Whitney's profile
Jul 19
DIY Robocars via Twitter
Jul 2
DIY Robocars via Twitter
Jun 26
Abdulatif Tlaib liked Ryan's profile
Jun 24
DIY Robocars via Twitter
RT @SmallpixelCar: First time at @wsraceways. After tuning @HokuyoUsa lidar signal and camera sensor on @NVIDIAEmbedded, my car was able to…
Jun 20
DIY Robocars via Twitter
RT @breadcentric: The handy bit about racing with self-driving cars is that one can type while the car is racing. Report from #AWSDeepRacer…
Jun 18
DIY Robocars via Twitter
RT @chr1sa: Our Bay Area @DIYRobocars meetup is now at 2,700 members. Next in-person events (in Oakland) are training day on July 17 and…
Jun 18
DIY Robocars via Twitter
Videos from the ICRA autonomous racing workshop are now available: https://linklab-uva.github.io/icra-autonomous-racing/
Jun 10
DIY Robocars via Twitter
RT @SmallpixelCar: Prepared race track for Warm Spring Raceways @wsraceways and looking forward to test my new car at RAMS RC @ramsaicar fa…
Jun 6
DIY Robocars via Twitter
RT @f1tenth: Trying out some nasty blocking maneuvers 🏎️🤖 #f1tenth #autonomousracing https://t.co/nMTstsaogM
Jun 5
DIY Robocars via Twitter
May 27
DIY Robocars via Twitter
RT @araffin2: I will talk this Saturday from 18:00 to 19:00 Paris time for the @diyrobocars community about learning to race in hours using…
May 27
DIY Robocars via Twitter
RT @a1k0n: Luckily the infeasible hairpin problem was easily reproducible in simulation and I could test the fix before bringing the car ba…
May 26