Introducing ElanLogger

Moderators: theelanman, dapinky, Nige, Elanlover, Sy V, muley, Enright, algirdas, nitroman, GeoffSmith, clemo, Dave Eds, Specky, DaveT

Re: Introducing ElanLogger

Postby matts1972 » Mon 22.08.2022, 07:01

CalElan wrote:Pretty embarrassing how long it’s taken me to come back to.. oh well..

Don't apologize - it's only been two years :-D
User avatar
matts1972
Enthusiast
 
Posts: 110
Joined: Wed 10.03.2010, 19:44
Location: Heilbronn, Germany

Re: Introducing ElanLogger

Postby RonR » Mon 22.08.2022, 15:42

I'm no C programmer, so there's probably lots more elegant ways to extract and display the info, but here's one of my efforts - adapted from Matt's original - Abandoned due to lack of support for the display I was using. The data extraction and calculations work though.
ElanLogger210.zip
You do not have the required permissions to view the files attached to this post.
User avatar
RonR
Fanatic
 
Posts: 287
Joined: Mon 22.08.2016, 20:25
Location: Bromley

Re: Introducing ElanLogger

Postby Tuga2112 » Mon 22.08.2022, 15:57

RonR wrote:I'm no C programmer, so there's probably lots more elegant ways to extract and display the info, but here's one of my efforts - adapted from Matt's original - Abandoned due to lack of support for the display I was using. The data extraction and calculations work though.
ElanLogger210.zip

:lol: "elegant ways to do ......." in C :lol: that cracked me up.
1991 elan se
1991 elan se project
91 MR2 Turbo (import) project
94 Celica GT4 (Import)
94 4Runner
98 Celica SR

too many projects. not enough sunny days :(
User avatar
Tuga2112
God
 
Posts: 1559
Joined: Fri 12.09.2014, 22:54
Location: Durham with a regular trip to Walsall

Re: Introducing ElanLogger

Postby CalElan » Tue 23.08.2022, 00:24

RonR wrote:I'm no C programmer, so there's probably lots more elegant ways to extract and display the info, but here's one of my efforts - adapted from Matt's original - Abandoned due to lack of support for the display I was using. The data extraction and calculations work though.
ElanLogger210.zip


Many thanks - I'll download and have a play

'btw I may have spoken to early about it working - I have a file with the correct file extension but it won't open.
Having looked closer, when I turn off the ignition it kills power to the Uno, (actually drops it to about 6v), so I think it's not wrapping up the writing process correctly.
I may have to pull a permanent 12v supply from somewhere to test this theory out..

Unless anyone has a better idea???
User avatar
CalElan
Fanatic
 
Posts: 283
Joined: Sun 14.12.2014, 01:26
Location: Mountain View, CA, USA

Re: Introducing ElanLogger

Postby CalElan » Tue 23.08.2022, 00:37

matts1972 wrote:
CalElan wrote:Pretty embarrassing how long it’s taken me to come back to.. oh well..

Don't apologize - it's only been two years :-D


In my head it had been like 6-9 months - when I looked at the dates on the post I was yikes!! :shock:
User avatar
CalElan
Fanatic
 
Posts: 283
Joined: Sun 14.12.2014, 01:26
Location: Mountain View, CA, USA

Re: Introducing ElanLogger

Postby matts1972 » Tue 23.08.2022, 06:45

CalElan wrote:
RonR wrote:I'm no C programmer, so there's probably lots more elegant ways to extract and display the info, but here's one of my efforts - adapted from Matt's original - Abandoned due to lack of support for the display I was using. The data extraction and calculations work though.
ElanLogger210.zip


Many thanks - I'll download and have a play

'btw I may have spoken to early about it working - I have a file with the correct file extension but it won't open.
Having looked closer, when I turn off the ignition it kills power to the Uno, (actually drops it to about 6v), so I think it's not wrapping up the writing process correctly.
I may have to pull a permanent 12v supply from somewhere to test this theory out..

Unless anyone has a better idea???


There really should be permanent 12V on the ALDL port, but as long as your file has the correct .ecu-extension, it should be good. Do you have a different SD-card available that you could try? Also, be sure to use the latest sketch from my original post edited October 2021.

Best regards
Matthias
User avatar
matts1972
Enthusiast
 
Posts: 110
Joined: Wed 10.03.2010, 19:44
Location: Heilbronn, Germany

Re: Introducing ElanLogger

Postby CalElan » Wed 24.08.2022, 03:36

thanks for hanging in there with me!
seems some of the problems stem from crappy arduino jumper leads some of which had no continuity out of the packet! :oops:
I rebuilt my cable and checked it out with the meter
updated the buffer size
connect it up to the Elan and all the lights do the right things..
put the file into the PC and get an integer overflow error..

I'll try a few more times see what happens
User avatar
CalElan
Fanatic
 
Posts: 283
Joined: Sun 14.12.2014, 01:26
Location: Mountain View, CA, USA

Re: Introducing ElanLogger

Postby matts1972 » Wed 24.08.2022, 06:50

Just to be sure: you have installed ElanLogger.ino version 1.12, 2.10.2021 on your Arduino?
Can you post one of the corrupt .ecu-files (or PM me)?
Best regards
Matthias
User avatar
matts1972
Enthusiast
 
Posts: 110
Joined: Wed 10.03.2010, 19:44
Location: Heilbronn, Germany

Re: Introducing ElanLogger

Postby matts1972 » Wed 24.08.2022, 07:23

Also, and very important, make sure not to use the latest SDFat library in the Arduino IDE but use version 1.0.3:

sdfat.jpg

Newer SDFat libraries seem to be buggy and can result in corrupted .ecu-Files. With SDFat 1.0.3 ElanLogger should produce rock-solid results.
You do not have the required permissions to view the files attached to this post.
User avatar
matts1972
Enthusiast
 
Posts: 110
Joined: Wed 10.03.2010, 19:44
Location: Heilbronn, Germany

Re: Introducing ElanLogger

Postby CalElan » Sat 27.08.2022, 23:50

Thanks so much for your patience.
Checked I had the right version of the sketch and the right library versions
Still no joy - reformatted the sd card and reseated the uno and the logger..

It works and I can open the file!
Brilliant thank you…

Just need to work out the 12v - it’s 12v with the engine running, drops to about 7 with the ignition off. I can always find a better 12v feed if I can’t work this bit out!
User avatar
CalElan
Fanatic
 
Posts: 283
Joined: Sun 14.12.2014, 01:26
Location: Mountain View, CA, USA

Re: Introducing ElanLogger

Postby matts1972 » Sun 28.08.2022, 12:34

CalElan wrote:Thanks so much for your patience.
Checked I had the right version of the sketch and the right library versions
Still no joy - reformatted the sd card and reseated the uno and the logger..

It works and I can open the file!
Brilliant thank you…

Just need to work out the 12v - it’s 12v with the engine running, drops to about 7 with the ignition off. I can always find a better 12v feed if I can’t work this bit out!


Glad that it is working for you now. I am actually not 100% sure if there is 12v on the ALDL connector with ignition off - I mostly assumed. I cannot check it myself currently as I am away from my Elan, but will do in two weeks. In any case a solid 7 volts should be okay as the Arduino has a regulator built in that will convert this down to 5 volts. So as long as the voltage does not drop below 5 volts under the small load of the Arduino board, this should not cause trouble. Still it would be good to know if the 7 volts you have are normal.
User avatar
matts1972
Enthusiast
 
Posts: 110
Joined: Wed 10.03.2010, 19:44
Location: Heilbronn, Germany

Re: Introducing ElanLogger

Postby matts1972 » Sun 28.08.2022, 12:55

Just checked with the manual - there is battery voltage on the connector - so this is a puzzle
D1877166-3F52-4139-B765-1EDEC53895C5.jpeg
You do not have the required permissions to view the files attached to this post.
User avatar
matts1972
Enthusiast
 
Posts: 110
Joined: Wed 10.03.2010, 19:44
Location: Heilbronn, Germany

Re: Introducing ElanLogger

Postby matts1972 » Sun 11.09.2022, 11:12

CalElan wrote:Just need to work out the 12v - it’s 12v with the engine running, drops to about 7 with the ignition off. I can always find a better 12v feed if I can’t work this bit out!


As a follow up, I measured the voltage at the ALDL connector between F and A. As expected, it is always at battery/alternator voltage of 12v or higher. So 7 volts with ignition off would normally indicate a defective battery.
User avatar
matts1972
Enthusiast
 
Posts: 110
Joined: Wed 10.03.2010, 19:44
Location: Heilbronn, Germany

Previous

Return to ElanScan

Who is online

Users browsing this forum: No registered users and 1 guest