![]() |
Adding doors auto-lock and oil t° display to your FRS / BRZ / 86
Hello everyone !
Since I bought my FRS a year ago, I was really missing two features : automatically closing the doors after starting to drive AND the oil temperature ! My old car that is almost 20 years old already had it ... so why Toyobaru did not make it from factory ?? Why !!? We'll never know ... Seeing this, and because I didn't wanted to buy some chinese OBD plug to do that, I started to work on an open source solution based on Arduino. For who's that don't know, an Arduino is like a "microcomputer" that you can program to do many things, and, in this case, to dial with the onboard CAN network. Why using an Arduino ? Because it costs almost nothing and could be used for many other things than just locking/opening doors (like showing Oil t°, etc.). I will not cover all the steps in this post, but just the main ones, so feel free to ask any questions, so others and I can respond to your requests accurately ;) I'm assuming that you are aware of Arduino development, C++ and CAN/OBD protocols. If not, ask your friend that knows ^^ Step 1: Getting all the needed parts First, you have to get an Arduino UNO ! For the Arduino to be able to read/write through CAN, you have to add an "extension" to it (a CAN shield) : http://www.ebay.fr/itm/SPI-MCP2515-E...8AAOSw2gxYrWH~ And then, you need a RS232/OBD cable (ebay again) Depending on where you get the parts, you might have to do some (really easy) soldering. You could add a nice box if you want to. Step 2: Uploading the software to the Arduino Once you have all the parts, you can download the CAN library and projects I've developped at : https://github.com/fontaromain/CANHelperLibrary Choose the Arduino project of interest and open it with the ArduinoIDE. You will have to copy the folder "CANHelperLibrary" next to the project ".ino" file in order to compile the project. Then upload it to the Arduino and you are done. Step 3: Install in car Plug it to your car with the shield configured to get it's power from the OBD link (it's the car that will power the Arduino directly through the OBD cable) and drive ! You can put the Arduino behind the glove box or anywhere you want, it's up to you. Explanation videos: [ame="https://www.youtube.com/watch?v=xC93xSPRaQE"]FRS/BRZ/86 oil temperature display - YouTube[/ame] [ame="https://www.youtube.com/watch?v=yW65quZttV8"]FRS/BRZ/86 Automatic doors lock - YouTube[/ame] Future: I'd like to get a cluster indicator to blink until the oil reach its correct temperature and to flash the shilftlight when too hot (to keep it plug and play with no needed car modifications). So I'm also requesting some help: does anyone knows which are the ODB messages to use to: - Make the shiftlight to blink ? (oil too hot) - Turn on / off various led indicators on the cluster (I was thinking "snow" indicator on MT as it is never user but there are others...) - Identify distant lock / unlock of the car so I can develop a power saving mode ? I could reverse engineer Techstream OBD messages (that's what I already did) but it's not a fun task, so any help is appreciated :) Sorry if some engrish is present in this post (don't hesitate to correct me :)) And have fun ! |
Not much help, but there is a product similar to what you are trying to do. Has an OEM look to it, as well.
Oh, and it's not Chinese. lol. Here's a link: http://www.ft86club.com/forums/showthread.php?t=47749 |
Well, your solution cost is really far from mine ($15) and don't lock the doors :)
|
This is a very interesting project. So am I understanding correctly that you are able to manipulate the coolant temp gauge through the OBD2 port?
|
Yes, but only by 1/4, I did not found the way to drive it smoothly by little steps.
But for this particular application this is not an issue, for me at least (it's nice to know that the oil is not cold / too hot, the exact temperature does not matter as long as it stays in normal ranges) |
This is really cool. I had no idea you could do this type of thing with an Arduino.
Time to start learning how to do this. I have had an Arduino laying around forever with no use. |
Thanks !
And you can do many more things through obd... Updated first post to have a nicer youtube integration :) |
Quote:
Are you able to get the speed from the car as MPH or only KPH? I have a spare Uno lying around. Think I finally have a project for it :) |
Quote:
If you are a software engineer I hope that my work matches you quality standards :) |
Quote:
I didn’t get a chance to read through all the docs yet. Can you use the e-brake engagement for the unlocking mechanism? |
Yes the e-brake could be done (because i saw the information in techstream).
However, I did not reverse engineer this specific obd message so it's not present in the current code. As a side note, I use the e-brake in traffic jams everyday, so I'm not sure it's a really good option :) But I can note that down for my future experiments. |
Can I use the new arduino r3 boards that they have now and attach the db9 serial port on top and get power through the serial to the board? This is what I was looking at adding. Really interested in this project.
https://www.amazon.com/MakerFocus-CA...BK7M303R553HZZ |
Quote:
|
Quote:
|
| All times are GMT -4. The time now is 12:11 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
User Alert System provided by
Advanced User Tagging v3.3.0 (Lite) -
vBulletin Mods & Addons Copyright © 2026 DragonByte Technologies Ltd.