Thank you all for your help. The Benewake is working. I think the documentation needs to be updated to include a statement about Pixmode. I am seriously impressed with the accuracy. I have measured the physical distance its reporting on and its dead on. Thats awesome. I dont' understand the Sonarvoltage reading zero but I suspect thats due to it being serial and not analog..
One last question, the pixhawk and other such devices have limited serial ports, can these be daisy chained or can I use an SPI to I2C converter and use the I2C port instead.
I agree, I2C would be really fine !!
I found a cheap SIP to I2C converter so when it arrives I am going to see if it gives me lidar over I2c. Then I can have my second GPS back. Damn pixhawks don't have enough serial ports
For that you would have to write a new driver, or ''spoof'' an existing one, that can be done but its more difficult.
You can use uart 5 now , or mavlink the lidar == I am working on a new project base on this, I will write a blog soon , stay tuned
Hey thanks man. Looking forward to seeing what you come up with. In the mean time I think I will buy a GPS that uses the CAN port. This will give me dual GPS while still allowing me to use the Lidar. I just wish you could daisy chain the Lidar or other such serial devices
Tadam !!....TFMINI as a Maxbotix I2C emulation
I have written the Blog https://discuss.ardupilot.org/t/how-to-make-the-tfmini-rangefinder-talk-i2c/24403
Hi Siya... im new member of this community. i need a little bit of help to set up my new tf mini lidar on my pixhawk. When im connecting on mission planner the sonar info is giving me 4.21 and is variable, and the voltage is 1.32 variable..., i don't know if the parameters are corrects. I connected the lidar on i2c splitter..
Hi ppoirier, im David new member of this community, i just need of help just in case my tf mini is not working on i2c of pixhawk 1 how i can wire it on arduino mini pro and how i must configure it on arduino and after this on mission planner. Hope in a your positive help
Have you read my blog above?
hi.. ppoirier, yes but i cannot understand very well coz i dont have enough experience on this.. im beginner
There are excellent tutorials on the web for Arduino, gain some experience and get back to this project whe you feel ready
i know... only i need of a drone for my work, that's whwi need to set a lidar
You can use the serial interface then ?
me for now I've connected the lidar on the i2c of the pixhawk... after I have done the connection the parameter of the sensor is 4.21 variable and the voltage is 1.32 variable... this is what mission planner show me
Hi, David. I have invited engineer to pay attention to this topic. Would you pls check some tutorials for Arduino and also ppoirier's blog first and tell your specific questions, or send email to Benewake support
hi Siya, ive already sent an email to benewake but didn't help, ive also placed an order of the arduino mini pro so i can wire the sonar, but i need help or the steps for configure the board like ppoirier's blog and maybe ive solved the problem
hi mincy, thanks... for what kind of lidar is this scheme, after i have soldered all the wiring how i can set up the arduino boar and the parameters. My email is dchaim84@gmail. com.. yours?
Good pm, after few time of trials maybe my lidar is working but i don't know if the parameters are corrects