I just finished the coding of our new opensource product ArduLog.
Product name was G-Log before it was being opensource. And i was using it for logging the GPS data of my FPV plane. Now it is opensource, i replaced all AVR-GCC codes with Arduino compatible ones and included Arduino Pro 16Mhz bootloader.
This is the KMZ output from ArduLog
ArduLog is a stamp size circuit which has the capability of doing Serial, I2C and Analog logging. Current firmware logging the GPS positions from it's serial input.
It's including a microSD socket, 2 color led for status and 4 input pin that connected with 6 ports of Atmega328 processor.
Default firmware supporting all GPS models which have standard GPGGA NMEA protocol.
The Baudrate of ArduLog is configurable with putting the _BAUD.TXT file into the root folder of microSD card.
We tested it with all rates between 4800-115200baud and GPS refresh rates between 1-10Hz
Just create a file that named _BAUD.TXT and type the baudrate into. (like 115200)
ArduLog reads the file on startup and logs the GPGGA sentence of GPS data on every seconds.
Then our free KMZ generator software generates flight path KMZ files for Google Earth.
Features
- Full Opensource Circuit Architecture and Firmwares
- Coming with ArduLog GPS logger firmware for Plug and Play FPV usage
- Supports all GPS modules between 4800-115200 baud
- Supports all GPS refresh rates between 1-10hz
- 1Hz record resolution for GPGGA sentence
- Arduino Pro 16Mhz compatible Bootloader for upgrades and firmware modifications
- Supports all FAT16 formatted microSD cards up to 2Gb
- Autoincremental Record File Name
- Red/Green status LEDs
Green: card detected
Red (Continuous): empty slot or wrong card format
Red (Blinks) : writing
Pinouts
File and Links
Product Page : store.flytron.com/46-ardulog.html
Sample KMZ file from ArduLog : test_flight.zip
ArduLog Google Code Page for Firmware and updates : http://code.google.com/p/ardulog/
GPStoKML generator Software : GPStoKML.zip
Baudrate Configuration File : _BAUD.TXT
Thanks for reading
Melih
Comments
I know, this thread probably is sleeping... last entry March 2, 2011. But anyway i bought the ArduLog V2 from Flytron and tried to install it as DataLogger from my Dianmu Autopilot. I connected it up as sugested +v, Grnd. and TX to RX. The light is not green anymore it's now Blue and Red... The Card is formatted as MS-DOS. As soon i Power it it's shortly blinking Red and Blue and stays than on solid blue. It does as well write a File called Record01 and on everytime i Powercycle, but the file is empty and it does write a 2nd Unix exec file, with Record01 it made a file just called N. What do i do wrong ?
Hi Melih,
But if you capture with print screen from Google Earth, and import for example in one GCS, how do you translate between LAT,LON from GPS and the pixels of Google Earth saved picture. Also it shouldn't be one reference point (for example right corner up) with LAT and LON given from Google Earth and from there to be able to "walk" all over the picture just with pixel x and y coordinates and lat, lon from gps ?
Hi Sergiu,
KML using XML format and you can see my coordinate data into the KML file (just open it with notepad) you can add the coordinates there and it works. I'm using PrintScreen key for capturing the image from Google Earth.
Hi Melih,
I'm using Bascom AVR for long time. And Liberty Basic for windows. I'm currently testing (for almost one year) one autopilot with XMEGA128A1 for quad platforms. Can you give me some information on how you "go" from LAT,LON to KML? And how from one saved bmp file from google earth, I can make connection between pixels on X and Y to LAT,LON. This is the only info I still missing to finish one more simpler GCS in basic language.
Regards,
Sergiu
It is using Atmega328 chipset and i guess you can use 1kb buffer for this kind of usage. Write speed depends your usage.
I'm recording and closing file after each write. And it takes 0.5 seconds when file size 20mb (100 hours continuous flight) , because it searching the file's. I'm closing the file because there is no way to know when the customer will power of it or plane crashes. This is only way to keep the file safe.
By the way, if you want to write your own firmware, i think maximum speed is 40-50kb per seconds for atmega328. But SD library and FAT16 codes reduces the speed. maybe 4 or 5 kb/s
Is there any figure/number indicating its data throughput ie. how fast it can write to SD card? Whether it use some sort of circular buffer to optimize its throughput? If yes, what is the buffer size?
Looks very useful.
It is worth mentioning that to get the SD library functions you must use the latest Arduino 0022.