Object avoidance with bumper

Hello,

I would like use a bumper like object avoidance on a rover of 50 kg.

Do you think what if I connect contactor on the bumper with an Ubec 3.3 voltage on ADC 3.3 Pixhawk connector like Maxbotic analog sonar, with the same paramters, that will work ?

https://ardupilot.org/rover/docs/common-rangefinder-maxbotix-analog.html

Hi @Dorian,

That might work if you can get the range finder distance to appears as long when the bumper isn’t pressed and very short when it is pressed.

By the way, I’ve created an issue here for the enhancement request to add support for bumpers to object avoidance.

1 Like

Hi,

Thank you for your answer, I will test this configuration.

Have a good day !

HI Dorian, I am thinking of doing the very same thing on my rover. Did you try this? Can you let us know the results? Thank you!! Craig

BTW you have it inverted, close distance/compressed bumper would be low voltage and far distance/uncompressed bumper would be high voltage to be consistent with the maxbotics sensor. Let us know what you found!

Hello Craig,

Sorry for my late response.
I haven’t tested the system yet, I will be building a new Rover, certainly in August - September and I will test the system then.

Hello,

I’m finally moving forward on my project.
Rather than using UBECs, I programmed a microcontroller that will drive a PWM to Analog voltage converter to “make the Cube believe” that the information is coming from the sonar.
The idea of using a microcontroller is to be able to add features such as a sensor that will stop the rover in the event of rain, etc.

I wanted to configure the analog sonar on my Cube Orange which has rover firmware 4.1.2.
When the analog sonar parameters are not activated, I have 0 on “sonarrange” and 0 on “sonarvoltage”.
sonar_01

However, when I activate the sonar, there are numbers that appear on “sonarrange” and “sonarvoltage” while nothing is connected to the Cube.
sonar_02

I connected my system to the ADC connector of the Cube and varied the voltage between 1 and 3 volts and nothing changes on “sonarrange” and “sonarvoltage”.

Do you have any idea to help me?

Hello,

I haven’t found a solution yet.

I’ll go back to basics, I ordered an XL-MaxSonar-EZ4 sonar to do some testing and when it works with the sonar, I will do some testing with my system.