1. Attachments are working again! Check out this thread for more details and to report any other bugs.

Speed Sensor Defeat Update

Discussion in 'Gen 2 Prius Audio and Electronics' started by efusco, Jan 27, 2004.

  1. rdverb

    rdverb New Member

    Joined:
    Dec 10, 2003
    49
    0
    0
    Location:
    Monterey, California
    I haven't installed any of these mods in my Prius, but I seem to recall some posts on the older chat site that talked about another downside to the speed sensor defeat switch related to the loss of dead reckoning in the Nav system ... the inability to estimate position when the GPS signal is lost.

    Brosnan said the map features were unaffected, but you might want to check this out if that's important to you.
     
  2. brosnan

    brosnan Member

    Joined:
    May 2, 2004
    159
    11
    0
    Location:
    Silicon Valley
    Vehicle:
    2010 Prius
    Model:
    IV
    speed sensor wire access

    Looks like there is a more accessible location for the speed sensor wire
    to the MultiDisplay. And the wire to the Nav ECU is right next to it.
    They are located behind the A/C panel just to the right of the radio.
    It snaps out if you pull it toward the back of the vehicle.

    The violet wire to the MultiDisplay (to pin 25 of M13) is at location
    5E-12 of center connector #2. You could cut it here to gain
    access to BlueTooth phone features while moving (at the expense
    of MPG 5 minute interval bargraph and animated tire display).
    A switch in series with this wire allows selecting between default
    and moving-phone mode.

    The violet wire to the Nav ECU (to pin 5 of N2) is at location
    5E-11 of center connector #2. A switch in series with this
    line gives you the GPS lockout defeat described elsewhere in this forum.
    It's just an alternate location to the under-seat cut.

    See photo for more detail.
    [​IMG]

    Cut at your own risk! Anyone know how to coax these pins out of this
    connector housing?
     
    doctorman likes this.
  3. 8AA

    8AA Active Member

    Joined:
    Feb 29, 2004
    550
    62
    0
    Location:
    Maryland
    Vehicle:
    2004 Prius
    With DPDT or DPST switches you have no choice but to operate both switches at the same time. In the case of the two speed sensors, to defeat them you break (open) a connection. For this application then, you could use a DPST and break the connection for both at the same time.

    If you use a DPDT, you can wire it up the same way, or have one circuit closed while the other one is open. This wouldn't make sense for this application, but who knows what other mods someone will come up with in the future.
     
  4. efusco

    efusco Moderator Emeritus
    Staff Member

    Joined:
    Nov 26, 2003
    19,891
    1,193
    9
    Location:
    Nixa, MO
    Vehicle:
    2004 Prius
    Model:
    N/A
    Once again Brosnan, thanks and excellent work. That's much more accessible and seems like a great access point for one of those DPDT or DPST switches for single switch access to NAV and BT.

    rdverb:
    There are 2 seperate wires for NAV and BT. While dead reconning is, indeed, lost briefly while the switch is flipped it doesn't really matter. After about 45 sec. to 1 min. it seems to be restored automatically and the override is overridden itself. You have to close the circuit then re-open it. Bear in mind that if you're in the process of entering data into the Destination screen you can't see the map screen anyway. Once you're done you turn the switch back to close the circuit so the dead reconning inaccuracy is mute.

    Likewise, when using BT phone, if you have a seperate switch, that won't affect NAV at all, but will have the side effects with the Consumption screen 5min bars and the stoppage of wheel turning on the Energy screen.

    In any case, I find the added functionality would far outweigh any side effects and the beauty of a switch is that you can turn a feature off or on as needed with no permanant loss of function.

    Ok Brosnan, you seem to be really up to my challenges...any way to install a switch that automatically enables BT and NAV when there's someone sitting in the passenger seat. I'm sure it's possible, though it may be a pretty tricky feat.
     
  5. Danny

    Danny Admin/Founder
    Staff Member

    Joined:
    Nov 24, 2003
    7,094
    2,116
    1,174
    Location:
    Charlotte, NC
    Vehicle:
    2013 Prius Plug-in
    Model:
    Plug-in Base
    You could rig that to the weight senson on the passenger seat. Just figure out a way to tap into that wire.
     
  6. Ray Moore

    Ray Moore Active Member

    Joined:
    Mar 28, 2004
    857
    52
    0
    Location:
    Texas Hill Country
    Vehicle:
    2017 Prius Prime
    Model:
    Prime Premium
    Why rig it to the seat? If Toyota had manufactured it this way, we'd be trying to figure out how to mod out this limitation. hehe
     
  7. brosnan

    brosnan Member

    Joined:
    May 2, 2004
    159
    11
    0
    Location:
    Silicon Valley
    Vehicle:
    2010 Prius
    Model:
    IV
    auto defeat of phone,nav speed lockouts?

    efusco wrote:
    Well the closest I can come right now is the circuit below. Due to the
    way the passenger weight sensor is wired, it's tough to base the
    lockout defeat based strictly on whether something (someone?) is
    on the passenger seat. So the circuit below should defeat the
    nav and phone lockouts if there is passenger seat weight AND
    the passenger seat is NOT buckled. So it's really only useful for
    single drivers using a backpack or similar weight on the passenger
    seat to defeat the lockouts. I'll think about it some more, but since the
    airbag deployment is based on these same signals, it's a little tricky.
    By the way I have not tried this circuit, so I'm not positive it works.

    Thanks to your challenges I've started thinking about what we'd
    really like (besides Toyota just updating the firmware). Here's
    what I think is possible with a circuit hidden in the dash:

    1) When the driver presses the phone off hook button on the steering
    wheel, defeat the Bluetooth phone speed lockout until the phone
    on-hookup button is pressed.

    2) When someone presses the DEST, INFO or MENU buttons on the
    MultiDisplay frame, enter Nav Lockout Defeat mode. While in this
    mode, open the Nav speed sensor line but periodically (every ~30sec)
    reconnect it briefly to avoid the GPS-based secondary lockout.

    3) Exit Nav speed lockout mode if either ~3 minutes goes by or
    someone presses the MAP, CLIMATE, AUDIO or DISPLAY buttons
    (including the MAP button on the steering wheel).

    Does that leave out any important features? Any suggested changes?

    A real stretch goal would be:
    4) The first time after each vehicle start that either the MAP or DEST
    buttons is pressed, simulate a touchpanel press near the "I Agree"
    soft button.
     
  8. efusco

    efusco Moderator Emeritus
    Staff Member

    Joined:
    Nov 26, 2003
    19,891
    1,193
    9
    Location:
    Nixa, MO
    Vehicle:
    2004 Prius
    Model:
    N/A
    I think that's a great set of goals. I think there are a couple different sets that people would want to consider:

    1)Your set which is pure convenience and overrides all safety defaults whether there's a passenger or not.

    2)A safety based set whereby when there is a passenger and the passenger has the seatbelt buckled then all speed sensor dependent lockouts are overridden automatically. This would assume that the passenger is entering all data.

    I have no idea how to implement that circuit, but awesome job. You must have some pretty good background in all this as that BT override has eluded most others until now. Keep this kinda info coming!!
     
    1 person likes this.
  9. Danny

    Danny Admin/Founder
    Staff Member

    Joined:
    Nov 24, 2003
    7,094
    2,116
    1,174
    Location:
    Charlotte, NC
    Vehicle:
    2013 Prius Plug-in
    Model:
    Plug-in Base
    Your 516 Points are well earned. I bow before you and Evan :)
     
  10. brosnan

    brosnan Member

    Joined:
    May 2, 2004
    159
    11
    0
    Location:
    Silicon Valley
    Vehicle:
    2010 Prius
    Model:
    IV
    Phone Speed Lockout Defeat side effects

    Found another side effect of the Phone Speed Lockout Defeat mod:
    When you fill up the gas tank and drive off, the consumption
    screen will no longer automatically reset the trip distance.
    So if you like this feature (or the 5 minute interval bargraphs
    or animated spinning tires), a switch is desirable. Otherwise
    just cutting or removing the wire to pin 25 of M13 will do the trick.
     
  11. 8AA

    8AA Active Member

    Joined:
    Feb 29, 2004
    550
    62
    0
    Location:
    Maryland
    Vehicle:
    2004 Prius
    I had thought about having a seat switch under the passengers seat, but then remembered that this switch needs to be reset after about a minute. So if you see a Prius with the passenger bouncing up and down in their seat, don't be concerned, it's probably efusco and his wife. :)
     
  12. 8AA

    8AA Active Member

    Joined:
    Feb 29, 2004
    550
    62
    0
    Location:
    Maryland
    Vehicle:
    2004 Prius
    Fortunately, with brosnan's design this won't be necessary.

    (All my points to brosnan for his well thought out design!)
     
  13. brosnan

    brosnan Member

    Joined:
    May 2, 2004
    159
    11
    0
    Location:
    Silicon Valley
    Vehicle:
    2010 Prius
    Model:
    IV
    nav speed sensor - faking slow motion

    Have you noticed that the nav speed lockout doesn't kick in
    until above about 5mph? Well it turns out we can take advantage
    of that and create a defeat switch which gives continuous
    access to all the nav features. From what I've read, even
    those of you with timers on the speed signal to the nav ECU
    have moments of lockout. However, by replacing the
    speed signal with a 4 pulse per second signal when the
    defeat switch is flipped, we can trick the nav unit into thinking
    we are moving about 3 mph.

    Luckily the navigation unit firmware interprets this differently
    than missing speed signals. For missing speed signals, after you
    drive about 1/2 mile, the nav unit starts relying only the GPS
    signal. This gives cruder accuracy on the map screen and
    locks out some nav features, such as "by address" destination
    selection. But when the fake speed signal says you're going
    3 mph, the nav firmware trusts that and ignores the GPS mismatch.
    You can drive for miles at 70 mph and the map display creeps along
    back near where you flipped the switch. And since it thinks you're
    moving slowly it allows continuous access to the DEST button choices
    and all other features. This keeps up for at least 20 minutes
    and 10 miles. Maybe you could even drive cross-country with
    the map still showing you poking along back near home!

    Then, when your passenger has finished with selections,
    just flip the defeat switch back to normal mode (passing the
    speed signal to the Nav ECU) and soon the nav unit will figure
    out it's way off and update based on GPS (although you may need
    to drive above 5 mph for a while before that happens).

    So far I've done this only with a 0-5V pulse generator. It should also
    work with a TLC555 (R/S 276-1718) circuit I've sketched up.
    When I've built and tested it I'll post the schematic here.

    No real progress yet on the fully automatic version. The phone
    and map switches in the steering wheel probably are used in
    parallel resistor combinations like the "+,- MODE" buttons
    shown in the Prius overall wiring diagram. That would make
    them tough to detect. And the DEST, MAP,... buttons in the
    MultiDisplay look like they'll be hard to access. If anyone has
    helpful hints on these issues, please pass them on.
    And thanks for the points, folks!
     
  14. brosnan

    brosnan Member

    Joined:
    May 2, 2004
    159
    11
    0
    Location:
    Silicon Valley
    Vehicle:
    2010 Prius
    Model:
    IV
    schematic for continuous nav lockout defeat.

    Well, the TLC555 based "fake speed signal" version of the
    nav speed lockout seems to work. When the switch is
    flipped away from "normal" to "defeat", it gives continuous
    access to the map features which are normally blocked
    when moving. No need to flip the switch back and forth
    to avoid GPS speed lockout. Since it fakes movement at
    about 4mph, the map position is not accurate until a few
    seconds after the switch is flipped back to "normal".

    Some soldering is required, as you can see from the photo
    below. You'll also have to cut the violet wire to the
    Nav ECU. It can be found behind an A/C outlet as shown
    earlier in this thread.

    I used a magnetic switch from Hometech for ESD isolation
    (http://www.hometech.com/security/acc.html#AS-507381BW)
    but a normal toggle switch (SinglePoleDoubleThrow) will also
    work. You should find all the parts at Radio Shack. If you
    can't find exact values for the 27KOhm resistor you can
    substitute anything from 10K to 100K. If you can't find
    the exact 0.22uF capacitor or 820KOhm resistor, you can
    choose similar values but keep the product of the two about
    0.18seconds. That will keep the output frequency around
    the same 4.7pulses per second that I've got. Too fast and
    you'll get the speed sensor lockout. Too slow and you'll
    get GPS speed lockout (and some other odd effects).

    The oscillator board consumes about 2mA from the 13.5V
    supply, so you should connect it to switched power. For
    example, the "cigarette lighter" outlet is an easy spot to tap.

    Eventually I see this being driven by the DEST and MAP, etc
    buttons as discussed earlier. But this part's ready now in
    case anyone wants it. As they say, some assembly required.
    Install at your own risk.
    Drive carefully!
     
  15. brosnan

    brosnan Member

    Joined:
    May 2, 2004
    159
    11
    0
    Location:
    Silicon Valley
    Vehicle:
    2010 Prius
    Model:
    IV
    automatic version of phone speed lockout defeat

    Here's a way to implement an automatic version of the
    phone speed lockout defeat. When you press the "off hook"
    phone button on the steering wheel, the speed signals
    to the MultiDisplay are blocked to allow full access to
    phone touchscreen items. When you press the "on hook"
    button to hang up, the speed signals are restored.

    I had in mind a simpler single chip version based on
    a microcontroller. However, since many of you will not
    have access to the tools for that, I've opted for a circuit
    using readily available components needing only some
    soldering and wiring onto a printed circuit board. If you're
    not comfortable building and testing circuits like this,
    you should probably stick with the manual switch method
    described earlier in this thread. But if you'd like the
    "switch free" automatic method, read on.

    The schematic, board photo and location of the wire from
    the phone switches is shown below. The phone switches
    share the same wire as the MODE button. It's called AU2
    in the repair manual and is most easily accessed at
    center connector #2 pin 5B-2. That's behind the A/C outlet
    just to the right of the radio. It snaps off if pulled toward
    the back of the vehicle. This wire goes to about 1.68V when
    the off hook button is pressed, about 0.75 volts for on-hook
    button, about 0V for MODE button and about 4.3V when no
    button is pressed.

    The circuit uses a window comparator to detect when the
    off hook button is pressed. That clears a flip flop which
    causes blocking of the speed signals to the MultiDisplay.
    A single comparator detects lower voltages from the
    on hook (or MODE) buttons and sets the flip flop, restoring
    the speed signals. The set signal is slow to rise so at
    powerup and while swinging rapidly through the window
    comparator range, we allow speed signals to pass through
    as in normal operation. The variable resistors need to be
    adjusted to the 2 indicated DC values on the schematic.

    While making a call, you will have access to numeric
    dialing, phone # display and the full phone book. You
    will lose some info for the 5 minute MPG bargraphs while
    in this mode, so don't be surprised if you see some
    funny or missing bars after a long call. When done with
    the call, press hangup and all will return to normal.
    If you pop over to the Consumption screen without pressing
    hangup (or MODE), the animated tires will not be spinning
    and you won't get an auto reset of the trip distance after driving away from a fillup.
     
    doctorman likes this.
  16. brosnan

    brosnan Member

    Joined:
    May 2, 2004
    159
    11
    0
    Location:
    Silicon Valley
    Vehicle:
    2010 Prius
    Model:
    IV
    dual auto defeat of speed lockouts

    For those electronics-minded Prius fans out there, here's a circuit which
    lets you access all nav and phone features while moving without flipping
    any switches. It just fakes slow (or no) speed signals to the Nav ECU
    or MultiDisplay as appropriate. When you press DEST, INFO or MENU
    it sends ~3mph fake signals to the Nav ECU while you use features
    on those screens. Then when you pop to a different screen
    (press either MAP button, CLIMATE or AUDIO), it restores the
    speed signals. When you press the Phone OFF HOOK button
    to make a call it breaks the speed signal connection to the
    MultiDisplay until you press the HangUP button.

    This project involves removal and modification to the expensive
    MultiDisplay unit, so it's definitely a do at your own risk project!

    Let me know if you want more pictures or details.
    Drive safely!
    [edited in better schematic]
    schematic now here: http://www.wb5mrn.com/prius/schematic_dual_auto_defeat5.pdf
     
    doctorman likes this.
  17. efusco

    efusco Moderator Emeritus
    Staff Member

    Joined:
    Nov 26, 2003
    19,891
    1,193
    9
    Location:
    Nixa, MO
    Vehicle:
    2004 Prius
    Model:
    N/A
    Brosnan,
    That is an absolutely fantastic solution. I would love more details about the install. That mess of wires on the floorboard is a bit intimidating the way it's laid out and it isn't clear to me what wires you're splicing into and where they come from.

    You're definately breaking new ground in a very sweet way.

    Does that fake signal throw off the mileage calculations on the Consumption Screen?
     
  18. brosnan

    brosnan Member

    Joined:
    May 2, 2004
    159
    11
    0
    Location:
    Silicon Valley
    Vehicle:
    2010 Prius
    Model:
    IV
    OK, I'll write up more detailed instructions with some photos.
    For now, just a few extra comments.

    The wires needed come from 3 locations:
    6 wires from the MultiDisplay.
    5 wires from the Center Connector #2 behind the A/C outlet just right of the radio.
    2 wires for power and ground from the "cigarette lighter" socket.

    As far as I can tell, this modification does not affect the average
    MPG or trip distance shown on the Consumption Screen.
    The bar graph history is affected by phone usage. If you're
    on the phone for more than 5 minutes, you'll have some
    blank bar graph elements.

    By the way, I'm giving up on the "I agree" auto-press function.
    It sure would be nice to have a "magic finger" press the "I agree"
    soft button for you every time the map is brought up after each
    powerup. I had a look inside the MultiDisplay and you'd need to
    dissassemble more of it than I care to in order to solve this
    annoyance. So that challenge is left to the group!
     
  19. brosnan

    brosnan Member

    Joined:
    May 2, 2004
    159
    11
    0
    Location:
    Silicon Valley
    Vehicle:
    2010 Prius
    Model:
    IV
  20. brosnan

    brosnan Member

    Joined:
    May 2, 2004
    159
    11
    0
    Location:
    Silicon Valley
    Vehicle:
    2010 Prius
    Model:
    IV
    single switch manual speed lockout defeat

    If you're interested in a switch-only manual version of the speed sensor defeat, here's the simplest one I know of:

    1) Find a Single Pole Single Throw switch such as Radio Shack 275-612 ( http://www.radioshack.com/product.asp?cata...ct%5Fid=275-612 ) You can also use an SPDT,DPST or DPDT switch but will only use two terminals.
    2) Gain access to center connector #2 as in above post ( http://priuschat.com/forums/viewtopic.php?...p?p=22788#22788 )
    3) Cut the two violet wires from 5E-11 and 5E-12.
    4) Tape up the wire still attached to 5E-11 with good electrical tape. It's not needed.
    5) Extend the length of the wire still attached to 5E-12 so that it can reach the switch location. Tape up the connection to prevent shorts.
    6) Join the remaining two violet wires together and also to a new wire extending to the switch location. Tape up the connection.
    7) Solder the extension wires to the two switch terminals (if SPST) or to a middle terminal and either adjacent edge terminal if not SPST.
    8 ) Mount the switch in an accessible spot (in the A/C outlet panel? or the panel under the radio?)

    When the switch is closed, the speed sensor signal will be passed on the nav and phone functions, so you will see the normal lockouts when moving.

    When the switch is open, the speed sensor signal will be blocked and you will not be locked out. After about 1/2 mile of driving, the nav secondary lockout will occur and you'll need to flip the switch back and forth to get more time.

    The known side effects while the switch is open are:
    1) 5 minute MPG bargraph display in consumption screen will be altered
    2) Animated tires don't spin on the consumption screen
    3) Auto zero of the trip distance on the consumption screen won't occur after a fillup.
    4) After choosing a destination while moving, then closing the switch, it may take ~30 seconds for the map position and voice instructions to become accurate.
    5) Your dealer may hassle you about the odd wires if it's in for repair.

    If you live in a place where static electricity is a big deal (say Colorado for example), you should probably ground the metal shell of the switch or use a long insulated switch paddle. It would be a shame to zap the input of the expensive nav ECU or MultiDisplay.
    Do at your own risk.
     
    doctorman likes this.