Hello all. 

I've connected a Lightware SF10/c to my pixhawk serial 4/5 port as the instructions here show:http://copter.ardupilot.com/wiki/com...re-sf10-lidar/

My SonarRange is flat on 0. I can see that the unit is powered up because I can see the dot on the floor with a digital camera. I've triple checked continuity of the cable I made and I also (using the cable I made for the Pixhawk) with small jumpers stuck in the little connector, attached it to a USB to Serial adapter and with Putty I can see the distance just fine.

I dropped it down to 9600 baud, still nothing.

I'm new to pixhawk/apm world so I'm not really sure how to troubleshoot. I've double checked the wiring.

I currently am running firmware 3.3.2.

Lastly, this is still not done being built. This is my first experience with a Pixhawk. I'm upgrading from an Eagle Tree Vector. I'm not done rewiring. I am still waiting for a power module because I refuse to use the little 90A one that was supplied by 3DR. 

Thank you all.

Note (may be TMI): My parts list is as follows

  • Tarot FY680 Iron Man
  • Sigma Summit Motor Mounts (~740mm now)
  • PixHawk Controller
  • Mauch 4-14S 200A Power Module (pending delivery)
  • Quanum MT 3510 630KV
  • Turnigy K-Force 30A (Opto)
  • Zippy Flightmax 8Ah 6S 30C or Venom 6s 12Ah 30C
  • 13x5.5 Carbon Props
  • 3DR uBlox GPS/Compass
  • PX4FLOW Optical Flow Sensor
  • Lightware SF10-C LIDAR Altimeter 0-100m
  • Turnigy 9XR Pro
  • Floureon 915MHz Telemetry
  • 2W 1.3GHz NTSC Video Transmitter
  • HawkEye DTF-UHF 1w 16ch

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

Join diydrones

Email me when people reply –


          • Yes, did all the mods as described in the text:


            You then need to configure the rangefinder parameters as shown below (this is done in the Mission PlannerConfig/Tuning | Full Parameter List page):

            • RNGFND_TYPE=7 (LightWareI2C)
            • RNGFND_SCALING=1
            • RNGFND_MIN_CM=5
            • RNGFND_MAX_CM=5000
            • RNGFND_GNDCLEAR = Your offset to ground""

            The range findre works fine with the USB cable and the lightware terminal program.

             The firmware was 3.3.3rc2 and connection was using the I2C extender


            PS yes, both sonarrange and sonarvoltage return 0

            • @Duffy, did you get I2C working? The post above shows the method but then mentions that sonarrange and sonarvoltage return 0. In a previous post you mention the SF10 is working via I2C.

              Did you get it working?

            • All good with the SF10/C and latest firmware,

               Does anyone have a log file with cam trigger mission that we could send to Michael Oborne to make addition in georeferencing so that we can tag images and csv file with accurate height above ground as well as GPS altitude.

               I have create an entry in github issues here: https://github.com/diydrones/MissionPlanner/issues/1126

              I am still tuning the copter so I don't have any auto mission yet


              • @Duffy - we're very interested in offering laser units specifically for geo-referencing. Do you have any ideas on what you would ideally like to have? For example, we have multi-beam lasers that can reference three points simultaneously.

                • What would you suggest is the best way to get the functionality of adding the laser reading data in the geotagging script in mission planner. It is the reason we bought the SF10/C but currently can't get the functionality out of this.


                  • We are looking into this using our own dev resources. I can see that it's great functionality to have so we'll make sure it becomes available one way or another. Please give us a little time...

                • Thanks,

                   Would you use the autopilots IMU and GPS ? or would you integrate separate units for this(?)

                   I think your current systems SF10 etc can be used to improve accuracy of 3D model reconstructions. The only thing that needs to be done is add some functionality to the georeferencing script running from mission planner, so that for every geotagged image a csv file with GPS and sonar altitude is created. This can then be used to provide additional reference in software like agisoft. So for example we would have height above elipsoid from GPS and height above ground from sonar. So if it is possible to get this functionality going it would be great. See the mission planner github issue referenced above.

                   The multi-beam laser would be good, if it is possible to have split beam at 40 degrees then it could also be used for enhanced ground separation, as opposed to just a single vertical beam.

                   How else could we use the split beam for georeferencing. I suppose we couldn't use it in conjunction with photogrammetry as the beam is invisible (unless you are using SWIR cameras). It could be useful for low resolution terrain mapping, things like this have been used for mapping glaciers. I know one team academic lab that has used a single beam to do mapping. 


                  • Thanks for the info Duffy. We'll keep this in mind as we move forward with support for mapping.

        • There's a brief description of the various connection methods for the SF10 and SF11 here.

          I2C doesn't use a baud rate so there's no problem with that. I think the default address should work but I'm going to check with my dev guy and I'll get back to you tomorrow.

          • Any luck getting the SF10 to work over I2C?

            I have an SF11 that I'm trying to get working on my hexacopter. The default address on the SF11 is 0x55, that should translate to 85 in Mission Planner correct? It looks good on USB, I'm gonna hook it to my O-scope to confirm output over I2C tonight just to make sure it is functioning and I do not have a bad wire or something.

This reply was deleted.


Gremsy liked Gremsy's profile
Mar 12
DIY Robocars via Twitter
RT @chr1sa: Donkeycar 4.4 released with tons of new features, including path learning (useful with GPS outdoors), better Web and Lidar supp…
Nov 27, 2022
DIY Robocars via Twitter
RT @NXP: We are already biting our nails in anticipation of the #NXPCupEMEA challenge! 😉 Did you know there are great cash prizes to be won…
Nov 24, 2022
DIY Robocars via Twitter
RT @gclue_akira: レースまであと3日。今回のコースは激ムズかも。あと一歩 #jetracer https://t.co/GKcEjImQ3t
Nov 24, 2022
DIY Robocars via Twitter
UC Berkeley's DIY robocar program https://roar.berkeley.edu/
Nov 24, 2022
DIY Robocars via Twitter
RT @chr1sa: The next @DIYRobocars autonomous car race at @circuitlaunch will be on Sat, Dec 10. Thrills, spills and a Brazilian BBQ. Fun…
Nov 24, 2022
DIY Robocars via Twitter
RT @arthiak_tc: Donkey car platform ... Still training uses behavioral cloning #TCXpo #diyrobocar @OttawaAVGroup https://t.co/PHBYwlFlnE
Nov 20, 2022
DIY Robocars via Twitter
RT @emurmur77: Points for style. @donkeycar racing in @diyrobocars at @UCSDJacobs thanks @chr1sa for taking the video. https://t.co/Y2hMyj1…
Nov 20, 2022
DIY Robocars via Twitter
RT @SmallpixelCar: Going to @diyrobocars race at @UCSDJacobs https://t.co/Rrf9vDJ8TJ
Nov 8, 2022
DIY Robocars via Twitter
RT @SmallpixelCar: Race @diyrobocars at @UCSDJacobs thanks @chr1sa for taking the video. https://t.co/kK686Hb9Ej
Nov 8, 2022
DIY Robocars via Twitter
RT @PiWarsRobotics: Presenting: the Hacky Racers Robotic Racing Series in collaboration with #PiWars. Find out more and register your inter…
Oct 23, 2022
DIY Robocars via Twitter
RT @Hacky_Racers: There will be three classes at this event: A4, A2, and Hacky Racer! A4 and A2 are based around UK paper sizing and existi…
Oct 23, 2022
DIY Robocars via Twitter
Oct 23, 2022
DIY Robocars via Twitter
Oct 19, 2022
DIY Robocars via Twitter
Oct 18, 2022
DIY Robocars via Twitter
RT @NeaveEng: Calling all UK based folks interested in @diyrobocars, @f1tenth, @donkey_car, and similar robot racing competitions! @hacky_r…
Oct 13, 2022