Hi
I have a Richen Power Liquid Level Sensor… It has its PWM output (1100 us when the tank is empty and 1900 us when the tank is full. What i need is to read these PWM values through an AUX port and display in the mission planer to know the liquid level in the tank. Also to trigger RTL at certain PWM value such as at 1150 us as an example.
Have any one tried similar set up to display the PWM input values in the mission planer and setting up RTL triggering at a certain PWM value
Hey Sanks,
Got the Richen sensor working today, needed to provide 5v power to the AUX rail on the pixhawk, and then run a servo lead from a separate Aux port to the sensor. During my tests I only got it to work on 4.0dev and not stable version so as Pete said above it is not fully supported in stable release.
I have sorted this issue of displaying the liquid level…
1st use the Aux port u like, in my case I left the BRD_PWM_COUNT=4 where my AUX 1,2,3,4 works as the Servo outs and AUX 5 and 6 are PWM in puts.
I connected 5v BEC to AUX 6 as AUX rails don’t provide power and PWM in from Richen Power sensor.is connected to the AUX 5 as the PWM input.
and then in the mission planer I have set the following params
Then in the mission planer go to quick tab double click any of the value and select rxrssi .
Then Calibrate the Liquid sensor
Must Have the firmware above 3.5
Hi skhyperion I manage to display my tank level in RXRSSI with your method, however I can’t assign this value as a battery voltage reading to be able to activate the RTL failsafe when my tank is empty ?
I just retested and I still arrive at the same result I manage to have my value correctly displayed on RXRSSI when I use the Skhyperion method on the other hand I am still blocked for the method https://ardupilot.org/copter/docs/common-fuel-sensors.htmlas a second battery in order to benefit from the RTL when the tank is empty.
Anyone using this feature and who could help me?
Hello skhyperion,
I just bought the Richen Power Liquid Level Sensor and I can’t make it work with the ardupilot method.
I see that you have managed to make it work and also have the RTL action.
Could you help me with the parameters? I have use 5V bec to give power to Sensor.
Thanks in advance
Stelios
if you connect more than one liquid level sensor, is there a way to show both of them? I tried reading the wiki article about rssi, but it seems you can only it for just one pwm input
If you are still looking for a sensor for gasoline please send me an email as we do have a product where you can use. I am attaching the info at the link.
In order to make it useful we used the smbus generic function, since that function is developed for batteries it displays voltage and we simulate the tank capacity as full voltage value. In that sense if tank volume is 10 lt, it displays 10v for full tank.
We do also display the fuel flow under current in ml/min depending on the capacity and fuel level drop.