I did electronics at Uni over 20 years ago and never touched it since, took a lot of reading to be able to get back in the swing.
 
Sorry to ask a question off topic. I first looked at Arduino boards about 6 weeks ago. If you were going to use one to monitor something over time, and record the data, would you have to connect it to something like a raspberry pi?
 
Sorry to ask a question off topic. I first looked at Arduino boards about 6 weeks ago. If you were going to use one to monitor something over time, and record the data, would you have to connect it to something like a raspberry pi?
Edited due to incompetence in correctly reading your question!!:oops:
 
Didn't see what you wrote. Doubt it would be incompetence, probably not fully awake at that time in the morning! :)
I was going to say that the Arduino is pretty well self contained but then I re-read that you wanted to use it as a sort of data logger but as it doesn't have any non-volatile memory (that I'm aware of) it would forget whatever it was logging when it was turned off.
 
You can get an SD card 'shield' to plug into the Duino, they're pretty cheap so you can dump the data out to that.

Or use a Pi, pretty sure code's pretty portable between the 2.
 
I was going to say that the Arduino is pretty well self contained but then I re-read that you wanted to use it as a sort of data logger but as it doesn't have any non-volatile memory (that I'm aware of) it would forget whatever it was logging when it was turned off.
You can get an SD card 'shield' to plug into the Duino, they're pretty cheap so you can dump the data out to that.

Or use a Pi, pretty sure code's pretty portable between the 2.

Thanks chaps, I thought that would be the case. It's a great idea to use the Arduino on the Landy. Awesome in fact.
I'm hoping to use one to monitor things in an aquaponics polytunnel. The idea has taken a back seat while I've been doing the Landy, but my mind is starting to turn to it now. You two clever fellas might be able to help me out in a few weeks time! :oops:
 
Be happy to help.
Cheers, Bennehboy. There might be a PM or two coming your way in 3 or 4 weeks time.
I could do some googling on this, but do you happen to know if you can get sensors to detect water conditions such as pH, nitrates, nitrites?
 
Ha ha, totally different area to oil pressures etc. :) Cheers, though. I may well be in touch!
 
So this has moved on a fair bit since I last posted, EGT is now being read successfully using a MAX31856 digital processor, all other sensors are working except oil pressure - mainly because I've not actually bought a sensor.

Made some other improvements too, the system now recognises when sensors are not connected and displays a no connection icon.

I'll be adding a digital incinometer when the part arrives next week, just need some suitable graphics.

Also moving the entire project onto a faster microcontroller which has more inputs - a Chinese Maple Mini clone.

Anyone who wants to hack the code can grab it from my github -> https://github.com/BennehBoy/LRDuino

Please feel free to make code contributions via github, my c++ is pretty sloppy :D
 
New version uploaded..

Now incorporates a low coolant level warning - this just flashes low coolant on one of the displays for now but should also emit a buzzer tone when the piezo I ordered arrives. It will also throw an error if the cabling is disconnected.

This can be wired directly to a BMW style coolant tank with low coolant sensor.

Fixed some bugs in the code.

[youtube]
 
Pushed the latest code online

https://github.com/BennehBoy/LRDuino

We now have a digital roll meter courtesy of an ADXL345 chip



I also tidied up the screens a fair bit

FC8_fmd7uwSQ5qIRqU1zXUx3SgQO1BeKJLuTKJXpG4Nds-yiZqI0CfFgUNROfpqqG8QiedkkxTpPe57l3qhduTP8OwaXa2vIrcVtAbm6tD4OHGF82brDaSRmXQ_37QGy_sfjYhFEmPN42XJ-ZkXv9lMXxDiN1m2GYEDB7jjnrx4SSqr7RqzcqvOqvAt0ClgworIw1FcMnQ4-tkjfhh7WpUvH6h6YtwyT9-XdHN6QaWFV_28YZIROGbBU_UWdbUCkpDHEgzcPdUgG7hKCOt8heuHAh-xFpiEc-noD80Lhk0zBEdDKDCoOZUSosfB-hRGm8QxyfveaWXW5sN6OWyUrSqbji8MmPgpc3jpXjshtQt-x36tObbgegH8wGPGZKBPDFCtyDsexWEkyuxjMtEUynN_XsuNH4Ur7S9JBj3IaSo_L4Fyu1-8mPauBfTlKkDzN6HSrUv-gwuiCCOeiUpKCW6QdVX9QEtSZ2bANpl9v6pEnlICHGskALArRVq-frMtXAE2GVHpp-BGdjP5mrM9sUTgXZ8uc5Oax62qEumljq691sn8YZtONsqcV464V8VgeG2WpP0K6Xy8mqulInSyqKaxPBSO1doZ5_Lo0CO6lpbUl5GSmyjVH=w1280-h960-no
 
Still working away on this.

The more I 'get into' things the more ambitious I seem to get.

Anyhow, I'm currently working on code that will directly read PID info from the TD5 ecu, this means that the standard sensors/fuelling info can be read just as a Nanocom does.

I've got the code bench tested and am building the circuitry at present to test this in vehicle with a live ECU.

I've also got a variant that will work with a bog standard ELM327 based bluetooth OBD dongle, meaning the system can work in just about any modern OBD compliant vehicle.

Photo of the device reading OBD PIDs for RPM & Speed below:
tV0xeyKyy99j2ZlpdRdaU3iNwovcsISXSLxqFvweGoa577EDKUxMd6r5zrx3PYtpXfRliqvnM0mon1PpL36qbtpLbGM_ZQgJDKxvAJxeM64WLCytOTN1hDxu1FUlNqKHRVN19dQ6PjAM-u1V6-Hig_YpddsVYGYOUOJHd-nfeMIN1mCg_Mpg-0zF58AWpaqkWj9lfsUdgBGQGLb7SzIw56nkjl591BPDXCEnQJfw5_C4-PbgeITm3Ab9HoKLFrVFH0H6ho168HTkI4U1yOXtSkhX0YByDxnuQg5e0CRifVUyZ0Mu3RwjOFCoVSbR3Ao6hSShuvRP0kNB9LWLgZiCjs2lpuMIKN2KTL0tPBOFD_VNGUxwB3TVUWuFdOrxlCGHa6-kakyFiy6R69w7kzqiM_JLzxeykVkSw2x3z1PKNTJq4L6GkfcE_V4Zb31D4IlD_d0X3QGP_4eCFh9cBaH0qklgQhGgzds8fDT-8XkX8vOZdupiXZC4zfjzKoPd-7fwRMmZ5U-XqrYmDXKInLiRPix9u0-MeaBRpcclDAoL3sB0TIBOJsqDvgB4sIBzEfvMTrIe96NL1BgtogRpDURRxgGEoAkDphlxSdrxIcgRxqm58h89kTEZpToZ0ZArKvgBGSUVBbTqjfQgceE0MRAu3pSBLRw3qp0jA9WmtdB5tQ=w1440-h1080-no
 
My project now has a menu system and can talk to an emulated TD5 Ecu.

I've got an MSB ECU here with topside switch failure that I'll be bench testing against once the econoseal connector for the black plug arrives in the post.

Assuming all goes well there, I've got a little bit of K-line sniffing to do to get my code handling fault reading/clearing, then it's time to build out on stripboard for the car.

The system can also log data to a micro SD card.

Here's a photo (although caught the displays mid refresh) of the system reading a few PID's from the emulator (running on an Arduino Uno with LCD screen):

z2K5S9hZqC2CwGlh8ng5DNnZP_mjqPeIGvqpJbxZ0qYgw5sp5UWMgAjumCt0UgR8Eq0PUP3TFqkE8C0WxX7xTdEKp9qKotaZiC13cwGdvKNB6C0Ao058rjrVQElMWNI0dNH3i8SP4uqgW_P8y04DMW7Eft0h9UpEh55BuLzTV1jkvmzXh6gOaPxsW6iAR3XpAdqDwPnsafMx2v3X8I2ZytaW9QzjrcCpwDyWFyxVjDRBrMcLdxvqnR5gdZLPq3awoIzZBc6yELeJwjL4t9oA-p5yzgWgfZXBSHGuvgwsng4-GQf2zr2Ce-0zGNh3OmDXbxL5WCHzhHZRtfVpaNiH9bM1SWc92sOGpzDAyHrdcJ1fWT5VpXgqfcjjelAa5WvfthyOB-KeEalzlkN-fCUkcjXQjxeo3SnMTYMTeqDQydreR2G7K414Ehwkj3Rz82u5op52mRESNCK1AQX1HQtu2OCIZ3-rhTF3UDZcbIcRnhbYXU81tI6PJGvmcxALOvGoBIGzxIOfxFcT8zdlnfjhpVge_YsioI3ng9MFkZc4UYYsAMkqCdqKOIpbO6XQHJq0z5Lx5HWhNZVvWwYG1QMy5JVIJBURUHLmGT9DYmYNuaSxHRfk7t7HxmiTBNHF1Fmx0ZTJwKTLAbY1LX4diAKjJybKlnnhAg6y9KkgxMw5ERs=w1280-h960-no
 
Are you just showing off now? :D
That's awesome, mate. Looking forward to seeing it built up for going in the car. Superb work. After 20yrs, it's obviously all flooding back. :cool:
 
Ha, I just thought it made sense that since it will be a permanent fixture it may as well be able to do a subset of what the nanocom can.

I think the nanocom is great but it's such a pain to have plugged in and mounted.
 
Ha, I just thought it made sense that since it will be a permanent fixture it may as well be able to do a subset of what the nanocom can.

I think the nanocom is great but it's such a pain to have plugged in and mounted.
Ya doin it again! :p I'm reading the words, but it sounding like Greek ;) Ha, ha. Does make a bit of sense to be honest.
 
Still working away on this.

The more I 'get into' things the more ambitious I seem to get.

Anyhow, I'm currently working on code that will directly read PID info from the TD5 ecu, this means that the standard sensors/fuelling info can be read just as a Nanocom does.

I've got the code bench tested and am building the circuitry at present to test this in vehicle with a live ECU.

I've also got a variant that will work with a bog standard ELM327 based bluetooth OBD dongle, meaning the system can work in just about any modern OBD compliant vehicle.

Photo of the device reading OBD PIDs for RPM & Speed below:
tV0xeyKyy99j2ZlpdRdaU3iNwovcsISXSLxqFvweGoa577EDKUxMd6r5zrx3PYtpXfRliqvnM0mon1PpL36qbtpLbGM_ZQgJDKxvAJxeM64WLCytOTN1hDxu1FUlNqKHRVN19dQ6PjAM-u1V6-Hig_YpddsVYGYOUOJHd-nfeMIN1mCg_Mpg-0zF58AWpaqkWj9lfsUdgBGQGLb7SzIw56nkjl591BPDXCEnQJfw5_C4-PbgeITm3Ab9HoKLFrVFH0H6ho168HTkI4U1yOXtSkhX0YByDxnuQg5e0CRifVUyZ0Mu3RwjOFCoVSbR3Ao6hSShuvRP0kNB9LWLgZiCjs2lpuMIKN2KTL0tPBOFD_VNGUxwB3TVUWuFdOrxlCGHa6-kakyFiy6R69w7kzqiM_JLzxeykVkSw2x3z1PKNTJq4L6GkfcE_V4Zb31D4IlD_d0X3QGP_4eCFh9cBaH0qklgQhGgzds8fDT-8XkX8vOZdupiXZC4zfjzKoPd-7fwRMmZ5U-XqrYmDXKInLiRPix9u0-MeaBRpcclDAoL3sB0TIBOJsqDvgB4sIBzEfvMTrIe96NL1BgtogRpDURRxgGEoAkDphlxSdrxIcgRxqm58h89kTEZpToZ0ZArKvgBGSUVBbTqjfQgceE0MRAu3pSBLRw3qp0jA9WmtdB5tQ=w1440-h1080-no
Hi mate
I just came across this thread and loving what you've done so far. All the way through the thread I was wondering how hard it would be to adapt for a Freelander but if you can use it with an ELM327 bluetooth then there's no reason why it couldn't be adapted.
Don't suppose you have a circuit diagram for this do you?
 

Similar threads