DIY data logging - ordered some parts to play with

the place to discus in car computers
The forum Administrator has chosen to advise you that this topic is 10 years and 10 months old and that you may wish to begin a new topic or use the search feature to find a similar but newer topic.

Chris_D
Posts: 266
Joined: 12/05/13 21:40
Years of MR2 Ownership: 1
MR2's Owned: 1
Gender: Male
Location: Bournemouth

Re: DIY data logging - ordered some parts to play with

Post by Chris_D »

The main purpose for my system is to allow real time monitoring of any sensor without a massive array of gauges, and more importantly for the system to monitor all sensors and warn the driver if something is going wrong. Normally the first thing a driver notices is when the engine starts misfiring or smoke starts coming out from the bonnet. I had such a system in my rally car 25 years ago, and I've had one in my competioin celica for the last 6 years. The current development I've shown is just me deciding to turn it into a marketable product and add some sought-after facilities such as logging and OBD2.


User avatar

Topic author
shinny
Posts: 4507
Joined: 07/05/06 1:00
Years of MR2 Ownership: 12
MR2's Owned: 6
Real Name: Mark
Gender: Male
Location: Reading, UK
Been thanked: 2 times
Contact:

Re: DIY data logging - ordered some parts to play with

Post by shinny »

Well, all the kit arrived this evening and, in a vast departure from the norm, I've actually done something! So far I have a rather expensive OLED clock (date, time and 25fps frame number) :laughing
User avatar

Topic author
shinny
Posts: 4507
Joined: 07/05/06 1:00
Years of MR2 Ownership: 12
MR2's Owned: 6
Real Name: Mark
Gender: Male
Location: Reading, UK
Been thanked: 2 times
Contact:

Re: DIY data logging - ordered some parts to play with

Post by shinny »

A little bit of proof... Mega 2560, RTC and OLED display hooked up together.

The OLED screen is very nice, BTW; the contrast is much better than a backlit LCD :th:

Sent from my Flux Capacitor using Mr Fusion Home Energy Reactor
You do not have the required permissions to view the files attached to this post.
User avatar

Topic author
shinny
Posts: 4507
Joined: 07/05/06 1:00
Years of MR2 Ownership: 12
MR2's Owned: 6
Real Name: Mark
Gender: Male
Location: Reading, UK
Been thanked: 2 times
Contact:

Re: DIY data logging - ordered some parts to play with

Post by shinny »

Time for bed... though I can happily say my rotary encoder is driving inputs on the Arduino now too. I've also hooked up the SD card module, but not tried to use it as yet I've not got a card to go in it.

I've realised I have a couple of old, gutted MR2 stereos kicking around, so one will become my case rather than a plastic cubby hole. The biggest unknown right now is exactly what multicore to use to run through the car to the ECU and what connector it should have on the data logger end. An old-school 25-pin parallel cable is a tempting idea, albeit slight overkill as there are only 6-8 signals to be taken at the ECU itself. With all the ideas in my head, I'll end up with many more wires than that coming out of this box though!

Chris_D
Posts: 266
Joined: 12/05/13 21:40
Years of MR2 Ownership: 1
MR2's Owned: 1
Gender: Male
Location: Bournemouth

Re: DIY data logging - ordered some parts to play with

Post by Chris_D »

I tend to favour D connectors as you can get them in PCB, solder, crimp and IDC forms and you can get decent quality ones with thick gold plating for damp environments.
User avatar

Topic author
shinny
Posts: 4507
Joined: 07/05/06 1:00
Years of MR2 Ownership: 12
MR2's Owned: 6
Real Name: Mark
Gender: Male
Location: Reading, UK
Been thanked: 2 times
Contact:

Re: DIY data logging - ordered some parts to play with

Post by shinny »

Chris_D wrote:I tend to favour D connectors as you can get them in PCB, solder, crimp and IDC forms and you can get decent quality ones with thick gold plating for damp environments.
A parallel cable is essentially a 25-pin D connector, so I tend to agree there. The pull of pre-made cables is rather strong, however; running meters of ribbon cable would be silly and I don't feel like soldering connectors onto cables :blush:

Chris_D
Posts: 266
Joined: 12/05/13 21:40
Years of MR2 Ownership: 1
MR2's Owned: 1
Gender: Male
Location: Bournemouth

Re: DIY data logging - ordered some parts to play with

Post by Chris_D »

I thought you meant the old centronics type one.
User avatar

Topic author
shinny
Posts: 4507
Joined: 07/05/06 1:00
Years of MR2 Ownership: 12
MR2's Owned: 6
Real Name: Mark
Gender: Male
Location: Reading, UK
Been thanked: 2 times
Contact:

Re: DIY data logging - ordered some parts to play with

Post by shinny »

Chris_D wrote:I thought you meant the old centronics type one.
Oh heck no! :laughing

TBH, I'm most tempted to use these PCB headers and crimped plugs with some multicore cable. Then the cable can plug directly into some veroboard, from where more jumper cables can feed into the Arduino board and some potential dividers can be applied to the 12V inputs.
User avatar

Topic author
shinny
Posts: 4507
Joined: 07/05/06 1:00
Years of MR2 Ownership: 12
MR2's Owned: 6
Real Name: Mark
Gender: Male
Location: Reading, UK
Been thanked: 2 times
Contact:

Re: DIY data logging - ordered some parts to play with

Post by shinny »

These are the inputs I'm after:

Battery
Ignition
Ground
Speed
Revs
Air temperature
IAT
Coolant temperature
Lambda
TPS
Wideband AFR
Boost
Injector (for duty cycle)
Brake

Of these, the following 8 are available behind the speedo:

Battery (DOME fuse)
Ignition (GAUGE fuse or RAD&CIG fuse)
Ground (Shares grounding with ECU, which is ideal)
Speed (Before delimiter, which is ideal)
Revs
Boost
AFR (Aftermarket kit installed behind steering column)
Brake (Switch on pedal)

So 6 remain that must be taken from the ECU:

IAT (THAM)
Air temperature (THA)
Coolant temperature (THW)
Lambda (OX)
TPS (VTA)
Injector (#10)

IIRC I already have THAM and OX wired up to a 4-core multicore, so another 5-6 cores (allowing 3-4 lines for further sensors or driving a relay) would suit nicely. However, buying and running a new 9 or 10 core cable would be easiest.
User avatar

dawesy
Posts: 1092
Joined: 23/10/10 17:51
Years of MR2 Ownership: 1
MR2's Owned: 1
Real Name: Lee
Gender: Male

Re: DIY data logging - ordered some parts to play with

Post by dawesy »

ive run a 9 pin serial cable to the ecu and innovate aux box. good thing with these is they are shielded cable (important to prevent noise in the signals).
looks like an interesting project tho, whats the mirror mod? sounds intriguing
Image
User avatar

Topic author
shinny
Posts: 4507
Joined: 07/05/06 1:00
Years of MR2 Ownership: 12
MR2's Owned: 6
Real Name: Mark
Gender: Male
Location: Reading, UK
Been thanked: 2 times
Contact:

Re: DIY data logging - ordered some parts to play with

Post by shinny »

Urgh - rotary encoders are not my friend. I was seriously struggling to debounce the inputs from it last night and still haven't achieved it well enough. Currently rotating the knob produces all kinds of wild input :no:
dawesy wrote:ive run a 9 pin serial cable to the ecu and innovate aux box. good thing with these is they are shielded cable (important to prevent noise in the signals).
Thanks for the prob about shielding, nearly forgot that! Just ordered some 8 core cable and a 15-pin PCB header to connect all the sensors to the data logger, which room for expansion: http://www.ebay.co.uk/itm/120911100878
dawesy wrote:whats the mirror mod? sounds intriguing
Mirror mod: http://www.youtube.com/watch?v=UZZIVFzEdXE

Original thread is here: http://www.mr2oc.co.uk/forums/41/147469.html
User avatar

dawesy
Posts: 1092
Joined: 23/10/10 17:51
Years of MR2 Ownership: 1
MR2's Owned: 1
Real Name: Lee
Gender: Male

Re: DIY data logging - ordered some parts to play with

Post by dawesy »

i like the look of the mirror mod, the link to the thread is broken though :sad:
Image
User avatar

Topic author
shinny
Posts: 4507
Joined: 07/05/06 1:00
Years of MR2 Ownership: 12
MR2's Owned: 6
Real Name: Mark
Gender: Male
Location: Reading, UK
Been thanked: 2 times
Contact:

Re: DIY data logging - ordered some parts to play with

Post by shinny »

Oh you're kidding me... the thread appears to have been pruned last night! I thought threads that got views weren't supposed to get pruned :no:
User avatar

jimi
Administrator
Administrator
Posts: 5166
Joined: 17/05/04 1:00
Years of MR2 Ownership: 18
MR2's Owned: 1
Gender: Male
Location: Glenrothes: The Kingdom of Fife
Has thanked: 45 times
Been thanked: 116 times
Contact:

Re: DIY data logging - ordered some parts to play with

Post by jimi »

Depends on the last post, what forum was it in ?
Black is not a colour ! .... Its the absence of colour
Image

Quick Reply

   
The forum Administrator has chosen to advise you that this topic is 10 years and 10 months old and that you may wish to begin a new topic or use the search feature to find a similar but newer topic.

Return to “Carputers”