|
DIY (Do-It-Yourself) Guides For all DIYs. |
|
Thread Tools | Search this Thread |
11-13-2017, 11:46 AM | #1 |
Member
Join Date: Jun 2017
Drives: European gt86
Location: France
Posts: 92
Thanks: 36
Thanked 23 Times in 14 Posts
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
|
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 ! Last edited by T0rt0r0; 11-16-2017 at 02:40 PM. |
The Following 6 Users Say Thank You to T0rt0r0 For This Useful Post: | bcj (11-13-2017), chaoskaze (11-18-2017), tintumz22 (04-13-2018), Ultramaroon (11-14-2017), voyager2285 (11-18-2017), Wyattkb (11-16-2017) |
11-13-2017, 11:06 PM | #2 |
Member
Join Date: Apr 2017
Drives: 2016 Subaru BRZ
Location: Charlotte, NC
Posts: 39
Thanks: 5
Thanked 24 Times in 15 Posts
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
|
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 |
11-14-2017, 01:24 PM | #3 |
Member
Join Date: Jun 2017
Drives: European gt86
Location: France
Posts: 92
Thanks: 36
Thanked 23 Times in 14 Posts
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
|
Well, your solution cost is really far from mine ($15) and don't lock the doors
|
The Following User Says Thank You to T0rt0r0 For This Useful Post: | Chimera (03-05-2018) |
11-14-2017, 02:14 PM | #4 |
Senior Member
Join Date: Sep 2017
Drives: 2022 BRZ Limited Silver
Location: Jacksonville, FL
Posts: 2,533
Thanks: 882
Thanked 2,047 Times in 1,190 Posts
Mentioned: 68 Post(s)
Tagged: 0 Thread(s)
|
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?
|
11-14-2017, 02:52 PM | #5 |
Member
Join Date: Jun 2017
Drives: European gt86
Location: France
Posts: 92
Thanks: 36
Thanked 23 Times in 14 Posts
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
|
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) |
11-16-2017, 04:56 AM | #6 |
Senior Member
Join Date: Oct 2013
Drives: 2014 Whiteout FRS
Location: United States
Posts: 444
Thanks: 56
Thanked 159 Times in 87 Posts
Mentioned: 3 Post(s)
Tagged: 1 Thread(s)
|
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. |
11-16-2017, 02:42 PM | #7 |
Member
Join Date: Jun 2017
Drives: European gt86
Location: France
Posts: 92
Thanks: 36
Thanked 23 Times in 14 Posts
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
|
Thanks !
And you can do many more things through obd... Updated first post to have a nicer youtube integration |
11-16-2017, 03:13 PM | #8 | |
Senior Member
Join Date: Jul 2013
Drives: '17 Limited BRZ CWP w/ PP
Location: San Jose, CA
Posts: 5,813
Thanks: 14,153
Thanked 6,524 Times in 3,234 Posts
Mentioned: 71 Post(s)
Tagged: 0 Thread(s)
|
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 |
|
11-16-2017, 03:43 PM | #9 | |
Member
Join Date: Jun 2017
Drives: European gt86
Location: France
Posts: 92
Thanks: 36
Thanked 23 Times in 14 Posts
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
|
Quote:
If you are a software engineer I hope that my work matches you quality standards |
|
The Following User Says Thank You to T0rt0r0 For This Useful Post: | spike021 (11-16-2017) |
11-16-2017, 04:41 PM | #10 | |
Senior Member
Join Date: Jul 2013
Drives: '17 Limited BRZ CWP w/ PP
Location: San Jose, CA
Posts: 5,813
Thanks: 14,153
Thanked 6,524 Times in 3,234 Posts
Mentioned: 71 Post(s)
Tagged: 0 Thread(s)
|
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? |
|
11-16-2017, 05:04 PM | #11 |
Member
Join Date: Jun 2017
Drives: European gt86
Location: France
Posts: 92
Thanks: 36
Thanked 23 Times in 14 Posts
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
|
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. |
The Following User Says Thank You to T0rt0r0 For This Useful Post: | spike021 (11-17-2017) |
11-17-2017, 10:58 AM | #12 |
Senior Member
Join Date: Nov 2013
Drives: '15 FR-S RS 1.0
Location: Lemoore, CA
Posts: 110
Thanks: 11
Thanked 31 Times in 20 Posts
Mentioned: 4 Post(s)
Tagged: 0 Thread(s)
|
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 |
11-17-2017, 01:28 PM | #13 | |
Senior Member
Join Date: Jul 2013
Drives: '17 Limited BRZ CWP w/ PP
Location: San Jose, CA
Posts: 5,813
Thanks: 14,153
Thanked 6,524 Times in 3,234 Posts
Mentioned: 71 Post(s)
Tagged: 0 Thread(s)
|
Quote:
|
|
11-17-2017, 01:31 PM | #14 | |
Member
Join Date: Jun 2017
Drives: European gt86
Location: France
Posts: 92
Thanks: 36
Thanked 23 Times in 14 Posts
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
|
Quote:
|
|
The Following User Says Thank You to T0rt0r0 For This Useful Post: | socal_48 (11-17-2017) |
|
|
Thread Tools | Search this Thread |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Auto locking doors | Thavash | AFRICA | 21 | 02-12-2019 02:23 PM |
Auto locking doors | Magyarman | Issues | Warranty | Recalls / TSB | 13 | 01-23-2019 09:25 PM |
Doors won't lock. | mynameis940 | Issues | Warranty | Recalls / TSB | 9 | 03-15-2018 03:05 PM |
Auto Lock (Doors) | pinoyplaya | BRZ First-Gen (2012+) -- General Topics | 67 | 11-13-2017 11:47 AM |
Doors won't automatically lock | adan | Issues | Warranty | Recalls / TSB | 18 | 03-01-2014 11:02 AM |