|
BRZ First-Gen (2012+) -- General Topics All discussions about the first-gen Subaru BRZ coupe |
|
Thread Tools | Search this Thread |
11-01-2023, 07:22 PM | #15 |
Senior Member
Join Date: May 2020
Drives: BRZ ts
Location: SACRAMENTO
Posts: 758
Thanks: 415
Thanked 796 Times in 303 Posts
Mentioned: 8 Post(s)
Tagged: 1 Thread(s)
|
|
11-01-2023, 08:04 PM | #16 | |
Member
Join Date: Feb 2023
Drives: 2017 GT86
Location: California
Posts: 45
Thanks: 6
Thanked 24 Times in 15 Posts
Mentioned: 1 Post(s)
Tagged: 0 Thread(s)
|
Quote:
CAN ID 208 (315 for 2nd gen). Byte 6 is lateral acceleration, byte 7 is longitudinal. I'm not sure the actual scale, but there's a 2x difference between the lateral and longitudinal values. |
|
11-02-2023, 12:38 AM | #17 | |
Senior Member
Join Date: Nov 2018
Drives: Subaru BRZ 2017
Location: New Jersey
Posts: 198
Thanks: 3
Thanked 43 Times in 29 Posts
Mentioned: 6 Post(s)
Tagged: 0 Thread(s)
|
Quote:
But then again if you are just sniffing and sending commands (like doing active tests) , i do think the knock one should do that bare minimum. Programming and other intricate stuff is when things start to get kinda shoddy for the knock offs. I also use it in conjunction with a homemade arduino canbus sniffer and i'm able to connects it to the pin that's behind the car stereo (this is an unused 6 pin connect hidden behind the stereo dashboard all the way back which carries a canH/canL and constant current. I have a feeling that was probably meant for a a future stereo design to be able to show/tinker with vehicle stuff but perhaps later carried over the the second gen - who knows. |
|
11-02-2023, 12:39 AM | #18 | ||
Senior Member
Join Date: Nov 2018
Drives: Subaru BRZ 2017
Location: New Jersey
Posts: 198
Thanks: 3
Thanked 43 Times in 29 Posts
Mentioned: 6 Post(s)
Tagged: 0 Thread(s)
|
Quote:
Quote:
|
||
11-02-2023, 03:44 AM | #19 | ||
Senior Member
Join Date: Apr 2019
Drives: 86 GT
Location: Malaysia
Posts: 359
Thanks: 230
Thanked 210 Times in 107 Posts
Mentioned: 2 Post(s)
Tagged: 0 Thread(s)
|
Quote:
Quote:
How did you manage to trigger the ACC though?
__________________
DIY stuff at Compelica Works
|
||
11-28-2023, 05:05 PM | #20 | |
Senior Member
Join Date: Nov 2018
Drives: Subaru BRZ 2017
Location: New Jersey
Posts: 198
Thanks: 3
Thanked 43 Times in 29 Posts
Mentioned: 6 Post(s)
Tagged: 0 Thread(s)
|
Quote:
|
|
11-30-2023, 02:15 PM | #21 | |
Senior Member
Join Date: Nov 2018
Drives: Subaru BRZ 2017
Location: New Jersey
Posts: 198
Thanks: 3
Thanked 43 Times in 29 Posts
Mentioned: 6 Post(s)
Tagged: 0 Thread(s)
|
Quote:
Now of course, you would need to have the key in the car. I just ordered a transponder bypass - was going to go totally different route but would be time consuming and probably even more hacky. There is other list of canbus ids I've compiled like door/truck lock/ windows control/ various lights, buzzer sounds horns that you can manipulate and trigger at will, and even the HVAC (only applies to the HVAC (with the auto climate control obviously). It will be controlled via Arduino (MKR1500 - IoT/LTE connection0 and also with the canbus shield). it makes the whole unit VERY compact working on unison. Quite the project so I'm hoping to share it in the future as soon as it comes to fruition. |
|
The Following 2 Users Say Thank You to ojuniour For This Useful Post: | Compelica (12-01-2023), whataboutbob (12-10-2023) |
12-09-2023, 10:09 AM | #22 | |
Senior Member
Join Date: Apr 2019
Drives: 86 GT
Location: Malaysia
Posts: 359
Thanks: 230
Thanked 210 Times in 107 Posts
Mentioned: 2 Post(s)
Tagged: 0 Thread(s)
|
Quote:
__________________
DIY stuff at Compelica Works
|
|
12-11-2023, 11:21 AM | #23 | |
Senior Member
Join Date: Nov 2018
Drives: Subaru BRZ 2017
Location: New Jersey
Posts: 198
Thanks: 3
Thanked 43 Times in 29 Posts
Mentioned: 6 Post(s)
Tagged: 0 Thread(s)
|
Quote:
There is a command to cut fuel to the engine cylinders though but that's about it at the moment. IT puts the car in ACC mode. I'll let you know if (and when) I do eventually have a valid solution without manually wiring the ignition/startup wire(s). |
|
The Following User Says Thank You to ojuniour For This Useful Post: | Compelica (12-11-2023) |
12-19-2023, 04:41 PM | #24 | |
Senior Member
Join Date: Nov 2018
Drives: Subaru BRZ 2017
Location: New Jersey
Posts: 198
Thanks: 3
Thanked 43 Times in 29 Posts
Mentioned: 6 Post(s)
Tagged: 0 Thread(s)
|
Quote:
Such a pain to decipher the CanBus. (Courtesy to SSM4 though - Techstream wasn't able to give me enough). The hurdle I was encountering has to do with the fact that our vehicle (for some godly reason) has TWO! ignition state that are operated independently of each other. When we turn on our car it cycles through each start before cranking. Anyway long story short, I am now able to access those states. Infact I can trigger three separate states (while the vehicle is completely off): Ignition 1 Ignition 2 ACC Cranking Now I'm not quite sure if the combination of IGN1 and IGN2 = ACC (I'm going to assume it does) or ACC is another separate state. I haven't done a full test yet. I do know for a fact that triggering IGN2 state almost seems like it's in ACC mode because all the lights power up and radio, dashlights, etc.. but weirdly enough the windows don't roll up/down - Basically the module responsible for that isn't getting power. This basically means that IGN1 is responsible for that (among other components I've yet to test). Triggering just the IGN1 state (you can hear some relays clicking but no lights - dash/radio..) helps me roll down the Windows up and down while the complete has been off (for more than 40 sec or the door was opened). The state responsible for that I believe is IG1, as activates the relay that up the (BCM?) ECU. I am now able to start the engine from cold start without manually putting it in ACC mode. I will post the canbus command to send later and perhaps to stop the engine also but I need to make sure it's secured. I would hope it won't let me do that unless the transponder detects key because if you can send this without the key , then oh boy! - In that case I won't post the canbus and PIDs here publicly. Give me few more days to fully compile things. Remote start with my arduino is becoming a reality now. |
|
The Following User Says Thank You to ojuniour For This Useful Post: | Compelica (12-25-2023) |
12-20-2023, 12:08 AM | #25 |
Senior Member
Join Date: Nov 2018
Drives: Subaru BRZ 2017
Location: New Jersey
Posts: 198
Thanks: 3
Thanked 43 Times in 29 Posts
Mentioned: 6 Post(s)
Tagged: 0 Thread(s)
|
Minor Update (After additional testing):
So it seems like the cranking system proceeds like this: 1. ACC --> ACC mode will ONLY starts the radio and provides continuous power to the cigarette's port. 2. IGN1 --> Initiates power to the Door windows (and maybe other components I'm not aware of) 3. IGN2 --> Initiates essential electronics to the rest of the components (dash lights, relays , other ecus ..etc) 4. STSW --> Initiates power to PSC ECU that sends the ECM a 12-volt start switch request voltage to starts the car (starter switch) |
The Following User Says Thank You to ojuniour For This Useful Post: | bcj (12-21-2023) |
12-24-2023, 11:48 PM | #26 |
Senior Member
Join Date: Nov 2018
Drives: Subaru BRZ 2017
Location: New Jersey
Posts: 198
Thanks: 3
Thanked 43 Times in 29 Posts
Mentioned: 6 Post(s)
Tagged: 0 Thread(s)
|
Unfortunately, I've yet to find the Canbus address to stop the completely turn off the car and I'm not sure if and when I'm gonna be able to figure out the command . See my post below as to why and a potential alternative (depending on on your use case especially if you want it as a remote start)
|
12-25-2023, 01:19 AM | #27 |
Senior Member
Join Date: Nov 2018
Drives: Subaru BRZ 2017
Location: New Jersey
Posts: 198
Thanks: 3
Thanked 43 Times in 29 Posts
Mentioned: 6 Post(s)
Tagged: 0 Thread(s)
|
Alright..
Upon further diagnosis I am able to FULLY start the vehicle with just two commands. First command that put the car into FULL ACC Mode - ACC + IGN1 + IGN2 (kinda like pressing the brake (or clutch for MT) and pushing the start/stop but without cranking) - There is a canbus msg that would trigger all three states at same time. The Second command that I send basically cranks the engine. Now here is the caveat, you have to continue sending the the initial FULL ACC Mode canbus message at least once every 5 second else the car would automatically shut off completely. This ACTUALLY works superb for my use case since I'll be remote starting anyway and i don't have to send a separate shut off command. I've yet to find a message that can shut off the ACC/IGN1/IGN2 if the car was started by a normal procedure, unfortunately. The closest I can do is being able to cut fuel to the engine..But car won't completely shut off and would just cut power to engine but not the electrical part which means the ACC and all the lights would remain active. I believe i might be able to eventually figure out the command if i continue to brute force but at this moment I have sorta reached my goal for remote start via my Arduino. Another thing I discovered that's very crucial to my remote start quest would be the hand-over method when you are ready to start driving the car after the car was started originally from a remote start. I kind of already thought about just stop sending command to the ecu as soon as the door state changed (from Closed to Opened) or if the brake pedal was pressed. So No biggie! But then the question would be, well the engine doesn't exactly shut off RIGHT after I stopped sending the command as it takes about 5 seconds to be exact for the engine to shut off. Anyone can just quickly get in, put in gear and start driving , right? -with or without key. Well apparently the ECU DOES NOT CARE! It still shuts off even if you are in drive. LOL. Less thing to worry about it. Almost perfect for remote start and quite frankly good enough. Now there is a caveat though (yea I know), you can actually override that by doing something interesting as soon as you get into the car and the car would switch to the normal state and the engine won't shut off. At this point I can't override the ACC MODE. Doing this override basically switches the car into the normal start that assumed a normal starting operation. I won't mention it here but you can PM me or email me if you are interested. I am probably going to add that in my code that would basically kill the engine if you try to override but no key is detected - Yes I have the Canbus command that detects if the chip key is nearby or not. Easy fix for that. Oh before I forgot I also tried sending the remote starting command without eh key presented. Interestingly enough (to my surprise) it actually started but shuts off like a second later indicating to me (in the lcd display) that I need to depress and have the key near the ignition). Perhaps in the future I'll look into finding the command that would bypass they key and tricking the ecu that the key is presented but not a priority at the moment since i already bought a immobilizer transponder bypass. So in retrospect after many trials and brute forces, I have the canbus commands that can do this follow while the car is completely off: unlock/lock doors unlock trunk Roll up/down windows headlight/Tailight on/off Various (or practically all icons) in the gauge, Drive Mode (sport/snow for AT) ACC mode on/off IGN1 on/off IGN2 on/off Crank Cut Fuel to Engine HVAC (all functionalities - only applies to the one with dual zones - not the manual ones. Car would also need to be running else it's pointless) There are other miscellaneous stuff too that i can control remotely but not that important like horn, hazard light, interior buzzer sound, courtesy lights, dome light. There are also read only status messages to get info like tire pressure/temperature, etc... --------------------- I am still debating on whether to post all the canbus codes here or not. Anyway, Now I am ready to finish up the code for my remote start. I'm using arduino MKR 1500 (with built in 4g cat/nbIoT simcard) with the canbus shield which makes it SUPER portable compared to a conventional remote start kit which would require wire cutting and stuff. Infact the only thing that require some cutting might just be the immobilizer. Also anyone that want to find a message that control particular function or rather a status message. Feel free to ask and in that case it's just preferable to start a whoile new topic. Cheer! |
The Following 2 Users Say Thank You to ojuniour For This Useful Post: | Compelica (12-25-2023), whataboutbob (12-26-2023) |
12-25-2023, 10:57 PM | #28 | ||||
Senior Member
Join Date: Apr 2019
Drives: 86 GT
Location: Malaysia
Posts: 359
Thanks: 230
Thanked 210 Times in 107 Posts
Mentioned: 2 Post(s)
Tagged: 0 Thread(s)
|
Quote:
Quote:
And to prevent this shutoff from happening, the override command has to be sent? Quote:
Quote:
With the headlight/taillights you can basically adopt some form of follow-me-home setup with the Arduino too, lots of possibilities. Would love to work on something more programmable in the future but will have to use with what I have for now. If you need any testing with the canbus commands I can help out for sure. As mentioned before I'm using an ELM327 to send/receive commands, though it's a bit limited as ELM327 can't send more than a certain number of bytes in a single frame (IIRC turning on gauge lights require payloads larger than what ELM327 can support). I'm on a 2015 MT GT86 prefacelift. Certainly exciting - one step closer towards a DIY remote start
__________________
DIY stuff at Compelica Works
Last edited by Compelica; 12-25-2023 at 10:58 PM. Reason: clarity |
||||
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Possible vehicle coding? BMW Guy | gskv | Software Tuning | 2 | 11-24-2016 02:01 PM |
Canbus solution | Zer0 | Engine Swaps | 71 | 09-30-2016 05:18 AM |
Odb2/canbus flexibility | Futaba | Electronics | Audio | NAV | Infotainment | 1 | 08-25-2015 03:00 PM |
CanBus Triple | xjohnx | Electronics | Audio | NAV | Infotainment | 8 | 01-31-2015 11:39 AM |
CANBus | pseudo | Electronics | Audio | NAV | Infotainment | 4 | 09-03-2014 01:11 PM |