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

DIY Robocars via Twitter
yesterday
DIY Robocars via Twitter
RT @_JonMyer: 🚨Attention DeepRacer's including #UndergroundDeepRacer🚨 Check our our LIVE stream that including @IAM_dbro Take a few moments…
Aug 5
DIY Drones via Twitter
RT @MarvelmindMaxim: Extreme precision for 60 swarming robots. #marvelmind #autonomousrobotics #robotics #swarmrobotics #rtls #ips #indoor…
Aug 3
DIY Drones via Twitter
RT @MarvelmindMaxim: Precise (±2cm) tracking for racing boats and autonomous boats. Works outdoor and indoor. #autonomous #AutonomousVehic…
Aug 3
DIY Drones via Twitter
RT @MarvelmindMaxim: Helping PixHawk folks to fly autonomous quadcopters using PX4 and ArduPilot. https://marvelmind.com/drones/ Equally suitab…
Aug 3
DIY Robocars via Twitter
RT @chr1sa: The @DIYRobocars @donkey_car virtual AI car race is starting in 15 minutes! Watch it live on Twitch https://www.twitch.tv/mossmann3333 htt…
Aug 1
DIY Robocars via Twitter
RT @chr1sa: Don't miss our monthly @DIYRobocars @donkey_car virtual AI car race tomorrow at 10:00am PT live on Twitch. Head-to-head racing…
Jul 31
DIY Robocars via Twitter
RT @sparkfun: Our completed tutorial on building an @NVIDIA Jetson Nano-powered @Sphero RVR gets your bot up and running via teleoperation…
Jul 30
DIY Robocars via Twitter
RT @SmallpixelCar: Freeway test https://t.co/4V5tV9lhIP
Jul 29
DIY Robocars via Twitter
Very small autonomous cars racing, thanks to an overhead camera: https://control.ee.ethz.ch/research/team-projects/autonomous-rc-car-racing.html
Jul 29
DIY Robocars via Twitter
Jul 29
DIY Robocars via Twitter
Jul 29
DIY Robocars via Twitter
RT @chr1sa: Don't miss our virtual AI car race this Saturday! Real developers + virtual cars =🏎️🏎️🏎️ Head-to-head battles with thrills, sp…
Jul 28
DIY Robocars via Twitter
Jul 27
DIY Robocars via Twitter
RT @usashirou1: Jetson nano by Isaac Kaya #jetson https://t.co/Mu1N0CyQkN
Jul 23
DIY Robocars via Twitter
RT @GPUsolution: JetRacer mady by Iflytek company #JetsonNANO #Nvidia https://t.co/MimTymIwge
Jul 23
More…