background image

RADIOLINK ELETRONIC LIMITED

www.radiolink.com

- 4 -

III.

Parameters Setup

3.1 Module type setup

PIXHAWK support four kinds of obstacle avoidance modules. SUI04 can be chosen by setting the
value of

PRX_TYPE

in Mission Planner(MP).

Setting steps:

1) Choose CONFIG/TUNING on the top of the interface.
2) click

Full Parameter List

on the left.

3) Input

PRX_TYPE

(obstacle avoidance module type) in search column at the lower right corner and press

Enter

.

4) As the searched proximity sensor type shown in the MP, change the proximity sensor type value to 4 ( that is ,

the chosen module type is Range Finder,which is SUI04 ).

5) Click

Write Params

on the right to save the parameters when the setting is complete.

3.2

Setup the avoidance distance and the avoidance enable/disable

The avoidance distance of ultrasonic sensor SUI04 can bechanged by setting the value of

AVOID_MARGIN

.

AVOID_MARGIN: the max avoidance distance at LoiterMode, the unit is meter

The avoidance enable/disable of ultrasonic sensor SUI04 can be set by changing the value of

AVOID_ENABLE

.

AVOID_ENABLE: the value of AVOID_ENABLE0(options is None) means the avoidance function is off and the value
2(options is Use Proximity Sensor) means the avoidance function is on.

Summary of Contents for SUI04

Page 1: ...INI PIX It helps drones achieve autonomously omnibearing obstacle avoidance including 4 horizontal directions upward side and altitude hold downward The detection distance of SUI04 is 40cm to 450cm Function One Obstacle Avoidance I Firmware support Obstacle avoidance firmwares are available with the below 2 links then uploaded to the flight controller PIXHAWK MINI PIX by Mission Planner WARNING Ot...

Page 2: ...4 OR https pan baidu com s 1PTGG58EPP84gEM21xIHCjQ II How to connect 2 1 With PIXHAWK 2 1 1 Individually with PIXHAWK Connecting the module eg SUI 04 and the I2C port of PIXHAWK with a 4 pin to 4 pin wire 2 1 2 Connecting with PIXHAWK by I2C wiring board 2 wires of 4 pin to 4 pin are needed one for connecting I2C port of PIXHAWK and I2C wiring board one for connecting I2C wiring board and SUI04 ...

Page 3: ...pin end to the GPS port of MINIPIX 2 2 2 Connecting with MINIPIX by I2C wiring board 1 Take a 6 pin to 6 pin wire with one end to the GPS port of MINIPIX and one end to the I2C expansion board 2 Take a 4 pin to 4 pin wire with one end to the I2C expansion board and one end to the I2C wiring board 3 Take another 4 pin to 4 pin wire with one end to the I2C wiring board and one end to the SUI04 ...

Page 4: ...e proximity sensor type value to 4 that is the chosen module type is Range Finder which is SUI04 5 Click Write Params on the right to save the parameters when the setting is complete 3 2 Setup the avoidance distance and the avoidance enable disable The avoidance distance of ultrasonic sensor SUI04 can bechanged by setting the value of AVOID_MARGIN AVOID_MARGIN the max avoidance distance at LoiterM...

Page 5: ...Write Params on the right to save the parameters when the setting is complete 3 3 How to Enable Disable the avoidance function by transmitter Optional This setup depends on users habit and is optional The avoidance function of flight controller is always automatically enabled a LoiterModeby default anddisabled ifchange to Stabilize Mode If users prefer enabling disabling the avoidance function by ...

Page 6: ...tter setting steps 1 Choose a 2 position switch the SWA of AT9S for example to control CH7 2 Choose INITIAL SETUP on the top of the interface 3 Click FailSafe in the pull down menu of Madatory Harware on the left and the PWM value interface of CH7 is shown 4 Toggle the switch If the PWM value of CH7 is more than 1800 it means the avoidance function is enabled when the switch is at the bottom posit...

Page 7: ...tacle avoidance it will rotate 90 degree clockwise when press the button once NOTICE Every direction changed the flight controller and the module need to be restarted 5 Data Check As the data of the latest official MP is not well shown it s suggested to download the Mission Planner specially for MINIPIX to check data http www radiolink com cn firmware MissionPlanner MissionPlanner 1 3 49 6 exe Aft...

Page 8: ...d restart the MP after following all the above steps to ensure the successful parameters setup for failsafe After verifying all the parameters setup it s strongly suggested to find a large place with walls or other obstacles to have a test when ready for the first flight Flight testing steps 1 Power on the drone and wait till the blue LED of PIXHAWK blinks meaning the initialization of PIXHAWK is ...

Page 9: ...e disabled please follow the above steps and change the value of AVOID_DIST_MAX to 0 in Param Setup in MP 3 Never enable the avoidance function of SUI04 at Alt Hold Mode but Loiter Mold At Alt hold mode when the drone encounter obstacles its slant angle will combine pitch with roll then response It may be too late to stop if the drone is at full speed But at Loiter Mode the drone will stop immedia...

Page 10: ...s locked by the flight controller To armed SUI04 the distance between the drone and obstacles should be more than 60cm Function Two Collision Avoidance Upward The collision avoidance upward function is same as the obstacle avoidance function the direction of SUI04 upward can be setup by pressing the same button Press the button 6 times and the LED flashes 6 times and the direction of SUI04 is set ...

Page 11: ...aFlash Logs Download Connect the flight controller with MP and follow the below steps to download DataFlash Logs Clickthe logs and download 2 Log check Open the log files Click the log review and open the log Follow the Step 1 and Step 2 shown in below pic ...

Page 12: ...f SUI04 downward can be setup by pressing the same button Press the button 5 times and the LED flashes 5 times and the direction of SUI04 is set downward 1 1 With PIXHAWK 1 1 1 Individually with PIXHAWK Connect SUI 04 and the I2C port of PIXHAWK with a 4 pin to 4 pin wire 1 1 2 Connecting with PIXHAWK by I2C wiring board 2 wires of 4 pin to 4 pin are needed one for connecting I2C port of PIXHAWK a...

Page 13: ... the 6 pin end to the GPS port of MINIPIX 1 2 2 Connecting with MINIPIX by I2C wiring board 1 Take a 6 pin to 6 pin wire with one end to the GPS port of MINIPIX and one end to the I2C expansion board 2 Take a 4 pin to 4 pin wire with one end to the I2C expansion board and one end to the I2C wiring board 3 Take another 4 pin to 4 pin wire with one end to the I2C wiring board and one end to the SUI0...

Page 14: ...rection of SUI04 is set upward II Parameters Setup 2 1 Module type setup 1 Click INITIAL SETUP on the top 2 Click Optional Hardware on the left 3 Click Range Finder and the RangeFinder interface is on the right 4 Click the pull down menu and choose MaxbotixI2C or LightWareI2C After the Range Finder setup restart the flight controller and back to this Range Finder setup menu the shown detection dis...

Page 15: ...t Hold function by transmitter Optional This setup depends on users habit and is optional The Alt Hold function of SUI04 is always automatically enabled at Alt Hold Mode and Post Hold Mode by default anddisabled ifchange to Stabilize Mode If users preferenabling disabling the Alt Hold function by transmitter setup in the Mission Planner is necessary Flight Controller Setting steps CH8_OPT Paramete...

Page 16: ...k FailSafe in the pull down menu of Madatory Harware on the left and the interface of CH8 PWM value is shown 4 Toggle the switch If the PWM value of CH8 is more than 1800 it means the Alt Hold function is enabled when the switch is at the bottom position If the PWM value of CH8 is less than 1800 it means the Alt Hold function is disabled when the switch is at the top position ...

Reviews: