{"action":"created","issue":{"url":"https://api.github.com/repos/PX4/Firmware/issues/2196","labels_url":"https://api.github.com/repos/PX4/Firmware/issues/2196/labels{/name}","comments_url":"https://api.github.com/repos/PX4/Firmware/issues/2196/comments","events_url":"https://api.github.com/repos/PX4/Firmware/issues/2196/events","html_url":"https://github.com/PX4/Firmware/pull/2196","id":78027003,"number":2196,"title":"pwm_input modifications","user":{"login":"arbulgazar","id":12510654,"avatar_url":"https://avatars.githubusercontent.com/u/12510654?v=3","gravatar_id":"","url":"https://api.github.com/users/arbulgazar","html_url":"https://github.com/arbulgazar","followers_url":"https://api.github.com/users/arbulgazar/followers","following_url":"https://api.github.com/users/arbulgazar/following{/other_user}","gists_url":"https://api.github.com/users/arbulgazar/gists{/gist_id}","starred_url":"https://api.github.com/users/arbulgazar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arbulgazar/subscriptions","organizations_url":"https://api.github.com/users/arbulgazar/orgs","repos_url":"https://api.github.com/users/arbulgazar/repos","events_url":"https://api.github.com/users/arbulgazar/events{/privacy}","received_events_url":"https://api.github.com/users/arbulgazar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-05-19T10:20:00Z","updated_at":"2015-05-23T13:49:46Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/PX4/Firmware/pulls/2196","html_url":"https://github.com/PX4/Firmware/pull/2196","diff_url":"https://github.com/PX4/Firmware/pull/2196.diff","patch_url":"https://github.com/PX4/Firmware/pull/2196.patch"},"body":"** Reset feature added for pwm_input driver. **\r\nGPIO_GPIO5_OUTPUT (AUX 6 signal pin) is currently used as reset pin.\r\nReset is happening if pwm_input don't get any data for some time, to prevent reset-spamming while lidar is not connected ROMFS should toogle pwm_input driver on parameter. (not implemented in this fork)\r\n\r\n** Publication to range_finder topic added **\r\nrange_finder topic is used by several sensors (pwm_input, i2c lidar interface and range_finder currently) and ROMFS should have cases to enable ony one of them."},"comment":{"url":"https://api.github.com/repos/PX4/Firmware/issues/comments/104900169","html_url":"https://github.com/PX4/Firmware/pull/2196#issuecomment-104900169","issue_url":"https://api.github.com/repos/PX4/Firmware/issues/2196","id":104900169,"user":{"login":"bansiesta","id":10187973,"avatar_url":"https://avatars.githubusercontent.com/u/10187973?v=3","gravatar_id":"","url":"https://api.github.com/users/bansiesta","html_url":"https://github.com/bansiesta","followers_url":"https://api.github.com/users/bansiesta/followers","following_url":"https://api.github.com/users/bansiesta/following{/other_user}","gists_url":"https://api.github.com/users/bansiesta/gists{/gist_id}","starred_url":"https://api.github.com/users/bansiesta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bansiesta/subscriptions","organizations_url":"https://api.github.com/users/bansiesta/orgs","repos_url":"https://api.github.com/users/bansiesta/repos","events_url":"https://api.github.com/users/bansiesta/events{/privacy}","received_events_url":"https://api.github.com/users/bansiesta/received_events","type":"User","site_admin":false},"created_at":"2015-05-23T13:49:46Z","updated_at":"2015-05-23T13:49:46Z","body":"I can't get this to run yet, I keep getting:\r\n\r\n```\r\nnsh> pwm_input start\r\n[pwm_input] advertising 536948912\r\nnsh> [pwm_input] Lidar is down, reseting\r\n[pwm_input] Lidar is down, reseting\r\n[pwm_input] Lidar is down, reseting\r\n...\r\n```\r\n\r\nPin 5 and 6 are connected as shown here http://copter.ardupilot.com/wiki/common-optional-hardware/common-rangefinder-landingpage/common-rangefinder-lidarlite/#connecting_to_pixhawk_via_pwm, the rail is powered with 5v, and I'm using a 300 Ohm pull-down."}}