Nimminz' LSD GLT Daily - Part1
Re: Nimminz' GLT Daily
Are you recording from the sensors directly bud? Or via the ECU (i.e. the LH one when it's in?)
Fake sporadically has an SD card logger, I use one of
https://www.sparkfun.com/products/9530
with a few firmware changes so I don't always have to carry a laptop. Well worth doing though, logging is the best thing EVER!
Fake sporadically has an SD card logger, I use one of
https://www.sparkfun.com/products/9530
with a few firmware changes so I don't always have to carry a laptop. Well worth doing though, logging is the best thing EVER!
'89(G) 340 GLE B172k
'03 S60 D5 SE, '91 (J) MX5, 1954 Cyclemaster
Ex:
'89(F) 340 GL F7R (ex B172k) - Fake -> SBKV 300 Runner Up 08, 12; '91(H) 340 GL B14.4E - Kar; '88(F) 360 GLT B200E - Jet -> BKV 300 Runner Up 09; '89(G) 360 GLT B200E - Beast
'03 S60 D5 SE, '91 (J) MX5, 1954 Cyclemaster
Ex:
'89(F) 340 GL F7R (ex B172k) - Fake -> SBKV 300 Runner Up 08, 12; '91(H) 340 GL B14.4E - Kar; '88(F) 360 GLT B200E - Jet -> BKV 300 Runner Up 09; '89(G) 360 GLT B200E - Beast
Re: Nimminz' GLT Daily
Well i started off just thinking about the oil temp and press. sensors I have seperatly in the filter relocation then its moved on to all sorts. Not really sure, guessed i'd take it from the sensor wires before they hit the ECU (on the LH system)
I'm after live view of things and logging at the same time. With the arduino board i bought is a 3.2" touchscreen LCD with card reader mounted on the back. I'd probably end up buying something like what you have for discrete dash mount and I'm not sure on a full colour touchscreen in an '80s car. I also got a 128x64 graphic LCD white on blue and that's more probable for sticking in the car. I've got a 3-axis accelerometer ordered too so that should be nice if i can get it to work. thinking about a GPS module too then one day learn to do this sort of thing: http://www.practicalarduino.com/project ... y-platform
I always thought you must have some dead expensive bit of kit to get those graphs of yours.
I've not done much stuff like this before but luckily the internets full of examples tutorials and other people's projects
I'm after live view of things and logging at the same time. With the arduino board i bought is a 3.2" touchscreen LCD with card reader mounted on the back. I'd probably end up buying something like what you have for discrete dash mount and I'm not sure on a full colour touchscreen in an '80s car. I also got a 128x64 graphic LCD white on blue and that's more probable for sticking in the car. I've got a 3-axis accelerometer ordered too so that should be nice if i can get it to work. thinking about a GPS module too then one day learn to do this sort of thing: http://www.practicalarduino.com/project ... y-platform
I always thought you must have some dead expensive bit of kit to get those graphs of yours.
I've not done much stuff like this before but luckily the internets full of examples tutorials and other people's projects
'88 360 +T LSD - sold
'87 760 TDI (D24TIC) - sold
'04 V40 D sport (F9Q, decat, Remapped, launch control)
'89 740 SE (b230ft, 12psi, V-cam, headwork, 'remapped', banded steels)
'86 340 DL 1.4
'87 760 TDI (D24TIC) - sold
'04 V40 D sport (F9Q, decat, Remapped, launch control)
'89 740 SE (b230ft, 12psi, V-cam, headwork, 'remapped', banded steels)
'86 340 DL 1.4
Re: Nimminz' GLT Daily
Electronics is easy if you are prepared to sit down and do some learning. It's damn frustrating for the first few months too, but that's where the Arduino will help you no end, they didn't exist when I startedNimminz wrote:Well i started off just thinking about the oil temp and press. sensors I have seperatly in the filter relocation then its moved on to all sorts. Not really sure, guessed i'd take it from the sensor wires before they hit the ECU (on the LH system)
I'm after live view of things and logging at the same time. With the arduino board i bought is a 3.2" touchscreen LCD with card reader mounted on the back. I'd probably end up buying something like what you have for discrete dash mount and I'm not sure on a full colour touchscreen in an '80s car. I also got a 128x64 graphic LCD white on blue and that's more probable for sticking in the car. I've got a 3-axis accelerometer ordered too so that should be nice if i can get it to work. thinking about a GPS module too then one day learn to do this sort of thing: http://www.practicalarduino.com/project ... y-platform
I always thought you must have some dead expensive bit of kit to get those graphs of yours.
I've not done much stuff like this before but luckily the internets full of examples tutorials and other people's projects
If you see the circuit I use to interface the Williams ECU to a PC you'd laugh and as it's just converting to RS232 then the RS232 logged happily works (well, along with the same magic software tweak the PC needs). In all, those graphs were somehting like £25 of components and Excel
Making things to do this sort of thing is what I do for a job though...
As for LH, I've not looked at it so can't say for sure. If you are taking a signal before the ECU, make sure you use a high impedance input so you don't affect the signal the ECU sees. I don't know the AVR on the arduino well enough to call that out my head.
'89(G) 340 GLE B172k
'03 S60 D5 SE, '91 (J) MX5, 1954 Cyclemaster
Ex:
'89(F) 340 GL F7R (ex B172k) - Fake -> SBKV 300 Runner Up 08, 12; '91(H) 340 GL B14.4E - Kar; '88(F) 360 GLT B200E - Jet -> BKV 300 Runner Up 09; '89(G) 360 GLT B200E - Beast
'03 S60 D5 SE, '91 (J) MX5, 1954 Cyclemaster
Ex:
'89(F) 340 GL F7R (ex B172k) - Fake -> SBKV 300 Runner Up 08, 12; '91(H) 340 GL B14.4E - Kar; '88(F) 360 GLT B200E - Jet -> BKV 300 Runner Up 09; '89(G) 360 GLT B200E - Beast
Re: Nimminz' GLT Daily
Cheers!
I've done a fair bit of analogue sort of stuff and did it in GCSE and A-level and we very breifly touched on the programming stuff with PICs
Here's what i bought: http://www.ebay.co.uk/itm/280931953825? ... 280wt_1037
If LH2.4 had an OBD-II things would be nice as that's got serial output, doubt much could be had from the daignostics port in LH unless there was actually a fault, in which case the most you could make it do was count the 'flashes' and look up what the code is and display it as nice text.
I'll start off small, oil temp and pressure and the touchscreen and little LCD display, see what can be done. Then I'll Look more into the LH - which i still need to crack on with :/
I've done a fair bit of analogue sort of stuff and did it in GCSE and A-level and we very breifly touched on the programming stuff with PICs
Here's what i bought: http://www.ebay.co.uk/itm/280931953825? ... 280wt_1037
If LH2.4 had an OBD-II things would be nice as that's got serial output, doubt much could be had from the daignostics port in LH unless there was actually a fault, in which case the most you could make it do was count the 'flashes' and look up what the code is and display it as nice text.
I'll start off small, oil temp and pressure and the touchscreen and little LCD display, see what can be done. Then I'll Look more into the LH - which i still need to crack on with :/
'88 360 +T LSD - sold
'87 760 TDI (D24TIC) - sold
'04 V40 D sport (F9Q, decat, Remapped, launch control)
'89 740 SE (b230ft, 12psi, V-cam, headwork, 'remapped', banded steels)
'86 340 DL 1.4
'87 760 TDI (D24TIC) - sold
'04 V40 D sport (F9Q, decat, Remapped, launch control)
'89 740 SE (b230ft, 12psi, V-cam, headwork, 'remapped', banded steels)
'86 340 DL 1.4
Re: Nimminz' GLT Daily
Noone seems to know if you can read live data from the LH. FCR software seems to do it but not clear atall which models it can do it.
The LH2.4 is not ODBII, its totally propriety. The 95 LH2.4 is the same as the 96 with the ODBII-like socket AFAIK, 95 has no computer connection so I'm guessing no live data on 940.
I have been looking at data loggers as logging is much more powerful than gauges (nevermind space and spoiling the dash), some nice car ones with GPS and accelerometers, but you are looking at £300+ second hand with multiple analogue in. Some others are mainly digital and want you buy additional analogue modules.
DIY with Arduino or Raspberry PI looks interesting but I havn't time to learn.
The LH2.4 is not ODBII, its totally propriety. The 95 LH2.4 is the same as the 96 with the ODBII-like socket AFAIK, 95 has no computer connection so I'm guessing no live data on 940.
I have been looking at data loggers as logging is much more powerful than gauges (nevermind space and spoiling the dash), some nice car ones with GPS and accelerometers, but you are looking at £300+ second hand with multiple analogue in. Some others are mainly digital and want you buy additional analogue modules.
DIY with Arduino or Raspberry PI looks interesting but I havn't time to learn.
1980 345 DL_______1987 360 GLE (project car restored to GLT spec and B230FT'd)
1984 360 GLT______1987 360 GLT
1983 360 GLS______1989 360 GLE
1985 340 GL_______1986 340 1.4
1985 360 GLS______1995 940 SE 2.3 Turbo Estate (daily)
1987 340 GL 1.7
1984 360 GLT______1987 360 GLT
1983 360 GLS______1989 360 GLE
1985 340 GL_______1986 340 1.4
1985 360 GLS______1995 940 SE 2.3 Turbo Estate (daily)
1987 340 GL 1.7
Re: Nimminz' GLT Daily
Need more googlefu :p
http://www.jetronic.info/wiki/tiki-inde ... atalogging
Looks like it only runs on one bin, but might be somewhere to start! Easier than the F7x stuff if it is just K line too, looks like it goes into both LH and EZK too.
http://www.jetronic.info/wiki/tiki-inde ... atalogging
Looks like it only runs on one bin, but might be somewhere to start! Easier than the F7x stuff if it is just K line too, looks like it goes into both LH and EZK too.
'89(G) 340 GLE B172k
'03 S60 D5 SE, '91 (J) MX5, 1954 Cyclemaster
Ex:
'89(F) 340 GL F7R (ex B172k) - Fake -> SBKV 300 Runner Up 08, 12; '91(H) 340 GL B14.4E - Kar; '88(F) 360 GLT B200E - Jet -> BKV 300 Runner Up 09; '89(G) 360 GLT B200E - Beast
'03 S60 D5 SE, '91 (J) MX5, 1954 Cyclemaster
Ex:
'89(F) 340 GL F7R (ex B172k) - Fake -> SBKV 300 Runner Up 08, 12; '91(H) 340 GL B14.4E - Kar; '88(F) 360 GLT B200E - Jet -> BKV 300 Runner Up 09; '89(G) 360 GLT B200E - Beast
Re: Nimminz' GLT Daily
the K-line, i remember that from drawing the diagrams. So that's the streaming data pin then. That's a rather good site I've not seen before, cheers!
Luckily I've got time to learn, my dad's bought a rasbery pi so i might have a play with that.
What I'm wanting to do is have the guages/ display and data logging at the same time. Although placement of a 3.2" touchscreen wasn't quite thought out by the designers
Luckily I've got time to learn, my dad's bought a rasbery pi so i might have a play with that.
What I'm wanting to do is have the guages/ display and data logging at the same time. Although placement of a 3.2" touchscreen wasn't quite thought out by the designers
'88 360 +T LSD - sold
'87 760 TDI (D24TIC) - sold
'04 V40 D sport (F9Q, decat, Remapped, launch control)
'89 740 SE (b230ft, 12psi, V-cam, headwork, 'remapped', banded steels)
'86 340 DL 1.4
'87 760 TDI (D24TIC) - sold
'04 V40 D sport (F9Q, decat, Remapped, launch control)
'89 740 SE (b230ft, 12psi, V-cam, headwork, 'remapped', banded steels)
'86 340 DL 1.4
Re: Nimminz' GLT Daily
Raspberry Pi is superbly overkill for what you need and will (I'd have thought) make life a bit harder than it needs to be. The one advantage it has over a PIC or AVR dev board is the ability to have a GUI running on the table, but that's the last thing you want in the car.
FWIW, I'd get the Arduino you have coming, make some words appear on the screen. Then, make those words change when you change a digital I/O pin. Then, make it display the value going into an analogue pin (I think AVR's have analogue in's.... if it has you have no need for a more accurate A/D, unless you need more channels). Making a varying analogue voltage is easy with a pot.
Then, make the numbers into a pretty graph. Then bolt into the car. Woooo!
FWIW, I'd get the Arduino you have coming, make some words appear on the screen. Then, make those words change when you change a digital I/O pin. Then, make it display the value going into an analogue pin (I think AVR's have analogue in's.... if it has you have no need for a more accurate A/D, unless you need more channels). Making a varying analogue voltage is easy with a pot.
Then, make the numbers into a pretty graph. Then bolt into the car. Woooo!
'89(G) 340 GLE B172k
'03 S60 D5 SE, '91 (J) MX5, 1954 Cyclemaster
Ex:
'89(F) 340 GL F7R (ex B172k) - Fake -> SBKV 300 Runner Up 08, 12; '91(H) 340 GL B14.4E - Kar; '88(F) 360 GLT B200E - Jet -> BKV 300 Runner Up 09; '89(G) 360 GLT B200E - Beast
'03 S60 D5 SE, '91 (J) MX5, 1954 Cyclemaster
Ex:
'89(F) 340 GL F7R (ex B172k) - Fake -> SBKV 300 Runner Up 08, 12; '91(H) 340 GL B14.4E - Kar; '88(F) 360 GLT B200E - Jet -> BKV 300 Runner Up 09; '89(G) 360 GLT B200E - Beast
Re: Nimminz' GLT Daily
Yeah Rasberry aint what i want. Got the arduino thing today, gonna have a play with it now. Its got loads of analog inputs 
Gonna try all the tutorials that come with the parts I've got, the displays, accelerometer, temp sensor etc. Then see about combining them. Start simple i think
Gonna try all the tutorials that come with the parts I've got, the displays, accelerometer, temp sensor etc. Then see about combining them. Start simple i think
'88 360 +T LSD - sold
'87 760 TDI (D24TIC) - sold
'04 V40 D sport (F9Q, decat, Remapped, launch control)
'89 740 SE (b230ft, 12psi, V-cam, headwork, 'remapped', banded steels)
'86 340 DL 1.4
'87 760 TDI (D24TIC) - sold
'04 V40 D sport (F9Q, decat, Remapped, launch control)
'89 740 SE (b230ft, 12psi, V-cam, headwork, 'remapped', banded steels)
'86 340 DL 1.4
Re: Nimminz' GLT Daily
Update on the car-back-on-the-road situation is that its nearly all back together, just the bearing carriers to take off, stick o-rings on, and put back on then make the gear linkages and everythings done. Then we've just gotta get the bellhousing off and find what the prop's stuck in, free it and whack all the good torquetube/gearbox and LSD on 
The Arduino's quite amusing, so far made an angle meter, shows 0-90degees left or right in one axis on a 7-segment dispay (in increments of 10) Need to find some resistors and the like before i can play with analogue inputs, got a light sensor, well LDR, to test things out with
I'll take some pretty pics for my next update
The Arduino's quite amusing, so far made an angle meter, shows 0-90degees left or right in one axis on a 7-segment dispay (in increments of 10) Need to find some resistors and the like before i can play with analogue inputs, got a light sensor, well LDR, to test things out with
I'll take some pretty pics for my next update
'88 360 +T LSD - sold
'87 760 TDI (D24TIC) - sold
'04 V40 D sport (F9Q, decat, Remapped, launch control)
'89 740 SE (b230ft, 12psi, V-cam, headwork, 'remapped', banded steels)
'86 340 DL 1.4
'87 760 TDI (D24TIC) - sold
'04 V40 D sport (F9Q, decat, Remapped, launch control)
'89 740 SE (b230ft, 12psi, V-cam, headwork, 'remapped', banded steels)
'86 340 DL 1.4
-
volvosneverdie
- *** V3M DONOR ***
- Posts: 9143
- Joined: 11 Nov 2008 04:22 pm
- Location: Newcastle Upon Toon
Re: Nimminz' GLT Daily
Including of the Arduino stuff 
My individual project for my degree was an inclinometer, managed to get 0.1degs between 0-80, 1 between 80-90. Which according to my tutors and the datasheets wasn't possible... so ended up having to do a load of proof work.
That took me 6months though, which just shows how awesome the current state of taking away the mundane really is. Great job dude. Can't wait till you have it on the car and able to log. (maybe a logging inclinometer is a good next step?)
My individual project for my degree was an inclinometer, managed to get 0.1degs between 0-80, 1 between 80-90. Which according to my tutors and the datasheets wasn't possible... so ended up having to do a load of proof work.
That took me 6months though, which just shows how awesome the current state of taking away the mundane really is. Great job dude. Can't wait till you have it on the car and able to log. (maybe a logging inclinometer is a good next step?)
'89(G) 340 GLE B172k
'03 S60 D5 SE, '91 (J) MX5, 1954 Cyclemaster
Ex:
'89(F) 340 GL F7R (ex B172k) - Fake -> SBKV 300 Runner Up 08, 12; '91(H) 340 GL B14.4E - Kar; '88(F) 360 GLT B200E - Jet -> BKV 300 Runner Up 09; '89(G) 360 GLT B200E - Beast
'03 S60 D5 SE, '91 (J) MX5, 1954 Cyclemaster
Ex:
'89(F) 340 GL F7R (ex B172k) - Fake -> SBKV 300 Runner Up 08, 12; '91(H) 340 GL B14.4E - Kar; '88(F) 360 GLT B200E - Jet -> BKV 300 Runner Up 09; '89(G) 360 GLT B200E - Beast
Re: Nimminz' GLT Daily
Yep the arduino makes things sooo easy, it feels like cheating
So far I have managed to get the accellerometer working with the small GLCD. Still loads to learn, took me ages to figure out how i was going to use 2 serial connections, one for acel. meter and one for LCD, i thought it would be hard but nope, can have up to 4 serials without having to play with 'chip select' which AFAIK is using the same data and clock lines but choosing which thing transmits and receives at what time. Anyway... Here it is in photos and a video
When I added 7-segment displays


Serial rec'd by computer - could easily be logged to SD from car.
x=
20 //output from Acc. meter
30 //x+10 as 'flat' value is -10
9.31 //Divide by 3.2222 as 90 deg. tilt gave me 280 so divided 290 by 90 (degrees) to give 3.22222 then divide x+10 by that to give rough degrees. I know thats not very good but was more an exersize in manipulating the serial input and sending it as output. Am doing it a much better way next

And the LCD with pretty fonts and a bar that moves
5 wires LCD->arduino MUCH better than 7-segs

Video of how far i've got with the LCD, will be miles better after a few hours tonight
http://www.youtube.com/watch?v=a22qBCDs ... e=youtu.be
I'm waiting on some resistors and stuff so i can properly try analogue inputs but reckon they'll be straight forwards. Plan for tonight is to get multiple pages on the LCD and buttons to navigate and sort the 'bar' thingy so its better
Thanks for looking
So far I have managed to get the accellerometer working with the small GLCD. Still loads to learn, took me ages to figure out how i was going to use 2 serial connections, one for acel. meter and one for LCD, i thought it would be hard but nope, can have up to 4 serials without having to play with 'chip select' which AFAIK is using the same data and clock lines but choosing which thing transmits and receives at what time. Anyway... Here it is in photos and a video
When I added 7-segment displays


Serial rec'd by computer - could easily be logged to SD from car.
x=
20 //output from Acc. meter
30 //x+10 as 'flat' value is -10
9.31 //Divide by 3.2222 as 90 deg. tilt gave me 280 so divided 290 by 90 (degrees) to give 3.22222 then divide x+10 by that to give rough degrees. I know thats not very good but was more an exersize in manipulating the serial input and sending it as output. Am doing it a much better way next

And the LCD with pretty fonts and a bar that moves

Video of how far i've got with the LCD, will be miles better after a few hours tonight
http://www.youtube.com/watch?v=a22qBCDs ... e=youtu.be
I'm waiting on some resistors and stuff so i can properly try analogue inputs but reckon they'll be straight forwards. Plan for tonight is to get multiple pages on the LCD and buttons to navigate and sort the 'bar' thingy so its better
Thanks for looking
'88 360 +T LSD - sold
'87 760 TDI (D24TIC) - sold
'04 V40 D sport (F9Q, decat, Remapped, launch control)
'89 740 SE (b230ft, 12psi, V-cam, headwork, 'remapped', banded steels)
'86 340 DL 1.4
'87 760 TDI (D24TIC) - sold
'04 V40 D sport (F9Q, decat, Remapped, launch control)
'89 740 SE (b230ft, 12psi, V-cam, headwork, 'remapped', banded steels)
'86 340 DL 1.4
Re: Nimminz' GLT Daily
That video looks nice Matt! Keep on it dude.
'89(G) 340 GLE B172k
'03 S60 D5 SE, '91 (J) MX5, 1954 Cyclemaster
Ex:
'89(F) 340 GL F7R (ex B172k) - Fake -> SBKV 300 Runner Up 08, 12; '91(H) 340 GL B14.4E - Kar; '88(F) 360 GLT B200E - Jet -> BKV 300 Runner Up 09; '89(G) 360 GLT B200E - Beast
'03 S60 D5 SE, '91 (J) MX5, 1954 Cyclemaster
Ex:
'89(F) 340 GL F7R (ex B172k) - Fake -> SBKV 300 Runner Up 08, 12; '91(H) 340 GL B14.4E - Kar; '88(F) 360 GLT B200E - Jet -> BKV 300 Runner Up 09; '89(G) 360 GLT B200E - Beast
Re: Nimminz' GLT Daily
http://www.youtube.com/watch?v=QqQIDUvnVPk
X,Y,Z axis now on a much nicer way of displaying it.
Here's how the code that makes the dot showing x+y looks :/
Won't be hard to tidy up but need a rest from it till later
X,Y,Z axis now on a much nicer way of displaying it.
Here's how the code that makes the dot showing x+y looks :/
Code: Select all
u8g.drawDisc(((x+280)/530.0*46.0)+11, ((y+280)/530.0*46.0)+10, 2);
//library.Filled circle(x co-ordinates, y-co-ordinates, radius
'88 360 +T LSD - sold
'87 760 TDI (D24TIC) - sold
'04 V40 D sport (F9Q, decat, Remapped, launch control)
'89 740 SE (b230ft, 12psi, V-cam, headwork, 'remapped', banded steels)
'86 340 DL 1.4
'87 760 TDI (D24TIC) - sold
'04 V40 D sport (F9Q, decat, Remapped, launch control)
'89 740 SE (b230ft, 12psi, V-cam, headwork, 'remapped', banded steels)
'86 340 DL 1.4
