Spray drone tank empty alert arducopter

The pesticides storage tank in spraying drone need indignation on low tank volume. I have digital water sensor which is been places to the bottom of the tank, It will change the logic level 0 or 1 depends on the presence of water.

Can I use any of the AUX pin to read this input and display a mavlink msg or buzzer sound are even a RTL will sound good.

Can somebody help me on the same?    

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • Still in the same point...

  • Hi Sivashankar

    I have same problems. Is there any progress? 

    Any information will help me a lot.

  • Repost to discuss.ardupilot.org
  • Hi thank You, I got your point and working on it, I've a small issue, I can't able to see any msg on GCS regarding the Pin status change.

    I using AUX pin 6, so

    BTN_Enable=1;

    BTN_PIN1=55;

    BTN_REPORT_SEND=1; (Note: Note that the BUTTON_CHANGE message is MAVLink2 only)(I can't able to get this point)

    now signal pin in aux6 is pilled high default.(AP_Button:#174: hal.gpio->write(pin[i], 1);)

    So i pull down the aux6 signal pin to ground through a 1kR, And can't able to observe any changes in Mission Planner(I checked at Messages and Status Tabs to observe changes)


    Auturgy said:

    Look at ap_buttons
  • Hi thank You, I got your point and working on it, I've a small issue, I can't able to see any msg on GCS regarding the Pin status change.

    I using AUX pin 6, so

    BTN_Enable=1;

    BTN_PIN1=55;

    BTN_REPORT_SEND=1; (Note: Note that the BUTTON_CHANGE message is MAVLink2 only)(I can't able to get this point)

    now signal pin in aux6 is pilled high default.(AP_Button:#174: hal.gpio->write(pin[i], 1);)

    So i pull down the aux6 signal pin to ground through a 1kR, And can't able to observe any changes in Mission Planner(I checked at Messages and Status Tabs to observe changes)

    Thank you for your response. 

  • Look at ap_buttons
This reply was deleted.

Activity

gotham liked gotham's profile
12 hours ago
DIY Robocars via Twitter
RT @RoboticMasters: Monaco GP Circuit in the Donkey Sim (coming soon). Including buildings, tunnel and all! https://github.com/robotics-masters/sim-donkeycar-f1/tree/f1-tracks @diyr…
yesterday
DIY Robocars via Twitter
RT @breadcentric: Here are the details of #AWSDeepRacer finals: https://blog.deepracing.io/2020/12/01/aws-deepracer-league-finals-2020-round-1-schedule/ #awsreinvent2020 #AWSreInvent https://t.co/ovqsjp8V…
yesterday
DIY Robocars via Twitter
RT @breadcentric: #AWSDeepRacer League #awsreinvent2020 Open race is on Dec 1st - Dec 31st in three categories, 15 DeepRacer Evo (with LIDA…
yesterday
DIY Robocars via Twitter
RT @a1k0n: @SmallpixelCar @diyrobocars It's just something that's easy to track with chroma keying. I ended up using different colors on th…
Monday
DIY Robocars via Twitter
Monday
DIY Robocars via Twitter
RT @TinkerGen_: "The Tinkergen MARK ($199) is my new favorite starter robocar. It’s got everything — computer vision, deep learning, sensor…
Nov 23
DIY Robocars via Twitter
Nov 23
DIY Robocars via Twitter
RT @roboton_io: Join our FREE Sumo Competition 🤖🏆 👉 https://roboton.io/ranking/vsc2020 #sumo #robot #edtech #competition #games4ed https://t.co/WOx…
Nov 16
DIY Drones via Twitter
First impressions of Tinkergen MARK robocar https://ift.tt/36IeZHc
Nov 16
DIY Robocars via Twitter
Our review of the @TinkerGen_ MARK robocar, which is the best on the market right now https://diyrobocars.com/2020/11/15/first-impressions-of-tinkergen-mark-robocar/ https://t.co/ENIlU5SfZ2
Nov 15
DIY Robocars via Twitter
RT @Ingmar_Stapel: I have now explained the OpenBot project in great detail on my blog with 12 articles step by step. I hope you enjoy read…
Nov 15
DIY Robocars via Twitter
RT @DAVGtech: This is a must attend. Click the link, follow link to read the story, sign up. #chaos2020 #digitalconnection #digitalworld ht…
Nov 15
DIY Robocars via Twitter
RT @a1k0n: Got a new chassis for outdoor races (hobbyking Quantum Vandal) but I totally didn't expect that it might cause problems for my g…
Nov 11
DIY Drones via Twitter
First impressions of the Intel OpenBot https://ift.tt/36qkVV4
Nov 10
DIY Robocars via Twitter
Nov 9
More…