Additional sensor on AR Drone 2


#1

Hi, I am just wondering if anyone added additional sensors with minimum or no additional microcontrollers to the AR Drone 2. I saw people adding sensors but they also add additional microcontrollers like arduino, wifi etc. I want to add microphone to the drone and use a Teensy microcontroller for this. I don’t want to add any additional wifi or communication to this setup. Can I piggy back the microphone data onto Navdata of the drone (say as additional field)?

Connecting the sensor to the drone:

  1. Via USB port (need to hack it as it only accepts media devices)
    http://syntaxandsemantic.blogspot.co.uk/2013/12/attaching-wifi-dongle-to-ar-drone-20.html
  2. Via the 5 pin serial console on the drone motherboard
    https://gist.github.com/maxogden/4152815

Getting microphone sensor data to ground station:

  1. Piggy back the microphone data onto Navdata of the drone
  2. Since the drone runs Linux, can I run additional program in it to send this microphone data to my ground station some how?

I am using the ROS ardrone_autonomy on the client side for accessing the Navdata via wifi.

Will be thankful for any comments, pointers :slight_smile:

  • DKSR

#2

I’ve not tried any of the above, but for the sake of showing interest I’d say:

Connecting the sensor to the drone:
It probably depends on your sensor, but I’d imagine the serial port would be easier to control at a low level.

Getting microphone sensor data to ground station:
As far as I know, the software on the AR Drone itself is closed source, so you’re not able to modify it. Instead, I would run another program on the linux box that accepts TCP connections (on a port not currently used) and transfer your data through that. Similar to how Video data is sent.

Steve.


#3

Hi Steve,
Thanks for the response. I use the microphone data only once after “takeoff”, so may be I can just process it in the drone itself. I might go with node.js like this:
https://www.rcgroups.com/forums/showthread.php?2388820-AR-Drone-Serial-Arduino-to-js-node-Questions

I never used node, so I am looking for a similar Python module like this to run on the drone itself:

  • DKSR

Connecting external senors to Parrot AR.Drone