DIY data logging - ordered some parts to play with
-
- 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
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.
-
Topic author - 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
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)
-
Topic author - 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
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
Sent from my Flux Capacitor using Mr Fusion Home Energy Reactor
The OLED screen is very nice, BTW; the contrast is much better than a backlit LCD
Sent from my Flux Capacitor using Mr Fusion Home Energy Reactor
-
Topic author - 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
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!
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!
-
- 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
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.
-
Topic author - 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
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 cablesChris_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.
-
- 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
I thought you meant the old centronics type one.
-
Topic author - 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
Oh heck no!Chris_D wrote:I thought you meant the old centronics type one.
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.
-
Topic author - 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
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.
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.
-
- 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
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
looks like an interesting project tho, whats the mirror mod? sounds intriguing
-
Topic author - 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
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
Original thread is here: http://www.mr2oc.co.uk/forums/41/147469.html
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/120911100878dawesy 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).
Mirror mod: http://www.youtube.com/watch?v=UZZIVFzEdXEdawesy wrote:whats the mirror mod? sounds intriguing
Original thread is here: http://www.mr2oc.co.uk/forums/41/147469.html
-
- 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
i like the look of the mirror mod, the link to the thread is broken though
-
Topic author - 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
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
-
- Administrator
- Posts: 5190
- 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: 117 times
- Contact:
Re: DIY data logging - ordered some parts to play with
Depends on the last post, what forum was it in ?