Automatic headlights at night : possible mod?

Out of curiosity, how long does it take to pull a full memory dump from an mpx? It would be amazing if a local (to you) Pro owner would afford the privilege.
I'll defer to [MENTION=150567]Old Red[/MENTION] since he is the only one to of done it thus far. We haven't found a way to do it non-intrusively over the diag port. It involves removing the MPX, opening it, desoldering the flash chip, and dumping it. That will likely scare most off.:fear:
 
I'm leaving this 5'th gen 4Runner 'limited' Headlight circuit diagram here on this thread; hoping that you (everyone) will accomplish your goal. I took a quick look at the diagram and marked the essentials needed to make it work, "see below":
[MENTION=83083]rigtec[/MENTION], Do you happen to have a higher resolution/better version of this? I'm exploring the MCU idea and cant make out the wire colors or descriptions from this copy.

EDIT:
Also, does anyone know what the voltages at the light switch are? I am assuming it's pretty low, switched ground, likely with a pull-up resistor in the MPX/BCM.
 
Last edited:
This makes a lot of assumptions (switched GND, 3.3v logic level on the MPX) but it's easily altered if those assumptions prove false. It also doesn't mean I am giving up on the MPX, more of a stop-gap/alternate path.

Forgive the crudeness. I didn't use Eagle, this was done in paint.net.
0ad776b35499988940173b19d95f5c0d.png


The idea is to use a Teensy 3.2 to control the lights while reading the light sensor over the CAN bus. Function wise, this would be indistinguishable from factory auto lights.

The Teensy will read the three switch outputs from the stalk. If the switches DRL/Auto output is on, the Teensy will control the inputs on the MPX to set the lights on, off, or DRL. If the switches DRL/Auto output is off, the Teensy will mirror the state of the switch outputs to the MPX inputs.

All connections, less the CAN Bus, are protected by optoisolators. This should prevent us from hurting the MPX and it from hurting the Teensy.
Not shown is a 3.3V step-down converter for powering things.

In this configuration the Teensy will consume < 30mA.
If I add deepsleep tied to ignition state it would consume < 1mA when the ignition was off.
 
[MENTION=83083]rigtec[/MENTION], Do you happen to have a higher resolution/better version of this? I'm exploring the MCU idea and cant make out the wire colors or descriptions from this copy.

EDIT:
Also, does anyone know what the voltages at the light switch are? I am assuming it's pretty low, switched ground, likely with a pull-up resistor in the MPX/BCM.

Hi ColtB45,

The diagrams That I subscribe to are by 'Mitchell' eautorepair.net. They ARE the Printable version... I can print, then scan the pages into Documents and move to my desktop, but not X-ferable e.g., no copy/paste possible! I usually use Photo-bucket to edit them, and to give them a url so I can create a link to post them where I need to!

If you click on the top banner of the photo/diagram, it will ENLARGE to a point; it may help with viewing the smaller details(?)! Also: the Main body ECU (I believe operates on 5VDC) and I think it uses a 'Brickwall Limiter to maintain a 5V power supply no matter what the truck's electrical system does e.g., 12v-14.5v...etc! Hope this helps, 'Best',

rig
 
Last edited:
[MENTION=294037]ColtB45[/MENTION]

If you point at/mark the wires you need to see more clearly, I'll read them to you 'Directly' from my laptop; I'm guessing that they could be much clearer on first generation schematics! I'll be checking in here again a lil' later on tonight; I'll make a point of it!

rig, cheers!
 
[MENTION=294037]ColtB45[/MENTION]

If you point at/mark the wires you need to see more clearly, I'll read them to you 'Directly' from my laptop; I'm guessing that they could be much clearer on first generation schematics! I'll be checking in here again a lil' later on tonight; I'll make a point of it!

rig, cheers!
Can you print them to PDF or XPS? Then send the file?
 
I've had a busy weekend...
YouTube

  • This is very early alpha.
  • It's running entirely off of a Teensy 3.2 & SN65HVD230 CAN transceiver. Everything else you see (the raspberry pi, the laptop, etc.) is there for diagnostics and not required for it to work.
  • It's entirely CAN bus controlled. I did not have to interrupt or tap the connections to the light switch or BCM/MPX. The only wires going to the car are: CAN H, CAN L, 12V & GND
  • I am reading switch status from the BCM and sending active test messages to engage the lights. Changing the switch setting to anything other than DRL(Auto) will cause the Teensy to relinquish control and the lights will turn on or off like normal based on switch setting.
  • This very likely will work with most Toyota/Lexus/Scion vehicles with little to no modification.
 
I've had a busy weekend...
YouTube

  • This is very early alpha.
  • It's running entirely off of a Teensy 3.2 & SN65HVD230 CAN transceiver. Everything else you see (the raspberry pi, the laptop, etc.) is there for diagnostics and not required for it to work.
  • It's entirely CAN bus controlled. I did not have to interrupt or tap the connections to the light switch or BCM/MPX. The only wires going to the car are: CAN H, CAN L, 12V & GND
  • I am reading switch status from the BCM and sending active test messages to engage the lights. Changing the switch setting to anything other than DRL(Auto) will cause the Teensy to relinquish control and the lights will turn on or off like normal based on switch setting.
  • This very likely will work with most Toyota/Lexus/Scion vehicles with little to no modification.

Well now, my mind is blown. That's some serious wizardry with the wires
 
I've had a busy weekend...
YouTube

  • This is very early alpha.
  • It's running entirely off of a Teensy 3.2 & SN65HVD230 CAN transceiver. Everything else you see (the raspberry pi, the laptop, etc.) is there for diagnostics and not required for it to work.
  • It's entirely CAN bus controlled. I did not have to interrupt or tap the connections to the light switch or BCM/MPX. The only wires going to the car are: CAN H, CAN L, 12V & GND
  • I am reading switch status from the BCM and sending active test messages to engage the lights. Changing the switch setting to anything other than DRL(Auto) will cause the Teensy to relinquish control and the lights will turn on or off like normal based on switch setting.
  • This very likely will work with most Toyota/Lexus/Scion vehicles with little to no modification.
awesome! take my money!
 
I've had a busy weekend...
YouTube

  • This is very early alpha.
  • It's running entirely off of a Teensy 3.2 & SN65HVD230 CAN transceiver. Everything else you see (the raspberry pi, the laptop, etc.) is there for diagnostics and not required for it to work.
  • It's entirely CAN bus controlled. I did not have to interrupt or tap the connections to the light switch or BCM/MPX. The only wires going to the car are: CAN H, CAN L, 12V & GND
  • I am reading switch status from the BCM and sending active test messages to engage the lights. Changing the switch setting to anything other than DRL(Auto) will cause the Teensy to relinquish control and the lights will turn on or off like normal based on switch setting.
  • This very likely will work with most Toyota/Lexus/Scion vehicles with little to no modification.

Very awesome !!!
 
I've had a busy weekend...
YouTube

  • This is very early alpha.
  • It's running entirely off of a Teensy 3.2 & SN65HVD230 CAN transceiver. Everything else you see (the raspberry pi, the laptop, etc.) is there for diagnostics and not required for it to work.
  • It's entirely CAN bus controlled. I did not have to interrupt or tap the connections to the light switch or BCM/MPX. The only wires going to the car are: CAN H, CAN L, 12V & GND
  • I am reading switch status from the BCM and sending active test messages to engage the lights. Changing the switch setting to anything other than DRL(Auto) will cause the Teensy to relinquish control and the lights will turn on or off like normal based on switch setting.
  • This very likely will work with most Toyota/Lexus/Scion vehicles with little to no modification.

Wow...also impressed! Interested to see how much this will cost
 
I agree! Release a kit with all instructions needed an people will buy it up. Do a group buy like the accessory display thread

Yes...instructions or even just do what Old Red does (maybe even work with him) and design a retrofit "kit". Guarantee people would buy them...I would.
 
This is something that I would pay for as well.


I wonder if I should pick up a new switch. My Canadian 18 OffRoad has just 3 positions on the light switch.
 
My Canadian 18 OffRoad has just 3 positions on the light switch.
Can you share a picture of the switch? I wasnt aware there was a switch without 4 positions (Off, DRL, Parking Lights, Headlights). If you only have 3 positions (guessing off, parking, headlights) that would be an issue.

If that's common, I could make a version that worked in such situations by sacrificing the off position and using it as auto (it would just be a minor alteration in software)... but you'd loose the ability to force you lights off at nighttime.
 
I apologize if this adds clutter to this amazing thread.

It looks like Canadian spec switches have their own pn's. see here
I'm curious if Canadian spec Limited/Pro switch only differs from American market switches in that DRL is on when set to 'O'

Canadian Spec signal stalks:
84140-60230 - Canada Spec
84140-75030 - Canada Spec Limited/Pro

2018 TRD Off Road
fWdgc7A.jpg


Top position
Lowbeams ON
Parking lights ON

Middle position
Parking lights ON
DRL ON

Bottom position
DRL ON


With my switch set to the bottom 'O'; the DRLs are on. I am going to assume the same is for the Limited/Pro.


2019 Limited Nightshade
NAu6gmO.jpg
 
Last edited:

Members online

No members online now.

Forum statistics

Threads
278,310
Messages
3,554,078
Members
248,016
Latest member
Advally Service

Trending content

Back
Top