|
|
#141 |
|
Member
Join Date: Aug 2014
Drives: MY15 86 GTS
Location: Australia
Posts: 45
Thanks: 15
Thanked 20 Times in 11 Posts
Mentioned: 6 Post(s)
|
@joshb86 sounds like something is wrong there. The digital io on the micro is just a transistor. Shouldn't have any issues pulling this line low.
Just sketch up what you have in any format. Bit hard to tell how you have hooked it up from the pics. Sent from my GT-I9100T using Tapatalk |
|
|
|
|
|
#142 | |
|
Member
Join Date: Jun 2014
Drives: '13 FR-S
Location: Huntsville AL
Posts: 33
Thanks: 2
Thanked 2 Times in 2 Posts
Mentioned: 3 Post(s)
|
Quote:
|
|
|
|
|
|
|
#143 |
|
Member
Join Date: Jun 2014
Drives: '13 FR-S
Location: Huntsville AL
Posts: 33
Thanks: 2
Thanked 2 Times in 2 Posts
Mentioned: 3 Post(s)
|
How's this?
|
|
|
|
|
|
#144 |
|
Member
Join Date: Aug 2014
Drives: MY15 86 GTS
Location: Australia
Posts: 45
Thanks: 15
Thanked 20 Times in 11 Posts
Mentioned: 6 Post(s)
|
A few things jump out.
Firstly, on the switch. It looks like you have the resistor connected between D9 and the Negative terminal? And the switch is switching positive? Normal convention is use the resistor to pull the I/O high (pull up) and then switch to ground to pull the terminal low. Either way will work, but the convention is safer. When using a pull up, you need to invert the program logic. However, when looking at the ATMEGA32U4 documents, I can see that these ports already have built-in pull-ups, you just need to enable for this pin and then you won't need the extra external component. As for the output, a first thought is to check the voltage between the negative output from your power supply and the vehicle negative (chassis). If this is switching supply they may not be common. The brake ECU signal (VSC) is referencing chassis ground, so the signal needs to be 'low' in relation to this. But before going any further, one comment you made confused me a bit! You said "You do need a transistor on the VSC. Without it the digital pin even at low still sets off the VSC mode" Maybe there is some miss-understanding here? The VSC line you have connected to is low switching, so when you hit the button on the console, it connects this line to ground. So I would expect the IO at low to enable the VSC as described. The transistor you have hooked up will in effect invert this. So a high IO signal will apply a low to the VSC. I have an idea what was happening, but before I go any further a question: Before you hooked up the transistor, was the VSC state the same no matter what level the IO pin was? -Mig |
|
|
|
|
|
#145 | |
|
Member
Join Date: Jun 2014
Drives: '13 FR-S
Location: Huntsville AL
Posts: 33
Thanks: 2
Thanked 2 Times in 2 Posts
Mentioned: 3 Post(s)
|
Quote:
Hmm I think I even confused myself with the million different variations I attempted. Looking at my photo when I first setup the switch, I had the resistor between the switch and ground(pic attached). To answer your question... everything you just said makes more sense now. During my testing I don't think I ever tried just starting out with the VSC pin on high. I just assumed that LOW was the way to go so in all my testing the pin started at LOW. I'm surprised I even got it working at all now lol... Helpful to have someone who knows what they are doing look at the setup. |
|
|
|
|
|
|
#146 |
|
Senior Member
Join Date: Oct 2012
Drives: 2013 BRZ satin white pearl sportech
Location: Thunder Bay Ontario Canada
Posts: 1,813
Thanks: 842
Thanked 911 Times in 576 Posts
Mentioned: 43 Post(s)
|
I can't wait until someone produces these!!! Cash in hand!!!
__________________
2013 SWP BRZ sportech. 11.11sec@129.01mph, 511whp on e70. FullBlown base kit, FullBlown built 9.5:1 engine, GTX3076R GEN2 turbo, 1700cc Bosch injectors, FullBlown flex fuel kit, FullBlown radiator and oil cooler, FullBlown custom 3" dual exit exhaust, act xtreme clutch, whiteline diff and subframe inserts, BC Racing coilovers, hotchkiss 18mm rear sway, is300 3.73 differential ... Never finished
|
|
|
|
|
|
#147 | |
|
Member
Join Date: Jun 2014
Drives: '13 FR-S
Location: Huntsville AL
Posts: 33
Thanks: 2
Thanked 2 Times in 2 Posts
Mentioned: 3 Post(s)
|
Quote:
|
|
|
|
|
|
|
#148 |
|
Senior Member
Join Date: Oct 2012
Drives: 2013 BRZ satin white pearl sportech
Location: Thunder Bay Ontario Canada
Posts: 1,813
Thanks: 842
Thanked 911 Times in 576 Posts
Mentioned: 43 Post(s)
|
Hell yeah I want one!!!
__________________
2013 SWP BRZ sportech. 11.11sec@129.01mph, 511whp on e70. FullBlown base kit, FullBlown built 9.5:1 engine, GTX3076R GEN2 turbo, 1700cc Bosch injectors, FullBlown flex fuel kit, FullBlown radiator and oil cooler, FullBlown custom 3" dual exit exhaust, act xtreme clutch, whiteline diff and subframe inserts, BC Racing coilovers, hotchkiss 18mm rear sway, is300 3.73 differential ... Never finished
|
|
|
|
|
|
#149 |
|
Member
Join Date: Jun 2014
Drives: '13 FR-S
Location: Huntsville AL
Posts: 33
Thanks: 2
Thanked 2 Times in 2 Posts
Mentioned: 3 Post(s)
|
|
|
|
|
|
|
#151 |
|
Member
Join Date: Jun 2014
Drives: '13 FR-S
Location: Huntsville AL
Posts: 33
Thanks: 2
Thanked 2 Times in 2 Posts
Mentioned: 3 Post(s)
|
Hey Guys,
So 3 of my 7 boards left have been reserved for builds. I have 4 left if anyone else wants a ready to install kit. I'm building & programming these at part cost(free labor) so the only real variable is the type of switch you want and the location you plan on mounting it. PM me if you would like a kit. |
|
|
|
|
|
#152 | |
|
Member
Join Date: Jun 2014
Drives: '13 FR-S
Location: Huntsville AL
Posts: 33
Thanks: 2
Thanked 2 Times in 2 Posts
Mentioned: 3 Post(s)
|
Quote:
|
|
|
|
|
|
|
#153 |
|
Banned
Join Date: Sep 2013
Drives: 2013 GBS BRZ Limited
Location: Colorado
Posts: 1,925
Thanks: 627
Thanked 1,445 Times in 711 Posts
Mentioned: 41 Post(s)
|
@joshb86,
mig86's suggestions are spot on. Here is a diagram of how I would do it if starting from scratch. Clearly yours works, so there is more than one way to do something: ![]() Things to note: 1 - I dont know what transistor you used so it I cant say for sure, but there is a possibility the way you have it hooked up could eventually fry the digital output of the Beetle. The transistor base input looks just like a diode (to GND) to the beetle, so when it is driving the transistor it is nearly a short to ground to the output (D11). So I included R2 to limit the current. A 1kOhm should be fine, but depends on the transistor you picked. 2 - I drew the switch activation as mig86 stated (R1 pulls D9 Hi, and switch pulls to GND) 3- I included a LED output (A0 - config as output) to show status (not required, but some toggle switches have internal LED status indicators) 4 - If you want to hook up to TC switch as well as VSC, then you would duplicate the transistor circuit 5 - On the left of the circuit diagram, I indicate the current (curr with an arrow). This is the current that when the car's VSC switch is actually depressed flows to ground OUT from the computer (ECU). If this current is less than 40mA, then you do not need the transistors at all, and these lines could hook directly to the beetle IO pins. Those pins can sink up to 40mA to ground. If you tried this and it didnt work, you were probably missing the connection (top of circuit) that connects the beetle 5 volt power ground and the car's 12 volt power ground (chassis). |
|
|
|
| The Following User Says Thank You to stugray For This Useful Post: | joshb86 (10-12-2014) |
|
|
#154 |
|
Member
Join Date: Jun 2014
Drives: '13 FR-S
Location: Huntsville AL
Posts: 33
Thanks: 2
Thanked 2 Times in 2 Posts
Mentioned: 3 Post(s)
|
Thanks @stugray. After you and @mig86 helped me yesterday I spent the night reading and understanding what you were saying. After more playing around I can see there are multiple ways to make it work, but the more proper ways will be best for the sake of reliability. I left my first prototype as is in my car so I'm curious to see how it lasts. So far it's working, but the most I've let it run powered in the car with frequent use was an hour.
Thanks for a proper schematic as well! |
|
|
|
|
|
|
|
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| brake override DOES NOT diminish heel & toe | 4agze | Scion FR-S / Toyota 86 GT86 General Forum | 31 | 09-17-2012 04:43 AM |
| Permanent Optimum opti-coat 2.0 ?? | Ericfrs | Cosmetic Maintenance (Wash, Wax, Detailing, Body Repairs) | 4 | 09-04-2012 02:11 AM |
| LF: rear fog switch picture | Silverdub | Scion FR-S / Toyota 86 GT86 General Forum | 6 | 06-28-2012 08:34 AM |
| Anyone going to switch badges? | DougieFresh | Scion FR-S / Toyota 86 GT86 General Forum | 60 | 09-28-2011 02:56 AM |
| Brake override system in the FT-86? | mrKiKaZ | Scion FR-S / Toyota 86 GT86 General Forum | 10 | 02-22-2010 11:33 AM |