Welcome to PhantomPilots.com

Sign up for a weekly email of the latest drone news & information

install distance sensor to Phantom 2 / autonomous flight opt

Discussion in 'Phantom 2 Discussion' started by maxmustermann282, Apr 23, 2014.

  1. maxmustermann282

    Apr 23, 2014
    Likes Received:

    I want to program a drone so it can move a pre-programmed path.
    Anyhow, the height / distance from the ground needs to be accurate
    ( I want to attach a robotic arm but it needs valid data in height for its tasks ).

    I have the DJI Phantom 2 system because I like its long flight time.

    Is there a way to program it for a specific route for to fly at a a specific height?
    I want to give a certain height and want the Phantom 2 to adjust its
    height accordingly to the new distance sensor, lets say an ultrasonic sensor.
    Basically, i want to turn it into a robot.

    How can I achieve this? I know the inbuilt naza is limited in its features.

    1. replace the naza with the ardupilot

    2. find a way to communicate between with the inbult flight controller naza
    and my arduino

    3. take the remote control and interface it to the arduino, so that the arduino
    controls the remote control of the Phantom 2 and gets the data from the Ultrasonic sensors onboard the Phantom 2 via a radio link?

    4. is it possible to communicate with the arduino and the Phantom 2 over the canbus,
    so the arduino lets the phantom 2 know where to fly?

    Thank you for your suggestions!
  2. ianwood

    ianwood Taco Wrangler
    Staff Member

    Jan 7, 2014
    Likes Received:
    Lost Angeles
    Re: install distance sensor to Phantom 2 / autonomous flight

    I just posted this pic in another thread:


    Using the Arduino Teensy, I can get CAN bus messages out of the Naza but there's a looooong way to go yet before being able to control it. Assuming one could take control via the CAN bus for granular control such as manipulating RC inputs, you could use LiDAR and have the Arduino adjust throttle position automatically.
Similar Threads - install distance sensor Forum Date
Installed DBS-mod, distance test Standard/4k Discussion Jan 21, 2017
Installing new ESC Part 33 (old control board) wiring Pro/Adv Discussion Tuesday at 5:12 PM
Install dji assisstant2 on windows pc using windows 7 Phantom 4 Help Jul 6, 2017
re-install firmare to RC Phantom 4 Pro Discussion Jul 5, 2017
Correct DBS Mod Wire Install Loacations Standard/4k Discussion Jun 30, 2017