All Posts (14048)

Sort by

Hi,I am working in this project, it is a bidireccional RC transmitter.Sometimes, i think than conventional transmitters start to have no sense for uav projectsThis is a proyect with a small board with ARM7 (NXP LPC2xxx) and a Xbee PRO with 60 mW (similar performance than standard transmitter) and a Bluetooth module to connect with a PDA.This board have 9 analog inputs for joysticks, and other controls, battery voltage..., it try to be a whole solution with charger connector for charge transmitter battery and PDA battery...We are working in a graph tool in order to show flight instruments in PDA.jlcortex

Read more…

UAV Playground - NMEA to KML

This blog post is an addition to the UAV Playground project blog. It shows you how to program a very simple UAV Playground application that provides Google Earth with some KML data it receives as NMEA data from FlightGear.[The poor formatting of the code sections is unintended]DownloadUAVplayground-KMLPorvider.zipSource code (ProvideKML.java)
import java.applet.Applet;import jaron.flightgear.FlightGearNMEAReceiver;import jaron.google.GoogleEarthKMLProvider; public class ProvideKML extends Applet {  FlightGearNMEAReceiver receiver;  GoogleEarthKMLProvider provider;  public void init() {    receiver = new FlightGearNMEAReceiver();    provider = new GoogleEarthKMLProvider();    receiver.addTrackpointListener(provider);  }}
Google Earth KML file (Start-GoogleEarth-Tracking.kml)
<?xml version="1.0" encoding="UTF-8"?><kml xmlns="http://earth.google.com/kml/2.1">  <NetworkLink>    <name>UAV Playground Network Link</name>    <Link>      <href>http://127.0.0.1:8080/</href&gt;      <refreshMode>onInterval</refreshMode>      <refreshInterval>2</refreshInterval>    </Link>  </NetworkLink></kml>
FlightGear startup file (Start-FlightGear-NMEA.bat)
"%PROGRAMFILES%\FlightGear\bin\Win32\fgfs" ^  "--fg-root=%PROGRAMFILES%\FlightGear\data" ^  "--nmea=socket,out,0.5,127.0.0.1,5557,tcp"
Start the application- Start the Java application as an Applet- Start FlightGear with the above batch file- Start Google Earth by double-clicking on the above KML file or just open the file in Google EarthTo navigate to the track In Google Earth double-click on Places -> Temporary Places -> UAV Playground Network Link -> Tracks -> GPS Tracks.
Read more…

Easy Star flight test with ArduPilot

Today was the first flight test of my upgraded Easy Star with the ArduPilot installed. I encountered a few problems that will take some more tests to diagnose. Would appreciate any comments.Here is the setup:-Easy Star with the aileron conversion as documented in this RCgroups posting.-FMA Co-Pilot-Towerhobbies 72Mhz 8 channel RX and Tower Hobbies 6XM TX.-EM-406A GPS-ArduPilot with the latest code (22 Feb I think) set to RTL.Previously I tested the Easy Star with ailerons and the FMA Co-pilot and found the performance to be rock solid. The only addition to today's flight was the ArduPilot and GPS. Take off was uneventful and I waited until reaching about 200 feet with the plane flying directly away from me to switch on the Ardupilot. I encountered two problems that I believe are likely unrelated.Problem 1: Shortly after switching on the ArduPilot, the plane started flying erratically, the throttle and all control surfaces moving in an uncoordinated and erratic fashion. I switched the ArduPilot off and was able to recover the plane. A little more testing showed that he plane behaved similarly, even with the ArduPilot MUX switched off. The plane essentially behaved as if someone was on the same channel and/or general radio interference. There was only one other flier at the field (that I could see, its a big park) and they were on 2.4ghz.Possible Solution: Move the Ardupilot and GPS as far from the RX and ESC as possible. If that doesn't work, try another RX, possibly a Berg.Problem 2: During the brief intervals where I was not experiencing this interference, I switched on the ArduPilot. The throttle behaved as expected and maintained altitude. It seemed like the plane was turning towards the launch point, but so slowly that I had to switch off the ardupilot and bring it back manually or it would have flow out of visual range. Again I didn't get to test this much as the interference problem was popping up frequently.Possible Solution: Even though I have enlarged the rudder on the Easy Star, when the FMA Co-Pilot is on and I try to turn the plane with rudder only, it takes almost full rudder deflection to make a reasonable turn. I believe there is a setting in the ArduPilot code to turn up the gain on the rudder which may solve this problem.Would appreciate any comments if it looks like I missed something.
Read more…
3D Robotics

More housekeeping: new Forum and Blogs tabs

I've finally gone through all the discussion on this site and categorized them so they can be more easily usable. You can see all the categories and the discussions in them by clicking on the "Forum" tab at the top. Please remember to select an appropriate category when you post a new forum topic. As for blog posts, they operate a different way, using multiple tags rather than categories. So please add tags to your blog posts, so people can find them! I've also added a Blogs tab at the top, so you can see all blog posts, as well as them sorted by date and tags.
Read more…
3D Robotics
ArduPilot has a built-in power regulator, so you can power it from a separate battery at anything from 5-15v. To do this, you have switch the solder jumper from the default RC power to battery power. This means unsoldering the solder jumper that the board ships with and resoldering it on the other side. These pictures show the difference (apologies from my crappy soldering on the second one):

One thing to keep in mind if you make this change: Unlike the standard setting, if you use BATT input it will only power the ArduPilot board; it will not power your RC receiver or servos. They must have their own power supply, such as a receiver battery pack or ESC for an electric plane. This is designed for people who fly gas planes (no ESC) and want the RC system on a separate power circuit so the autopilot can't drain that battery. If, however, you want to to power both the RC system and the ArduPilot board from the same source, leave the board in its default setting and connect the battery straight to the RC receiver; the receiver will then power the ArduPilot board.
Read more…
T3
For those of you who bought a UAV DevBoard and who also live some place too cold to fly yet, I just finished a "roll-pitch-yaw demo" that you can use to show off your board. Firmware, documentation, and more details are available in a discussion of a direction cosine matrix estimator.Also, here is the firmware and documentation.The demo is rather impressive. It is a milestone in the project that I am presently working on with Paul Bizard. It uses mostly gyro information to compute the direction cosine matrix that specifies the relative orientation of two cartesian coordinate systems. In the demo, the cosines of the angles between the axes of the board and the vertical ground axis are output to 3 servos. Roll-pitch performance is smooth, accurate, and drift-free.The demo is fun and easy to run, does not require a GPS radio, does not require you to go outside, and will impress your friends.Bill Premerlani
Read more…
3D Robotics

Reloading the Arduino bootloader

If at any point you've managed to crash the ArduPilot code so badly that you've nuked the bootloader, don't worry: you can reload it. You'll need an AVR programmer. The best way to reload the bootloader is with the Arduino IDE, which is pretty straightforward. Just plug in your AVR programmer and select Burn Bootloader/ w/ AVRISP mk II. If you've already loaded AVR Studio, you may get an error in Arduino that says it can't find the USB. That's because of a driver conflict with the AVR Studio driver. Follow this workaround to reload the correct driver. It is also possible to load the bootloader with AVR Studio. Follow these instructions.
Read more…
3D Robotics

ArduPilot GPS lock bug fixed

Thanks to Rusty's detective work, I think we've fixed the GPS lock bug (the blue LED was turning off even when the module was showing valid data). New code is here. (Basically every instance of "if (fix_position == 0x01) ..." should have been "if (fix_position >= 0x01)..." It turns out that there are three valid fix values: 1,2 and 3. See the datasheet for more.)
Read more…
3D Robotics

Arduino 13 bootloading hint

If you're having trouble flashing the ArduPilot code with Arduino 13, try upgrading the bootloader on ArduPilot to the latest version. You can do it with your AVR programmer in the Arduino IDE or use AVR Studio to program the board with the ATmegaBOOT_168_diecimila.hex file found in the Arduino folder hardware/bootloaders. I was having that problem and this fixed it for me.
Read more…

Can Ardupilot use magnetic heading vice GPS

I am interested in using the ArduPilot on an autonomous surface marine vehicle to control the rudder. The vehicle control system is predicated on having the vehicle's bow (front) pointed in a steady direction; not on having the vehicle make a specific course over the ground. The vehicle has a flux-gate electronic magnetic compass that provides NMEA data on heading. What would be required to modify the code to replace the GPS heading with heading from the compass?Thanks
Read more…
Hi this is the first picture of the ground station software i write for my xbee remote.I got the horizon done, but to the lack of missing imu yet , i can only test it via keys, whats not so nice.

The compass works already with the gps data, and also indicates with the green ball where the copter is goinging in the moment. and i als want to incorporate the field of view of the cam so you see in the compass where your camm looks.Beside that , this is the data i recive from the xbee propeller setup its 70 bytes due to the high number of floats i have.but i think its possible to trick a bit with some and pack them in a byte.And i send 8 bytes to it to control the copter.But i think i have to go with hardware serial sync to get a bit better and faster rates. 30 fps is right now the maxwith this much data, on loss rate of 0.01%With the horizon i want to make a second screen where it will be a bit bigger and have instead of the blue an orange back round live video feed. like in a real HUD.More to come.. soon
Read more…
3D Robotics

Update on ArduPilot code--final NMEA release

Jordi has been flight testing ArduPilot all week and we've got a raft of new code to share over the next week and an exciting new dimension of ArduPilot to reveal. First, today's installment: an updated version of the standard ArduPilot code, with PID loops improved and some bugs caught. You can find the code here. This is the last version of ArduPilot that we will be releasing with a NMEA parser. Although NMEA allows you to use any GPS module with ArduPilot, it's inefficient and ultimately limiting in accuracy and reliability. Going forward we will be supporting SirfIII binary mode with the EM406 (if you have one, there's nothing you need to do to switch to that mode; the code will do it for you) and the Ublox 5Hz modules. Everyone with the recommended combo of ArduPilot and EM406 are fine. Those of you with other GPS modules are also fine for now, in that this is the latest and greatest code for this version of ArduPilot, but you won't be able to migrate with us to the next version. (Although you can always tweak our code for your own GPS if you want). All this is the lead-up to the next release, in a few days: ArduPilot with built-in stabilization and navigation, flying great in a plane you may recognize ;-) More later..
Read more…

UAV Project Update - February

This is the second post I have made that is an update to my initial project design to make my fully autonomous aircraft. Our team has made a fair amount of decision making sense my previous post. Just for reference, the official name of our project is now "FlySpy".Airplane Selection:We have chosen the Easy Glider Pro from multiplex. Although it does not have as much internal space as the Easy Star, we fell that ailerons were a must for our application which Easy Star doesn't have. We have completely assembled the airplane and have flown it once. (No one on our team has experience flying RC Airplanes so we have an official pilot from a local UAV Imaging company. It would be nice for someone on our team to have experience flying but we do not want to use our project as a test dummy.) We are using the Power Pack and Servo pack that are made for the Easy Glider Pro. The motor seems beefy enough to support a flight with our components added to its weight so we do not intend on buying a bigger one.Battery : EVOLITE Li-Po 7.4V 2500mAh BatteryAutopilot Module Component Selection:Microcontroller - Microchip PIC24FJ256GA1103 Axis Accelerometer - Analog Devices ADCL3302 Axis Gyro - InvenSense IDG 300Barometer - VTI Technologies SCP 1000Range Finder - LV-MaxSonar-EZ1 Sonar Range FinderGPS Module - uBlox LEA-4P and getting Sarantel SL 1201 (Geohelix P2)SD Card Slot - TBDI have obtained a Niko Cool Pix s7c from a friend to use as an onboard camera. I am still working on decoding its push button pins so our Micro can turn it on/off and control the shutter.Topics we are contemplating:Powering Autopilot Devices - Everything that we are using runs off a 3.3V Vdd. We are uncertain if it would be okay to use the power rail coming out of the speed controller and sending it to a voltage regulator. We estimate our devices drawing about 157mA when everything is operating. Is this the usual solution or do we need to run off of two battery sources?Gyro & Accelerometer Data - I am still in the process of researching what are the best algorithms to fuse the data between the gyro and accelerometer to get a good orientation reading.If you are interested in looking at our progress, you can always look at our team website. Or if you want to go more in detail about my day to day discovery, you can look at my notebook.
Read more…

Gyro based Gimble

Good day everyone. I never post because I'm a busy guy but hey, let's take advantage of everyone's Expertise!!Here's my current project:We have contracts with Forestry related clients. Currently we haul Repeaters and cellular links up to 3000'AGL to supply them with instant radio/cellular communications. Our system is solar powered and stays aloft for about a week at a time.Recently we were asked to set up camera racks on a picovet for it and so the projects begin!We are using standard off the shelf Pan Tilt Zoom dome cameras (Like store security uses) with a 5.8Ghz downlink for video and pan. We control the system using a joystick and DVR / software package..Our issues so far.Leveling is ok with the Picovet system and keeps the rack fairly stable. Software will handle most of the bounce BUT sometimes the balloon does a complete 360! When this happens, we lose our targets. We will rarely go to full zoom (X30) and normally no more than X15 zoom.We are thinking of two options:Make a 360 pivot point with a slip ring system and a heading hold gyro that will rotate the entore camera dome when a gust hits... (or something like that)ORFigure out a way that a program in the controller could rotate the already exhisting pan of the dome to compensate for balloon drift. Maybe a compass lock sensor of some sort? but could it be piggybacked on that 5.8Ghz video signal??Ideas???? Want to help us?? or be a contractor for this project??Let us know.Thanks again,Dave SkalaAerosight.com
Read more…
If you're about to deal with interested parties overseas, consider this:Maryland woman charged with illegal export of miniature aircraft controls to Chinatext_link.gif
WASHINGTON (AP) — A Maryland woman was charged Friday with exporting miniature controls for small unmanned aircraft to China.The government says the controls are the world's smallest and involve a technology that cannot be shared with China because of national security concerns. The devices can be used to fly small military reconnaissance planes.Yaming Nina Qi Hanson of Silver Spring, Md., is accused of taking the controls to China last August without a required export license. If convicted, she faces a maximum sentence of 20 years in prison and a $1 million fine (emphasis mine -J).Qi Hanson and her husband, Harold Hanson, arranged over e-mail to buy the controls from a Canadian company, MicroPilot of Manitoba, according to the criminal complaint. Company officials told the couple they could ship the controls to the United States but the couple would have to get an export permit to send the controls to another country.
Read the full articleIt doesn't really help anyone here to have the government use this incident as an excuse to crack down on amateur unmanned aerial vehicles. So please don't do anything stupid like this.
Read more…
3D Robotics

Status update on ArduPilot production

Here's a Sparkfun engineering report on those last few boards that got out with incorrect fuse settings. Short form: the glitches from a few weeks ago should now all be gone: "A small number of boards that did not have the correct fuse setting got mixed into the batch that are correctly programmed. Currently, production is programming the correct fuses on all new builds. I am getting someone to go through our storefront stock right now to make sure the correct fuse settings are programmed. So, all boards from now on will have the correct fuse setting and boards sent out after 2/5 that do not have the correct fuse setting should be minimal anyway. Sorry for the confusion and we are sending new boards (hopefully with correct fuse settings now) to customers that have issues and do not have AVR programmers."
Read more…
T3

X-Plane simulator for Lego NXT AutoPilot

Here's a auto pilot simulator for NXT AutoPilot based on Michal B's ArduSim.All you need is Lego NXT, RobotC and bluetooth-abled computer to run this simulator. You don't need any of the sensors NXT AutoPilot requires to be able to fly. Although you can add servo controller if you like. As before this simulator is based on X-Plane simulator.Here's how it basically works:-LegoSim.exe communicates between X-Plane (thorugh UDP) and NXT (through bluetooth).-NXT receives GGA sentence (1hz) and the planes attitude (10hz) from LegoSim and sends back servo positions and the telemetry it received as a double check.-LegoSim saves the co-ordinates it received to a .kml file which you can then open in google earth.-LegoSim sends the servo positions to X-Plane.Which closes the circle, so to speak...You should note when using this simulator that the real AutoPilot updates it's attitude and servo positions at almost 300 hz so you can't use the same PID values for your stabilization when flying for real.To replicate this simulation you need:- X-Plane (set it up as described in THIS blog post BUT USE 49003 as the port you define in the settings!!)-Now pair your NXT with your computers bluetooth and memorize the COM port it uses to connect.-Download LegoSim_v.0.0.zip-You can run the LegoSim already and set the IP to 127.0.0.1 and the port to 49003. Set the COM port to the one that NXT uses with your computer and the baud rate to maximum.-Next you need to download and compile with RobotC (ver. 1.45 or above) the AutoPilot for your NXT: NXT AutoPilot Simulator v.0.0.zip- Now in X-Plane set your loaction to Innsbruck and your aircraft to Cessna.- Finally: Press start in LegoSim and then start the AutoPilot program in NXT (you may need to start the AutoPilot several times before it runs OK due to some bugs in my code). Now just release your breaks in X-Plane by pressing b and the auto pilot will take off. (After you have started the AutoPilot you can also hit the "Google Earth"-button in LegoSim..Here are some screenshots of the simulation:Waiting for NXT AutoPilot to start:

Take off...

In flight:

And finally here's a snap shot of two different fly paths one in perfect conditions and the other in heavy wind/turbulence:

Read more…
Moderator

Wing upgrade for Superstar (SPAD wing)

Quite by chance I had a Superstar.When DIYdrones first flighted I was amused to see one being used and I think I have seen in somewhere in the East a military one.

That one having an off and landing on a house which made the local papersAnyhow, after many many fun hours teaching three or four people to fly with the Superstar, whilstI was overseas my young aviator decided to use the Superstar as a chuck glider from the top of their climbing frame.This went well for several flights so I am told, the garden being on a slight slope allowed the Superstar to fly all the way to the bottom.It was not perhaps designed for such things.I was slightly miffed bcause I had recently stripped the covering as it was tatty and the aircraft was now a spirited red.Well the wings were, the fuse had only been started.To cut a long story short, more out of boredom but also out of a desire to prove Dean wrong.For it is he that said he had failed to find an aircraft that the Attopilot could not fly.I determined to make a set of wings, with my boys,from some roofing foam that we had. The fuselage we simply nicked some correx signboards and glued them onto the gaps.Later having flown it, I thought that if I got to 5 hours flying time I would put the dimensions out there so that somebody could do a better job!All we did was tape some dowels in it for strength, cutting it first to what looked the right size in proportion to the airframe. Its a polyhedral 5% crank at the centre 15 at the tips. Again that just looked right.The aerofoil was a soldering iron cut steeper at the front shallower at the back.Then everything was taped together with reinforced tape.Just yesterday I measured it for the first time, the tips are 30 cm and main 90 cm each side making a total of 2.4m Cord 30cm. Quite a neat number for something that was just done by eye!To make things look right on the airframe, the weight and drag of wheels was forgotten.Looked like the thing was going to be short coupled so I increased the length of the rudder and elevator to bring things back a bit.For the first flight it was plain that we needed to strengthen the middle a little as the wings virtually tried to clap. But it flew.On the third flight I added my co pilot, because I also wanted to explore rudder elevator only with the co pilot. I forgot to mention no ailerons in this bird.In the three aircraft I have tried with rudder elevator and co pilot I have found that as long as the gain is reduced the co pilot handles it pretty well. This particular wing has quite a dihedral and the aircraft is inherantly stable.Test flying commenced on the 31st of January and 16 days later after 33 flights 5 hours have been achived, it would have been quicker, but the weather has not played ball.Now done properly, perhaps a built up wing or even a better foam one, properly cut, I am certain the performance will improve.A wing upgrade for your Ardupilot equiped Superstar will increase useful load, and time in the air.I'm using a Dualsky 50 equivalent motor, RAM 12 x 6 prop, 40 amp esc and 3S 2100 lipo.I'm sure somebody here will come up with a neater solution, but I know these measurements work for me so they should for you!With a better matched power set up with electric prop lighter wing and no bodged tail I'm sure an hour would be possible.

Read more…