HelpRequired with Openlog

Hi

I recently purchased an Openlog device to log an RS232 serial output of an AEM Electronics Air Fuel Ration gauge on our sports car.

I have successfully connected my MacBook to the data output of the gauge and captured data as expected using the RS232 serial terminal.

Below is an example of the data the gauge outputs to the MacBook

09.8,10.1,10.1,10.4,10.1,10.5,10.3,10.7,10.3,10.8,10.1,10.6,10.1,10.1

This is exactly the same as the gauge displays and is exactly what I need.

However, I would like the data to be logged onto the Openlog so that I do not have to drive around with a MacBook on the passenger seat. :slight_smile:

When I connect the output of the gauge to the Openlog, I do not get meaningful data recorded on the SD card…

Below is an example of what I get logged onto the SD card

y=#g34Lû=g34Lû=g34cy=gf4gy=gf4Ê`#g34cy=g34Lû=g34y=g34dy=g34dy=g34dy=g34cy=g34dy=g342y=#g34dy=g34

The output of the gauge is at a baud rate of 9600bps. 8 bits. No Parity bit. 1 Stop bit.

The Config.txt file I have on the SD of the Openlog is:-

9600,26,3,0,1,1,0

baud,escape,esc#,mode,verb,echo,ignoreRX

I have made the following connections on the Openlog

Gauge serial output to RXI

Gauge Ground to GND

5 volts supply to the VCC

The openlog Led’s flash when data is being received. And data gets written to the SD card. It is just that the data is not in an unusable format.

My SD card is 64GB

So… my question is. Have I connected it up incorrectly?

Do I need something else between the output of the gauge and the Openlog?

Any help gratefully received.

Regards

Dave Mills

It’s probably just the SD card and/or formatting; OpenLog supports both FAT16 and FAT32 SD formats up to 32gb…try a smaller card and see how that goes

millsd61:
Hi
I recently purchased an Openlog device to log an RS232 serial output of an AEM Electronics Air Fuel Ration gauge on our sports car.
I have successfully connected my MacBook to the data output of the gauge and captured data as expected using the RS232 serial terminal.
Below is an example of the data the gauge outputs to the MacBook
09.8,10.1,10.1,10.4,10.1,10.5,10.3,10.7,10.3,10.8,10.1,10.6,10.1,10.1
This is exactly the same as the gauge displays and is exactly what I need.
However, I would like the data to be logged onto the Openlog so that I do not have to drive around with a MacBook on the passenger seat. :slight_smile:
When I connect the output of the gauge to the Openlog, I do not get meaningful data recorded on the SD card…
Below is an example of what I get logged onto the SD card
y=#g34Lû=g34Lû=g34cy=gf4gy=gf4Ê`#g34cy=g34Lû=g34y=g34dy=g34dy=g34dy=g34cy=g34dy=g342y=#g34dy=g34
The output of the gauge is at a baud rate of 9600bps. 8 bits. No Parity bit. 1 Stop bit.
The Config.txt file I have on the SD of the Openlog is:-
9600,26,3,0,1,1,0
baud,escape,esc#,mode,verb,echo,ignoreRX
I have made the following connections on the Openlog
Gauge serial output to RXI
Gauge Ground to GND
5 volts supply to the VCC
The openlog Led’s flash when data is being received. And data gets written to the SD card. It is just that the data is not in an unusable format.
My SD card is 64GB
So… my question is. Have I connected it up incorrectly?
Do I need something else between the output of the gauge and the Openlog?
Any help gratefully received.
Regards
Dave Mills

It seems my Openlog is recording data to the SD card in ASCII. How do I change that?

Is there a tutorial for changing the logging type?

The OpenLog records whatever comes over the serial line, “as is”.

To record some interpretation of those data, in some other form, use a computer or MCU with custom programming to intercept and convert the data. The OpenLog code is open source and could be edited for your application.

I think your problem is you’re logging RS232 serial where the openlog is looking for TTL serial. You will need to convert RS232 to TTL with something like a MAX3232 breakout.