All Posts (14056)

Sort by

New GPS to microSD Logger design requests

Hi Guys,

I was design a SD card logger circuit since months but i didn't share it because Atmega328s have stock problem since 10 months and the smaller controller's capacity not enough for this device.
Anyway We just received 250 units Atmega328 and it will finish in few days.
I need your guidance for capabilities of this device. Please feel free about any comments or requests

This is the SD logger circuit.

gps_log.jpg

How it Works

We will connect it on any GPS wiring(parallel) and it will reads all transmission between GPS to Autopilot/OSD and records on SD card. And we can read the flight path with a PC after flight. I guess it will good option for T3 competitions or other logging requirements ;)



Information About Hardware

  • Supporting 0 to 115.200 baud RS232 transmissions,
  • I2C support is possible
  • It's including 2 x 10bit ADC pin-outs for analog logging features (maybe for different projects)
  • FAT32 file support for SD and SDHC microSD/Trancent cards
  • Firmware Upgradeable over RS232 with Megaload boot loading system
  • 4-12V supply voltage
Possible Features of Device
  • Direct KMZ file generating from GPS data
  • Full stream GPS data logging (I guess useless satellite azimuth values must be spitted)
  • Automatic file name generating from Time and Date (it creates different files for every hours)
  • Max. 10Hz GPS support (My personal suggestion: 1 Hz is enough for clear path)
  • Configurable over a config.txt file for all features.
  • And Please share your suggestions about these and another possible features :)
Thanks for reading
Melih

Read more…
3D Robotics


Lorenz Meir of the Pixhawk team had a good email discussion with the APM dev team on airspeed math, and was kind enough to write it up in a very helpful primer.


Check out the whole thing here, which walks through the math and measurement techniques.


His tips at the end apply to sensor measurements of all sorts:


"Conclusion To get an optimal altitude or speed estimate, follow these rules of thumb:
  • Get as much ADC resolution as possible, in the best case 10-100 times or more than your needed accuracy
  • Sample at a much higher frequency and take the average/median (e.g. sample 10 times in a row, take the average/median, return this filtered value). This technique is called oversampling and if the sampling repetitions occur at a much higher frequency than the sampling interval, it should not delay the signal (no phase shift).
  • Do a plot over a sensor range to figure out if your sensor is linear, if not, fit a quadratic/cubic function and linearize
  • Do a static calibration if necessary
  • Compensate for temperature changes if the sensor is sensitive to it
  • Do not over-fit or over filter and just correct as much error as you need to make your application work. Too many projects and people get entangled in their own complexity and failures and crashes are the result of too high complexity and too few testing"

Read more…

SUDDEN FLIPS










Things started off with a failed motor after the last crash. Turned out a wire sheered off from flexing during a crash long ago & the other 2 wires were nearly broken off. No way to spot it without removing the heat shrink tubing. There's no flex tolerance in those $12 motors. This in addition to a minimum PWM setting that was too low after a firmware update may have been causing flips for a while.



Next, it was off to test a new GPS derived heading algorithm & a 25 year old flash. This was the EOS 5D's lightest configuration with a flash.





















The 25 year old flash wasn't much dimmer than the modern $400 580EX II but took forever to recharge. The GPS derived heading seems better.


Now the results of the new algorithm. Commanded & detected heading should be as close as possible.







Except for a few transients, it actually seemed to do better.

Finally, for those of you who use laptops initially instead of rendering 3D models of home made groundstations & buying laptops later, it's time to hack the Targus.

Targus deliberately prevented hackers from splicing unusual connectors to their power supplies by requiring a logic circuit in their connectors to turn on the power supply. Your only recourse to use a custom connector is some diabolical soldering & Dean.










Read more…

PIXHAWK Onboard Pattern Recognition Video



This video shows the PIXHAWK onboard pattern recognition. Interested in the hardware to run it onboard? Two approaches have been implemented: One is extremely efficient and runs at 30 Hz on a Gumstix Overo (ARM Cortex-A8, Smartphone processor). This approach is based on first detecting quadrangles and then matching the objects enclosed by these. We used this approach on a Gumstix Overo onboard our PIXHAWK Pioneer Coaxial helicopter and won last years EMAV 2009 competition with it.

The second approach is more general and uses closed contours fed into a SVM. It can detect arbitrary shapes, but requires more processing power. Through our PIXHAWK middleware, the camera image can be sent to both in parallel to allow a maximum detection.

The video shows the first, highly efficient and robust approach in action:

If you have questions on the video or approach, please contact Fabian Landau.

Please note that the detection is done onboard of our coaxial and quadrotor MAVs with no external processing. The software is part of the ai_vision PIXHAWK repository and will be made available as GNU GPLv3 code.

Read more…

Location Accuracy Within Google Earth

I noticed that my Garmin never says my location accuracy is better than 10 feet. I suspect that's a hard stop--no matter how good it is, nothing better than 10 feet will be reported. I decided to check this by plotting the coordinates given from the Garmin device in Google Maps, then Google Earth, and discovered that if any inaccuracy exists, it's within these two programs. In each case, the program showed my location a good 40-50' from where I actually was. On the other hand, plotting those same coordinates within Bing Maps showed the location within 6' of where the Garmin actually was located. The beta version of MapQuest allows you to enter cooridinates, and it was better than Google, but not quite as good as Bing.

I realize that both the Garmin and the map program being used have inaccuracies that will be additive, but I am very surprised at the Google results. I'm curious if anyone here who has plotted their flight paths within Google Earth has seen similar inaccuracies. Your plane could be shown either flying underground or taking off and landing from a virtual airstrip in the sky.

Thanks,
Paul

Read more…
100KM
EVUAS = EVolution Unmanned aerial systems

Introducing the next evolution in servo control : the opto flight !


there are many advantages to using fiber optics over conventional copper.
these include :
- 100% RFI proof
-complete electrical isolation between RX and servos (excessive current draw from servos will not cause battery voltage drop possibly leading to RX brown out and loss of control)
-no inductive feedback
- can use 5cell batt for RX while using 7.4v lipo unregulated with new high voltage servos .
-boards can tolerate up to 18volts dc

kit includes :
1x receiver board
8x servo boards
1x 10ft fiber optic cable
20x fiber optic cable terminal connectors
1x terminal polishing kit

learn more at www.evuas.com/index.php

18 units available for pre-order . shipping august 20th .
Read more…

Update on my autopilot project

Work has been progressing slowly, but should speed up in two weeks when I will have more time and be back to my equipment and machining facilities. I have a new version of the board coming that should facilitate better proccessing.

It is quite large right now as it is designed to fit on top of the XC-1A dev kit, but the final board will be able to fit into a footprint as little as 1.5"x1" (small size is a key goal here) with a 6 or even 8 layer board to accomodate the proccesor (144 BGA). I am thinking of adding a backup comm system based on a cellular module, which would also be added to the board (64 BGA).

A test stand for the helicopter is in the works. The stand will allow the helicopter to move freely in all directions with boundary limits to prevent crashing. The movement range will be 0-3 feet in the Z axis, and ~150 degrees in the x and y direction. It will add a little bit of weight, but should not matter much with a .30 size helicopter. Motion should not be constrained as it will use PTFE/oil impregnated bronze bearings. CAD files to come later.

Read more…
Hi all!
I am currently doing a project on airplanes using Ardupilot for a start. I found that DIY drones is a big resources area for me to read but there are too much things to look at.
I have started with soldering of the ardupilot board. Do i need to solder the pin D13? I am seeing some pages soldering it and some don't.

I have an objective on making the airplane flying autopilot.
As my airplane requires 4 channel : 1 for aileron, 2 for elevator, 3 for throttle, 4 for rudder, I do not have an extra channel from my transmitter for the CTRL pin. I am using a 4ch transmitter and 6ch receiver http://www.jethobby.com.sg/cgi-bin/ezsite/prod/manager.cgi?action=show&pid=742&cid=31&idx=1&gid=9. I was suppose to connect either channel 5/6 of the receiver to the CTRL pin, is there any alternative ways that i can do to allow my plane to fly auto pilot? (Wish there is some other ways other than buying a new 6 channel transmitter).

For more information, I am using Cessna TW 747-1 airplane for my project currently.

What do I need to add in the program so that I am able to control channel4(rudder) together with channel1 and 2? In the Arduino default files, there is a program "SERVO SWEEP", but it only works for channel 1 and 2.

I am totally new to Ardupilot programming. Can someone give me a manual/guide for the programming?
I saw many type of source codes in the source code page, but i am not sure what and which to use.
I've downloaded the "ArduPilot_2_7_beta3", "Test Suite" and "ArduPilot_EasyStar_V24" which i read from some different guides. But i am not sure how to use them.

I clicked the Serial Monitor for viewing but what is shown is some weird characters.
What am i suppose to see in the Serial Monitor? How to i choose the BAUD?

I am stuck currently with my Ardupilot, which is my first step of project, so I have not move to the GPS, XBEE and XYZ sensors yet. My project is due about 4 Months later, am i able to complete the project? I have 2 partners working with me currently.

Please give me some comment. Thanks in advance! (:

Read more…

Perseus AHRS + 3D Visualization App/Source

A short video of the Perseus AHRS using a small 3D visualization app I wrote this afternoon:


Full blog article is here:

I've been working on the Perseus Autopilot for the past few weeks and unfortunately didn't find the time to post any updates on the Andromeda Blog. I'm in the process of writing about a few things about the AHRS that I've been building as part of the project and I should hopefully post that within the week.

Also in case it might be of use to anyone, I wrote a simple 3D visualizer for the demonstration above. It will read quaternion values from the serial port in the following format:

w x y z;

But you can re-write it to accept any format. You just need to write your own custom GetRotation function. It's developed in C# and uses WPF3D for the visuals so the codebase is very small. Unfortunately it limits it to windows only (sorry). The source include the entire VS2008 project and you can do whatever you want with it.

You can download the code from here:



Read more…

3689363069?profile=originalPowered by a 48 Mhz Atmel AT91SAM7X512 Free tools, all open source code and hardware .NET Micro Framework Event-based programming, multi-threading, line-by-line debugging, and breakpoints.

http://www.netduino.com/

Amazing price I think for only $34.95...mine is coming this Friday...new toys. This will bring a lot of high level programmers into the embedded world, I believe. What would you do with it?

Read more…

Open ATC

This is a Swarm routing project based on the Ant Colony Optimization Algorithm which I first played with some 10 years ago.

The essence of biomemetic algorithms is the realization of emergent behaviors above and beyond the programmed behaviors - for example in this case, Air corridors and cooperative flight patterns emerge with dedicated program to establish them

As an Air Traffic Control protocol it offers (or could offer):
  1. High Density routing for swarms of uavs - and manned planes.
  2. Real-time deconfliction - immediate reaction to changes
  3. Infinite scalability - with only local communication.
  4. Deconfliction over non-airport hot spots like traffic, crime and accident scenes, borders, ships or oil rigs, ad hoc disaster and military sites.
  5. Mixed types and sizes of aircraft with unique separation requirements, power, speed etc...
  6. Deconflicts airplanes on the ground as well as in the air.
  7. Listen and avoid potential (small devices without transmitters).
  8. Can be used for ground vehicle, boats, or subs (provided they have localization).
One can run the program from this page
Source Code (GPL) can be downloaded here.
Read more…
3D Robotics

The PixHawk team in Switzerland, which has been doing great work with quadcopters and ground stations (we're evaluating their GCS for the APM), is planning to release their IMU and autopilot commercially. Before they do so, they'd like some community feedback on what you'd like to use it for and which features you'd like.


Vote here!

Read more…

My UAV project in the works.

Hello all, newcomer here. I've been cobbling together some (mostly off the shelf) components together to make a FPV system, at least initially. Later on I plan on adding more goodies to get to "UAV" status, but for now it's all good.


Pictured is the mostly completed ground station, and some of the vehicle-side stuff.


The ground station consists of an Arduino mega, an SFE joystick shield, a Nokia 6100 LCD, and a cheap 4800 baud wireless serial modem, which is hidden behind the LCD. I plan on replacing the serial modem with an Xbee pro soon, but the TX/RX pair was only $10 total, so I figured it'd work for inital debugging and testing.


The plane components here are another arduino, with the wireless RX, elevator and rudder servos, and a 4DS TTL-level camera.


Everything works well, except for the camera. Hooked directly to the mega at 57600 baud and lowest RAW resolution, I averaged about 0.5 fps to the screen. I don't even what to think about what it would be like over a 4800baud connection, let alone an Xbee a hundred feet in the air. My question thus is - what would a good NTSC-output camera be, and what would be a good transmitter and receiver unit for that camera? The Xbee I plan on getting is 2.4ghz, so I would need something that would not interfere with that. Thanks!

Read more…
Developer

Updates on ArduCopter 3D Model

3689362902?profile=original


Today I started to wiring our ArduCopter 3D Model. So, I decided to do a little instructional image showing how to make a cable for the magnetometer board using the DIYD's GPS cable.



And, here go some other images that I want to share with you all. :)

3689362818?profile=original

3689362915?profile=original

3689362885?profile=original


I hope you like it! ;)


PS.:The location of XBee on the illustrations will be tested soon by Jani. We need to know if it will cause interferences on the magnetometer.

Read more…

51MHstcCOTL._SL75_.jpg on his Sunday CNN Show, Fareed Zakaria recommended this book and said it was relevant to the modern discussion of Ideas as Property (Patents). I should very much like to hear the perspective of DIY thinkers on the relative merits of Idea ownership, Idea sharing, and how they might reform the current Patent system. Is it still a tool for social mobility - and impetus for the Industrial revolution - as it was for Watts and his Steam engine - or has it been captured by static institutions in a way that precludes growth - especially from new entrants? Has the narrative of a man, a plan, a steam engine - become overwhelmed by patent sweatshops at MS and HP patenting the obvious and mundane, as a means of pulling up the ladder?


Open Source is in many respects a new paradigm of Intellectual Property, but is there a baby in the bathwater?



Read more…
3D Robotics

Congrats to Bill Premerlani and the rest of the UAVDevBoard team for a great writeup on the Sparkfun front page!


Here's how it starts:

"The UAV Development Platform has been available on SparkFun's website for almost four years now. In that time, much progress has been made. A group of UAV pilots from across the globe have assembled and put their heads together to develop an extremely powerful control platform for RC airplanes and RC helicopters."


...and then it goes on to talk about the acrobatic potential of the platform and to hint of new hardware in the pipeline.


And for an animated view of the above mission (if you have Google Earth installed), click here.

Read more…
Developer

Anti-crash mode in AUTO



This was a really simple addition to the code; maybe 6 lines. But the effect was quite dramatic. AUTO, RTL, and LOITER now sense if the plane is in a dive and enter a simple stability mode for 4 seconds. Enough time to recover from the worst dive.

I fly an EZ Star and this has always been my biggest safety concern and need to flip to manual control. Now I don't need to.

In the video you can see me put the plane into a dive. This can happen when the plane turns too hard and the GPS refresh can't keep up. Once the plane begins to stall, it drops like a rock.

Update is on the SVN in Ardupilot 2.7 for Beta testers.
Read more…
3D Robotics

3689362776?profile=original

Now that the DIY Drones community is more than 20,000 people, we're getting a lot of requests to participate in our various projects. That's terrific and we absolutely love and depend on the work of volunteers here. It's also a fun and rewarding experience for the dev team members: they get to help determine the path of these projects along with inventing new ones, see their contributions used by thousands of people, work with other awesome talents and get all the free hardware they need, along with prototypes of new products.

 

But it's often hard to figure out exactly what jobs are right for which people, and how to add people to existing teams without causing disruption and slowing everything down with training and communications (the "Mythical Man Month" problem).

 

We currently have more than 40 core developers working on ArduPlane, ArduCopter, ArduRover, various ground stations and hardware spin offs, along with several dozen other contributors. That's nearly fully staffed, and requires nearly full time coordination of the various mailing lists, code repositories, wikis, Google Docs planning documents and weekly Skype dev chats. But we do want to have a path by which new contributors can join, in a way that slots them in best both for their own interests and skills and the projects' needs. This ensures that we're constantly refreshing the dev teams with new ideas and energy, and taking the load off core developers as the projects expand and life occasionally intrudes.

 

The best way to participate is to do something cool on your own and share it here. All of our code bases and hardware design files are open. If you see an opportunity to improve something, just do it, post it and then tell the community about what you've done. If it's good, people will use it, help improve it, and we'll get a sense of what you can do. That makes it much easier for us to figure out what your skills are and where you'd fit in best.

 

Here's a list of project you can get started on now.

 

So bottom line: see something you think you can improve? Just do it. If it's cool, your reputation here will grow and you'll be much in demand. It's as simple as that.

 

[photo at top taken by me of the Arduino team, which operates similarly]

Read more…