• Content Count

  • Joined

  • Last visited

  • Days Won


Everything posted by erfan

  1. I have set BRD_PWM_COUNT=4 meaning the AUX 5 and 6 are as relays . I have also mapped channel 6 ad relay on and off. additionally, I have power up the flight controller from the behind( servos) But as I check the voltage on the relay (AUX5 and 6) and change the switch on the transmitter. the voltage is no voltage change!? how can I check if this is working fine or not? Thanks
  2. So you mean when a flight controller wants to control a function (rectractable landing gear) Then a servo*_function needs to be mapped ,right? Now the question is in case of triggering any mode forexample RTL or AUTO the mission or the location is saved inside the SD card of the flight controller , why we only map them only to a input channel from receiver? @Spitfire76
  3. No I haven’t used all . I was only curious and wanted to know What and where are the 15.16 channels for. Do you know how can I use the AUX 5 and 6 to turn on some led lights alternating? AUX5 and 6 are digital pins. @Spitfire76
  4. I want to understand the concept of it. So you mean there is no physical connection ? As I understood there are 14 channels on the pixhawk naming (8 main out+ 6 AUX ) I tried also with servo 15 _Function or servo16_function but where do I connect the servo for example to check if I get the signal from that specific output ? I would appreciate any idea. Thanks @Spitfire76
  5. I want to understand the concept of it. So you mean there is no physical connection ? As I understood there is 14 channels on the pixhawk naming (8 main out+ 6 AUX ) I tried also with servo 15 _Function or servo16_function but where do I connect the servo for example to check if I get the signal ?
  6. Hello , on the pixhawk we have 8 channels related to main out (CH1-8) + 6 Aux out (CH9-14). so in total there is 14 channels. Which I can see the PWM outputs using mission planner when doing radio calibration. So my question is where are the 15th and 16th channels ? and how to assign them to specific command? Thanks @Spitfire76
  7. erfan

    power module

    Hello, I am looking for a power module for my pixhawk, my hexacopter draws more than 150-160 AMps . Any one has any suggestion? I want to use two or three parallel batteries to attach to power module? Regards, erfan @Spitfire76
  8. No , I tried three ESCs out of 6 which I bought , but three of them warmed up and got burned, What could be the reason?! what is special about ESCs ?! Frequency?
  9. Hello i have used lumenier 51 A ESC for 2312E dji motor with a 4s battery after calibration I started to throttle up at about 70 % throttle , but suddenly I realized that the ESC is getting warm And then started to burn one of the mosfests in the ESC what could be the reason ? Continues current of ESC is 51 and bursting of 80 A and s rating :2-6s (I used a 4s battery) but I used a motor that draw at max 20 A I tested this ESC without propeller and checked it with power digital meter it was drawing less that one ampere so what could possibly go wrong ? I tested also with two other motors ( the result was the same (ESC started to warm up and burned ) @Spitfire76
  10. Exactly I want to have backup power for any voltage drop . actually what I understood the reason why Zener diode is used is because it mitigates voltage spikes beyond 5.7v on this servo rail, and the reason capacitor should be used is because it helps smoothing the voltage “ripples” further (it might not be needed but it is recommended). This might not be still a big issue for pixhawk , but what I WANT TO KNOW is why they only say 220uf capacitor for pixhawk, or 1000uf for ESC ? any reason for that ? how is the calculation done ? please see this webpage aswell which is for the pixhawk I AM using : @Spitfire76
  11. I've seen a lots of articles and threads about adding a 1000μF capacitor to the electronics setup to smooth out the power and stop potential voltage spikes from damaging other electronics. However I've seen no reasoning on the choice of using 1000μF capacitor. does any one know the reason ? or any calculation ? @Spitfire76
  12. Yes ,using a pixhawk as flihtcontroller
  13. Hello , Can anyone explain me the if I can use the height estimation sensor as also object avoidance sensor ? I have an evo 3m rangefinder which in descriptions says it is an object detection sensor , Does that also mean it can be used as object avoidance sensor? if so , any one knows how? in what flight modes can I detect and avoide objects ?what about manual mode? is it possible to use for manual mode also ? if not any one has some suggestions for object avoidance sensors ? Thanks @Spitfire76
  14. That All seem good to me I will try that as well. I tried another way and it is working now . I changed the ServoX_Function (from 9=AUX1 till 14) to 1 which is passThru then I defined a switch on the transmitter for each channel . then I powered the servos on the pixhawk by using a power back up to the main out number 7 or 8 . in this way the servo has power and can function. then I connected the servo on the AUX 1-4 and all worked well. My problem was I was not giving the servo on the pixhawk the enough power. What do you think of this way? @Spitfire76
  15. Hello Does anyone know how to use the aux out channels (from 1 till 6 aux out)on the pixhawk ? I need to use two or three of them to do specific function (for example to assign it for tilting a servo, landing gear,tilting camera, taking photo) all these need to be done using some switches on the transmitter . I am using X8R receiver and frsky transmitter X9D plus . I tried to change servo*_function to Rc Thru or landing gear , but it didn't work. Could you please help me to find out how to define this function ? Thanks @Spitfire76
  16. yes it is operating , I found the problem I corrected the problem by changing the param . LOG_BACKEND_TYPE to 1.
  17. Hello, I have a problem of bad logging in mission planer hub , as soon as I connect the rangefinder it shows bad logging, and as soon as I disconnect the rangefinder it shows bad LIDAR Health how could I solve these two problems? @Spitfire76 Thanks
  18. The range is indeed an issue. I want to send my drone to somewhere lets say 300m or 400m distance (or maybe more )and once its in the location and landed I get a message regarding that it is landed and give me a message to forexample Turn your LED on and then I need to tell to the drone it needs to turn on its led by writing the command or forexample Start a measurment. @Spitfire76
  19. Yes Exactly, Could you explain how this is done? Yes that is exactly what I need to understand . so your suggestion is to connect the Air radio telemetry on drone side to the pi? I can connect them physicall by connecting the Air radio through usb to the pi .right? but do i need to write also some code ? to connect the pi to the pixhawk: I use the pin 2,6,8,10 on pi side and connect them to the pixhawk tem2 . right ? Could you please explain it further? Thanks @Spitfire76
  20. erfan

    Terrain following

    1st question : I meant changing LAND_ATL_LOW to a lower value rather than 10m --------------------------------------------------- 2nd question : after changing this parameter in SITL param set RNGFND1_TYPE 1 param set RNGFND1_SCALING 10 param set RNGFND1_PIN 0 param set RNGFND1_MAX_CM 300 param set RNGFND1_MIN_CM 10 param set RNGFND1_ADDR 49 I simulate the flight above 10 m speed of down was about 150cm/s but below 10 m it was decreasing to 70 cm/s and about 6 m it was about 50cm/s and below 3 m was also below 50cm/s meaning no difference between 10 m and 3 m for the land speed? I also tried this with a higher range for RNGFND max = 6000 and RNGFND min = 20 the result was still the same , I could not see that much difference between the speed of landing does it make sense? Could you also test it? @Spitfire76
  21. senario : My pc which is connected to the Ground radio telemetry needs to send some messages say (hello) or on mavproxy commend (arm throttle) to the pixhawk telem 1,and on the pi which is connected to telem 2 , I need to receive these messages. what I could do so far is : Using mavproxy I can send some commends and the pixhawk will act on the commends , e.g arm throttle.(pixhawk port Telem 1 is connected to air radio telemetry). I can also control the pixhawk using the pi , arm throttle ,... .( Pixhawk port Telem 2 is connected to the PI). what I could not do is : receiving the sended commends from mavproxy on the pi? is there any body that can help to figure out this issue ? @Spitfire76
  22. erfan

    Terrain following

    what does sentence exactly mean by the word Terrain ? When the rangefinder can “see” the ground, the pilot’s throttle stick adjusts the target altitude above the terrain (i.e. the attitude corrected distance from the range finder) should I use terrain following enable when I am using rangefinder to atomically adjust the height? if yes how this terrain used for rangefinder? @Spitfire76
  23. erfan

    Terrain following

    This is what is written in full-parameter list when searching TERRAIN_FOLLOW In LAND mode the vehicle will slow to LAND_SPEED 10m above terrain (instead of 10m above home). does this mean even if I set 1 meter it goes to 10 meter ?
  24. Hello when checking the pricision landing with SITL I am not able to get the log when doing the following : ls -lt logs mavlogdump --type PL logs/<youngest> any idea how to get this log? and which parameter to check after getting the log : is it in the part of PL ? @Spitfire76
  25. erfan

    Terrain following

    Hello I have a question regarding to the parameter Terrain_Enable: In mission planer states that : This enables terrain following for RTL and LAND flight modes. To use this option TERRAIN_ENABLE must be 1 and the GCS must support sending terrain data to the aircraft. In RTL the RTL_ALT will be considered a height above the terrain. In LAND mode the vehicle will slow to LAND_SPEED 10m above terrain (instead of 10m above home). This parameter does not affect AUTO and Guided which use a per-command flag to determine if the height is above-home, absolute or above-terrain. Does that mean Even if I am using Teraranger evo 3 when landing it goes to 10 meter if setting waypoints using terrain ? Thanks @Spitfire76