Introducing ElanLogger

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

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: 147
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: 723
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.
Still learning
Youtube Channel @Tuga2112 M100 repair videos
User avatar
Tuga2112
God
 
Posts: 3039
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: 285
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: 285
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: 147
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: 285
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: 147
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: 147
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: 285
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: 147
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: 147
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: 147
Joined: Wed 10.03.2010, 19:44
Location: Heilbronn, Germany

Re: Introducing ElanLogger

Postby Elanlover » Fri 07.10.2022, 19:50

Anyone heard of/looked into this???

https://www.aldldroid.com/
I do whatever my Rice Crispies tell me to do
User avatar
Elanlover
Moderator
 
Posts: 3513
Joined: Fri 05.08.2005, 19:11
Location: The Great White North

Re: Introducing ElanLogger

Postby matts1972 » Sat 08.10.2022, 09:00

Elanlover wrote:Anyone heard of/looked into this???

https://www.aldldroid.com/


Looks interesting, but not straight forward. You would need the Esprit-Adapter at 1320electronics.com, which is currently marked "out of stock". Also, they say that this adapter does not work with ALDLdroid and that the .adx-file for the Esprit is kept a secret. Still, with all the information available to us through ElanScan, a suitable .adx-file for the Elan could probably be created as they are plain text and available for other cars. So someone would need to get hold of an adapter and take a shot at creating an .adx-file. It does not seem impossible.
User avatar
matts1972
Enthusiast
 
Posts: 147
Joined: Wed 10.03.2010, 19:44
Location: Heilbronn, Germany

Re: Introducing ElanLogger

Postby Fredjohn » Sat 08.10.2022, 09:13

I am no electronics expert and don't understand this wizardry, but searching for an adx file on tinternet I found a post from an Isuzu Impulse owner saying he had found such a file for the Elan M100. He wondered if it would be suitable for the Impulse.

I couldn't find the actual file though.
La vie passe vite: vivez la avec élan.

Elan SE turbo 1992
Emira 2023
Mercedes Benz C200 estate
Lotus Evija Danish edition
User avatar
Fredjohn
God
 
Posts: 2537
Joined: Tue 21.08.2012, 00:30
Location: Malvern, Worcs

Re: Introducing ElanLogger

Postby matts1972 » Sat 08.10.2022, 10:15

I have just ordered an HC-05 bluetooth module and will put together a simple bluetooth interface that works wirelessly with Elanscan on Windows. Having a wireless ElanScan on a laptop might already be valuable to some of you, but could also work with ALDLdroid given the right .adx-file.
User avatar
matts1972
Enthusiast
 
Posts: 147
Joined: Wed 10.03.2010, 19:44
Location: Heilbronn, Germany

Re: Introducing ElanLogger

Postby chrism » Sat 08.10.2022, 15:40

Hey matts1972, a wireless ElanScan would be a real bonus; +1 for that :bowdown:
User avatar
chrism
God
 
Posts: 894
Joined: Sun 16.01.2022, 14:36
Location: West Sussex, UK

Re: Introducing ElanLogger

Postby matts1972 » Sun 09.10.2022, 14:26

chrism wrote:Hey matts1972, a wireless ElanScan would be a real bonus

I have already started soldering. It will be a cheap and dead simple but big and ugly prototype, consisting of an Arduino Uno, an HC-05 bluetooth module, 4 resistors and a zener diode - so will be less than 20 GBP in parts (or 30 if you add an ODB1 connector). With an integrated microcontroller/bluetooth board all would fit inside an OBD1 connector housing, however the Uno with an HC-05 are the most readily available parts for prototyping.
You can expect schematics and the Arduino sketch this month, as soon as I have successfully tested it with ElanScan.
User avatar
matts1972
Enthusiast
 
Posts: 147
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 13 guests