Comments: OpenLog Hookup Guide

Pages

Looking for answers to technical questions?

We welcome your comments and suggestions below. However, if you are looking for solutions to technical questions please see our Technical Assistance page.

  • Member #2286 / about 5 years ago / 1

    I tried to compile and load the latest version of the OpenLog code. I got all the libraries located so the Arudino IDE can find them. The compile worked with ver 1.8.12. The upload states: avrdude: stk500_recv(): programmer is not responding The Board is: Arduino Pro or Pro Mini The Processor is: Atmega328p (5V, 16Mhz) Programmer is: ArduinoISP Any suggestions ?

    • santaimpersonator / about 5 years ago / 1

      Hi there, it sounds like you are looking for technical assistance. Please use the link in the banner above, to get started with posting a topic in our forums. Our technical support team will do their best to assist you.

      That being said, the stk500 error is usually associated with the computer not being able to find the target board.

  • Member #1371428 / about 6 years ago / 1

    Hi everyone,

    trying to use "light" firmware on an OpenLog (a Chinese build) with the 4.0 version, using “Arduino/Genuino Uno” as instructed, I got the usual

    avrdude error (stk500_getsync() attempt x of 10: not in sync: resp=0x00)

    error. As suggested on http://www.parkansky.com/arduino-error.htm page, I have tried without connecting Rx then Tx pin on the OpenLog (one is obviously needed to upload, but I even tried), without any success.

    But using "Arduino Pro or Pro Mini" (5v 16Mhz), with IDE version 1.8.5, it worked, sketch has been successfully uploaded and logging work using the "light" firmware.

    Hope this could help, have fun with openLog ;)

  • Member #356017 / about 6 years ago / 1

    I'm trying to record a serial output that is formatted as 8 bit, no parity, 1 stop bit, no flow control. I thought this was the most common set up but when I look at the SD card I get gibberish as if those settings aren't properly set. the config file doesn't seem to allow changing this, any idea what I can do to get this to work?

    • Be sure your baud rate matches what OpenLog is configured to listen for. 9600bps is OpenLog's default. Also be sure that the serial is TTL serial, as in coming from a microcontroller or other embedded device, not 12V serial from a computer or industrial device.

  • -------------------- Tech Support Tips/Troubleshooting/Common Issues --------------------

    Logic Levels Between OpenLog and a 5V System

    The OpenLog uses 3.3V if you look at the hardware specs. We recommend using a logic level converter [ https://www.sparkfun.com/products/12009 ] to convert the logic on the RXI and the GRN (aka DTR) pins. You would not need to connect a logic level converter for TX. The reason why is because the OpenLog will be outputting 3.3V. This should be high enough for the RedBoard to recognize as a logic high [ https://learn.sparkfun.com/tutorials/logic-levels/ttl-logic-levels. Just make sure that pin 3 is not turned HIGH. If you are worried, you can always used another channel on the logic level converter. If you are using a RedBoard, Arduino Uno, or any other 5V system.

    Another alternative is to use voltage division [ https://learn.sparkfun.com/tutorials/voltage-dividers ] to connect the OpenLog to a 5V system. If you are using voltage division, applying the voltage divider on the RXI and GRN pins. You could use 3x 10kOhm resistors similar to the "Uni-Directional" application circuit on our old logic level converter to send data to the receive pin.

    Schematic of Logic Level Converter with Voltage Division

    Click on the image to enlarge. You can add the two 10kOhm resistors in series for 20kOhms. =)

    Tested Arduino IDE Versions

    The firmware and example sketches seem to compile and upload fine with no issues when using it with Arduino IDE v.1.8.3, v1.8.5, and v1.8.8. I was testing this using Windows 10, 64-bit OS.

    Compile Errors

    If you are compiling and receive an an error similar to:

    prog_char typedef is undefinied
    

    The compile error seems to be an isolated issue. It might be due to your environment variables, OS settings, and the way that the Arduino IDE was installed causing the computer to find certain files. A user was able to work around the issue and compile the OpenLog_Minimal.ino sketch in Arduino IDE v1.8.3 by including this at the top of the SerialPort.h file included in the zipped OpenLog Firmware Bundle:

    #include 
    typedef char PROGMEM prog_char;
    #if ARDUINO < 100
    

    It's possible that the Arduino IDE was not installed correctly or the version that is being used has bugs. You may want to:

  • Member #684823 / about 8 years ago / 1

    Where are the example sketches located?

    • Please check out the Firmware page on the hookup guide. This includes a .zip which has all of the library files and example sketches, as well as guides to the GitHub repository which has the most up-to-date versions of all the firmware.


If you've found an issue with this tutorial content, please send us your feedback!