text:
SparkFun Electronics Comments urn:uuid:214d0e4e-f1b1-d287-ce26-ac5b4c9f8249 2016-05-31T19:40:47-06:00 SparkFun Electronics Nate on DEV-09530 - SparkFun OpenLog Nate urn:uuid:478fbe0a-5fb1-60e3-e679-fb9c4c043f74 2016-01-20T08:49:19-07:00
So cool! Thanks Ardusat!
 Customer #588653 on DEV-09530 - SparkFun OpenLog Customer #588653 urn:uuid:32a85202-f0a2-99ba-4790-566d9a02e6bc 2016-01-16T12:39:24-07:00
If you are looking for a way to easily mount the OpenLog here is a 3D mounting bracket that I created while playing around with Tinkercad: https://tinkercad.com/things/90GBdK6gfK3
 We love the OpenLog at Ardusat! Thanks SparkFun!
 Nate on DEV-09530 - SparkFun OpenLog Nate urn:uuid:99dfb57d-8d01-cee1-16e2-5b63a7ae9d51 2015-12-02T13:03:19-07:00
It's a resonator rather than a crystal. Part#: CSTCE16M0V53-R0. +/-0.5% is pretty poor for RTC applications but it was chosen for size/cost reasons.
 Nate on DEV-09530 - SparkFun OpenLog Nate urn:uuid:4009da51-0f21-3047-0dd5-274f997a9e4e 2015-10-30T15:59:09-06:00
It's technically possible but tricky. You can read more here about re-flashing the firmware. The trick will be to include both the OpenLog logging bits of firmware and your custom logic and sensor firmware.
 Customer #272535 on DEV-09530 - SparkFun OpenLog Customer #272535 urn:uuid:e7da2745-61c1-61b6-1b17-88ca62f9430c 2015-10-23T14:01:17-06:00
Hi Sparkfun!

What is the accuracy of the crystal oscillatory on the newest version of the openlog? Do you have the oscillator's datasheet? I'm working a version of the openlog with timestamps and I'm trying to calculate the maximum expected drift.

Thanks, Sima
 Customer #469591 on DEV-09530 - SparkFun OpenLog Customer #469591 urn:uuid:ebd60ff1-2975-8391-22fe-fa5496f3e283 2015-10-12T17:08:46-06:00
Is there any way I can log straight from a sensor? I want a really small form factor so it fits in a shoe
 Customer #511826 on DEV-09530 - SparkFun OpenLog Customer #511826 urn:uuid:6274126e-acbc-8948-effd-9b162c7db976 2015-07-15T04:28:23-06:00
What is the part number for the micro SD socket?
 Francis0621 on DEV-09530 - SparkFun OpenLog Francis0621 urn:uuid:d7305e95-eb8f-fe29-1c8b-a2e04c6454d9 2015-07-09T04:27:34-06:00
Very good product. I'd like to know if there is a file size limitation ? Thanks and best regards Francis
 Customer #681497 on DEV-09530 - SparkFun OpenLog Customer #681497 urn:uuid:191bafc5-1693-af9a-b4b5-94f2ff0d6460 2015-05-20T20:08:16-06:00
I'm trying to connect this to the venus gps module (https://www.sparkfun.com/products/11058) but the gps won't power on.

Venus Openlog GND GND VBAT Battery + V3.3 VCC GND Battery -

Any ideas why?
 M-Short on DEV-09530 - SparkFun OpenLog M-Short urn:uuid:78e0f915-18ee-3449-1fd3-2b56203e1082 2015-05-18T09:22:57-06:00
Skip software serial. On the Fio V3 the hardware serial is on D0/D1 (Serial1), but the USB connection is separate (Serial). Try that and if you are still having problems try emailing firstname.lastname@example.com
 pgebhard on DEV-09530 - SparkFun OpenLog pgebhard urn:uuid:e8412bd4-083b-96b1-3e04-2ddda4353b49 2015-05-17T12:02:18-06:00
I've been trying to get this to work with the Fio v3 using SoftwareSerial, but I can't seem to receive data from the OpenLog. I want to leave the Fio's main Serial for debugging over USB, D2 and D3 are used for I2C, Serial1 is used for the attached XBee, so I chose SoftwareSerial on D7 and D8 (RX and TX, respectively, connected to TXO and RXI on the OpenLog, respectively). I chose D7 for the SoftwareSerial RX since I read somewhere that it is the only one able to be used for RX (besides D0, D1, D2, and D3, which I stated were already being used for other purposes). Still, I cannot seem to read data coming from OpenLog, particularly when I'm trying to send it commands while in Command Mode.

If other have gotten this to work, could you please let me know what you did? Thanks!
 M-Short on DEV-09530 - SparkFun OpenLog M-Short urn:uuid:747e42a1-0b80-ab90-16da-7a31ffede318 2015-03-09T09:49:53-06:00
Absolutely. All you need to do is output a serial stream. As long as you have a hardware serial port, or a software serial library you should be able to connect the 2.
 Hexadecimal on DEV-09530 - SparkFun OpenLog Hexadecimal urn:uuid:4bca79b9-c8ab-b1f2-fa8a-07e0cb307c23 2015-03-08T06:09:21-06:00
Is this in any way compatible with a bare attiny programmed in the arduino IDE?
 Nate on DEV-09530 - SparkFun OpenLog Nate urn:uuid:fa46600f-21c8-ca70-eb2e-dbbc5e705f41 2015-03-02T11:59:01-07:00
Yep. Supports any baudrate from 300bps to 1,000,000bps. I haven't tested above 115200 because of silly windows limitations but the ATmega can handle it.
 Sebbl3 on DEV-09530 - SparkFun OpenLog Sebbl3 urn:uuid:d1576472-7e76-2849-f58b-47e0a1f1a886 2015-02-27T04:49:40-07:00
Is the OpenLog capable of higher baud rates like 250 000 Baud? So the data transmission takes less time (it doesn't get data non stop). Another advantage of this baud rate is that it can generated perfectly out of a 16MHz resonator while 115200 can't.
 Customer #23051 on DEV-09530 - SparkFun OpenLog Customer #23051 urn:uuid:e44ee430-e5fc-fb9a-3862-66a312d4ac8d 2015-01-25T23:52:26-07:00
FYI, you can also check my Open Source Voltage logger and Pressure & Temperature Logger projects that run on on my Scorpion Board. It uses log_fs a simple, but robust record-based file system for AT45D DataFlash that I'm quite proud of.
 Sam Zimmer on DEV-09530 - SparkFun OpenLog Sam Zimmer urn:uuid:f683f8b3-4afc-71c3-9fe3-c191bb45112a 2015-01-22T21:04:55-07:00
How much does this weigh?
 Nate on DEV-09530 - SparkFun OpenLog Nate urn:uuid:09355ed0-2809-46f2-0e39-35fe21a60393 2014-12-23T15:49:10-07:00
Thanks for using OpenLog! To answer your question: Yes! OpenLog is a reprogrammable ATmega. You're on the right track - just a Serial.print(blah) and it should output what you need to the GPS module.
 naish88 on DEV-09530 - SparkFun OpenLog naish88 urn:uuid:0ada8b73-8210-2e71-786a-7596968c1282 2014-12-23T01:53:00-07:00
I just bought an Openlog datalogger, and I using that to record RAW data form an NVS8C GPS module. Openlog works amazing, but I have an issue with the GPS, he needs to be told on each startup to go in raw mode. Would it be possible to make Openlog send a serial string on startup? Is as simple as adding a serial.print and a delay at the start of the loop? (I'm new to programming :roll: )

Thanks
 Kamiquasi on DEV-09530 - SparkFun OpenLog Kamiquasi urn:uuid:9becfa1f-7ce1-13ab-560b-224ba0d51ec4 2014-12-05T07:08:27-07:00
The GRN and BLK naming convention used in on the silkscreen of the boards is intended as a more end-user friendly way of explaining which way around a programming cable, such as the FTDI Cable 5V is to be connected - with the green wire on one end, and the black wire on the other. I agree that it would be nice if the schematic would also indicate the on-board labeling convention.

GRN is actually DTR on the boards that support it, and BLK is Ground.
 ( The one next to BLK (Ground) is often labeled in silk screen as GND when it's wired straight to the same ground plane, but in the programming cable would technically be CTS. )

If you'd like to take a closer look, the Eagle files are available in the Github repository.
 logictechs on DEV-09530 - SparkFun OpenLog logictechs urn:uuid:78515765-e4b0-4480-1753-1559f2ef6628 2014-12-04T22:50:02-07:00
I received my 2 of these today and they look like the picture here. Unfortunately, your schematic doesn't go with the picture. Schematic shows a DTR. On your picture and my 2 boards it shows GRN and BLK at the edge holes. Please post updated schematic or explain.
 Customer #619100 on DEV-09530 - SparkFun OpenLog Customer #619100 urn:uuid:1555b85c-3fb5-e815-5d34-e034e0de29d1 2014-11-18T03:49:35-07:00
Hi all! 've got my OpenLog and it works. I'm trying to drive it with a uM-FPU V3.1. If I send data from FPU to RX pin it's all ok, Openlog creates LOGxxxxx.txt files corerctly, but if I try to go in command mode sending 3 ctrl-z followed by new and/or append (filename.txt) command OpenLog doesn't create that file but write the sent command on the LOGxxxxx.txt. Is there someone working with uM-FPU and OpenLog that can help me? thanks
 Nate on DEV-09530 - SparkFun OpenLog Nate urn:uuid:034bdc95-37ec-6822-4d59-08e339fe0f5b 2014-07-07T22:33:40-06:00
Wow. After all these years I don't believe we've had this question! I applaud your datasheet diligence.

Many many people have attached an OpenLog to a 5V Pro-mini (it's like peanut butter and jelly really). The clamping diodes on the RX pin of the ATmega on OpenLog can handle voltages up to approximately 6V. They can probably go higher but Atmel has to account for all sorts of environments and applications. For SparkFun users in general I would recommend staying within a 6V max on the RX pin but otherwise you're good to go.
 Nate on DEV-09530 - SparkFun OpenLog Nate urn:uuid:4c946284-d517-340d-49c6-22765b1b2f6e 2014-07-07T22:28:39-06:00
Yep! We totally and cognitively run the ATmega328p out of the recommended range for frequency+voltage. We do this because we make a calculated risk: potential breakage for better recording performance. The likelihood has proven to be immeasurably small; out of thousands built we haven't found one to be defective but functional at 8MHz upon repair. Your mileage may vary.
 Customer #487186 on DEV-09530 - SparkFun OpenLog Customer #487186 urn:uuid:f4353b57-f591-9b04-8cd4-7dd5a0fabf0f 2014-07-04T09:13:10-06:00
I want to drive OpenLog from a 5V Arduino Pro Mini. The header is the OpenLog source file says "Input voltage on RX-I pin must not exceed 6V". The datasheet of atmega328p says max input voltage VCC+0.5V which is 3.8V given the 3.3V VCC. Can I drive OpenLog from a 5V MCU without a level shifter?
 Customer #487186 on DEV-09530 - SparkFun OpenLog Customer #487186 urn:uuid:3db80240-d6b5-2bdb-1648-bc7a02dbac26 2014-07-03T23:03:13-06:00
I am looking at the schematic, the atmega328p runs at 3.3V and 16Mhz. According to the atmega328p's datasheet this is outside the spec (13.33Mhz max at 3.3V). Am I missing something?
 Nate on DEV-09530 - SparkFun OpenLog Nate urn:uuid:4c34f701-1643-b80e-0212-e882fbb1799f 2014-07-02T16:00:48-06:00
800 bytes a second shouldn't be a problem. That's 800 * 10 or 80,000 bits at 115,200 bits per second possible. OpenLog can handle that no problem. If you plan to log indefinitely you may have dropped characters. See Continuous-Logging for more info.

Largest file? Big. Really big. I've seen multiple hundred megabyte files created with OpenLog across many many days but we recommend you create a new log every once and awhile (ex: daily) to keep it easier to figure out which log goes with which data.
 Customer #568709 on DEV-09530 - SparkFun OpenLog Customer #568709 urn:uuid:8468722c-3747-15ec-8e8b-4717d15cda2b 2014-07-02T15:15:14-06:00
Can anyone tell me what the fastest write and refresh rates are? We are sending 40 Bytes 20 times a second at 115,200 Baud over serial and need to log the stream. Also, what is the largest log file it can create and store? Thank You.
 Customer #565711 on DEV-09530 - SparkFun OpenLog Customer #565711 urn:uuid:27fbe79c-cc15-f96a-1f9c-de4fa2bf1a04 2014-06-26T11:18:39-06:00
never mind I found my problem. Missing a connection in my converter curcuit
 Customer #565711 on DEV-09530 - SparkFun OpenLog Customer #565711 urn:uuid:be8af1c4-dd26-d0ad-7a35-b9a4c134d15e 2014-06-26T10:42:49-06:00
Received the openlog connected it to a max232 chip for rs232 operation. It will log data fine at any baud rate. However when I try to talk to it with hyperterminal I get garbage output. It still will respond when I send a command but I get garbage back. I get the best results at 4800 baud, then it almost displays correctly. Any ideas?
 Customer #565711 on DEV-09530 - SparkFun OpenLog Customer #565711 urn:uuid:6da19e3f-4d27-f5ec-f970-e836977cc329 2014-06-23T15:47:44-06:00
Sorry I didnt realize it was a ino file Thanks!
 Toni_K on DEV-09530 - SparkFun OpenLog Toni_K urn:uuid:d28b121f-6910-6146-33ac-0136e3311733 2014-06-23T14:50:40-06:00
Here's the link to the .INO sketch on GitHub.
 Customer #565711 on DEV-09530 - SparkFun OpenLog Customer #565711 urn:uuid:742b283f-aefc-55bc-d9c5-bbec2d15324d 2014-06-23T14:31:27-06:00
I see the firmware hex file but not the source code. I need to modify it for my application.
 Toni_K on DEV-09530 - SparkFun OpenLog Toni_K urn:uuid:dbc1b6f8-7ff6-44f5-423b-94456a5b2bb3 2014-06-23T11:53:06-06:00
It's on GitHub! Check the link above.
 Customer #565711 on DEV-09530 - SparkFun OpenLog Customer #565711 urn:uuid:6a756158-9649-1481-7d55-2127a0b64f03 2014-06-23T11:18:03-06:00
Is the source code for Openlog not available?
 Zio on DEV-09530 - SparkFun OpenLog Zio urn:uuid:8ee9121e-b077-f0af-1516-d6dea7aa4bab 2014-05-04T16:44:22-06:00
This is hands down one of my favorite products. Plug it into the 6pin header of an Arduino Pro/Pro mini, put out a few serial.print commands and you have an instant data logger. Or if you have something that spits out serial data that you want to capture, just match the BAUD rates and wire it up to record!

Here is a tip. Use a comma to separate all of your sensor values. If you add a time stamp with millis(), you can graph your values with respect to time by importing the .TXT file as a comma separated value file to a spreadsheet program like excel.

Something like… void setup { Serial.println("Time, sensor1, sensor2"); // header } void loop { Serial.print(time); Serial.print(", "); Serial.print(value1); Serial.print(", "); Serial.println(value2); }

Then snag the .TXT off the flash card, change the extension to .csv, highlight your data and graph!
 Wiggler14 on DEV-09530 - SparkFun OpenLog Wiggler14 urn:uuid:93e40fb1-c7f5-cab1-90fe-69556d04952c 2014-04-24T13:28:13-06:00
I am going to use the OpenLog to save NMEA sentences from a Lowrance Elite 5 fishfinder/chartplotter. The device has a cable with yellow (transmit), black (ground) and red (receive) wires. I will not be using the red cable. Would I solder the yellow wire to the RXI and the black to the Black? This unit will be portable which includes a 12V battery inside the pouch. I wire the +ve of the battery to the VCC and the -ve to the GND?

Since this will be used outdoors and on a boat (but within a Lowrance portable pouch) can anyone recommend an enclosure for the OpenLog?

Thanks for any help
 Nate on DEV-09530 - SparkFun OpenLog Nate urn:uuid:6fc8d12e-4fd1-fb7d-3495-043bc8791fa0 2014-03-28T08:59:17-06:00
We would be happy to see alternatives and derivatives out there! An RTC has been requested a few times and it's not something we plan to add to the core design any time soon. In the interim, I recommend using a GPS module to get the current UTC time. That's what I used in the Illumitune project. A GPS is way overkill but it has the benefit of always knowing very accurate time.
 Customer #536012 on DEV-09530 - SparkFun OpenLog Customer #536012 urn:uuid:f7ae0544-d601-629b-b0a4-f016f9c77661 2014-03-27T15:13:23-06:00
This is a great design with one exception: I would like to know when the data was loged, so a battery powered RTC and the option to insert the time before or after a carrage return. I thought about doing it, the board is not much of a problem but a quick glance at the Arduino IDE looks like it has unneccicary complications and overall it is more of a project than I want to take on at the moment. This seems so useful that I am mentioning it to see if there is any interest. I would use thru hole connections based on the Ardino Pro Mini in so far as practical for the benifit of easy user mods to add specialized funcionality. If there is any interest in this product, please leave a reply.
 Customer #535766 on DEV-09530 - SparkFun OpenLog Customer #535766 urn:uuid:3b1c1332-8057-a121-90c6-e9df353fbf68 2014-03-25T21:04:44-06:00
I wanna connect OpenLog with Arduino Uno to save accelerometer readings. I m not familiar with the process. Can you give me very detailed instructions how to wire them and how to program them ? Thanks
 Customer #491354 on DEV-09530 - SparkFun OpenLog Customer #491354 urn:uuid:85b713da-e3ab-460f-8dc5-18470157a27d 2014-03-24T10:15:54-06:00
hI I'im using new firmware V3.20 i'm flashing with atmel studio but there is a problem with Write offset command. i'm create a file create toto.txt and add text : write toto.txt <hello john my name is marc i send Two CR <

but if i want modify txt "john" on offset '6 'of text i enter write toto.txt 6 <mik folowed by two CR <

read toto.txt hello mik ame is marc

I think there is the < after the first CR in write offset kill the next caracteres strange
 Crashdemon on DEV-09530 - SparkFun OpenLog Crashdemon urn:uuid:a0322e65-a587-22f5-ad0d-5a64e96ead6e 2014-03-18T03:15:45-06:00
How is it possible that the Openlog device withstand voltages greater than 3,3v @RXI? I mean there is no voltage converter in the shematic and the atmega is powered with 3,3v.
 Zio on DEV-09530 - SparkFun OpenLog Zio urn:uuid:fe5fb542-3c11-02ff-f5d9-004ca082b205 2014-03-08T13:45:16-07:00
Is there a way to make it "spit out" the contents of the memory over serial too? It would be cool if I could have it record servo positions then repeat the movements
 Customer #432563 on DEV-09530 - SparkFun OpenLog Customer #432563 urn:uuid:714755d9-0a4b-c589-246f-8eb4bc1d90dd 2014-01-22T19:37:39-07:00
This is truly a simple to use data logger. I hooked it up to a HTU21D Humidity Sensor Breakout and was logging temperature and humidity first try. Great job Sparkfun!!
 Nate on DEV-09530 - SparkFun OpenLog Nate urn:uuid:2433f2a6-e674-1da7-0dd1-13963aa66c22 2014-01-21T10:39:49-07:00
Arduino is a bit of a shift from regular C on an ATmega. You don't have to init port C but you can init a given pin. For the card detect pin (connected to Arduino pin called 'A2') you would use something like this:

//In setup() pinMode(A2, INPUT_PULLUP); .... //In loop() if(digitalRead(A2) == LOW) { //Card is present } else { //Card is absent }

I can't remember if the CD pin is NO or NC so I may have my logic reversed.
 Customer #309208 on DEV-09530 - SparkFun OpenLog Customer #309208 urn:uuid:4d93be9e-e5b1-21ab-f4bd-02a16a5ece50 2014-01-21T02:04:03-07:00
Hello, could someone indicate me where portc is initialized? PC2 pin is connected to CD of microsd socket and I cannot locate the relevant code… I guess arduino ide has limited searching capabilities…I am new to arduino… Thank you a priori.
 Nate on DEV-09530 - SparkFun OpenLog Nate urn:uuid:c1cd89a4-6d33-0c18-25d1-b9bab0062c4b 2014-01-16T16:49:17-07:00
Definitely possible but would require custom firmware or a controller sending the commands to OpenLog to have it go into command mode and remove/overwrite previous logs. I don't see the general user needing this feature but you can pose the request on OpenLog's issues page.
 Aginor on DEV-09530 - SparkFun OpenLog Aginor urn:uuid:bd87e6a1-e9bc-5ff7-a1f4-7dbf6d9fe724 2014-01-16T06:48:07-07:00
we have a problem!!! we are using 9600 speed for the RX/TX. but the program has some interrupts. So, we receive many wrong characters inside. It is impossible to stop the interrupts (zero crossing and triac control) during writing to open log. What can we do?
 pags on DEV-09530 - SparkFun OpenLog pags urn:uuid:617462e7-79e0-d7f0-689b-c5cc4361891d 2014-01-10T09:36:19-07:00
I use OpenLog to log data at remote locations for long periods of time – months. I have no ability to change cards on a regular basis. For my company, it would be useful if logger has a few of the log4net features like split log files and rotate log files based on file size, or rows. Is this something that you could do?
 Nate on DEV-09530 - SparkFun OpenLog Nate urn:uuid:99e906dd-471c-69a3-c83e-6a611123acc2 2013-11-14T11:44:38-07:00
Thanks for the positive words! Please post a request on Github issues page. What you are asking for is pretty complex. I'd recommend leaving it to the host to drop to command mode every few weeks to rotate between/delete logs. OpenLog is completely open source so you can re-purpose the code if you'd like and reprogram the ATmega328 on OpenLog to do very specific questions like you're asking. Hope this helps!
 pags on DEV-09530 - SparkFun OpenLog pags urn:uuid:cbc6ee94-59ba-d118-0d1c-42de847cb2bc 2013-11-08T06:00:59-07:00
I am testing a bunch of OpenLogs now and so far they are working perfectly. My application, when in production, will be remote – the devices won't be accessed from months – maybe even a year or two and will run continuously during that time. I need to deal with large file sizes and full cards. Is there any chance I can get a few programming enhancements – like a rotate log feature similar to log4net set from the config.txt file?

Basically we need a rotate log file function. Implementing the function would depend on if you can determine the TXT file size and know the remaining space on the card or not. I you don't know the available space on the card, then we could use a "create a new log file after x writes" (or rows) function in conjunction with a "max number of log files" parameter. This way for example I could write 1000 rows in 10 files and then go back and start at file 1 again. If you know the TXT file size it could be a little more sophisticated.

Please let me know if this is possible and if I can help in any way.

Keep up the great work.
 Nate on DEV-09530 - SparkFun OpenLog Nate urn:uuid:d8f3f68e-feac-38ee-d43b-cea9554b5fb1 2013-11-07T08:50:56-07:00
You made my day! Thanks for commenting. Let us know if there's any future changes you'd like to see.
 Customer #463193 on DEV-09530 - SparkFun OpenLog Customer #463193 urn:uuid:f6eb4887-9086-bdeb-859d-f19f49eaa4e2 2013-11-04T21:47:55-07:00
Wow this is really as close to plug and play as it gets. Not that I didn't have issues getting it together but once running, I could see just how functional it really is. Thanks to the turtorials, getting to the command set was straight forward enough. Auto file numbering, no special commands to open or close files, it simply does it. Power it up send it data power it down, open the file and there it is. It took me a bit to determine how I wanted to load it, but that was simply formatting serial preint commands. Very cool.Right on the mark with this product.
 David J Barnes on DEV-09530 - SparkFun OpenLog David J Barnes urn:uuid:c682e69d-5cba-8302-4f3d-af0f37553fa0 2013-09-19T20:31:16-06:00
Love mine! Works super well with little/no fuss.
 Antibore on DEV-09530 - SparkFun OpenLog Antibore urn:uuid:f9699609-bb85-1cc9-bf14-5918d76e95e8 2013-09-13T04:37:50-06:00
I added timestamp support to OpenLog because I needed it for my own project. If need one, check the codes from here: http://antibore.wordpress.com/2013/09/13/timestamp-support-for-openlog/
 MikeGrusin on DEV-09530 - SparkFun OpenLog MikeGrusin urn:uuid:66bd9f2d-1e1d-44a3-e103-f0ffcf02523e 2013-09-10T15:24:36-06:00
The OpenLog expects TTL-level serial data. If your GPS output is RS-232, then the polarity is likely reversed from what the OpenLog needs. See this tutorial page, and check your system to see whether the waveforms are reversed or not.
 Customer #457101 on DEV-09530 - SparkFun OpenLog Customer #457101 urn:uuid:0dcac1fd-d88e-328e-37fc-676ea4c02c87 2013-09-09T18:20:21-06:00
Gentlemen,

I am trying to log nema0183 directly from the gps unit to the openlog. Seems pretty straight forward with the advent of this dandy little Openlog unit. I have verified the outputs of two gps units with an ftdi 232 to usb board. Both units stream perfect sentences to the terminal screen. I am watching the 0-5v nema burst on the scope and verify that the open log blue led is active during each burst. BUT… my openlog file is full of ascii nonsense. i have discovered that 19200 is the minimum for proper nema sentence output to the terminal, unlike the 4800 nema spec. i have tried every baud rate, matching the openlog config to the gps setting without success.

Any suggestions would be a great help. Thanks!
 Nate on DEV-09530 - SparkFun OpenLog Nate urn:uuid:1a4f4eac-17d5-ed71-fa8a-2dad12c58796 2013-09-03T08:52:45-06:00
Please considering creating an issue on the github page. The comments section on a product can become confusing.

Be sure you are powering OpenLog with a solid 3.3V or 5V source. If you are powering large things like motors, considering giving them their own power supply.
 Nate on DEV-09530 - SparkFun OpenLog Nate urn:uuid:76cc6f7b-c164-c0b2-181d-ee5d4b597cf8 2013-09-03T08:50:22-06:00
There is not currently a RTC feature built into the OpenLog. If you'd like to request one, please consider filing an issue over on the github page.

Short of that, I'd recommend getting a GPS receiver. Once powered up, it will give you better than second accuracy.
 Nate on DEV-09530 - SparkFun OpenLog Nate urn:uuid:049d81df-449a-727f-edb5-36037448e8ba 2013-09-03T08:48:28-06:00
Excellent! Glad to hear it. Welcome to the wonderful world of open source hardware and ATmegas ;)
 Customer #5886 on DEV-09530 - SparkFun OpenLog Customer #5886 urn:uuid:5085227b-9f08-25f4-3439-3f7f65e61118 2013-09-03T05:27:32-06:00
That was it. Works like a charm. Thanks.

Not being familiar with the Atmel chip, I assumed that the fuse settings were in the HEX files. So I used AVRDUDE to flash the factory fresh CPU chips with the HEX files posted on Github. And as you said the default fuse settings run the CPU at 1MHZ. Programming efuse, lfuse and hfuse with 0x05, 0xff and 0xd6 respectively solved the problem.

Great work on this product. Thanks again.
 Nate on DEV-09530 - SparkFun OpenLog Nate urn:uuid:b11cafac-5ca8-bd30-36b2-6c350e0c07bc 2013-09-02T11:08:52-06:00
My guess is that you haven't set the fuse bits correctly. A stock ATmega runs at 1MHz. You have to set the fuse bits to get it to use the external resonator at 16MHz (16 times faster). I hope this helps! If you need more assistance please use the issue tracking on Github as it can get pretty chaotic here in the comments.
 Customer #5886 on DEV-09530 - SparkFun OpenLog Customer #5886 urn:uuid:9e775de0-a944-f453-eb56-8aaad290e27a 2013-09-01T08:19:18-06:00
I setup a prototype using basically the same design and the same components including the Murata 16 MHz resonator. The only difference is that I exposed the ENABLE line of the regulator so that I could shut down the circuit for very low power consumption.

The SD card interface appears to work fine since I can see that the CONFIG.TXT file is being created. And also being read. However I cannot communicate with it at all via Tx and Rx. All I get are garbled characters. (I use the Config file to set it in command mode on power up). I also noticed that if I remove the SD card, the get the expected 3 LED flashes…. but the flashes are EXTREMELY long and SLOW.

These two factors tell me that it is a baud rate issue. Probably because the CPU is not running at 16MHz and it is probably running at a slower speed. Or is the chip being overclocked at 16MHz and that's why I am seeing this effect? I don't think I have a defective resonator since two boards are doing same thing.

How does one get a copy of the source code so I can do some troubleshooting? I searched through the OPENLOG area in github but could not find any place to download the source. I thought I'd try to use the internal oscillator and see if I could get it to talk.

Thanks
 Customer #63568 on DEV-09530 - SparkFun OpenLog Customer #63568 urn:uuid:24a7c947-627b-b5e8-8a74-025066d2f219 2013-08-22T06:40:32-06:00
How can I set the Date/Time so that the DT Stamp on the log file is (semi) accurate?
 ahornero on DEV-09530 - SparkFun OpenLog ahornero urn:uuid:20f6a6ef-1542-c7cc-635a-811dbf32571c 2013-08-20T02:37:00-06:00
Hi, I have the following problem. I send data to the OpenLog device without a problem, I usually find a single file (LOG#####.TXT) but when I'm sending data for almost an hour I find multiple files instead of only one (as if I would restart my arduino).

I checked if it is a power failure, but I have found that the Arduino does not reset at any time. I have also monitored the output with a RS232 shifter device, but any errors appears. I also checked if I'm entering in command mode accidentally, but it isn't the case. Any idea? The behaviour is like a reboot in the OpenLog.

Thanks in advance for any help.
 Nate on DEV-09530 - SparkFun OpenLog Nate urn:uuid:132b79a5-a9e2-07b2-e106-6732d844ff65 2013-08-14T12:05:04-06:00
I too have seen large current draws when reading/writing but this occurs only for a fraction of a second and only when the read/write occurs. On OpenLog the ATmega buffers quite a few bytes between read/write operations so the overall average is around 6mA under active writing.
 Customer #396055 on DEV-09530 - SparkFun OpenLog Customer #396055 urn:uuid:87f1da4e-5ee6-30cb-8eef-d640060b653c 2013-08-09T10:47:14-06:00
6 mA is the maximum current draw of the open log without considering the current consumption of the micro sd card ? I have seen generally a sd card takes 100-200 mA when reading/writing.
 Nate on DEV-09530 - SparkFun OpenLog Nate urn:uuid:2a121a29-2b63-d427-b73e-cfc2a73c9d53 2013-07-24T08:55:39-06:00
I don't know of anyone working on this project but it's worth filing a request on the issues page. OpenLog doesn't expose the I2C pins so we would need to do I2C over serial. Not a show stopped but it makes it a bit more difficult.
 shardbearer on DEV-09530 - SparkFun OpenLog shardbearer urn:uuid:452cda4e-1853-a608-6d05-2af3a24ea1da 2013-07-20T10:48:57-06:00
Has anybody used these to record I2C data from sensors without another micro controller in between?
 Customer #436970 on DEV-09530 - SparkFun OpenLog Customer #436970 urn:uuid:c9e2aec4-fd49-dd8f-2bd7-3f553d53b2ad 2013-06-01T09:25:13-06:00
Recently used OpenLog in precise GPS project - hooked up the RXI of OpenLog to the Navilock EM-500 receiver TX and RX of JK Devices FTDI adapter. Both EM-500 and FTDI adapter using the 3.3V logic. Works perfectly.
 Kamiquasi on DEV-09530 - SparkFun OpenLog Kamiquasi urn:uuid:a07e50c7-5400-2b70-fc67-9b499db49948 2013-04-11T18:18:38-06:00
Looks good here, using Chrome's built-in PDF viewer and PDF X-Change.
 Kraftworx on DEV-09530 - SparkFun OpenLog Kraftworx urn:uuid:e1af4a80-2b83-ef12-fecf-93d5a20de066 2013-04-11T18:09:19-06:00
Is the schematic broken? I'm getting a .pdf with a few misplaced symbols on it.
 Nate on DEV-09530 - SparkFun OpenLog Nate urn:uuid:bddefb14-61f7-03be-ce83-f1800659c841 2013-04-08T21:46:13-06:00
Hi Member 413088 - we do tech support for the OpenLog over on Github issues. There is a issue started on power consumption there. I can't replicate your problem. Please let us know more specifics such as what voltage you're running your board at.
 Nate on DEV-09530 - SparkFun OpenLog Nate urn:uuid:c105fe23-a79a-6928-2548-3e6fea82566e 2013-04-08T21:42:28-06:00
Hi Max - sorry for the slow reply. We do much more technical support on the github issues page. I started an issue for you there. I am measuring 7 to 8mA with a few peaks to 13mA. Not sure what voltage you're using.
 Nate on DEV-09530 - SparkFun OpenLog Nate urn:uuid:b6260ee0-6626-25e1-46ed-da6e35858af1 2013-04-08T21:05:07-06:00
Hi all - please checkout new v3.2 of OpenLog. The config file now allows you to override the emergency check.
 STAPFighter on DEV-09530 - SparkFun OpenLog STAPFighter urn:uuid:d8e9a28d-3518-1555-a07b-25ffe78f8b8f 2013-03-29T23:46:17-06:00
Great info, thanks.
 STAPFighter on DEV-09530 - SparkFun OpenLog STAPFighter urn:uuid:6f535185-e5e7-1276-3748-72b1d3a4b014 2013-03-29T23:45:46-06:00
Hi Nate, thanks for the quick replies. I was responding to M. 423103's question. However, thanks for the response below, that answers another question I had.
 Nate on DEV-09530 - SparkFun OpenLog Nate urn:uuid:090d47c8-d4f2-ad47-43ef-98e45dc6c254 2013-03-29T09:19:26-06:00
I'm afraid I can't get the context of your question. Are you talking about Memeber 423103's Mega based question or are you talking about PWM pins on the ArduIMU?
 Nate on DEV-09530 - SparkFun OpenLog Nate urn:uuid:af6370e0-5f27-5752-79b6-85d161e74ff8 2013-03-29T09:18:38-06:00
Once you set the correct baud rate on OpenLog there shouldn't be any problems.
 Nate on DEV-09530 - SparkFun OpenLog Nate urn:uuid:1123850d-bfc5-cb84-4d3e-8ce43e4831dc 2013-03-29T09:17:51-06:00
Yes, you should be able to hook both the OpenLog and the XBee to the Mega's serial TX pin at the same time.
 STAPFighter on DEV-09530 - SparkFun OpenLog STAPFighter urn:uuid:1999f7a6-4464-e2de-37ed-4209781812d1 2013-03-28T20:17:09-06:00
Do you have to use an additional microcontroller? Can you not use TX/RX for one and PWM for the other?
 STAPFighter on DEV-09530 - SparkFun OpenLog STAPFighter urn:uuid:82a4fd36-b3a9-386a-55c2-edbba3cfc398 2013-03-28T14:55:29-06:00
I'm about to buy a couple of these things to log the data stream coming off an ArduIMU. Did you have any issues getting the IMU to write to the OpenLog?
 Customer #423103 on DEV-09530 - SparkFun OpenLog Customer #423103 urn:uuid:e0c33f15-1515-41dc-eb38-1459400f55a3 2013-03-28T01:04:38-06:00
Is there any way to have a Mega write data to this and an xbee at the same time?

I have data incoming from an ArduIMU to the Mega, but I don't know how to get the Mega to write the data simultaneously to both the openlog and xbee.
 Nate on DEV-09530 - SparkFun OpenLog Nate urn:uuid:3e68b05d-0b20-36b4-2297-079886036218 2013-03-27T09:26:34-06:00
Sorry all! This request got lost in the comments. Please file issues and feature requests over on github where we can monitor it a bit better.

Member 247677 - to answer you question, you are correct in that it's a one line change to get rid of emergency reset checking. And you don't need an AVR programmer, just an FTDI and some wires. More info here.
 tsm on DEV-09530 - SparkFun OpenLog tsm urn:uuid:18ace523-5fd1-ffbc-6eb1-287450f6636a 2013-03-16T17:22:49-06:00
I had a high-current device on the same bus. Interestingly, a separate mistake was drawing the 3.3V bus to 5V, but when the high-current device was on the line, it was pulling too much current and bringing the bus back down closer to 3.3V. When I used the battery, which delivered more current, this didn't happen, and so the OpenLog would reset. Nasty problem. Fixed with a separate bus for that current-hungry component.
 tsm on DEV-09530 - SparkFun OpenLog tsm urn:uuid:f07cd957-2bb8-93bc-0cbf-c0b60dcb8d07 2013-03-11T11:59:36-06:00
This is working when using USB power, but not battery power. Setup:

5V Arduino's TX -> logic level shifter -> OpenLog's RX

OpenLog's TX -> resistor -> Arduino RX

Arduino's reset pin -> logic level shifter -> OpenLog's reset pin

The result is that, when the Arduino is powered off of USB, this logs fine. When it's powered off of a 11.1V LiPo battery (full charge) via the Arduino's barrel jack, the logger resets somewhat randomly about four times per second.

Can anyone see why this would happen?

For reference, the logic level shifter is the SparkFun BOB-08745.
 tsm on DEV-09530 - SparkFun OpenLog tsm urn:uuid:e96bc72a-50da-2ecf-208d-ec0b26838fd9 2013-02-28T22:33:10-07:00
I'm having a related problem. My code base is fairly large (47KB) and takes longer than 2 seconds to upload to the Arduino. The Arduino bootloader keeps RX held low during the upload, and therefore if my logger is attached to the board while I'm uploading to the Arduino, it goes into "emergency mode" and resets everything, even overwriting the config file stored on the disk! So now it's overwritten my config file back to 9600, my Arduino communicates with it at a different rate, so as a result of uploading new code to my Arduino, my disk is now storing files full of junk. To get around this, I'd have detach the Arduino from USB, remove the logger, attach to the Arduino and upload, detach USB, put the logger back in, and re-attach USB. And if I get it wrong? Now I have to add "manually edit the config file" to this list! The factory reset feature results in a lot of problems in completely normal use cases.

So now is my only other option to flash the OpenLog with new firmware?
 Customer #413088 on DEV-09530 - SparkFun OpenLog Customer #413088 urn:uuid:2274bab4-ef25-e07d-bd69-fcd935921894 2013-02-26T07:14:56-07:00
Hello, we got an issue with Open Log, because before we bought it, we saw in the datasheet that it would consume less than 6mA ( in a forum at most 15mA). Yet once plug, Openlog with the SD card wouldn't boot unless we got at least 30mA on the power supply used to test(seems like Open log need a high current spike at boot)How to avoid that spike of current at booting? thank you. Adding a big capacitor is not helping. More modules were tested with same problem. we are using telephone line to power our PCB, and can't get more than 18mA on long line. also we can't add a local battery, nor external power supply.
 Spork on DEV-09530 - SparkFun OpenLog Spork urn:uuid:76e27ece-5b9e-97bd-8d31-fddae0f6782c 2013-02-22T20:09:58-07:00
Ok, I downloaded the Arduino IDE, made the one-line modification to check_emergency_reset, bought the inexpensive FTDI Basic 3.3V, and followed the "Flashing Firmware" instructions. Also got the "Open Logic Sniffer - Probe Cable Kit" which made it easy to connect the FTDI Basic to my OpenLog, even though the OpenLog was already built into a project. No more emergency mode problem. Easy as pie.
 tsm on DEV-09530 - SparkFun OpenLog tsm urn:uuid:4aded5a8-4bee-c5c1-d7ca-a6b074473182 2013-02-17T20:17:17-07:00
I just soldered up a TTL logic level shifter (the Sparkfun one), taking my 5V TTL on the Arduino side down to 3.3V on the OpenLog side, and now it's working. It looks like the 5V serial signal in fact is unacceptable to the ATMEGA, despite that the datasheet suggests it can accept 6V. Big debugging nightmare! Does anyone know any better way to do this?
 tsm on DEV-09530 - SparkFun OpenLog tsm urn:uuid:fa5cd651-07ee-0877-34d0-18ed20ac6b67 2013-02-17T19:45:32-07:00
I'm getting a stream of 1s back from the data logger over serial.

I'm using a 5V Arduino, powering the OpenLog off of its 5V pin, and sending serial over to it and getting serial back. When the TX from the Arduino is not connected to the RX on the OpenLog, the OpenLog reports "12<". However, when I connect the Arduino's TX pin to the OpenLog's RXI pin, I only getting "11111111…."

While the datasheet says that the RXI pin can take up to 6V, I notice that the schematic shows regulation of VCC down to 3.3V, while the RXI pin undergoes no translation and is connected directly to the ATMEGA. This makes me think that in fact a 5V TTL signal from the Arduino is too high and is causing the ATMEGA to result. Just a guess though.

Has anyone else seen this? The closest thing I found was unanswered (https://github.com/sparkfun/OpenLog/issues/138).

For reference, everything works correctly when I use a 3.3V FTDI.
 Spork on DEV-09530 - SparkFun OpenLog Spork urn:uuid:351a5585-a195-30ad-6b36-6f3af85d6c11 2013-02-17T13:37:00-07:00
I hope somebody will reply with a suggestion since I think I'm in the same boat. I've attached OpenLog to a 4800 baud device. If the device is off, RX is 0V and OpenLog goes into "emergency mode" if I power it on. I can't have "emergency mode" resetting me back to 9600 every time I forget to power the device before I power OpenLog.

Anybody else think that "emergency reset" functionality based off RX being low is a bad idea?
 Nate on DEV-09530 - SparkFun OpenLog Nate urn:uuid:f4595f67-1306-e23a-751f-d9278f96204f 2013-01-30T10:55:04-07:00
Unfortunately I never thought people would need to reset the log # from the config file! If this really is a feature you'd like, please submit it on the github page so that we can track it.
 Spork on DEV-09530 - SparkFun OpenLog Spork urn:uuid:c06b223e-1e1c-cc9b-4e10-2ccfa2376c97 2013-01-24T00:24:40-07:00
Nate, am I correct in assuming that the format for set would be the same in config.txt? The following would be a valid content for config.txt?

9600,26,3,0,1,1 set 4
 Customer #5886 on DEV-09530 - SparkFun OpenLog Customer #5886 urn:uuid:8a5fbd68-4e06-3ff6-36d1-dc03d4886815 2013-01-23T05:24:07-07:00
Thank you
 MikeGrusin on DEV-09530 - SparkFun OpenLog MikeGrusin urn:uuid:fc0296ac-a4dc-e4aa-3487-bdb550215b96 2013-01-22T11:12:37-07:00
This should be what you're looking for. (And great idea bringing out the regulator enable line!)
 Customer #5886 on DEV-09530 - SparkFun OpenLog Customer #5886 urn:uuid:49f657eb-996b-9e61-be9a-c10ce6fc4c1f 2013-01-22T07:12:00-07:00
Could I get the part number for the 16 MHz Resonator? I am replicating the circuit with the EN line of the regulator exposed and would like to use exactly the same parts for the first run. The Eagle BOM identifies it at Part XTAL-08900 but I can't seem to find this part anywhere on the web site. A digikey, Mouser, or manufacturer part number would be helpful. Thanks.
 Max66 on DEV-09530 - SparkFun OpenLog Max66 urn:uuid:afae4794-6495-747f-5793-eae36d98e19d 2013-01-17T06:07:26-07:00
Hello, I am measuring current supply peaks up to 50mA, with 24-35mA average at the input of the OpenLog BB when a 9600baud stream of data is entering. I have tested three different OpenLog breakout boards and it is the same in all off them. The SD card is a 4Gb original Kingston. Is that power consume normal for these boards? I read up to 6mA -full load- in the documentation, and 1-2mA in iddle state (this point true and measured here). Please,could the SD brand/capacity be blamed for it or in your experience it happening the same? Thanks, Maxi Guzman
 OrionBot on DEV-09530 - SparkFun OpenLog OrionBot urn:uuid:45b209e5-7b4b-31f2-969d-1778bc1d35fc 2013-01-09T21:36:32-07:00
I wanted to build a simple tempertaure data logger with a Picaxe and temp sensor.Has anyone used this with a Picaxe processor? If so, some sample code sure would be appreciated to save me the time. Thanks.
 Nate on DEV-09530 - SparkFun OpenLog Nate urn:uuid:cfe1ce60-2e2d-c2c2-6979-e1e558bc2679 2013-01-07T14:40:24-07:00
Thanks for coming back to tell us how you fixed the problem! Decoupling capacitors are a hard lesson to learn. Glad to hear you got it working.
 Nate on DEV-09530 - SparkFun OpenLog Nate urn:uuid:da9b578e-bcc9-9f66-f4e2-e2edb589b5d5 2013-01-07T14:38:32-07:00
OpenLog expects TTL voltage levels. RS232 will not work and could (maybe) harm the OpenLog (probably not though). You'll need a MAX3232 or a shifter circuit.
 Nate on DEV-09530 - SparkFun OpenLog Nate urn:uuid:4e78653c-07a0-97f1-ca1b-242f5a8ec5eb 2013-01-07T14:35:45-07:00
Currently we are focusing support for writing to one file at a time.

For your issue, I'd recommend recording all the information every cycle (even it's redundant). Don't forget the commas between: lat, long, alt, temp, pressure, time stamp
 Nate on DEV-09530 - SparkFun OpenLog Nate urn:uuid:abba7396-bc60-48c5-1d16-0ca43ce338e5 2013-01-07T14:33:53-07:00
The new bootload (Optiboot based) is smaller (512 bytes vs original 2k) and faster (115200bps vs original 57600). You should be able to use the same hex but modify AVRdude to bootload at the higher baud rate.
 Nate on DEV-09530 - SparkFun OpenLog Nate urn:uuid:7ea72f8f-2c76-d15e-ed61-4d7b3f4ab4ac 2013-01-07T14:31:48-07:00
It should be very close. Arduino (and the GCC compiler underneath) does a good job of making code portable. It probably won't compile out of the box for the 32u4 but with a few modifications it is certainly do-able. Something you should look out for though is the amount of extra flash that the 32u4 does not have available for user sketches (because the 32u4 has a much larger CDC bootloader than the ATmega based Arduinos).
 Nate on DEV-09530 - SparkFun OpenLog Nate urn:uuid:7e759103-de15-6057-2785-d30b61df289e 2013-01-07T14:29:23-07:00
OpenLog starting shipping with Arduino v1.0 compatible firmware in February of 2012.
 Nate on DEV-09530 - SparkFun OpenLog Nate urn:uuid:fce5b828-9a86-18ad-0b2b-5fbc19ebebd9 2013-01-07T14:26:05-07:00
The firmware is indeed open. You can view it on the git hub repo. If you know how to modify an Arduino sketch, you should be able to modify the firmware for your own uses and make OpenLog record events without the need for an external microcontroller.
 Nate on DEV-09530 - SparkFun OpenLog Nate urn:uuid:114de1b6-426e-30d3-e1bb-f047cadbfe42 2013-01-07T14:23:50-07:00
Sorry for the confusion. We try hard to keep all the documentation up to date. 8.3 names are currently supported. Where are you seeing the bad information that 16 characters are? We will fix it I just can't figure out what 'Spec' you are looking at.
 Customer #124829 on DEV-09530 - SparkFun OpenLog Customer #124829 urn:uuid:51950fc0-78f5-0ee6-1e4f-e58bdf95acc0 2013-01-04T18:49:43-07:00
I fixed the problem, there wasn't enough capacitance and the bypass caps on the FTDI were making the open log work. Make sure you have bypass caps on your power supply, I added a 10uf about 10cm of wire away and a 0.1uf right on the header of the open log and it started working perfectly.
 Customer #124829 on DEV-09530 - SparkFun OpenLog Customer #124829 urn:uuid:27727a5c-8c35-5a9b-937d-2d8521b198fa 2013-01-03T19:14:43-07:00
I am using the open log to log weather and cosmic ray data once a minute. I have an Atmega 328 connected on the bread board to the open log for data logging, and to a FTDI header for programming. The open log log's data fine when I have the FTDI adaptor (DEV-09716) attached, but doesn't log anything when It isn't attached. I assume I have a hardware failure, and I forgot to connect something to the open log that the FTDI is connecting for me, but I checked and the TX and RX pins are connected properly, and so are GND and VCC. Right now my only guess is that the FTDI is putting more capacitance on the power supply that causes it to start working, but I haven't tested it yet. However when I measured the voltage W/ the FTDI adaptor both the TX and RX lines sat at 4.7 to 4.9V and W/O it was 3.3 for both of them. Can I please get some help?
 Madd0c on DEV-09530 - SparkFun OpenLog Madd0c urn:uuid:9242a46c-216e-541a-ea93-7332e992c105 2012-12-19T23:45:31-07:00
For anyone pulling their hair out about updating the firmware, I thought I would add something that may be common knowledge, but it took me 4 hoursof searching through the Wiki resolved issues to find it.

If you are getting compile errors that say "expected constructor, destructor, or type conversion before "

Move the SdFat and SerialPort folders OUT OF the unzipped folders and directly into libraries. They cannot just be unziped into libraries without this move.

It now compile on Arduino IDE 1.02
 RVDriver on DEV-09530 - SparkFun OpenLog RVDriver urn:uuid:fdc291f5-bece-f546-18c8-978a9fcd3edd 2012-12-01T18:47:34-07:00
Can I use this device to receive RS232 data stream from another device and store it on a micro SD card? I mean as simple as that? Do I need a Level shifter in order to use it?
 Max66 on DEV-09530 - SparkFun OpenLog Max66 urn:uuid:b2a34d59-faf1-3f10-5bb7-c49e51f5261b 2012-11-30T06:22:46-07:00
Hello, I have mounted one empty Atmega328 in my own board to be sent data from a second MCU. How can I flash the last firmware into the 328? I have flashed 'something' able to create a new file in the SD, but I get junk characters when I try to write some data sent through Tx. i am using an ATMEL programmer to ISP the AtMega. Please, help. Thanks.
 DaChew on DEV-09530 - SparkFun OpenLog DaChew urn:uuid:f33df1df-1ab7-4b17-4e3f-414dbf41f350 2012-10-08T09:40:43-06:00
Great little piece of hardware - I was able to build one over the weekend using the firmware, schematic and other documentation linked on here. My only hardships came about from not setting the boot size fuses correctly. And I had to use an STK500 programmer for both the boot loader and the main firmware as I couldn't get the Arduino IDE to connect to the AVR (started with a bare-metal chip). I know you guys just did a write up on your open hardware business model, but thanks again for supporting the weekend hobbyist!
 VJay on DEV-09530 - SparkFun OpenLog VJay urn:uuid:80e0da8a-62c2-f65b-f5e2-ac7decc44d1e 2012-09-17T08:54:11-06:00
Hmmm… Been using these loggers for over two years. Latest batch will not allow me to update the firmware to my own, using the 'older' method. Looking at the OPENLog website it appears the bootloader has changed. The only instructions I can find for updating the latest version is to use Ardunio stuff. Since I have a fully tested and working hex file that I want to upload, I cannot use the new instructions. Anybody any idea on how to update the firmware (I have a hex file) with the latest (post March) bootloader? I've a nice little serial/TTL converter all ready and willing :-) P.S. I re-tested my 'old' method on an older OPENLog device and it works fine. Just not on these new suckers.
 buton on DEV-09530 - SparkFun OpenLog buton urn:uuid:609d48d8-ab89-1726-358f-3e6c3b6efe6c 2012-09-07T06:20:40-06:00
Openlog Power

So i have a arduino pro mini 3.3v, oled display ssd1306, rtc and openlog.. i left this running with two AAA batteries for a day, every 3 seconds i was sampling data and recording it to the txt file on the openlog.

openlog was able to record 4800 data rows in about 4 hours powered with the AAA batteries, after that 4 hours(pretty good) my arduino pro mini and display keeps working, also the rtc but it is not longer recording. with time the battery voltaje drops to around 2.8-2.6. and openlog stops writing to the sd card.

do you have any idea why? if everything else is working?
 phorne on DEV-09530 - SparkFun OpenLog phorne urn:uuid:f18164f9-600a-15cc-1432-ed3c649e8469 2012-09-03T12:52:24-06:00
Is it possible to write multiple files with OpenLog, or is it limited to just one file? If multiple files are allowed, how would I go about doing that? I need one file to record GPS coordinates and altitude, and another file to record all of my other incoming data (temp, pressure, etc). Any suggestions?
 AngusP on DEV-09530 - SparkFun OpenLog AngusP urn:uuid:6f6f98a3-4ef2-a6a8-4de8-9ef76ccf79ac 2012-08-02T08:43:40-06:00
Hi Nate, I'm just wondering whether (you think) your code for the OpenLog would work on a ATMEGA32u4 out of the box?? I'm keen on using a fair amount of your code as the CLI and epic datalogging abilities are very attractive, but I need to use a couple of I2C sensors and fit the whole thing in a very small, circular space. I've gone for the 32u4 because you sell it in a TQFP, and it has built in USB, so I may try something like keyboard log output or mass storage abilities…
 Customer #88756 on DEV-09530 - SparkFun OpenLog Customer #88756 urn:uuid:694c3e97-4989-5340-16f2-2690ec6e3cb8 2012-07-25T09:16:33-06:00
Is there a setting to change that allows an OpenLog to properly read an inverted RS232 signal? The MaxBotix range finder (also sold by SparkFun), outputs the serial as 0-Vcc. Using PuTTY on my PC, I can easily read the MaxBotix range data. However, the OpenLog just produces a log file of gibberish characters. I am hoping to avoid having to implement this in hardware…
 Customer #121535 on DEV-09530 - SparkFun OpenLog Customer #121535 urn:uuid:a33856a5-f270-1d23-9769-6882dd6766d9 2012-06-22T11:41:01-06:00
I'm slightly confused by the fact that using the provided wiring scheme (or a crossover board), the pin labeled "GND" on the OpenLog unit goes to the pin labeled "CTS" on the FTDI board. This is fine; I think we're assuming that the FTDI board is setting CTS low all the time. But I want to make sure that if I use another SparkFun serial gadget on the other side, namely the Razor 9-dof (which other than the CTX/RX switch has the same pinout as the FTDI unit), it's okay that the OpenLog board is getting its ground from CTS. Doesn't this wiring assume something about the behavior of CTS? Does it require CTS to be held low, and if I don't explicitly set CTS in firmware on the Razor 9-dof, does anyone know if it's set low by default?

Thanks!
 Customer #247677 on DEV-09530 - SparkFun OpenLog Customer #247677 urn:uuid:e09f2806-b1fe-a023-dc13-eb6757d1e434 2012-06-03T05:46:37-06:00
I've purchased this awesome device, though I have one small problem with it: I have it basically 'sniffing' serial communications going from an Arduino to a radio transmitter (so everything that is sent to the radio is saved onto the SD card). About 50% of the time the OpenLog starts blinking and not writing anything - it goes into 'emergency mode', this means that the RX pin was LOW for at least two seconds.

As you can imagine, this is quite bad. There is a 50% chance that the OpenLog will do absolutely nothing upon boot. I know that I can reflash the Openlog to remove this 'emergency mode', but I don't have the required equipment (an AVR programmer), are there other solutions? Can I just put in weak pullup resistor?

Thanks
 Customer #144830 on DEV-09530 - SparkFun OpenLog Customer #144830 urn:uuid:845810b0-ded0-8dc5-b5db-ecd3bebca022 2012-05-25T09:24:58-06:00
Which firmware do the now-shipping OpenLogs come with? For arduino, are they 1.0 compatible or do they still require a manual firmware update?
 jumpjack on DEV-09530 - SparkFun OpenLog jumpjack urn:uuid:45a4f92d-e37b-804b-e4a3-7f701fe266cc 2012-05-20T10:36:32-06:00
Please is it possible to know the exact procedure to upload FW 3.0 to Openlog? I see many different methods around depending on FW version! 1) How to connect the pins to an Arduino board to upload FW (?) 1b) How to connect the pins to FTDI board to upload the FW 2) Which board to select in IDE 3) Which files to change in IDE folder (?) 4) Which code to upload depending on bootloader (original/fixed)
 jumpjack on DEV-09530 - SparkFun OpenLog jumpjack urn:uuid:605f66ed-bcb7-66c1-9eb4-7630ec8e78b2 2012-05-19T09:02:09-06:00
It would be REALLY cool to know how NewJersey solved this issue 2 years ago! I can't see gibberish in files, they're just empty!
 jumpjack on DEV-09530 - SparkFun OpenLog jumpjack urn:uuid:e6bc668f-a248-9236-f833-0846dd5fc4ea 2012-05-17T08:59:16-06:00
DID YOU KNOW? :-)

If you upload proper firmware to OpenLog, you can use it as a standalone digital logger without any hardware modification: TX and RX are indeed actually digital pins 0 and 1. :-)

Anyway breaking out an analog pin too would be fine.

Apart from this, I still can't get this cute thing working, and I can't decode the LEDs code to determine which is the error encountered by firmware, which creates files but does not fill them up with data and does not show any prompt.
 MikeGrusin on DEV-09530 - SparkFun OpenLog MikeGrusin urn:uuid:e7ddac12-271e-9f7d-5132-0919b8d994de 2012-05-15T11:59:23-06:00
We've all realized at one point or another that we forgot to insert commas into log files. The work it takes to recover will remind you not to make that mistake again. ;)

Basically, you need to get commas in there. But it may not be as bad as you think. You can often load it into a text editor (we use Programmer's Notepad), and do a bit of search-and-replace. You were smart and used consistent labels for your data, which you can now search on to add the commas. For example, replace "Date:" with ",Date:,". Note the additional commas, that separate the data and the label. If you do this for every label you have ("Fix:" "quality:" "Location:") it will only take a handful of S&R's to fix up the file.

In cases where that won't work, you may need to write a bit of code that reads your log file, makes some decisions, and outputs a second file / text stream with the commas inserted. You could do this with almost any language, and can even do it on an Arduino. It's a bit hidden, but there are string-processing functions available on Arduino; take a look at the StringObject page for details. Good luck!

(Edit: One other idea: many spreadsheets will let you separate columns on other characters besides the comma, including using the space character. You might try loading it using space as the separator. You'll end up with lots of extra columns, but you can always delete them in the spreadsheet later on.)
 Customer #272097 on DEV-09530 - SparkFun OpenLog Customer #272097 urn:uuid:87e3cca0-2082-8ee0-40e9-3af3f7b0c8d1 2012-05-15T08:28:33-06:00
While not strictly an OpenLog question, it does apply to my OpenLog file.

I logged data from a few different sensors during a balloon flight. Log file looks chunks look like this:

Time: 0:1:55.Date: 0/14/204 Fix: 1 quality: 2 Location: 745.1949N, 8851.7187W Speed (knots): 21.07 Angle: 12.39 Altitude: 9213.40 Satellites: 8 accelerations are x, y, z: 306 326 367 External Temperature: -28.9200000762C / -19.4080009460F. Humidity: 15.14% Temperature: 6.40 *C Pressure: 35965 Pa Altitude: 7930.44 meters Real altitude: 7948.06 meters

Log file contains a ton of these entries. How can I parse this information in to a spreadsheet for graphing? I'm stuck trying to figure out how to get everything into columns and formatted to be useable. I didn't think of this beforehand, or I would have altered the Arduino script to write it as a csv.

Thanks!
 jumpjack on DEV-09530 - SparkFun OpenLog jumpjack urn:uuid:96571773-cfe9-2c8c-e6ee-0c05d008649b 2012-04-23T12:57:43-06:00
I did some quick&dirt test with the Openlog, but I'm confused: when I connecy the device with a FAT32 formatted 1gb card (formatted with specific SD formatter tool from Panasonic), one led lights up then turns off, then the blue led lights up and turn off, and so on alternatively, then all leds go off. Upon connecting, bith with Hyperterminal and Arduino IDE (serial monitor), I can't see any prompt, and nothing happens upon sending characters. When I disconnect the device and put the card in a reader, I see several files, but all of them are empty.

Which is the exact "LEDs sequence" at startup? How can i know what is going wrong?
 CCPM on DEV-09530 - SparkFun OpenLog CCPM urn:uuid:0d7a9ae0-d9ac-0579-adfd-e7a6dbe5cca3 2012-04-23T09:51:46-06:00
FYI: I was getting:

 avrdude.exe: stk500_getsync(): not in sync: resp=0x00

when I tried flasing latest firmware to some new OpenLog cards using FTDI breakout. I was able to work around this by using 115200 baud instead of 57600:

C:\openlog>avrdude.exe -p atmega328p -P COM6 -c stk500v1 -b 115200 -Cavrdude.conf -U flash:w:main.hex

The older cards seem to require 57600 the 10 new cards all required 115200. I didn't find this documented anywhere.
 Customer #187760 on DEV-09530 - SparkFun OpenLog Customer #187760 urn:uuid:027c18be-9309-6020-6006-fd6b60a4223a 2012-04-22T16:47:24-06:00
The example Arduino sketches link is broken, anywhere else to find an a sketch that has solid examples?
 FUTURA GROUP SRL on DEV-09530 - SparkFun OpenLog FUTURA GROUP SRL urn:uuid:48f08f2c-034a-fb43-b9e2-c8685c4b9b1b 2012-04-13T01:01:43-06:00
in almost all links of the product give 404 error
 Hobbytronics on DEV-09530 - SparkFun OpenLog Hobbytronics urn:uuid:709d1257-1919-6c99-7ff7-c8461dadf1a5 2012-04-10T06:56:40-06:00
If you want to upgrade the firmware on this board with the latest version, you don't have to go through the hassle of installing a custom version of Arduino as suggested. The compiled hex file is included in the download. There is a great little program called XLoader (http://xloader.russemotto.com/) which you can use to download the firmware into the openlog. (No avrdude knowledge required)
 Juhnke on DEV-09530 - SparkFun OpenLog Juhnke urn:uuid:788efebd-320e-c582-9604-f8c5f3ebc4c3 2012-04-09T15:57:47-06:00
Ohhh! Also note the FTDI wiring jpg that is included in the downloads. You need all 6 wires connected, not just rx,tx…
 Juhnke on DEV-09530 - SparkFun OpenLog Juhnke urn:uuid:046be694-c859-c363-2fae-f807b66d128e 2012-04-09T15:56:18-06:00
Yup! I concur with tommy321. The wiki here http://wiki.github.com/sparkfun/OpenLog is of some use but is outdated. Download OpenLog_v3 (Arduino One compatible) here: https://github.com/sparkfun/OpenLog (I used git clone) and read the comments to download new libraries that need to be installed before you upload the sketch to your openLog.
 tommy321 on DEV-09530 - SparkFun OpenLog tommy321 urn:uuid:36660e93-217b-16cd-45f1-b70912748ad1 2012-04-06T14:04:36-06:00
Yep… the github posts above are dead, and need to be redirected.

Also, the wiki on the github is out of date. For flashing firmware it still talks about needing to hack the HardwareSerial.cpp file. After looking high and low for the new HardwareSerial, I finally found the correct instructions inside the OpenLog_v3.ino within the downloadable zip file. The instructions there point you at the Bill Greiman libraries needed to compile in Arduino… Once I figured that out, everything worked fine.

Tom
 Steve123 on DEV-09530 - SparkFun OpenLog Steve123 urn:uuid:e8117bff-0f22-cd27-0ec0-a224ddda5f90 2012-04-04T06:53:10-06:00
Looks like the github links above need updating… for example, I believe the home page should be:

https://github.com/sparkfun/OpenLog
 jumpjack on DEV-09530 - SparkFun OpenLog jumpjack urn:uuid:739ab318-6927-5378-6b6f-9a85a0630085 2012-04-03T05:34:02-06:00
If OpenLog firmware is opensource… why is it distributed in unreadable .cpp.hex format? How can I upload my own firmware to OpenLog in such a way it can work in standalone mode without needing another ATMEGA328 mounted on an arduino board?
 jumpjack on DEV-09530 - SparkFun OpenLog jumpjack urn:uuid:641550a0-c7a9-f7d1-0b43-f62960214bdd 2012-04-03T03:01:49-06:00
Being based on same chip of Arduino, can't this device be used in standalone mode to record from digital/analog pins rathe than serial port? Does it write data to files together with data acquisition time? Does it require an external RTC?
 Customer #90529 on DEV-09530 - SparkFun OpenLog Customer #90529 urn:uuid:4dc6079a-0fc5-52be-1750-5087954db868 2012-03-22T06:12:41-06:00
Have you tried running it on 5v? There is an on-board regulator, and the core is a 3v3 chip(I think), so 3v3 into the regulator, and asking for 3v3 out of the regulator might be causing problems. I am borrowing from old linear regulators - the input voltage must be greater then the wanted output voltage. If the core is running at 3v3, you have to feed it more then that as a power source, UNLESS you bypass the regulator…
 Customer #90529 on DEV-09530 - SparkFun OpenLog Customer #90529 urn:uuid:631bd13d-1f81-fe01-b0ee-ce76bb5e08c8 2012-03-22T05:49:21-06:00
Specs say you can use 16 character filenames such as 123 ABCDEFGH.TXT, which is just fine, but Datasheet pages say you can only use 8-dot-3 names. Can someone clarify? Thanks. :)
 Customer #144436 on DEV-09530 - SparkFun OpenLog Customer #144436 urn:uuid:b774931a-67c4-72fe-f345-87559167819f 2012-03-19T20:56:19-06:00
18 mA current!? I'm working on a very low power logger and am planning to use this logger. I wanted to check the current draw and I am seeing it settle at a fairly large 18 mA (3 times larger than the "worst case" in the datasheet. Am I missing something? I'm hooking it up with a 3.3v source and putting my multimeter between the 3.3v and Vcc. The only other pin I have connected is BLK to ground. I have an SD card in and I am getting the single blue LED flash. I've also tested it with an FTDI Basic and it seems to be working fine - just drawing more than the expected current
 jagsilva on DEV-09530 - SparkFun OpenLog jagsilva urn:uuid:d97231ce-17d1-d3ca-4a3f-b9feac6c97bd 2012-03-12T05:03:07-06:00
Can you please tell me how can upgrade my firmware. I am havving some doubts… thanks
 Lubin on DEV-09530 - SparkFun OpenLog Lubin urn:uuid:caa1211f-9823-7a16-fe23-6f77f3c63e0b 2012-03-11T18:05:09-06:00
Find out : the computer corrupted the Sd card. reformating the card make its working with latet firmware.
 Lubin on DEV-09530 - SparkFun OpenLog Lubin urn:uuid:6af2b0aa-d01d-49b7-9dd9-a37207a0f551 2012-03-11T17:36:09-06:00
Hello,

I get an OpenLog with firmware v1.51 as I remmeber. I have a standard FTDI cable.

I downloaded newer firmware through the git repository. I can upgrade sucessfully to any firmware version. I Only have Rx-Tx wires with Vcc-GND. I power up openlog whild pressing enter with: avrdude -p atmega328p -P COM2 -c stk500v1 -b 57600 -Cavrdude.conf -U flash:w:main.hex

It's programming without error. However, open log is only showint one 1 at hyperterm when starting. I do not have anymore 12>.

What's going on ? any ideas ?
 jagsilva on DEV-09530 - SparkFun OpenLog jagsilva urn:uuid:5e3c95a3-a751-8017-09a7-549bd155a21d 2012-03-09T05:49:37-07:00
Hello, I try to upgrade to v2.51. I use Arduino 0022, compile OpenLog_v2 and I have no error compiling. When I upload the code I think the openlog doens't respond and I got the error: avrdude: stk500_getsync(): not in sync: resp=0x00 avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51 In normal situation the openlog doens't work. I connect it to PC, STAT2LED blinks one time and I receive in in terminal "1"… It's possible that tx is dead?? Thanks
 PalmTreesandPICs on DEV-09530 - SparkFun OpenLog PalmTreesandPICs urn:uuid:79006d8c-74cf-c8f3-abfb-804b4008c613 2012-03-03T09:24:29-07:00
I wish there was an SPI version.
 kenlid on DEV-09530 - SparkFun OpenLog kenlid urn:uuid:7452ed61-45d4-0ff5-36ff-09403cf3df8f 2012-02-28T20:17:23-07:00
Great section "i just want it to work" and it does.
 I sent tech support a note suggesting that the output of the 3.3 volt regulator be available via a pin on the board. Let's hope for the next revision.
 Wayne on DEV-09530 - SparkFun OpenLog Wayne urn:uuid:e566d701-41fd-9fc2-74b2-c512e7abc5be 2012-02-26T22:46:09-07:00
I am extremely frustrated with this board. I bought it some time ago, but only recently had the need to use it. If it had worked it would have really helped me solve an important problem. However, instead, I spent the entire evening trying to debug this thing. The short version is that my board must have an older software revision because, try as I might, I can't get it to come up in logging mode and log data (yes, I even tried the tie RXI to ground and power up trick, with no luck.). It always power up in command mode. Then, it took me several house of fruitlessly trying to use a CONFIG.TXT file before I figure out that my version must not support this, either. But, even here I'm only guessing because, even after I hooked it up to a serial adapter, I can't seem to find a way to put it back into logging mode, nor can I even find a command that will tell me what version of software my board is running (did the designer forget to add these most basic features to the software…?) Argh… I suppose my only option is to blindly update the software but, two things, I don't have the required FTDI Basic board. Geez, this just keeps getting better and better.
 manta on DEV-09530 - SparkFun OpenLog manta urn:uuid:5d474977-25ca-2bef-b7a7-e69c7408f2e5 2012-01-08T20:42:56-07:00
Got my OpenLog and it works perfect right out of the box. Logging data was cake! Using a PIC18F4620, basic UART at 9600. Works perfect.

Awesome product, I recommend it.
 Customer #280356 on DEV-09530 - SparkFun OpenLog Customer #280356 urn:uuid:444ef4c7-eaf9-276e-b9eb-c15da1e2b6d8 2012-01-03T03:28:05-07:00
I set the config system mode to 2,my Hyperterminal start with 12>,but when I enter 'new a.txt' ,nothing has happen,why can't I creat a new a.txt .

why my command is no use?
 GreenLeader on DEV-09530 - SparkFun OpenLog GreenLeader urn:uuid:1b04e2fa-13d1-f667-6fdb-147fcfd69a72 2011-12-24T07:35:49-07:00
what version of the firmware do these currently ship with?
 Timber Wolf on DEV-09530 - SparkFun OpenLog Timber Wolf urn:uuid:59478582-34ed-abf8-d514-757b141e64f8 2011-12-20T09:51:57-07:00
I should note on my advice to use a 5v regulator like an LM7805C I did find out the hard way that the LM7805C needs about 7.5V to power It's self correctly and supply 5V.
 Timber Wolf on DEV-09530 - SparkFun OpenLog Timber Wolf urn:uuid:297262e9-afb9-c6a3-05ca-554d64020aa3 2011-12-20T09:47:17-07:00
I lost track of this project for so long I didn't know you addressed my ideas. I will be loading the new firmware to mine to take advantage of these new features you have added. That will make it much easier to use and copy the settings of the OpenLog. Thank you Nate!
 Cupboard on DEV-09530 - SparkFun OpenLog Cupboard urn:uuid:55589903-e2ff-1e3f-fe8e-dd5f93545548 2011-12-20T09:13:23-07:00
I'm trying to find or make something that will log serial data out of an controller. The controller will output serial data, but needs to be asked to send it. I've looked through all the documentation but can't find the answer anywhere…

Can the OpenLog send a command to trigger some data? As an example, I'd want to send 02 0A 41 01 00 02 69 01 00 69 02 00 03 19 01 as a hex string which should then give back something like 02 03 40 01 21 41 01 02 16 03 5A.

I then would need to check the last few bytes to see if it's an error and if not, store the data from some bytes further back in the string.

If I haven't asked in the right place or you need some clarification, please shout :)
 Nate on DEV-09530 - SparkFun OpenLog Nate urn:uuid:0f978d58-9526-5dab-ae47-34feafbe6fdd 2011-11-09T11:49:04-07:00
Please post issues to Github

OpenLog does not echo characters, only logs them. Please post an example of one of your problem logs to the issue as well. We'll help you get it fixed.
 Nate on DEV-09530 - SparkFun OpenLog Nate urn:uuid:1f70e235-7f5c-4950-be9b-d38544762b43 2011-11-09T11:47:00-07:00
57600bps is a known issue.

Dropped characters during continuous logging, please see this page
 Nate on DEV-09530 - SparkFun OpenLog Nate urn:uuid:0bd470de-0f10-fe02-cc81-a576bb3d713b 2011-11-09T11:45:24-07:00
I've made a wiki page just for you! Continuous Logging
 Nate on DEV-09530 - SparkFun OpenLog Nate urn:uuid:7165a28d-8273-e694-428d-3edf1cd63b72 2011-11-09T11:05:43-07:00
With enough low-level commands you can read and edit files. See the command test example sketch for some starting code.
 Nate on DEV-09530 - SparkFun OpenLog Nate urn:uuid:613566a4-d61d-b7f7-b5cb-3cf5906d32eb 2011-11-09T11:04:16-07:00
We do use 3M microSD sockets on some builds but our suppliers change quickly. Good eyes! :)
 Nate on DEV-09530 - SparkFun OpenLog Nate urn:uuid:ccc6decb-ab36-71c8-ab12-c987da7ba623 2011-11-09T11:02:56-07:00
Currently OpenLog only supports one incoming serial stream.
 Nate on DEV-09530 - SparkFun OpenLog Nate urn:uuid:c688bf8d-dcba-e9a2-6b8b-940390b5d7ec 2011-11-09T11:02:39-07:00
Double sided boards are tricky to reflow on a hot plate. We use an oven.
 Customer #259017 on DEV-09530 - SparkFun OpenLog Customer #259017 urn:uuid:44b2086c-adf7-31ae-d12e-3d9633811183 2011-10-15T04:52:54-06:00
Please friends help me and reply me as soon as possible.
 Thanks in advance.
 Customer #259017 on DEV-09530 - SparkFun OpenLog Customer #259017 urn:uuid:6f9060cc-3637-cc7b-1b58-ffbfc7fbcec9 2011-10-15T02:25:18-06:00
I Have loaded Version 2 in my new open log hardware and on power up i am getting 12< but after that i am logging data with 9600 baud rate and i am unable to log it and not getting echo too.
 Please help me what should be the problem?
 Thanks
 Priyank Patel.
 sbright33 on DEV-09530 - SparkFun OpenLog sbright33 urn:uuid:3d6d48d9-3f93-1a82-1910-667fea20d377 2011-10-10T16:46:28-06:00
Still missing characters when trying to send 8K/sec at 115kbaud. After a year of this problem it's still not resolved? Using trial and error I've found some delays that seem to work. This took hours of experimenting to resolve. Great I thought! Then I tried a different (faster) SD card. I'm back to square one. It misses 10-500 characters in a row about ever 1000. Which firmware will resolve this? Is there any way to work around it? If I knew when it was about to miss, I would wait. But there seems to be no pattern it's different every time. Please help!
 sbright33 on DEV-09530 - SparkFun OpenLog sbright33 urn:uuid:07cbecd5-8c5f-465e-4524-d5f6a3e9f5bc 2011-10-02T18:11:39-06:00
Got it to work kinda by delaying 30ms every 600 bytes using Serial.write. Trial and error. This is about 7K/sec. Usually it'll go 1-2GB before it misses a single byte, then it misses 100+. That's the best I can do. Only a little bit better then 57600 baud in theory. Which I have not tried. For a short while I can write at 8K/sec. Keep in mind I'm using an old slow SD card.
 sbright33 on DEV-09530 - SparkFun OpenLog sbright33 urn:uuid:ba204f28-40c9-4c34-9b98-da05d4a097bc 2011-10-01T22:35:42-06:00
This is related to a delay allocating the next cluster from the FAT. How can we work around it?
 sbright33 on DEV-09530 - SparkFun OpenLog sbright33 urn:uuid:540a58a4-2001-1ff6-c393-bce0ed02ce9c 2011-10-01T11:40:59-06:00
I could not get 57600 to work. But it wouldn't be fast enough for my application anyway, so I stopped trying. Instead at 115 kbaud this works for awhile:
 delayMicroseconds(80)
 I'm happy with that EXCEPT…
 About every 60-100K the data is corrupted. 10 files are created. Normally the blue light appears solid, instead it flashes slowly alternating with the yellow light. This is not acceptable. Even using a delay of 800 it happens less often. This is very slow.
 Please help!
 sbright33 on DEV-09530 - SparkFun OpenLog sbright33 urn:uuid:ac66b3cd-070d-91fc-1330-eeebba566f53 2011-09-29T19:05:06-06:00
Using this to test:
 https://github.com/nseidle/OpenLog/tree/master/OpenLog_Test_Sketch
 It drops 40-80 consecutive characters
 every 100 lines or so at 115kbaud.
 What good is this?
 If it consistently fails?
 Am I doing something wrong?
 Can I add a delay to cure it?
 sonex293 on DEV-09530 - SparkFun OpenLog sonex293 urn:uuid:3ccb31a3-7bd0-3889-9a18-c88797cf9ace 2011-09-09T09:18:29-06:00
Bubblehead, Which engine monitor are you using? I'm trying to do the same thing using a Grand Rapids Technologies EIS unit to output serial data. Like you the CONFIG.TXT and log files are created, but the logged data is unusable. Works fine connecting the EIS to a FireFly Serial/Bluetooth converter and recording data with a Laptop and HyperTerminal. I've contacted GRT to see what level the serial data is transmitted (12V, 5V, 3.3V, etc). If it's 5V or 3.3V, I'm not sure what's up.
 UPDATE: I got word back that the output can be as high as 12V on the serial output of the Engine Monitor (EIS). Yesterday I used the Sparkfun SMD Level Shifter board between the OpenLog and Engine Monitor and it worked GREAT! I got NO errors in recording over 30 minutes. Worked like a champ! No more lugging a PC to the airport to log engine data! woo hoo!!!
 Microman on DEV-09530 - SparkFun OpenLog Microman urn:uuid:4810a0dc-efff-b6f0-0df7-573cb5ad79fc 2011-08-16T14:41:59-06:00
Can we edit files on this from an arduino? I was going to try and use this as a hard drive with the arduino pro mini.
 Customer #226578 on DEV-09530 - SparkFun OpenLog Customer #226578 urn:uuid:65acdfc3-60b7-9db5-30bc-b14f2f940c4b 2011-08-16T02:18:41-06:00
I ovewrwrite the program in the microcontroller chip. How do I restore it. I want the old program back. I am using SPI programming method by codeVision software
 Kamiquasi on DEV-09530 - SparkFun OpenLog Kamiquasi urn:uuid:4155f992-499a-514e-49f5-9d438131993e 2011-08-15T21:50:42-06:00
Now that you mention it… what about it? :) If anything I guess that means they chose a quality part for the slot ;)
 Microman on DEV-09530 - SparkFun OpenLog Microman urn:uuid:d1719fb1-ef52-88c8-89f1-b519023ec53c 2011-08-15T21:23:55-06:00
Has anyone besides me noticed the 3M logo on the slot?
 teachop on DEV-09530 - SparkFun OpenLog teachop urn:uuid:3db75370-7d1a-2c07-8438-0ade5f26f543 2011-08-14T16:36:21-06:00
It is possible to fix this overclocking with no change to the hardware. Set the CKDIV8 fuse, then first thing in the bootloader switch up to 8MHz with the clock divider register. Two instructions. No more overclock. The software needs rebuilt against the 8MHz library. I am not using openLog software exactly (need CRC on the data), but am using the same SD library, and it works this way. Open source is great, you can do what you need.
 Customer #88598 on DEV-09530 - SparkFun OpenLog Customer #88598 urn:uuid:cba4613a-90ac-2fcf-44c9-696ba619b8be 2011-08-10T11:38:13-06:00
would reading the sd card cancel recording?
 i would imagine it would go something like this…
 log to file1 for duration1
 @ end of duration1, close file1, log to file2 for duration2, read file1 and send over xbee
 rinse and repeat.
 can the openlog do both simultaneously?
 thx
 Customer #2286 on DEV-09530 - SparkFun OpenLog Customer #2286 urn:uuid:8c6a42eb-dfc0-ddb7-d29d-f195b427ab9d 2011-08-07T10:18:02-06:00
The GitHub has ver 2 firmware sources available.
 Are the ver 1.61 firmware sources available ??
 thanks
 teachop on DEV-09530 - SparkFun OpenLog teachop urn:uuid:9a42b4e5-f1ae-52e3-3304-d42ca442a172 2011-08-06T17:28:42-06:00
Recently got some of these, and found with an ISP that the efuse was invalid. The brownout bits were 000. That is listed as "reserved" in the datasheet, wonder what it does? I think they are supposed to be 101, or "5". Was it shipped that way I assume? By the way, hooking a pod to openLog is a bit of a pain…
 melstav on DEV-09530 - SparkFun OpenLog melstav urn:uuid:149c4b6a-c90e-bcd1-5461-24bb21d6b87d 2011-07-11T11:20:15-06:00
Is there a chance that you'll carry just the bare ATmega preprogrammed with the OpenLog firmware?
 godzillatron on DEV-09530 - SparkFun OpenLog godzillatron urn:uuid:e4b5e4db-e20b-82e7-c909-103eb990697c 2011-07-06T02:26:19-06:00
How many channels can this thing do?
 Can I simultaneously log data from 3,4,5 etc inputs?
 J.R. on DEV-09530 - SparkFun OpenLog J.R. urn:uuid:d5166d4f-21bd-1e6f-41fe-d57d8e1c91dd 2011-07-01T09:20:13-06:00
How does the soldering work on a board like this which has components to be mounted to both sides? can you still use the hot plate method?
 Nexis on DEV-09530 - SparkFun OpenLog Nexis urn:uuid:a318c48a-8070-dc83-5e6f-2a78d80452c8 2011-06-21T04:20:23-06:00
I need MMC support to run project in Proteus (SD/SDHC doesn't work with it)
 And how i can compile this project without arduino IDE?
 Customer #130223 on DEV-09530 - SparkFun OpenLog Customer #130223 urn:uuid:e8457346-db6e-1aa8-7133-1a8ba6aafb7e 2011-06-20T02:14:44-06:00
I am having trouble using the openLog with NewSoftSerial on an Arduino Uno. It seems to log alright and I can get the openLog into command mode but when I have openLog return serial data (with commands like ls or ?) there are random characters missing. For example ? returns:
 OpenLog v2.5
 Basic commands:
 new : Creates
 append : Appends text to end of . The texti edfo h ATi temadi o cod iihb edn tlz(SI 6
 m drcoy rae ietr ald
 …
 I have rx set to pin 6 and tx set to pin 7. GRN connected to reset on the Arduino. Otherwise I have GND and VCC to 5V connected. Changing the baud rate does not improve things.
 Any advice? Is NewSoftSerial not capable to receive the serial data correctly or do I need additional settings?
 Thanks in advance.
 Nate on DEV-09530 - SparkFun OpenLog Nate urn:uuid:72358973-6cae-dc37-1e0f-abbb5e9a2072 2011-06-08T08:37:01-06:00
Controlling OpenLog from another micro is mostly covered in issue 66. Basically you need to do this:
 sprintf(buff, "new blah.txt\r");
 Serial.print(buff); //No println, use \r in string instead
 See the commit notes for v2.51.
 OpenLog can open a file, record to it, close it, and then open a different/new file, but it doesn't currently have the ability to maintain two open logs.
 There's also an example sketch for controlling OpenLog from an Arduino here.
 Customer #219777 on DEV-09530 - SparkFun OpenLog Customer #219777 urn:uuid:79a2c47e-8d55-c4c8-8127-9eb90fb7f17d 2011-06-02T03:32:47-06:00
EXCUSE ME IF I HAVE DONE WRONG UNDERSTANDING.
 WHAT I WANTED TO SAY MY QUESTION IS:
 I would like to directly connect a magnetic head (read magnetic tracks) with openlog and read the data without basic module, with only the console log and a magnetic head, I hope you understand me thank you for your help
 Scotty on DEV-09530 - SparkFun OpenLog Scotty urn:uuid:ae5afa4b-5a34-d320-7bba-b9e80f45847a 2011-06-01T21:29:48-06:00
I'm having problems dropping my OpenLogs into command mode from my Arduino. The Arduino is connected to a GPS so it knows the time and date; i would like OpenLog to name a new file with this information. I have tried multiple ways of sending character "26," BYTE, BIN, HEX, OCT, DEC, line feeds between each send, no line feeds… maybe i'm just not doing something right; but does anyone know how I can drop it into command mode? Also, is it capable of logging to two files, if it enters command mode and alternates between these two files? does anyone know how long it takes to switch between two files?
 Any and all responses appreciated.
 Nate on DEV-09530 - SparkFun OpenLog Nate urn:uuid:b22b51bc-6bca-bac6-0d0d-0c393a1a7f5e 2011-06-01T09:26:40-06:00
I don't quite understand. If you are trying to read magnetic heading, you will need a microcontroller to read from your sensor then output a serial stream to OpenLog. It is actually quite easy to add OpenLog once you have the basic system working.
 Nate on DEV-09530 - SparkFun OpenLog Nate urn:uuid:688a021c-3129-89d1-1327-7e2c96ebab78 2011-06-01T09:24:38-06:00
Sounds like OpenLog is doing what we expect (creating a config file and an initial log file).
 What board is in your plane? Make sure the board is outputting 9600bps because that is what OpenLog is expecting. Make sure the TX pin on your plane-board is truly and output and connected to the RX pin on OpenLog.
 Is the serial TTL serial or RS232? RS232 would be a problem. TTL should work fine.
 Nate on DEV-09530 - SparkFun OpenLog Nate urn:uuid:62a21852-1737-4239-3cf5-7f086fd47fb7 2011-06-01T09:21:48-06:00
Interesting. Could it have been your serial adapter not being able to read 3.3V signals?
 I haven't see what you describe when powered with 3.3V. I'll pull some more sample units and see at what voltage I start to see problems. My guess is ~2V, the microSD card will start to have problems.
 Nate on DEV-09530 - SparkFun OpenLog Nate urn:uuid:c1b8b9a1-4a63-4d13-558f-7868c16cbda0 2011-06-01T09:19:31-06:00
Nice work Mike! I've hit that same problem with Github. Glad you got it worked out.
 Nate on DEV-09530 - SparkFun OpenLog Nate urn:uuid:04186e6d-35f6-659e-9d81-1e42a7edfd88 2011-06-01T09:18:35-06:00
Please open an Issue on Github. I'm less and less familiar with version 1 these days but I'm happy to help where possible.
 Nate on DEV-09530 - SparkFun OpenLog Nate urn:uuid:7aa6c1db-534a-69e0-ddc7-9c9853e89465 2011-06-01T09:17:55-06:00
Hi - Please do see github. All the source is there including the main Arduino sketch called OpenLog_v2.pde.
 Nate on DEV-09530 - SparkFun OpenLog Nate urn:uuid:bedb8115-9250-6cfb-19b5-750a20763700 2011-06-01T09:16:42-06:00
You would need an external controller to put OpenLog into command mode. Once in command mode, issue the 'read' command for whatever file you would like to look at. Once OpenLog starts outputting the text, you would need to read in that text and output it to an XBee. You may be able to chain two items (the micro and the XBee) on the TX pin of OpenLog.
 Nate on DEV-09530 - SparkFun OpenLog Nate urn:uuid:e50c0f51-3f40-7114-bde2-fdfa2989f54c 2011-06-01T09:14:52-06:00
Good question - I haven't personally run tests longer than a few weeks. But we have had thousands of OpenLogs in the field for over a year. There are always some technical issues but none that I have heard of intrinsically to problems logging over very long periods.
 OpenLog should be fine. I recommend power cycle or resetting OpenLog every 24 to 168 hours (1 week) so that OpenLog closes its current log and opens a new log.
 Nate on DEV-09530 - SparkFun OpenLog Nate urn:uuid:75b74523-64cc-2e2b-a88a-9b3bcd070b32 2011-06-01T09:12:21-06:00
You are correct, you should only need to power OpenLog (5V/GND from the Arduino) and TX on the Arduino to RX on OpenLog. You really should wire up an external comm port so that you can see what's going on. Depending on when and who you got OpenLog from, it's hard to say what firmware version you have.
 Nate on DEV-09530 - SparkFun OpenLog Nate urn:uuid:71abc359-4e6f-5238-ac45-6a8a0f90ef37 2011-06-01T09:10:15-06:00
OpenLog has a microSD socket built in so you don't need to wire up an external socket.
 Nate on DEV-09530 - SparkFun OpenLog Nate urn:uuid:773706b0-5824-7d74-d2fc-9974be795173 2011-06-01T09:09:32-06:00
It's best to remove OpenLog from any system when trying to update the firmware. Too many things sitting on the TX/RX bus is a scary thing.
 Nate on DEV-09530 - SparkFun OpenLog Nate urn:uuid:a108a8dd-69f4-f28e-cb01-fb38785d4b16 2011-06-01T09:08:28-06:00
It's a 16MHz resonator from Murata: CSTCE16M0V53-R0 (I'm pretty sure)
 Nate on DEV-09530 - SparkFun OpenLog Nate urn:uuid:b2b6bd9e-4dd3-ad88-d6f0-1bead49db108 2011-06-01T09:06:01-06:00
Based on your comment date (2011), why are you trying to load main.hex? That would be one of the older commits (pre version 2.0).
 A protocol error is sometimes caused because the ATmega is not responding like avrdude expects. I would be sure you've got the DTR pin correctly connected - I suspect the ATmega is not getting reset appropriately by avrdude.
 Nate on DEV-09530 - SparkFun OpenLog Nate urn:uuid:15a535b0-4353-5216-a306-6010d187d8c6 2011-06-01T09:01:51-06:00
Hmm. Interesting question. OpenLog is very simple/passive. There is not a good way on OpenLog itself. Most of the time, OpenLog is attached to a system that is doing all the heavy lifting. That system would be the best place for an external trigger.
 Customer #219777 on DEV-09530 - SparkFun OpenLog Customer #219777 urn:uuid:68ecb71d-5750-fbab-ce65-3d0b603c4749 2011-06-01T06:53:20-06:00
SALVATION
 I would buy a OPENLOG FOR TRANSFERRING DATA AS EX: 2235687611234567 / / 2345678987654324567 WITH OPENLOG just as with the example project on sensor Sparkfun but just what I want to do the same thing c'es but with a magnetic head that I veus Use with openlog, I am not very strong in electronics, can you help if possible thanks
 Customer #219777 on DEV-09530 - SparkFun OpenLog Customer #219777 urn:uuid:b36660a8-c4af-c5a6-700a-f4d4b16c099f 2011-06-01T06:40:31-06:00
SALUT
 JE VOUDRAIT ACHETER UN OPENLOG
 POUR TRANSFERER LES DONNEES COMME EX:2235687611234567//2345678987654324567 AVEC LE OPENLOG UNIQUEMENT ET LIRE DONNé simplement comme avec l'exaple project sensor sur sparkfun
 mais juste ce que je veut faire c'es la meme chose sauf que c'est avec une tete magnetic que je veus utiliser avec le openlog;quelq'un peut aider ?
 Bubblehead on DEV-09530 - SparkFun OpenLog Bubblehead urn:uuid:1fdade96-3617-36f9-51fc-25be20d95cda 2011-05-29T18:31:51-06:00
This is somewhat new to me so excuse by basic questions. I have a system on my airplane that displays all the engine temps and pressures but does not record data. It does have a serial data out line so I bought an OpenLog, made up a 5 volt power supply using a 7805 voltage regulator, and wired it up. I then formatted the card using my laptop, plugged it into OpenLog, and turned on the electrical system and data display system for a few minutes. Then I took the card to my laptop to see what had been generated.
 OpenLog made a CONFIG.TXT file and a data file named LOGO0015.TXT. The CONFIG file is fine and reads 9600, 26, 3, 0, but the LOGO file is not text, it's lots of funny characters.
 So how do I convert everything to text I can parse into a spreadsheet?
 Here is what the data looks like:
 úþþþþþ.þþžÆþþnþþÖ 1 1žžîüþþþþþþþ þþþ2 þþþþþþþþþþþþþþ²þ®þ²þÒþº
 UDZGuru on DEV-09530 - SparkFun OpenLog UDZGuru urn:uuid:eb73491f-2466-f381-0150-bb950cd9d3f5 2011-05-26T06:02:56-06:00
I ordered two Openlogs. One came with firmware v2.5 and supports the 'reset'-command in commandmode. The other (as I figured out after some hours of testing around and cursing (g) was only firmware v2.41 which doesn't support resetting.
 I tried to compile v2.5 using the latest Arduino-IDE and following the steps explained on the datasheet precisely.
 At the first try my OpenLog suddenly only logged chinese characters (which were definitively not "thrown" at him). Now after a reboot of my computer v2.5 won't even compile because some error in the 'special' HardwareSerial.cpp supplied for programming v2 onto OpenLog using the Arduino-IDE.
 I then tried to upload the latest .hex file using avrdude. But the latest .hex-file on GitHub is v2.41. Could you please make a .hex for v2.5 available? Thanks in advance.
 NukeFrenzy on DEV-09530 - SparkFun OpenLog NukeFrenzy urn:uuid:25b80b9a-4636-0766-f3e7-45373df92cf7 2011-05-03T06:27:39-06:00
I'm incorporating the OpenLog design into a project I'm working on, but I'm having trouble finding the source files for version 1 on GitHub. Are these still available? I really just want to change to a slower crystal since I'll be running at 3.3V. Version 1 sounds more stable and that's very important in the project I'm working on.
 Nuaq on DEV-09530 - SparkFun OpenLog Nuaq urn:uuid:c44568e1-18f5-9cab-9bf2-b102dd962f07 2011-04-22T01:40:16-06:00
When the stock will be available?
 ahshabon on DEV-09530 - SparkFun OpenLog ahshabon urn:uuid:c4f15205-6bea-0f2a-701b-002dd504fc7d 2011-04-09T16:44:35-06:00
Is there a way to start logging to the OpenLog based on an external trigger? if yes, how?
 kzwinn on DEV-09530 - SparkFun OpenLog kzwinn urn:uuid:143a39d0-64f8-5449-43c4-b61e92c181a6 2011-04-09T10:22:11-06:00
ok..solved. you need to connect all pins of FTDI Basic board and openLog. Not just TX/RX/5V/GND won't be able to download.
 https://github.com/nseidle/OpenLog/wiki/Datasheet
 Under this topic
 How do I attach a FTDI Basic board to OpenLog for configuring and bootloading?
 kzwinn on DEV-09530 - SparkFun OpenLog kzwinn urn:uuid:4c48a7a5-c18f-bf38-df1b-eff77ae03f16 2011-04-09T09:01:09-06:00
Hi,
 Does anyone encounter this error while flashing firmware? Thanks!

Bryan

C:\openlog>avrdude.exe -p atmega328p -P COM6 -c stk500v1 -b 57600 -Cavrdude.conf
 -U flash:w:main.hex
 avrdude.exe: stk500_getsync(): not in sync: resp=0x00
 avrdude.exe: stk500_disable(): protocol error, expect=0x14, resp=0x51

avrdude.exe done. Thank you.
 kzwinn on DEV-09530 - SparkFun OpenLog kzwinn urn:uuid:8e6f9974-1575-ae9e-2c19-c43670dbe326 2011-04-09T08:55:28-06:00
Hi,
 Anyone encountered this problem while flashing the firmware? Thanks!

Bryan

C:\openlog>avrdude.exe -p atmega328p -P COM6 -c stk500v1 -b 57600 -Cavrdude.conf
 -U flash:w:main.hex
 avrdude.exe: stk500_getsync(): not in sync: resp=0x00
 avrdude.exe: stk500_disable(): protocol error, expect=0x14, resp=0x51

avrdude.exe done. Thank you.
 waggie on DEV-09530 - SparkFun OpenLog waggie urn:uuid:59f5b44b-40ed-da5b-19b5-786a261e36a8 2011-04-08T08:27:11-06:00
what oscillator is on the board. It's tiny! Can I get a part number?
 ikrase on DEV-09530 - SparkFun OpenLog ikrase urn:uuid:344fa598-9ca4-2c69-d33f-b30f5b2263e2 2011-03-27T19:19:43-06:00
It is homemade. I used Arduino DIP and a full size SD, and am powering it from the Arduino 3.3v pin. Previously, I used a regulator powered by 5 volts like the manufactured Openlog uses. No change was observed.
 tasiv on DEV-09530 - SparkFun OpenLog tasiv urn:uuid:2073875c-1eee-6796-1537-9782ad938dc8 2011-03-24T07:46:50-06:00
Actually, I have it up and running right now. What voltage are you using to power the logger? I was attempting to use 3.3, but when I increased it to 5, it started working.
 ikrase on DEV-09530 - SparkFun OpenLog ikrase urn:uuid:9b990bd8-7cfa-b540-d59e-c4b36768c516 2011-03-23T23:42:31-06:00
I have very similar problem. Try hard re-flash (w/ Arduino as ISP if nothing else )
 tasiv on DEV-09530 - SparkFun OpenLog tasiv urn:uuid:feb23059-71a5-51f2-98c3-b3456b4dcdbf 2011-03-22T13:05:24-06:00
I'm not sure if mine is bad or not. I plug it into power, and the serial terminal receives a 1 repeated every second with a sdhc card plugged in. When I unplug the sdhc card, the character changes to the 'n' and when a character is typed into the terminal (putty) it changes to the 'u'. I think I may have broken it, however, the fact that the output changes when I modify conditions makes me think that it is still functional.
 I have attempted to re-flash it using the command prompt utility, however no luck.
 any help?
 -Alex
 mmkk15 on DEV-09530 - SparkFun OpenLog mmkk15 urn:uuid:a71e2a6d-36bf-e1cf-681a-33c18ace504a 2011-03-21T04:02:44-06:00
Got the solution. If you are on the github webinterface (https://github.com/nseidle/OpenLog/tree/master/OpenLog_v2/) do NOT just right click on the hex-file and "save-link-as" it! You should click on the hex-file-link which then takes you to a new page. There you will see a lot of numbers and characters (Intel hex format). On the right there's a link called raw. Right click there and do the "save-link-as" there. Then you'll be downloading the wanted hex-file. Flashed it and openlog works like a charme with my 4GB (FAT32) SDHC disc.
 I just love it!
 Awesome project, I really appreciate it!!
 Regards,
 Mike
 mmkk15 on DEV-09530 - SparkFun OpenLog mmkk15 urn:uuid:c125cf3a-a375-7875-8381-7a5ce2f2d338 2011-03-19T12:04:48-06:00
Hello,
 I got one openlog, but I currently am unable to get it to work. When I power it up, it outputs the 1 over an FTDI converter and then it stops. Blue LED will blink 3 times after a while (= problems initializing the card). So far so good. I tried to update the firmware to the newest 2.41 version, as I'm using a 4GB SDHC (Toshiba) card (formatted FAT16 and FAT32, both didn't work). I've downloaded the newest firmware from the github and tried to bootload it. The bootloading seems to work as V1 can be bootloaded without any problems, but when loading V2 avrdude reports me an error. It starts programming 32768 bytes (which is maximum of the ATMega) and during verifing I'm getting the error:
 avrdude.exe: verification error, first mismatch at byte 0x7800
 0x32 != 0x0c
 Strange is also, that the file sizes between V1 and V2 are very different. The current V1 hex file has 69.108 bytes and the V2 hex file (filename: OpenLog_v2.cpp.hex) has 247.589 Bytes?!
 Anyone any ideas?
 Greetings from Germany,
 Mike
 ikrase on DEV-09530 - SparkFun OpenLog ikrase urn:uuid:38d7ae7c-97d8-cf95-d0b1-17c66befdff7 2011-03-19T02:02:53-06:00
I'm having a huge problem with one on firmware 1.6. It just keeps giving me 'cannot create config file' and 'too many logs' even with a clean formattted, SMALL card (16 MB). SOme other cards simply cause it to send a series of 1's.
 BigNate on DEV-09530 - SparkFun OpenLog BigNate urn:uuid:fee83b11-3baf-c78c-e11a-07dc0dcbfa6c 2011-03-18T19:44:53-06:00
I was wondering if there is any way to set this up to transmit data on startup.
 My project idea is a gps logger, but it looks like the gps has to be initialized first. I imagine it would be easy enough to edit the firmware but only the hex file is posted.
 Thanks
 Nate on DEV-09530 - SparkFun OpenLog Nate urn:uuid:50ecf8b6-41af-a2db-e32a-08789bf33e87 2011-03-09T10:42:14-07:00
This is a known issue with Arduino v22 and the AHRS firmware, not OpenLog. See these closed issues on Github:
 https://github.com/nseidle/OpenLog/issues/closed#issue/38
 https://github.com/nseidle/OpenLog/issues/closed#issue/63
 Solution: Use Arduino v21 to compile AHRS firmware or change to ANY other baud.
 DmitryS on DEV-09530 - SparkFun OpenLog DmitryS urn:uuid:647e04d8-db6e-9795-5559-92378401cee5 2011-03-07T01:35:15-07:00
Usefull thing!
 devangel77b on DEV-09530 - SparkFun OpenLog devangel77b urn:uuid:21426eca-8706-5dc9-8173-38ff87e06310 2011-03-03T15:37:41-07:00
Hi - I am trying to use this board along with a the 9DOF Serial AHRS board. The 9DOF is putting out what I expect over the serial port. When I connect the OpenLog, the blue light blinks and it appears to try to read, but I get mostly glitchy output at 57600. Any suggestions? (sample output below). OpenLog reads the CONFIG file correctly and makes a new file for the data but it's glitchy… (though it looks OK when I read the serial port not through OpenLogger - gives good 9DOF outputs in Arduino Serial Monitor).
 372
 38SH¯416
 ·j
 5SH®Ÿ≤j
 !ANîjÇ.0L r72 r∫4C·!ANG:Krí2,1.78,1.sLC·!AÍÈ-1.05,3.0&˘&)Ój
 !ANG:K& íbìâ.b˛&)Çj
 !ANîjíríÆb~M Vb˛&)éj
 !ANîjNräÇ,6.79,4.73
 !ANGßIríÇbÓr≤Çb5.12
 Nate on DEV-09530 - SparkFun OpenLog Nate urn:uuid:98cb5c38-472e-a246-1c1a-8fb44dec9e63 2011-03-02T11:09:27-07:00
I test OpenLog regularly. The current version (2.5) is able to record 33kb of data at 57600 onto a fresh 8GB and 16GB microSD card without dropping characters.
 Please see this issue for a great breakdown of what can be recorded at different baud rates with different types of SD cards:
 https://github.com/nseidle/OpenLog/issues#issue/62
 Nate on DEV-09530 - SparkFun OpenLog Nate urn:uuid:e0062c90-fe4c-b752-f933-a1cd4c513c44 2011-03-02T09:50:54-07:00
Hi greydet - please open an issue ticket on Github so we can better track your problem.
 * What are you hooked up to? Arduino? PIC? Other?
 * Are you using Arduino v21(good) or v22(does weird stuff at 57600)?
 * What size microSD?
 * Is there anything else on the card?
 Many questions - please use github and we'll help you out.
 Nate on DEV-09530 - SparkFun OpenLog Nate urn:uuid:179c0ce2-6151-2a61-c8be-edd73d41d6d3 2011-03-02T08:59:20-07:00
Yes. But it takes a bit of hacking. I had to wire the A4/A5 (SDA and SCL) pins on the ATmega to the sensor stick. This requires some spot soldering of wire wrap wire. You then have to reprogram OpenLog to log I2C. Not hard, but not trivial.
 http://www.sparkfun.com/news/499
 Customer #206706 on DEV-09530 - SparkFun OpenLog Customer #206706 urn:uuid:6ee11a64-ed95-b036-b07b-9aa00334f43d 2011-02-28T13:29:38-07:00
Can I use this with 9 Degrees of Freedom - Sensor Stick
 sku: SEN-10321?
 Customer #204932 on DEV-09530 - SparkFun OpenLog Customer #204932 urn:uuid:d14c09e3-ad9f-9e91-e112-6e2ca1bf3424 2011-02-21T09:35:54-07:00
It says that the chip has:
 "Configurable baud rates (2400 to 115200bps)"
 but
 "Doesn't drop characters even at full-blast 57600bp"
 So what is the maximum baud rate that this chip can take without dropping characters? Has anyone tested this chip and found the the actual max baud rate and storage capacity?
 greydet on DEV-09530 - SparkFun OpenLog greydet urn:uuid:d5bb63fb-9f06-13db-c825-df7d1ac59025 2011-02-20T15:48:23-07:00
Just tested my OpenLog device. Works great at first step but pushing it up a little makes it losing data quickly…
 Sending a continuous data flow to the OpenLog at 9600bps is ok. But it starts loosing some bytes at 19200bps.
 I am quite disappointed as the description & datasheet pages say that it's working at 57600bps and even at 115200bps! :-(
 Customer #201141 on DEV-09530 - SparkFun OpenLog Customer #201141 urn:uuid:6f5eee16-83cd-ac1c-f9d7-266baa2ca502 2011-02-07T02:56:04-07:00
I need to transmit the data stored in a SD card that is inside a datalogger Openlog with xbee, How can I read the data remotely through openlog?
 Aginor on DEV-09530 - SparkFun OpenLog Aginor urn:uuid:a4d6cc47-d938-b18a-9217-2356d2b5bab9 2011-02-01T12:51:53-07:00
it is exactly what is written!! you have just to conect 3 wires. you dont have to write a single line of code in arduino. it is like a spy no the wires.
 Customer #198558 on DEV-09530 - SparkFun OpenLog Customer #198558 urn:uuid:684d30da-344f-36c2-e4ae-b9e8343d241c 2011-01-27T12:25:24-07:00
Hello, I have a card to make and i want to know, how a can program the Micro-SD.
 It's possible to program the Micro-SD with for exemple an ATmega16 ? and can we connect this card to the ATmega16 UART ?
 Thank
 O10m on DEV-09530 - SparkFun OpenLog O10m urn:uuid:e433452c-7d0c-47d1-a1e0-48b326bdfdfa 2011-01-15T16:52:48-07:00
How is long term (months) stability at low/moderate logging speed? I see some comments having problem with this.
 /
 Neto Godoy on DEV-09530 - SparkFun OpenLog Neto Godoy urn:uuid:0a028e93-ae03-d289-718b-7656ea0555fd 2011-01-12T19:07:12-07:00
Just bought one of these and I'm stunned by how simple is to set up and use. Just wire TX, RX, Vcc and GND; power it up and start sending data through the USART/UART interface of your microcontroller. Just be sure to cross the RX and TX lines. That's it, you have a datalogger!
 Customer #185629 on DEV-09530 - SparkFun OpenLog Customer #185629 urn:uuid:440a6181-2f48-22b7-408c-ac03bb65ff7c 2011-01-06T22:22:19-07:00
I bought one of these.. but cannot get it to work.
 I dont have the FDTI cable, so I cant use any of the commands. I'm just sending text to the serial monitor, is it just supposed log? or is anything additional that needs to be done? as far as wiring the rx on openlog should be connected to the tx on the arduino?
 ghayne on DEV-09530 - SparkFun OpenLog ghayne urn:uuid:04dbf946-0a7e-afcb-3d7d-838744903474 2010-12-28T12:36:51-07:00
Nope, forgot the DTR
 Garry
 Azayles on DEV-09530 - SparkFun OpenLog Azayles urn:uuid:cdea8289-7d46-72c8-e6a1-02b63dd330cf 2010-12-27T11:19:03-07:00
How easy is it to wire this up to the SD card socket break out board? http://www.sparkfun.com/products/204
 A royal PITA? I'd rather not have to get the MicroSD socket BOB, too.
 ghayne on DEV-09530 - SparkFun OpenLog ghayne urn:uuid:0fe31532-4f96-2515-28bf-1041f636ed38 2010-12-26T10:54:44-07:00
Can I flash version firmware 2,41 while connected to my Seeduino, or will this only work with an FTDI board
 regards, Garry
 ghayne on DEV-09530 - SparkFun OpenLog ghayne urn:uuid:60d5ca9e-e909-ed2f-cd28-68e834bb6e92 2010-12-25T09:48:01-07:00
Sorry, I forgot!, Merry christmas.
 ghayne on DEV-09530 - SparkFun OpenLog ghayne urn:uuid:3563878d-2ae4-c43a-03df-c123b72a42b6 2010-12-25T09:47:27-07:00
Been using OpenLog for 3 days now. It's exactly what I was looking for. Works like a charm (once I understood how to enter command mode ;-)). I am using Kubuntu with a Seeeduino V328.
 This is an excellent example of a product which simply works, period. Thanks Nate.
 Regards, Garry
 Nate on DEV-09530 - SparkFun OpenLog Nate urn:uuid:1dbe8db0-d1ef-182b-c21c-dc68b6594546 2010-12-15T09:12:15-07:00
It's really very hard to accidentally re-flash OpenLog's firmware.
 Start simple. I would format the card and make sure that config.txt gets created when powered up. Once the file is there, try sending it a few serial strings. The example Sketch is meant to really hammer OpenLog to its extreme at 57600bps. A default OpenLog is default to 9600bps so you probably won't see anything but gibberish in the log files.
 EvanTeitelman on DEV-09530 - SparkFun OpenLog EvanTeitelman urn:uuid:aa56861f-452f-0e4d-2ad2-78836c2c667b 2010-12-08T20:28:22-07:00
Hardware keylogger, anyone?
 ByNico on DEV-09530 - SparkFun OpenLog ByNico urn:uuid:1d7a9959-6972-6504-3a67-c918a9f7c6c5 2010-11-18T12:24:58-07:00
Great ! Thanks :)
 ideeas on DEV-09530 - SparkFun OpenLog ideeas urn:uuid:553e250a-48c2-5115-f9f9-aa70f51507ac 2010-11-07T15:21:03-07:00
I just hooked up a OPenLog to my Arduino Duemilano .
 I tried the OpenLogTest.pde file. The led on the OpenLog indicates it is getting data but I see no files being created.
 I even created a CONFIG.TXT file – It did not create one.
 I am using a 2GB card. I did not format it , but my PC reads it just fine…
 Any ideas?
 Could I have overwritten the Flash, if it was connected when I downloaded a sketch to my duemilano. It seems to use the same I/O pins??
 Thanks
 Berkenb on DEV-09530 - SparkFun OpenLog Berkenb urn:uuid:5292fe84-9d59-22e5-167b-0a671dad96eb 2010-11-04T19:36:09-06:00
Bought the OpenLog a few months ago and left it in a drawer. I finally found the time to try it out this week and I cannot get it to work to save my life…
 Basically the green LED blinks three times indicating no SD card initialized constantly. I have tried several different SDs (SanDisk @2G, PNY @2G and 4G), made a point of formatting them to FAT16 (using a number of different methods), all to no avail. I reflashed the OpenLog to the latest firmware, now I can see a "1 error card.init" on power up.
 This almost appears to be a hardware issue - has anybody else had similar issues?
 Nate on DEV-09530 - SparkFun OpenLog Nate urn:uuid:1e2074ea-db36-3ba2-e883-026a2438a892 2010-11-03T11:35:31-06:00
Issue 50 resolved in v2.4:
 https://github.com/nseidle/OpenLog/issues/closed#issue/50
 Travster on DEV-09530 - SparkFun OpenLog Travster urn:uuid:fce30ddc-e068-aefa-b889-5405468b662e 2010-10-28T18:47:24-06:00
I had the same question. The 328 data sheet says Vih max for any pin is VCC + 0.5. Since you are powered from 3.3v, the highest voltage on any input should be 3.8v
 Nate on DEV-09530 - SparkFun OpenLog Nate urn:uuid:1b693484-88c1-2f55-9446-1b75108c88e7 2010-10-27T09:25:00-06:00
Hi Autocar - please post your issue (it does sound like you're having a problem) to Github. There we can track it and resolve it much easier.
 I am currently concentrating on large volume, high speed data recording. I haven't run any long term tests like you describe but I would really like to look at some. Please post to the issues and we'll get some people to help. Thanks!
 Nate on DEV-09530 - SparkFun OpenLog Nate urn:uuid:e8559ef8-b82d-46c4-c3f9-f66f11fd2702 2010-10-27T09:22:52-06:00
Hi StarkRG. You get a big thumbs up from me. Thank you for posting your issue to github. Sounds like you had a heck of a time chasing down the bug, but it ended up being a cold solder joint on your header into OpenLog. Nice work! I'm glad you got it fixed.
 Nate on DEV-09530 - SparkFun OpenLog Nate urn:uuid:af851b62-fc39-3c9c-6461-c814aa04761d 2010-10-27T09:21:16-06:00
Hi Julio - please post your issue to github so we can track it. Please fully describe your setup. What voltage are you running the LilyPad at? What power source are you using?
 Have you fully erased/formatted your 2GB card?
 Nate on DEV-09530 - SparkFun OpenLog Nate urn:uuid:fba2a654-fc03-a420-b4e8-0ba4b1919817 2010-10-27T09:17:13-06:00
Hi - sorry I missed your comment. Please post issues to GitHub. I'm able to see them much easier there.
 I am able to re-create what you describe. Nice bug find. Very odd. I'll create an issue and see if we can get it fixed in the next version.
 Ocean Mj on DEV-09530 - SparkFun OpenLog Ocean Mj urn:uuid:64b812a1-1d2d-315c-1f53-5687a6eed28b 2010-10-24T21:52:35-06:00
Has anybody used this for over a few days without stopping? I have found a problem that after about 10 hours or 5 mb of data some numbers start to be replaced by letters. The replacements are always the same eg. 0 turns into p.
 Any thoughts on this?
 StarkRG on DEV-09530 - SparkFun OpenLog StarkRG urn:uuid:db5f8512-1aec-ddb6-4d1c-930355c9e7f1 2010-10-24T17:44:51-06:00
I haven't been able to get mine working. Filed an issue over at the github page (http://github.com/nseidle/OpenLog/issues#issue/48)
 Essentially the problem appears to be with activating the SD card, though the light that's supposed to tell me it's having trouble reading the SD card isn't blinking.
 Julio Terra on DEV-09530 - SparkFun OpenLog Julio Terra urn:uuid:8b80029c-11a1-9e18-3868-ebd2962fce1e 2010-10-21T16:10:06-06:00
I am having an issue with my openlog, it stops logging after about 15 to 20 minutes even though the blue status light still blinks. I am using a 2GB card, and have it hooked up to a Lilypad. Does anyone have an idea of what could be happening? It did seem to work longer on the first day that I used it. Any help would be much appreciated.
 Thanks, Julio.
 ByNico on DEV-09530 - SparkFun OpenLog ByNico urn:uuid:583cf529-d368-99ef-3ed4-daee6df1c53b 2010-10-11T03:22:42-06:00
Hi guys,
 I'm having some troubles with my OpenLog.
 Here's the setup:
 OpenLog FW:2.21
 PC -> FTDI basic breakout -> OpenLog.
 2Go micro-SD formated FAT32, with only 2 files : config.txt and settings.txt (406 bytes long).
 I open a terminal app (TeraTerm) on COM3, 9600,8N1.
 I can read both files with the read command.
 But, if I first try to get the size of a file (ex. "size settings.txt"), and then try to read the same file (with or without any parameter), it ends with an error to open the file… ;(
 Then, I have to switch off and on the OpenLog to be able to read a file again… the "init" command doesn't change anything.
 Any idea ?
 thanks.
 P.S: I tried to restore FW 1.61, but each time avrdude says everything is ok, but I get the blue led dimmed (like pwm'ed at ~20%), and no communication at all …
 Nate on DEV-09530 - SparkFun OpenLog Nate urn:uuid:e1f3c628-f79f-e7bb-9592-ea9a55a4216a 2010-10-06T09:06:25-06:00
Oh! Sorry, it's not that complicated. Type 'set' (no single quotes) and press enter to get into the settings menu. Then type '4' and press enter. It should then reset the new log number to LOG00000.TXT.
 Nate on DEV-09530 - SparkFun OpenLog Nate urn:uuid:26da3071-071a-9a4c-5303-614b54f25610 2010-10-06T09:02:52-06:00
Adding RTC to the ATmega is fairly trivial, but it will become pretty inaccurate over time. The resonator on OpenLog will probably drift minutes of time over a 24 hour period. You would be better off if you relied on the system that was outputting the serial data. For example, the temperature logger I built had seconds as the first number, then the temp:
 5662, 14
 5665, 14
 etc.
 OpenLog simply logged the incoming data whenever it arrived.
 Nate on DEV-09530 - SparkFun OpenLog Nate urn:uuid:93811358-a992-4314-6945-b6c21a0b55d1 2010-10-06T08:55:23-06:00
Good question. The blue status LED turns on/off with every other character received. It would save only a few milliamps, but it may be worth it to add an option to disable the LED. I'll put an issue into GitHub.
 matrix8x on DEV-09530 - SparkFun OpenLog matrix8x urn:uuid:4ac95e81-25b3-d099-e8bb-9d6687b1ce2a 2010-10-04T01:27:11-06:00
One problem with my Logging V1.61:
 I can not use any set Command. I sent:
 "set New File Number". And it replied:
 System Configuration
 Current boot mode: Command
 Current escape character and amount: 26 x 3
 Change to:
 1) New file logging
 2) Append file logging
 3) Command prompt
 4) Reset new file number
 5) New escape character
 6) Number of escape characters
 x) Exit

I've tried with "set 4)", "set 4) Reset new file number" but nothing work. Please help me, Thanks!

 KB on DEV-09530 - SparkFun OpenLog KB urn:uuid:c19d376a-b3e2-ae17-6474-e2ad75cbc8f1 2010-09-29T02:33:17-06:00
Is there a way to use an RTC with this device simply to get a time and date stamp for free running logging operations? Has someone done this?
 Thanks,
 KB
 PierluigiMartini on DEV-09530 - SparkFun OpenLog PierluigiMartini urn:uuid:d682a610-11aa-f0fb-6c7e-50f6fd4380d6 2010-09-23T00:27:49-06:00
This works great!!! – but is there a way to stop the blue LED (STAT1, to the right of the 'g' in "openLog" written on the board)?
 It keeps flashing, perhaps to indicate serial communication between my arduino board and the openLog.
 I want to do day-long logging of biometric signals (initially at a high data rate, to figure out what is going on, then hopefully at a lower rate) - and I wonder how much of the battery gets used up by the blue LED flashing non-stop.
 Right now I am just using an Arduino mini, an openLog, and a 3-axis accelerometer, and logging x,y,z at 4Hz draws 10mA from the battery!
 Thanks,
 PLM.
 razoropenlog on DEV-09530 - SparkFun OpenLog razoropenlog urn:uuid:0f3168f7-3194-aeb7-8842-54cd0aec9c62 2010-08-27T02:37:04-06:00
First meaningful data with Razor 9DOF AHRS set to 19200 bps and OpenLog (v2.2) to 9600 bps???
 razoropenlog on DEV-09530 - SparkFun OpenLog razoropenlog urn:uuid:53c66e5b-b759-0d5a-4d2b-c17dbafd2c4d 2010-08-27T02:32:48-06:00
Hm, the 2.2 firmware is able to read out the disk info (see above) but if I let Razor AHRS and OpenLog run for a couple of minutes the logfile is there but empty :-(
 razoropenlog on DEV-09530 - SparkFun OpenLog razoropenlog urn:uuid:a8e7e669-571a-6bb3-7273-1cb8a110fc12 2010-08-27T02:05:36-06:00
With the 2.2 firmware I was now at least able to read out the card's info:
 Card type: SD2
 Manufacturer ID: 3
 OEM ID: SD
 Product: SU02G
 Version: 8.0
 Serial number: 2611410752
 Manufacturing date: 11/2009
 Card Size: 1931264 KB
 razoropenlog on DEV-09530 - SparkFun OpenLog razoropenlog urn:uuid:11eedb9c-6631-9885-77ef-64bdb53e8141 2010-08-27T02:03:42-06:00
Different question concerning the latest 2.2 firmware:
 I just tried to use that firmware trying to solve my problem mentioned earlier and found something weird: Although the baud rate is set to 9600 (no config.txt on the card, menu output) I have to connect to the OpenLog with 19200 bps…
 razoropenlog on DEV-09530 - SparkFun OpenLog razoropenlog urn:uuid:7bfaf3f9-c08b-9ca3-89bd-5ad8e1b19cf4 2010-08-27T01:55:29-06:00
BTW: I strongly support the idea of creating a trimmed-down version of the firmware that only supports raw logging, i.e. without the menu etc. This would not only allow - as you suggested - to increase the buffer but may also to add additional functionality.
 Thanks!
 razoropenlog on DEV-09530 - SparkFun OpenLog razoropenlog urn:uuid:4967961f-907b-8bf0-5236-4e16424e1c9b 2010-08-27T01:51:01-06:00
Hi, great stuff, already started to assemble five Razor 9DOF+OpenLog for my experiments ;-)
 However, I struggle to get this combination working and hope somebody is able to help me with this. I can connect to the OpenLog with the FTDI cable but "disk" only returns a "error reading disk info" and recording fails as no logfiles are created.
 I'm using the 1.61 firmware with a 2GB card from SanDisk.
 I already had to format the card once with a FAT 16 filesystem and also tried to repartition under Linux (mkfs.msdos)
 Any ideas what could cause these troubles?
 Thanks!
 RocketMan on DEV-09530 - SparkFun OpenLog RocketMan urn:uuid:d39d4485-9125-449b-fda9-fb3a7a35d68d 2010-08-18T21:25:42-06:00
Was not expecting a quick response. =] Thanks for letting me know where the "magic happens". I will post my results after messing around with it.
 Thanks again
 Nate on DEV-09530 - SparkFun OpenLog Nate urn:uuid:bdb4af70-50a3-df2a-e8ab-87e6539c87b5 2010-08-18T12:16:04-06:00
All the magic happens in the "uint8_t append_file(char* file_name)" function. Be careful though - OldLog wasn't designed to filter, it was only designed to record everything thrown at it. By adding too much character checking, OpenLog will get bogged down and may begin to miss incoming serial characters.
 RocketMan on DEV-09530 - SparkFun OpenLog RocketMan urn:uuid:168b4d12-a5d2-d1a3-f142-1afa9140f79e 2010-08-18T11:45:24-06:00
The v2 code is just awesome! Now I have the ability to eliminate the Arduino that I had use to sort through the data stream. Question: If I were to add some code that would analyze the data, and choose what to log. Which loop would that go in? (I am not a strong coder)
 Nate on DEV-09530 - SparkFun OpenLog Nate urn:uuid:390b62e1-15c1-a752-2baf-7ec34cb25fe0 2010-08-18T08:17:19-06:00
Thanks for the recommendation. I've updated the Flashing Firmware page to reflect the differences between v1 and v2. Please feel free to edit the wiki pages if you see lacking information somewhere. I can always use help :)
 Not sure why your OpenLog is not logging. Always start with a serial connection to a terminal window so that you can more easily troubleshoot the problem.
 Nate on DEV-09530 - SparkFun OpenLog Nate urn:uuid:721ccbd6-7e0a-157a-2373-03f70209422c 2010-08-18T08:03:31-06:00
Boot time under 300ms is possible but you will have to reprogram the ATmega using the ISP connections (reset, MISO, MOSI, CLK, and VCC/GND). These are exposed under the SD socket. Not for the lay user, but if you really need it, that's how you would do it.
 JTuhtan on DEV-09530 - SparkFun OpenLog JTuhtan urn:uuid:7bebab03-fa73-acfb-1e06-82de24b572f6 2010-08-11T16:14:49-06:00
Updated to V2.1 w/ Arduino 00118 after having the repeated 12< problem. The logger creates new files, and can be interfaced over the serial port, but the log files are always empty. Connecting to an Arduino Pro Mini 328 5V 16Hz.
 Also, the reference to how to upgrade the firmware should be taken off, I only figured out that flashing the Open Log was no longer necessary when it was discovered that there is no main.hex file anywhere to be found…
 I still hope that I can get my Open Log to work!
 Grafikbotanik on DEV-09530 - SparkFun OpenLog Grafikbotanik urn:uuid:9b9a61dc-df34-4885-42fc-978c511a8206 2010-08-11T02:47:28-06:00
Hi Nate,
 yes, at the moment it is about 2 seconds. Maybe it is a litte faster vith firmware v.2. But a bigger improvement would be to burn it without a bootloader…? Are there pins to do this like on the standard Arduino?
 My target is to let it boot in less than 300ms.
 Nate on DEV-09530 - SparkFun OpenLog Nate urn:uuid:b3b45476-bd1e-c6ab-5852-b5484536fa61 2010-08-04T08:17:09-06:00
Hi Rocketman - we've released v2.0 on GitHub last week. v2 supports FAT32 and up to 8GB (the biggest microSD card on my desk at the moment). I'm still hammering out some smaller bugs so we're not shipping with it yet, but it's an Arduino sketch now, so updating the firmware should be much easier. Please give it a try and let us know what you think!
 Nate on DEV-09530 - SparkFun OpenLog Nate urn:uuid:b1bfef2b-e567-41b4-84a8-9536d6ec1e86 2010-08-04T08:15:30-06:00
The ATmega can handle 5V signals without a problem.
 Nate on DEV-09530 - SparkFun OpenLog Nate urn:uuid:244e04eb-563f-460b-a883-daebdf5de1c7 2010-08-04T08:13:23-06:00
The boot-up time shouldn't be longer than 1-2 seconds. The bootloader does need some time to time-out (it's less than a second). Are you power cycling your system? How fast do you need it to boot?
 RocketMan on DEV-09530 - SparkFun OpenLog RocketMan urn:uuid:6fa957ef-5402-68aa-a0cd-0247b7e30f00 2010-06-29T08:53:02-06:00
What is the status on the FAT32 support? I have noticed that tz has created something, do I flash the openlog as if I were updating the firmware? Possible link to the most up to date version of tz's FAT32 SDHC code?
 Thanks
 Coyote on DEV-09530 - SparkFun OpenLog Coyote urn:uuid:604644c3-cddc-c3d8-5326-5785f99c8600 2010-06-07T11:19:11-06:00
Can the Atmega328p take a 5V signal on its serial in, or is it only 3.3V? I don't want to fry this little logger…
 Nate on DEV-09530 - SparkFun OpenLog Nate urn:uuid:ba07a625-1e93-e967-c843-994f8c507caa 2010-06-01T10:41:28-06:00
Why are you trying to do ISP on the AVR? OpenLog ships with an easy to use serial bootloader to avoid having to hardware program the AVR. Please see 'how to upgrade the firmware' page: http://wiki.github.com/nseidle/OpenLog/flashing-firmware
 I do see that you don't mention attaching to the reset pin. This is perhaps why your programming is failing.
 The 1K resistor on the SCK pin is there to limit the current into the green LED.
 flash on DEV-09530 - SparkFun OpenLog flash urn:uuid:72aa942c-a529-1c59-d355-e692315e82ad 2010-06-01T08:26:28-06:00
Hi, I need to record rs232 serial data from a pc then play it back through a servo controller. I figure this will record the data but can I play it back directly into my servo controller. Normally the PC goes straight to the controller card but I want to eliminate the pc in the field and just play back a recorded sequence from this card. Anyone know if this would work? Or a better idea?
 Thanks
 jeellis2 on DEV-09530 - SparkFun OpenLog jeellis2 urn:uuid:8c474c06-0bbd-9303-a8e3-49b047156556 2010-05-28T11:32:35-06:00
Thanks for the reply Single T, I'm trying to change the baud rate right now and I guess I just don't understand how the interface is supposed to work.
 I've tested the openlog with the Arduino and it logs data very nicely that I can access on the SD card. However, I was under the impression that, upon being powered up,the openlog would create a config.txt file on the SD card that I can edit to change the settings.
 Am I wrong? Am I missing a step? Why might there be no config file on my sd card?
 Thanks again!
 Regards,
 Justin
 Grafikbotanik on DEV-09530 - SparkFun OpenLog Grafikbotanik urn:uuid:01d734c6-5278-20d3-76bc-bcc7887194de 2010-05-27T01:21:29-06:00
Hi there,
 the OpenLog makes my current project a lot easier than expected, but there is one thing that could be optimized, maybe you know more:
 Is there any possibility to reduce the bootup time of the OpenLog, for example by bypassing the bootloader or something.
 I only want to read from the module, ideally as fast as possible after startup.
 What do you think?
 Martin
 MRSHKO on DEV-09530 - SparkFun OpenLog MRSHKO urn:uuid:63ef0cb3-cbf2-38b1-9555-27e8eba48be9 2010-05-25T12:07:55-06:00
Alright, finally got mine to work with the bus pirate. Here is what I found out:
 to format FAT16 with dos in xp:
 c:>format e: /fs:fat
 *where e: was my removable uSD drive
 fat can only handle up to 4GB, i was able to try both 2GB and 8GB. I could not figure out how to partition the 8GB with XP and could not format the 8GB. The 2GB worked fine.
 I was not able to get to command mode with the bus pirate. Ctrl+z or decimal equivalent 26 or 0x1A three times only result in garbage output. I will try directly connecting to the rs232 of my pc later to see if this gives me different results. I'm a little sick of decrypting hex input and output from bus pirate.
 NewJersey on DEV-09530 - SparkFun OpenLog NewJersey urn:uuid:64649350-72f3-65a3-d823-da0eafd51b88 2010-05-19T17:32:10-06:00
Gentlemen!
 I am trying (unsuccessfully) to flash the firmware in my OpenLog using usbtiny.
 I have connected MISO, MOSI SCK, VCC, and GND pins of OpenLog to corresponding pins of the programming cable. I am using this avrdude syntax:
 avrdude -c usbtiny -p atmega328p -P usb -F -U flash:w:main.hex:i
 And getting this:

avrdude: initialization failed, rc=-1
 avrdude: AVR device initialized and ready to accept instructions
 avrdude: Device signature = 0x000000
 avrdude: Yikes! Invalid device signature.
 avrdude: Expected signature for ATMEGA328P is 1E 95 0F
 avrdude: NOTE: FLASH memory has been specified, an erase cycle will be performed
 To disable this feature, specify the -D option.
 avrdude done. Thank you.

I have noticed that we have 1k resistor on SCK pin (17). Is it the reason? will simply removing it fix the problem? or should I somehow remove the bootloader first?
 Thank you,
 James
 N.B. I can program stand alone AVR's…
 Single T on DEV-09530 - SparkFun OpenLog Single T urn:uuid:049d7c76-a1a0-3831-ef4e-e5ed5d1fe732 2010-05-13T08:07:15-06:00
Hey Jeellis2, This is an interesting question. I would like to say the simple answer is, this should work. The more complicated answer is that it should work if your baud rates, and voltages match with the ULog and daq. Also I think that you can splice the Ulog into the system without data flow problems. I think as long as you only power the Ulog when you want to record data, it could stay in your system permanently without interfering with the general flow of data when it is not needed. Thanks
 jeellis2 on DEV-09530 - SparkFun OpenLog jeellis2 urn:uuid:521c6586-6492-5650-05a8-9aafad765512 2010-05-12T17:54:01-06:00
I've got a wiring question about the openlog unit I just ordered and received. I currently have a daq unit set up to receive data from a few instruments and send it on request as a serial data stream via a usb connection on a com port I manage with a basic hyperterminal-like program (only in windows 7).
 What I'd like to do, is initiate the daq unit's serial data stream from the instruments by laptop and have openlog record the data to SD while I leave the whole unit unattended for a couple days.
 what I'm wondering is if I can just clip the signal wire between the daq unit and the usb terminal and solder the open log in at that point and let it run (assuming I've wired up the vcc and gnd too).
 Will that work? also, will my data "flow through" the openlog and be able to still be accessed by usb too? I'd rather not have to interface with the openlog if I don't have to and I have very little experience with electronics or programing.
 thanks for your help,
 Justin
 bzerk on DEV-09530 - SparkFun OpenLog bzerk urn:uuid:5dd6da13-f9f8-a7d4-e45c-36fe9aef1aeb 2010-05-11T12:40:43-06:00
Hey Rob, I 've recently been having some trouble with Logomatics failing with inconsistent symptoms after use in a clinical research environment. The problem turned out to be various .1uF decoupling caps breaking down on different parts of the boards. I'd be interested to hear what happens if you replace the two .1uF caps on your OpenLog units. You could also just do a continuity test across them first. A short across one of those would certainly explain an unresponsive unit.
 Nate on DEV-09530 - SparkFun OpenLog Nate urn:uuid:4c2fb90a-0a47-96d1-1586-72844f45fbb1 2010-05-05T14:40:32-06:00
Thanks for posting your solution! You are correct - some USB COM ports get large enough avrdude can't see them.
 gek on DEV-09530 - SparkFun OpenLog gek urn:uuid:12543147-4a82-f308-2900-1606156ad286 2010-04-29T16:56:24-06:00
I did a little hacking with regedt32 and changed the comport from 10 to 3. I can now update the firmware.
 see:
 http://www.ftdichip.com/Documents/AppNotes/AN_132_Re-Assigning_COM_Port_Numbers_Using_Registry.pdf
 The registry remembers all FTDI converters that have been used. The driver does not reassign unused comport numbers. In some cases that a good thing. It would be nice to be able to "reserve" a set of comport numbers to be reused as devices are used and removed.
 gek on DEV-09530 - SparkFun OpenLog gek urn:uuid:de065aa8-c730-df90-9f47-6b8381bbcf4c 2010-04-29T15:18:24-06:00
I'm using a FTDI 3.3v (DEV-09717) cable connected to my OpenLog. Using teraterm on COM10 I can make a connection to the device. all is good.
 to upgrade the firmware I'm using the follow cmd:
 avrdude.exe -p atmega328p -P COM10 -c stk500v1 -b 57600 -Cavrdude.conf -U flash:w:main.hex
 and get this response:
 avrdude.exe: ser_open(): can't open device "COM10": The system cannot find the file specified.
 I have put libusb0.dll in the system32 directory.
 is the problem that arvdude can't handle high number com ports?
 thank you
 gek
 robf on DEV-09530 - SparkFun OpenLog robf urn:uuid:03733912-e760-6663-8f59-364bcd22a4de 2010-04-23T19:58:24-06:00
Have done, thanks
 Nate on DEV-09530 - SparkFun OpenLog Nate urn:uuid:520988df-49de-ec0d-30dd-b4f5d80a0ab5 2010-04-21T12:15:02-06:00
OpenLog can now be configured from the CONFIG.txt file. New firmware v1.6 adds this feature.
 Nate on DEV-09530 - SparkFun OpenLog Nate urn:uuid:4e48e3ea-cb1f-b960-c153-3377cb2c0187 2010-04-19T09:12:38-06:00
Please start an issue on GitHub so we can diagnose it. We need to know what version of firmware you have. The RFID unit may be sending ctrl+z to OpenLog causing it to enter command mode instead of continuing to log data. v1.51 of the firmware corrects for this by allowing for multiple escape characters. If you ever get OpenLog really stuck, there is a safety mechanism built in: http://wiki.github.com/nseidle/OpenLog/
 Nate on DEV-09530 - SparkFun OpenLog Nate urn:uuid:ae4ab0fc-e585-ef8a-05a2-3f20f12f14ca 2010-04-19T09:00:07-06:00
Hrmm. I'm guessing because my machine had WinAVR already installed, that it also had libusb0.dll installed. Looks like it's also in the Arduino root directory. I'll add a note to the upgrading firmware page. Thanks!
 robf on DEV-09530 - SparkFun OpenLog robf urn:uuid:fe388b96-ad1c-0e6e-346a-222adcef6a51 2010-04-17T11:48:07-06:00
Hi,
 We're using a few of these to log RFID via an Arduino Nano - in most cases this is working great, but a couple of the OpenLogs seem to have fallen into an unresponsive state - no serial response, no LEDs, no reset response. Connections look fine, no apparent damage on board. Any thoughts?
 Rob
 JWEID on DEV-09530 - SparkFun OpenLog JWEID urn:uuid:a02d7083-8836-9229-09ac-686fe0a31b12 2010-04-14T16:05:27-06:00
Thanks Nate, 4800 baud works well. I had a few teething problems with avrdude and finally found that I needed to get a copy of libusb0.dll and add it to the Win32 folder. After that it all worked as your upgrade firmware sheet said. Many thanks a great result for me. John W
 Nate on DEV-09530 - SparkFun OpenLog Nate urn:uuid:925969f9-7aab-a704-cb9f-14fa58cda767 2010-04-14T12:18:14-06:00
Great idea:
 http://github.com/nseidle/OpenLog/issues/issue/21
 I'll work on that next week.
 Nate on DEV-09530 - SparkFun OpenLog Nate urn:uuid:a615dab6-65ab-317d-5445-1bb7cfc1853a 2010-04-14T12:16:07-06:00
I've started an issue on GitHub for you:
 http://github.com/nseidle/OpenLog/issues/issue/20
 I need to do some additional testing with very large log sets such as yours. The current solution is not great, but try to keep the microSD card as clean as possible. Having lots of extra files (large ones) on the SD card will cause the write times to increase.
 Nate on DEV-09530 - SparkFun OpenLog Nate urn:uuid:59bd988b-8b47-d63f-3ae2-e55592d12124 2010-04-14T12:04:01-06:00
To read the contents of a log, I usually pull the card from OpenLog and use a microSD to USB card reader like this one: https://www.sparkfun.com/commerce/product_info.php?products_id=9433
 You can also read a file from the command prompt. We added the 'read' command in version 1.2 of the firmware. http://wiki.github.com/nseidle/OpenLog/command-set
 read file start stop
 Example: read LOG00704.txt 0 100
 will output the first 100 characters of the log file to the terminal (only visible ASCII characters will be visible).
 Nate on DEV-09530 - SparkFun OpenLog Nate urn:uuid:658626ce-9413-effc-1cf3-799f36037efc 2010-04-14T12:01:01-06:00
Great idea about the different LED colors. I'll try to get that changed on the next run of boards.
 Please see the datasheet for the LED definitions:
 http://wiki.github.com/nseidle/OpenLog/datasheet
 STAT1 LED is the LED right of the word OpenLog and is sitting on PD5 (Arduino D5). This LED toggles on/off every time a new character is received. This LED helps troubleshoot and indicate serial communication is working.
 STAT2 LED is the LED left of the word OpenLog and is sitting on PB5 (Arduino D13). This LED is attached to the SPI Serial Clock line. You will see this LED flash rarely. It only turns on when the SPI interface is active and this is rare as the OpenLog buffers 512 bytes at a time before recording to the SD card. Recording 512 bytes is very fast so the LED is on for very little.
 Nate on DEV-09530 - SparkFun OpenLog Nate urn:uuid:22a2812e-be5a-fd3f-b0b0-750b70c71032 2010-04-14T11:52:31-06:00
Scott - this issue is resolved in v1.4 of the firmware. See http://github.com/nseidle/OpenLog/issues#issue/12
 Nate on DEV-09530 - SparkFun OpenLog Nate urn:uuid:47d7fb85-3267-fb66-b006-d3e68b15e717 2010-04-07T12:11:14-06:00
Hi - I just added 4800 and 19200bps support in v1.5 of the firmware. I also just updated the step by step instructions on how to update the firmware here: http://wiki.github.com/nseidle/OpenLog/flashing-firmware
 Nate on DEV-09530 - SparkFun OpenLog Nate urn:uuid:cd4e3b7c-f4c5-7ef2-1ac6-89f69463058d 2010-04-07T08:50:28-06:00
Hi Mario - Good idea! Another customer pointed out how nice it would be to have a compiled hex of the latest firmware, so I added it here:
 http://github.com/nseidle/OpenLog/raw/master/Code/main.hex
 I'll put this link in the product description as well. Since this is a hard link to the github page, you won't be able to tell the version until you upload the file to OpenLog and type '?'. Version # is shown at the top of the menu.
 To physically load the firmware onto OpenLog, you will need a serial connection. This is normally done with an FTDI Basic board. More info here: http://wiki.github.com/nseidle/OpenLog/flashing-firmware
 Nate on DEV-09530 - SparkFun OpenLog Nate urn:uuid:d1b3eb13-1fd6-c25f-ebc1-21d478662118 2010-04-07T08:44:29-06:00
It looks like your unit is automatically entering command mode ('12>') instead of logging mode ('12<'). Do read the datasheet over here: http://wiki.github.com/nseidle/OpenLog/datasheet
 If you have any version above v1.0, you will be able to put the module back into automatic logging mode by using the 'set' command.
 NewJersey on DEV-09530 - SparkFun OpenLog NewJersey urn:uuid:35c7baed-ff07-8d46-a995-2dbd4d8bee09 2010-04-06T23:42:46-06:00
never mind!
 NewJersey on DEV-09530 - SparkFun OpenLog NewJersey urn:uuid:26d8f34f-7f01-2d4c-e256-7b39112aedd0 2010-04-06T23:24:10-06:00
Hi,
 I just received my openLog. Unfortunately, I see only empty files or files with 32kb of giberish (as seen in emacs). I am using 2Gb microSD card from Samsung. At the power-up the first led flashes and then he second flashes and stays on. I did verify that the card is FAT16 formated.
 I do not have FTDI Basic so I can't really debug with a terminal.
 Question: is the default to start logging data or to wait for a command from terminal?
 JWEID on DEV-09530 - SparkFun OpenLog JWEID urn:uuid:05c1b5d6-8c74-4d2f-d390-8af071960720 2010-04-01T20:39:44-06:00
My Openlog works well when connected via a FTDI Basic to Hyperterminal at 9600 baud. However I want to connect to TTL feeds at 4800 baud. Can anyone provide the firmware update that will (say) replace the currently available 2400 baud option with 4800 ? Thanks
 Mario.Nava on DEV-09530 - SparkFun OpenLog Mario.Nava urn:uuid:af6d7076-5e49-6811-fc2d-5d18801cb515 2010-03-14T16:39:05-06:00
Hi there.
 Bought one time ago but I would need the new "read" command to avoid removing the card everytime.
 I found the source code on the site but…
 can someone help me in the whole process? compiling and bootloading?
 No way to have the hex files ready to be bootloaded?
 Forgive me. I a beginner, never used winavr or whatever.
 Any help would be appreciated.
 Many thanks in advance.
 tz on DEV-09530 - SparkFun OpenLog tz urn:uuid:cf9b1c9b-5509-9c37-f0fa-161c0225ab57 2010-03-10T11:13:19-07:00
That sounds about right for a full cluster (1 minute at the rate). The current codebase has to first link in a new cluster (one or two read-writes, perhaps more since the code doesn't appear to try to minimize this), then write the sector data (read-write if buffered), then it updates the directory entry (another read-write). One other thing is that the code waits for the transaction to complete, so there is no overlap - you can't be filling the sector buffer while the SD card is busy finishing the last write.
 115200 is about 100uS per character, or 10 per mS, so you have about 50mS before you go over 512.
 For my FAT32 library (at github.com/tz1), I write the sector, then link the clusters if needed, and require a call to update the directory entry, so it is 3 operations, write-read-write, with the final one allowing for overlap while the card is busy, or more if the next free cluster needs searching more sectors: w r(r..)RWrw.
 ScottH on DEV-09530 - SparkFun OpenLog ScottH urn:uuid:8a289ecf-c050-6774-3ab4-1fbbb11ec57e 2010-03-09T20:13:37-07:00
Running the SD Card formatter from http://www.sdcard.org/consumers/formatter/ seems to help, but I still get about 1 glich per minute of data.
 ScottH on DEV-09530 - SparkFun OpenLog ScottH urn:uuid:f6a498bd-a705-d7ad-c21d-7a53a2a5ee13 2010-03-09T19:59:10-07:00
I'm having trouble withe the OpenLog dropping data. I've seen the problem at 57600 and 115200 baud. Here's an example of the problem. I'm trying to log the sensor data for my AVC entry. The first column is the data point number and the second column is the time in ms.
 2634, 134048, 80, 309.7, 512, 0, 0, 39.98120880, -105.24263000, 11.1460, 0.3200, 2.4900, 0.0000, 94.6021, 3
 2635, 134098, 16, 310.3, 510, 0, 0, 39.98120880, -105.24263000, 11.090, 39.98121261, -105.24263000, 11.0720, 0.3500, 2.0600, 0.0000, 94.6038, 3
 2641, 134398, 0, 309.7, 522, 0, 0, 39.98121261, -105.24263000, 11.0720, 0.3500, 2.0600, 0.0000, 94.6038, 3
 2642, 134448, 0, 309.7, 510, 0, 0, 39.98121261, -105.24263000, 11.0720, 0.3500, 2.0600, 0.0000, 94.6038, 3
 Sorry for the long lines, but you can see that data points between #2635-#2641 are missing and the dropout takes about 300 ms. This test was done at 115200, but I see the same thing at 57600. These sorts of dropouts appear in my data stream about every 0.5 to 1 second.
 I've got the OpenLog hooked up to the Serial Tx of an Arduino Mega. If I look at the data stream via USB, it's rock solid. No dropouts.
 Any ideas?
 Timber Wolf on DEV-09530 - SparkFun OpenLog Timber Wolf urn:uuid:4ba2ea7a-3d12-0f79-4ac9-b6bd6670bf5e 2010-03-05T16:05:05-07:00
I finaly got arround to tinkering with this. I connected it to my openlog with a 5v regulator and heat sink to power the vcc on both and so far the results are amazing. It was a bit of a challange to build a box but I have replaced a serial printer on a phone system with the openlog a 2GB SD card this RS232 Shifter SMD, project case. I reccomend a 5v power regulator and heat sink even if you have a 5v power supply because a quick test of any power supply on a multimeter will show you they all lie and with the high side of the openlog at 5v there's just no point risking it all for a 2 dollar part.
 If I could change anything about the openlog I would give it the option to write/read it's settings to the flash card so they could be backed up, would not constantly write flash for file name incraments, could switched easily by swaping cards with two different pourposes, could easily be reset if bodrate etc was forgotten you could just format the sd card.
 magma on DEV-09530 - SparkFun OpenLog magma urn:uuid:f197e6c2-fd82-4e8d-54e6-a2f616bbca54 2010-03-03T10:55:46-07:00
I'm trying my new OpenLog, but in Hyperterminal I see
 12>
 Why don't start with
 12<
 ????
 I need the
 New File Logging (default)
 function.
 Can you help me?
 day1ok on DEV-09530 - SparkFun OpenLog day1ok urn:uuid:02a0df97-5263-79ed-4215-70f7858e51af 2010-02-23T16:03:11-07:00
Can the something like the Arduino read the file from this card and be able to transmit the information over an xbee to another xbee to store on another open log device?
 tz on DEV-09530 - SparkFun OpenLog tz urn:uuid:bc716332-6a82-fee6-02f9-ecb23a63fe7e 2010-02-07T16:12:47-07:00
If you modify the code to shut off the unused parts of the chip, you can get down to close to 2mA when nothing is being received.
 It may be possible to go lower by setting the port pins to the SCI to consume less current when idle.
 Beyond that, it becomes very tricky since the UART needs its clock to see a character and wake up. Otherwise there could be a deeper sleep.
 tz on DEV-09530 - SparkFun OpenLog tz urn:uuid:02705345-2c39-97df-be47-59a9dc5f2fed 2010-02-07T16:05:04-07:00
I can't edit it here.
 http://github.com/tz1/sparkfun in the hyperlog directory (source).
 VJay on DEV-09530 - SparkFun OpenLog VJay urn:uuid:529ee882-b04d-a4a1-1a67-93acd6159091 2010-02-04T04:18:28-07:00
ok. A bit more testing later. The logger fails when just over 1gig. Is this known about?
 VJay on DEV-09530 - SparkFun OpenLog VJay urn:uuid:af741481-5546-58b4-59ba-496a306143b8 2010-02-04T03:34:52-07:00
I've been testing these modules prior to installing in some equipment, ready to log long term on a beta product.
 Apart from teething trouble at the start (the instructions for flashing are now out of date), I have managed to recompile and flash the firmware correctly. I have changed the code to 115200 in all cases.
 I am using a 2gig SD card (not SDHC). Amongst other testing, I tested the open log by filling the card with 1.6gig of data (a 1.6gig file), then inserted the card into the openlog device. It fails to log with an "error writing to file" always. If I reformat and do not put 1.6gb data into the card, it always works correctly, it can log data.
 My query is, has the openlog been tested to capacity of a 2gig SD card. Has anyone actually managed to fill a 2 gig card without errors?
 I'm wondering at what point the logger starts to fail?
 Any ideas?
 VJay on DEV-09530 - SparkFun OpenLog VJay urn:uuid:f6423d69-45de-6977-bb2a-d99e71378007 2010-02-04T03:24:17-07:00
Hi tz,
 Link broken
 POT on DEV-09530 - SparkFun OpenLog POT urn:uuid:90b3f19d-bc4f-22f9-1e8b-1c7be52d71f7 2010-01-25T14:46:49-07:00
SPARKFUN
 ?Description: OpenLog is an open source data logger. Simple to use, simple to change. We wanted to create a serial logger that just worked. Power this device up and it will start logging any received serial data at 9600bps?
 Datasheet (GITHUB)
 ?OpenLog is a simple serial logger based on the ATmega328 running at 16MHz. The ATmega328 should be able to talk to high capacity (larger than 2GB) SD cards. The whole purpose of this logger was to create a logger that just powered up and worked. OpenLog ships with a standard serial bootloader so you can load new firmware with a simple serial connection.?

I can?t get the darn thing to operate. I?m rather incompetent at some of this stuff . However, not just because of my incompetence, but also judging by the previous comments about the device, OpenLog is not as simple to get operating as stated.
 PO?T
 tz on DEV-09530 - SparkFun OpenLog tz urn:uuid:15195fec-7429-9670-8607-77b7c20cc982 2010-01-22T22:57:03-07:00
The link doesn't go to the spec. I've seen discussion on MMC cards but don't have a full spec. On MMC, SPI is optional, but that doesn't tell me precisely how to talk to one (where it is different from the SD cards).
 But there are no micro MMCs.
 tz on DEV-09530 - SparkFun OpenLog tz urn:uuid:62e98771-c30c-f4d1-185e-48ef01ccfbab 2010-01-22T22:36:16-07:00
For the adventurous:
 http://github.com/tz1/hyperlog
 Works at 57600 default. Other baud rates by adding a 1-line (with line ending) HYPERLOG.CFG file containing the baud rate, e.g. "115200".
 Boots and starts logging. Break flushes, plus flush timer.
 Neels on DEV-09530 - SparkFun OpenLog Neels urn:uuid:beaecf5b-6715-fe9e-e6ba-52d9e30f3bd6 2010-01-21T22:40:20-07:00
Hi
 How do I connect this to Arduino Duemilanove?
 for mini:
 GRN: Reset pin and connects to the GRN pin on the Arduino Pro Mini. Pulling this line low will reset the ATmega328. Because there is a capacitor on this line, holding this line low will not keep OpenLog in reset.
 RXI: Serial input into OpenLog.
 TXO: Serial output from OpenLog.
 VCC: 3.3V to 12V input.
 GND: Ground
 BLK: This pin is connected to GND. Connect this pin to BLK on the Arduino Pro Mini.
 Thanks
 tcmichals on DEV-09530 - SparkFun OpenLog tcmichals urn:uuid:592a714e-b041-4f8b-ec87-57ace7dd4bf4 2010-01-20T07:43:46-07:00
http://www.interfacebus.com/MicroSD_Card_Pinout.html
 The SPI mode is optional in the microSD format.
 http://en.wikipedia.org/wiki/SD_Card
 All cards must support all three modes, except for microSD where SPI is optional.
 tz on DEV-09530 - SparkFun OpenLog tz urn:uuid:f1b2ab8c-d883-62d3-b644-9b31c1a1475a 2010-01-19T23:07:51-07:00
I have a dozen (different!) from 512Mb to 16Gb - all support SPI. I don't think it is optional (even for SDIO).
 I don't know about the earlier MMC, or how compliant the SD models are.
 tcmichals on DEV-09530 - SparkFun OpenLog tcmichals urn:uuid:637d1b5c-1b1a-49e3-49de-3ece18c4a118 2010-01-19T16:12:02-07:00
I was wondering if anyone ran into the issue of a microSD card not support SPI mode?
 I was reading that this is optional for microSD cards is this true?
 jdesbonnet on DEV-09530 - SparkFun OpenLog jdesbonnet urn:uuid:ed5d5474-cb1a-28e0-a2f0-ae200ca28512 2010-01-19T08:15:04-07:00
The addition of a real-time clock would make this perfect for some apps I have in mind. Even if the clock's only function is to put a timestamp on the log files.
 tz on DEV-09530 - SparkFun OpenLog tz urn:uuid:389609cc-fe18-7c5d-1ee2-e2a9e6a06971 2010-01-10T14:08:27-07:00
As usual, I missed a few things. Update code and link:
 http://www.zdez.org/fat32lib-0.1a.zip
 tz on DEV-09530 - SparkFun OpenLog tz urn:uuid:82975d44-21a1-b79b-f9af-8b44a49e93ce 2010-01-10T08:37:24-07:00
http://harleyhacking.blogspot.com/2010/01/fat32lib-01-zap-your-card-edition.html
 Alpha quality, but for really early adopters…
 Flashable firmware, source with build-able library and sdhc driver. FAT32 only with 8.3 names only, but 11k for the lib and sd/sdhc driver.
 Direct link: http://www.zdez.org/fat32lib-0.1.zip
 tz on DEV-09530 - SparkFun OpenLog tz urn:uuid:62df1a43-1210-26dd-0cc0-6883c64a6e0d 2010-01-08T11:58:23-07:00
It probably works when you test it, but I'd worry about having one recording (or trying to) around Yuma, AZ next summer.
 The firmware works on an Arduino Pro Mini at 3.3v/8Mhz to a microSD breakout (after fixing the frequency defs in the makefile and config). I didn't check the second LED though :).
 It would be slower at reading and writing - the maximum SPI SCK rate is used, which is based on CPU speed.
 soulid on DEV-09530 - SparkFun OpenLog soulid urn:uuid:9222e065-5658-cc57-f574-d15423fd1186 2010-01-06T00:45:55-07:00
I successfully fed data into the logger and it works as expected.
 Is it a "must" to read out the logger with a separate FTDI breakout or is there a way of using the Arduino for that? I can't find a hint or even a tutorial.
 kzwinn on DEV-09530 - SparkFun OpenLog kzwinn urn:uuid:f05e1a43-4c46-1713-6cf0-1f2eb6980709 2010-01-01T20:53:18-07:00
Finally, up and running. My unit is in command mode at power up ( I guess ver 1.1 will be different). It took me quite a few hours to guess. I think the best is to connect the unit to Hyperterminal or Tera Term or any terminal emulator. This will help you in debugging. Also, please don't forget to send line feed character after every command.
 good luck,
 kzwinn on DEV-09530 - SparkFun OpenLog kzwinn urn:uuid:ee52b9b4-1096-dcef-acfc-c6e949d31b10 2009-12-31T11:24:07-07:00
1) Which one is STAT1 LED and STAT2 LED? I just wonder it be better if different color coding is used or label on PCB.
 2) I just send out serial character "Hello" from Atmel to OpenLog. What should I expect as output? Will I see a text file if I read SD card from PC?
 Thanks!
 Nate on DEV-09530 - SparkFun OpenLog Nate urn:uuid:3ef33047-e009-c1c1-1b1e-035f8a3d79f5 2009-12-31T09:18:53-07:00
Do a search for 'atmega328'. It should bring up Atmel first. I'm looking at the 10/09 version D datasheet. Under the "Electrical Characteristics" chapter it shows figure 28-1, a linear line from 1.8 to about 4.5V. Assuming 1MHz/.27V, we can run 3.3V at 12.22MHz. So running at 16MHz @ 3.3V, we are not inside the safe gray area. This doesn't keep me up at night. We test every board in production and haven't had one fail yet. Once we prove FAT16/32 works at 8MHz, we may downgrade the resonator.
 Nate on DEV-09530 - SparkFun OpenLog Nate urn:uuid:5413f720-1a78-44dd-19e0-3ceca88467fd 2009-12-31T09:09:48-07:00
Hi TZ - I use a 3.3V FTDI Basic (with a TX/RX swap in between) to do all my development. 3.3V is fine even though the regulator on OpenLog is probably dropping this to 3.2V.
 Nate on DEV-09530 - SparkFun OpenLog Nate urn:uuid:e05542fb-55a9-ec46-bae8-3e2a7bc34b36 2009-12-30T18:16:56-07:00
Hi TZ - please check again. The file called 'Makefile' in the zip listed above has ATmega328 listed at the top. And I'm not sure what you're trying to do with a 'make fuse' command. You should never need to set the ATmega328 fuses.
 AdamBellchambers on DEV-09530 - SparkFun OpenLog AdamBellchambers urn:uuid:5dd43182-85e3-0121-3052-d6ed72b60bd1 2009-12-30T01:24:34-07:00
Just noticed the github link, have moved my code issue over there…
 AdamBellchambers on DEV-09530 - SparkFun OpenLog AdamBellchambers urn:uuid:0e4c0b21-4f24-c2a8-8710-5529298cc7b8 2009-12-29T23:21:11-07:00
Hi all, if any of you are trying to flash the firmware, i have written a short guide which is aimed at getting the OpenLog working with the UAV Dev Board, but includes information on getting new firmware onto the board. Unfortunately windows based, using winAVR, but the avrdude commands should be the same anywhere i guess. The guide is here:
 http://code.google.com/p/gentlenav/wiki/OpenLogConnection
 I have found the code to be very unstable in my environment for some reason. The code as supplied works fine, and simple changes (such as changing some baud rate stuff to enable 19200) work fine. But anything more complex seems to cause the code to fail in wierd ways. It still compiles and loads onto the OpenLog board fine, but code unrelated to the changes i have made will stop working. ie the 'ls' command will print out half the disk information table, then the device will crash and reboot. Seems like some sort of memory corruption, although i would have thought the stack and heap should be ok, as code use is only about 50% of capacity. Any thoughts?
 tz on DEV-09530 - SparkFun OpenLog tz urn:uuid:6d516f1c-fd2b-af34-8a0c-c73a69021bcf 2009-12-29T21:47:57-07:00
Now flashing the openLog - there seems to be a problem between avrdude - linux ftdi - 3.3v ftdi breakout - reset on the arduinos. Note I have 3 FTDI breakouts all 3.3v and it happens on all three.
 I have a similar problem on my 3.3v arduinos (but they have a button and I'm used to pressing it). Fortunately the square framed hold is "reset" and shorting it to the uSD holder will ground it causing a reset - and releasing it will allow avrdude to flash.
 tz on DEV-09530 - SparkFun OpenLog tz urn:uuid:3660c216-00f0-19fd-cb70-c370637c617f 2009-12-29T17:06:28-07:00
Connecting A2 (pc2, a/d2) on the arduino to the card detect enables that function - it works too.
 tz on DEV-09530 - SparkFun OpenLog tz urn:uuid:396eef7d-2a8c-64c9-7f02-5d57d028fe00 2009-12-29T14:30:51-07:00
To use the firmware from the link on this page on a 3.3v arduino (e.g. pro mini) to the uSD breakout, you can flash directly using something like:
 avrdude -c stk500v1 -b 57600 -P /dev/ttyUSB0 -p m328p -Uflash:w:main.hex
 however the baud rates for the application will be off since the crystal is 8Mhz instead of 16. To fix that (so you can try enabling debug and SDHC) you need to add a line around line 76 of uart.c after it selects the baud rate by reading the eeprom.:
 new_ubrr >>= 1;
 You will also need to adjust F_CPU to 8000000 in the makefile.
 The breakout use CD. VCC and GND go to the 3.3 regulated out and grounds from the arduino.
 The bottom four pins near the LED are the SPI.
 From the bottom going up (10 going to 13):
 pin func uSD
 10 - SS - CS
 11 - MOSI - DI
 12 - MISO - DO
 13 - SCK - SCK
 SDHC cards are recognized if you set the option in sd_raw_config.h, and they can read FAT16, but doing ls, md, or trying to write will cause a reset (at least if debug is on).
 2>disk
 manuf: 0x03
 oem: SD
 prod: SU16G
 rev: 80
 serial: 0x7045eef6
 date: 8/8
 size: 15193MB
 copy: 1
 wr.pr.: 0/0
 format: 0
 free: 1029341184/1029816320

 tz on DEV-09530 - SparkFun OpenLog tz urn:uuid:abc66a2d-6168-972b-88aa-bb7a45e12295 2009-12-28T10:53:17-07:00
To repeat for clarity -
 It would help greatly if someone could give me an avrdude command line that will verify the above firmware's hex file (I'm assuming that is what is in the unit), and one that will reflash it.
 Also if there is anything tricky about using an ISP - the 4 data pins out of the six are on the other side. I'm using the sparkfun usbtiny but can try something else.
 tz on DEV-09530 - SparkFun OpenLog tz urn:uuid:390baee7-50ee-aa9c-0861-8cac8607eed9 2009-12-24T17:51:24-07:00
I have a 3.3v ftdi breakout (which works on all my arduinos).
 I have it hooked up as in the datasheet on git, but avrdude can't find it. Do I need 5v to do serial bootloading?
 Nor can it find it if I connect it via ISP.
 I can communicate fine in a terminal program and even work at different baud rates.
 Does anyone have an avrdude command line that will recognize it?
 tz on DEV-09530 - SparkFun OpenLog tz urn:uuid:a824bf47-44ff-0ebc-4f71-e72048b71fad 2009-12-24T17:13:05-07:00
So, how do you actually upload a new version of code to the device?
 The guide doesn't talk about this particular model.
 I can't get ISP via usbtiny (sparkfun) or anything with stk500 to work with avrdude.
 tz on DEV-09530 - SparkFun OpenLog tz urn:uuid:95ce4107-94c9-6845-eb81-bf8fcc59acd3 2009-12-24T16:09:55-07:00
… and SD_RAW_SDHC was set to zero in the config, so the current firmware won't support SDHC.
 I suppose there is no arduino bootloader, so I'll need a programming adapter?
 The Makefile for the firmware link here is set to a 168, not a 328, though there seems to be some problem with the defines.
 And of course nothing says what the fuses need to be set to much less "make fuse"…
 I'm going to be busy on christmas day.
 tz on DEV-09530 - SparkFun OpenLog tz urn:uuid:8214ce37-d97f-6cab-215d-e45516bcf993 2009-12-24T14:16:35-07:00
Do you have a link to whatever datasheet contains the 16Mhz/3.3v? I can't find it - and I assume there is some specific suffix or something indicating the speed grade?
 (And when are we going to see 3.3v/16Mhz Arduinos?)
 tz on DEV-09530 - SparkFun OpenLog tz urn:uuid:33458262-4b56-73de-bb00-34a64deb4370 2009-12-24T14:10:19-07:00
I just did (a 16Gb card) and it won't get past the "1". It is a FAT16 2g partition, the only one, as the first.
 Nate on DEV-09530 - SparkFun OpenLog Nate urn:uuid:28b9a6e7-ed98-472a-496a-ffe8a4904512 2009-12-23T10:10:07-07:00
I agree, a binary interface is a good thing to have. There are many options that we intentionally left out to keep it simple. If there are options you'd like to add, help us out!
 Nate on DEV-09530 - SparkFun OpenLog Nate urn:uuid:247438c2-1fd0-fa02-80f1-280fed2f70be 2009-12-23T10:07:54-07:00
Hi TZ - Check the ATmega328 docs again. The ATmega328 can run within spec at 16MHz at 3.3V. Currently on page 318 of the datasheet inside Electrical Characteristics.
 xslogic on DEV-09530 - SparkFun OpenLog xslogic urn:uuid:7f888a05-515b-16c0-34d7-b513b9b27743 2009-12-20T10:55:28-07:00
See the section titled "How to support SDC Ver2 and high capacity cards" - on the other hand, the firmware above also has support for SDHC…
 tz on DEV-09530 - SparkFun OpenLog tz urn:uuid:15465164-f409-fa4a-baef-dd0a3472cc80 2009-12-20T09:05:09-07:00
Another bit of strangeness - you have the reset circuit the same as the one on the arduino.
 So connecting it to the arduino will result in the DTR line being functionally open - capacitor to capacitor.
 Another (for me) annoyance is the inability to do binary. I suppose you could use a break condition to signal going back to command mode.
 tz on DEV-09530 - SparkFun OpenLog tz urn:uuid:ecb1e933-d862-c053-4811-17f29237aab0 2009-12-19T13:26:55-07:00
I too am working on FAT32 - I won't have one of these but I may try to do it on one of my arduinos.
 Read works - I already have it scanning every partion (including an extended partition) for FAT32, then getting the boot sector and geometry, reading the root directory and able to read an entire file by following the FAT chain. In about 200 lines of code, 1 512 byte sector buffer, several limitations (512 byte sectors, no fs errors, short filenames only, etc.), but every FAT32 format I've seen does this.
 I hope to get write working this weekend.
 frank26080115 on DEV-09530 - SparkFun OpenLog frank26080115 urn:uuid:39450fd8-b946-860b-3bc3-0a5bc8f8436e 2009-12-18T14:32:49-07:00
oh it looks like the system runs on 3.3V always… which throws my theory out the window
 well if it fails mysteriously, you know why
 frank26080115 on DEV-09530 - SparkFun OpenLog frank26080115 urn:uuid:fdd2bf0b-5eb9-0012-c964-e381444931a5 2009-12-18T14:27:58-07:00
Good catch, maybe the idea is that the system works down to 3.3V but you need to update the firmware and fuse bits yourself?
 tz on DEV-09530 - SparkFun OpenLog tz urn:uuid:66473db4-4d88-58bd-2655-9091981196fe 2009-12-18T13:30:01-07:00
Could someone try putting an SDHC formatted with just a FAT16 partition (I have several cards but they don't have any more stock as I write this).
 At least that would confirm the hardware would work without change.
 tz on DEV-09530 - SparkFun OpenLog tz urn:uuid:f7aad37c-69c8-bdfc-79b0-04a05953104f 2009-12-18T13:26:19-07:00
At the link, it talks about MMC v.s. SD, but I didn't see anything at all about SD v.s. SDHC.
 tz on DEV-09530 - SparkFun OpenLog tz urn:uuid:2d5e6742-1016-317e-9a75-d5bc079898f4 2009-12-18T13:20:56-07:00
The schematic shows an AVR328, 3.3v and a 16Mhz crystal.
 One of the three values is wrong or Atmel has a new version of the chip. A 3.3v 16Mhz arduino would be welcome…
 AdamBellchambers on DEV-09530 - SparkFun OpenLog AdamBellchambers urn:uuid:5cd5f71f-3fd4-d398-e96f-07c3346e74b2 2009-12-18T05:57:37-07:00
Got a couple of these, work exactly as advertised!
 If anyone else is looking to modify the firmware and is unfamiliar with the workflow to get the serial bootloader working (like i was) then i can highly recommend Nate's walkthrough of his process here:
 http://www.sparkfun.com/commerce/tutorial_info.php?tutorials_id=142
 (this took me heaps longer to find than it should have, and so i found lots of ways to not make it work in the meantime. Hopefully putting the link here saves someone else that pleasure…)
 BenAnderson on DEV-09530 - SparkFun OpenLog BenAnderson urn:uuid:363fbb46-3bda-31d9-e44d-40dad608bb91 2009-12-17T15:57:40-07:00
Just got it working! Very nice.
 Couple of hints for others.
 –Default baud is 9600 8n1.
 –Make sure your card is formated as fat16.
 –If you hook it directly up to FTDI Basic don't forget to cross the rx and tx lines.
 Reed on DEV-09530 - SparkFun OpenLog Reed urn:uuid:76ecca43-8485-3087-32d2-a84afe6e4242 2009-12-14T19:01:53-07:00
This is very nice, less than half the price of the logomatic, much tinier, and with the more familiar AVR.
 It would be nice to see this grow and gain the same triggering-on-specified-character abilities as well, I see a lot of promise in this!
 Nate on DEV-09530 - SparkFun OpenLog Nate urn:uuid:3778a36e-2071-98fb-f7c3-ad0bc63b9697 2009-12-08T14:07:08-07:00
8mA is what is takes to have the device on and waiting for a command. To power down the device, you would need an external control such as a MOSFET or transistor.
 We don't have a good repository spot yet. Maybe google code. Looks like there are a few people out there doing similar work:
 http://code.google.com/p/sdfatlib/
 For now, email patches to spark at sparkfun.com. Thanks! We appreciate any help.
 xslogic on DEV-09530 - SparkFun OpenLog xslogic urn:uuid:afaa9a18-9b24-c62a-5f08-d7a35fcd4a6c 2009-12-07T15:10:31-07:00
There are some subtle changes between SD and SDHC. This page has a bit of information about it:
 http://elm-chan.org/docs/mmc/mmc_e.html
 Might be worth having a poke at the page here:
 http://elm-chan.org/fsw/ff/00index_e.html
 The sample projects may be of particular interest.
 jramirez on DEV-09530 - SparkFun OpenLog jramirez urn:uuid:12f94235-8362-bd01-c344-e058074c1ce0 2009-12-07T11:29:58-07:00
couple of questions, Is 8mA a constant current or Can it be turned off completely ?
 Is there a website or project page to find more info or send patches?
 Thank you,
 Juan