James , are you certain that Analog (pwm) mode has been implemented on chibios yet?
I can’t find it in release notes
That’s a good question. I’d assumed so, as there’s no reason it shouldn’t be (ie https://github.com/ArduPilot/ardupilot/pull/11951 works just fine)
But I cant see it in releases, according to @rmackay9 it was scheduled for release 4…
HI James - Thanks for your feedback. Yep I have that Resistor fitted. I tried both 1KOhm as well as 500Ohm
Thank You James for responding.
Yes, the 1K resistor is installed as per this link http://ardupilot.org/copter/docs/common-rangefinder-lidarlite.html PWM section. Also have a BEC installed with a 470uF cap on the power ground and +5 volts. And we have it connected to AUX5 as per the link above.
I have an oscilloscope probe connected between Power Ground and the Mode Control connection and we see plenty of pulses. The pulse widths change when you put your hand over the LIDAR and raise your hand. Based on this I would suspect the LIDAR is functioning. The pulses have been observed all the way to the AUX 5 pin.
It seems to me, for lack of better terms, that the pixhawk doesn’t know what to do with this signal - aka - unsupported firmware.
OK double checked and it should be working with 4.0 if you follow the updated wiki
@sbofill what firmware release have you loaded ?
I’m on 1.3.69, Build 1.3.7271.14198
You need to update to 4 so you can use any pwm input, as written in the wiki
You mean update from Build 1.3.7271.14198 to Build 1.4?
And sorry I’m very new to this but I really appreciate all your help - where could I find version 4?
@ppoirier is asking you to upgrade to the latest stable release of arducopter which is version 4.0. there are 2 ways you can upgrade your flight controller.
the first is by going here and downloading the firmware for whatever flight controller you are using then in Mission planner you click initial setup install firmware on the left side of the screen. You then select load custom firmware which will bring up a window for you to click on the firmware you downloaded from the eariler website.
Or the easiest way would be to do it through Mission planner —>Initial Setup—> Install Firmware—> Click beta firmwares let them load----> then click whatever copter config suits your build
Thanks Matt for the follow-up
Thank you both!! I’ll give that a shot this weekend and let you know how it goes. Really appreciate this.
here is a good video to watch for firmware installing, so of the things in it are a bit old and might not be there anymore but to install firmware its all the same. This fella also has great tutorial videos that are very informative!
No need to load beta as latest stable should have the updated driver
@ppoirier @Matt_C Hey this is random but are either of you available for a 5-10 min screenshare? I’d be happy to pay for your time. You guys have been very helpful so far but I’m still confused on what “v4” is and also I’m thinking a quick 5-10 min screenshare with your guidance as I hit these roadblocks would be ideal. Just throwing it out there.