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 –

Replies

  • I am unable to find a version of the 3.3.2 software to test, but I can confirm that Heli 3.3.3 works as expected with the Terminal and SF11.

  • Hi Robert,

    Thank you for giving me the link to the software, I had trouble navigating the website with my smaller laptop.  The terminal keeps crashing when I try to connect to the Pixhawk through a USB.  It will connect, but when it tries to get parameters it crashes.  If I try through the RFD radio it says I'm not allowed.  I have Trad Heli 3.3.2 firmware and there was a post someone else had that they couldn't get the sonarrange and sonarvoltage to display until they upgraded to the next firmware version.  Is there an issue with this firmware?

  • Hi Thomas,

    As a first step, try download the LightWare Terminal application (If you haven't already: http://lightware.co.za/shop2017/content/6-software), and use the 'Drone' option to configure ardupilot for the rangefinder.

  • I too am getting 0 sonarrange and 0 sonarvolts after I've setup the SF11 using the arducopter documentation.  I'm using Serial 4 though, so slightly different.  What was it that got it working for you @Duffy?

  • Interested in this post.

     Also, any reason why the SF10/C can't work well connected via ADC on the pixhawk. Would like to keep serial 4 for RTK GPS.

     Thanks

    • I've seen conflicting posts about using serial 5 as an extra serial port by using a splitter on power and ground leads. Some say it is usable as another serial port, others say it is only good for console output.

      I have an SF11 that I am trying to get up and running, but the only serial port I have left is 5. At the moment, I2C for it isn't quite functional, looks like my only option may be to use ADC

      Thoughts?

      • I'm pretty sure that serial 5 is not usable for a range finder. It acts as the debug port for the system.

    • Yes, the SF10/C does work on analog but you will find that with the analog span set to 100m the effect of system noise starts to become significant. At shorter spans this is less of an issue, so if you're specifically looking for operation over say, 40m, then you should reduce the analog span accordingly to reduce the effects of noise.

      If I remember the Pixhawk setup correctly any of the available serial ports can be used with the SF10 and SF11 families. 

      • Thanks,

         Just tested to see if it would work on I2C in the latest beta release [apparently supported in 3.3.2rc2] but I am not getting any reading back on copter.

         Should the bus address or baud change?

         Thanks

        • Hi Duffy,

          Have you set RNGFND_TYPE to 7?

          Could you also confirm that it is the "sonarrange" output that you are checking?

This reply was deleted.

Activity

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
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
DIY Robocars via Twitter
RT @gclue_akira: レースまであと3日。今回のコースは激ムズかも。あと一歩 #jetracer https://t.co/GKcEjImQ3t
Nov 24
DIY Robocars via Twitter
UC Berkeley's DIY robocar program https://roar.berkeley.edu/
Nov 24
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
DIY Robocars via Twitter
RT @arthiak_tc: Donkey car platform ... Still training uses behavioral cloning #TCXpo #diyrobocar @OttawaAVGroup https://t.co/PHBYwlFlnE
Nov 20
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
DIY Robocars via Twitter
RT @SmallpixelCar: Going to @diyrobocars race at @UCSDJacobs https://t.co/Rrf9vDJ8TJ
Nov 8
DIY Robocars via Twitter
RT @SmallpixelCar: Race @diyrobocars at @UCSDJacobs thanks @chr1sa for taking the video. https://t.co/kK686Hb9Ej
Nov 8
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
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
DIY Robocars via Twitter
Oct 23
DIY Robocars via Twitter
Oct 19
DIY Robocars via Twitter
Oct 18
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
DIY Robocars via Twitter
RT @araffin2: 🏎️ After hours of video editing, I'm happy to share a best of my Twitch videos on learning to race with RL. 🏎️ Each part is…
Oct 13
More…