Notices
997 Forum 2005-2012
Sponsored by:
Sponsored by:

$9 solution for automatic headlights

Thread Tools
 
Search this Thread
 
Old 12-15-2023, 07:08 PM
  #46  
Hatzenbach
Rennlist Member
 
Hatzenbach's Avatar
 
Join Date: May 2011
Location: San Carlos, CA 94070
Posts: 1,918
Received 492 Likes on 234 Posts
Default

Originally Posted by jp16061
I started by disassembling one of the VW automatic headlight retrofit kits that I had from an old Jetta. It works on a very similar principle, but the VW switch appears to be opposite in that all of the signal pins are ground and it uses the 8th pin as a positive voltage. It even has the same connector and pinout for all of the functions.
Yeah, that's right. For some reason VW decided to have "active 12V" while Porsche has "active ground".
I think what Porsche chose is a little bit niftier, as it doesn't need both battery and ignition power.
But the drawback is that even though the Porsche and VW hardware LOOKS the same, from an electrical standpoint it isn't.
Old 12-15-2023, 11:35 PM
  #47  
funnelofdoom
Advanced
Thread Starter
 
funnelofdoom's Avatar
 
Join Date: May 2022
Posts: 56
Received 44 Likes on 17 Posts
Default

Hey take another look at the schematic I updated in my post from yesterday. I was in a rush and there was a small mistake. I also cleaned it up.
Old 12-18-2023, 11:55 AM
  #48  
jp16061
4th Gear
 
jp16061's Avatar
 
Join Date: Jun 2021
Posts: 4
Likes: 0
Received 1 Like on 1 Post
Lightbulb

Originally Posted by Hatzenbach
Yeah, that's right. For some reason VW decided to have "active 12V" while Porsche has "active ground".
I think what Porsche chose is a little bit niftier, as it doesn't need both battery and ignition power.
But the drawback is that even though the Porsche and VW hardware LOOKS the same, from an electrical standpoint it isn't.
I didn't even realize you already had a kit available, Hatzenbach. Here's the link for anyone looking: https://rennlist.com/forums/997-foru...d-997-2-a.html
The following users liked this post:
Hatzenbach (12-18-2023)
Old 12-18-2023, 04:34 PM
  #49  
funnelofdoom
Advanced
Thread Starter
 
funnelofdoom's Avatar
 
Join Date: May 2022
Posts: 56
Received 44 Likes on 17 Posts
Default

Originally Posted by jp16061
I didn't even realize you already had a kit available, Hatzenbach. Here's the link for anyone looking: https://rennlist.com/forums/997-foru...d-997-2-a.html
I would definitely recommend anyone who isn't technically inclined (or just doesn't want to deal with it) to get Hatzenbach's solution. We talked a bit offline and I can tell you it's well made and should be reliable.
The following users liked this post:
Hatzenbach (12-18-2023)
Old 12-18-2023, 04:41 PM
  #50  
funnelofdoom
Advanced
Thread Starter
 
funnelofdoom's Avatar
 
Join Date: May 2022
Posts: 56
Received 44 Likes on 17 Posts
Default

Originally Posted by jp16061
I think I will leave the fog light LED out of my setup, but it is a good idea to have some sort of indicator. Same for the "HOME" function, as I already have mine programmed the way I like with the fog lights through PIWIS.

[...]

I started by disassembling one of the VW automatic headlight retrofit kits that I had from an old Jetta. It works on a very similar principle, but the VW switch appears to be opposite in that all of the signal pins are ground and it uses the 8th pin as a positive voltage. It even has the same connector and pinout for all of the functions.
Were you able to disable the fog lights coming on for the home function? I like the parking lights coming on, but not the fog lights.

I also started with the retrofit kit and realized the switch is just a switch. The logic is all handled on the small controller in the add-on. Ideally, I think it'd be best to make something with an ATTiny85 if I'm going with a PCB. Otherwise, simply wiring in the diodes in line with the harness, using a stripboard, or a project board with jumper wire is wholly sufficient. I'm just trying to get the solution as small as possible and it's really just for fun. If I end up doing the ATTiny85 project, I'll let you know. I'm planning on also trying to make another device to control the Sport Chrono clock and might just combine all this into one module.
Old 12-19-2023, 12:09 PM
  #51  
Hatzenbach
Rennlist Member
 
Hatzenbach's Avatar
 
Join Date: May 2011
Location: San Carlos, CA 94070
Posts: 1,918
Received 492 Likes on 234 Posts
Default

Originally Posted by jp16061
I didn't even realize you already had a kit available, Hatzenbach. Here's the link for anyone looking: https://rennlist.com/forums/997-foru...d-997-2-a.html
Yeah @funnelofdoom and I keep communicating and exchanging ideas. I think @funnelofdoom 's solution is more for the DIY oriented person and mine caters more to the one who wants plug & play.
Old 12-21-2023, 03:19 AM
  #52  
funnelofdoom
Advanced
Thread Starter
 
funnelofdoom's Avatar
 
Join Date: May 2022
Posts: 56
Received 44 Likes on 17 Posts
Default

Just a quick update, the auto headlight switch from the Cayenne does work, but mine came with amber backlighting. So I swapped out the internals and used the housing from the Cayenne with the internals of my 997.1 and that squared things away. The nice thing about the Cayenne switch is that the auto is lit in green until the lights turn on, which then turns it back to the backlight color. I'm not sure if that's because of my circuitry or if that's how it's supposed to act.

I'm assuming it's because of my circuitry though because I'm triggering the headlights from the switch. I'm sure cars made with the auto function trigger the lights via the front control module. I haven't yet integrated the OEM sun sensor into my solution, but will when I pull out the panels for my upcoming PCCM+ install. I prefer to pull interior panels out as little as possible as old plastic parts seem to lose their tolerances fairly easily.



Last edited by funnelofdoom; 12-21-2023 at 03:22 AM.
Old 12-21-2023, 01:42 PM
  #53  
jp16061
4th Gear
 
jp16061's Avatar
 
Join Date: Jun 2021
Posts: 4
Likes: 0
Received 1 Like on 1 Post
Default

Originally Posted by funnelofdoom
Were you able to disable the fog lights coming on for the home function? I like the parking lights coming on, but not the fog lights.

I also started with the retrofit kit and realized the switch is just a switch. The logic is all handled on the small controller in the add-on. Ideally, I think it'd be best to make something with an ATTiny85 if I'm going with a PCB. Otherwise, simply wiring in the diodes in line with the harness, using a stripboard, or a project board with jumper wire is wholly sufficient. I'm just trying to get the solution as small as possible and it's really just for fun. If I end up doing the ATTiny85 project, I'll let you know. I'm planning on also trying to make another device to control the Sport Chrono clock and might just combine all this into one module.
I have a 987.1 Cayman S which has halogen fog lights and purposely enabled them in PIWIS. The parking lights are in the same housing on the 987.1, just a much dimmer bulb than the fogs and much more prone to burning out. I've had to replace the parking light bulbs every couple years now.

I just installed my Cayenne switch and noticed the amber lighting as well. I will have to take them apart and see what I can swap between the two as well. The final solution for the sensor placement for me may be a little 3D printed stem to hold it in the defroster vent over having it visible on the surface of the dash.

EDIT: Also looking at doing a PCCM+ in the spring for similar reasons. Plastic panels do not like to be pulled in midwestern winters without something breaking.

Last edited by jp16061; 12-21-2023 at 01:49 PM.
Old 12-22-2023, 09:17 AM
  #54  
funnelofdoom
Advanced
Thread Starter
 
funnelofdoom's Avatar
 
Join Date: May 2022
Posts: 56
Received 44 Likes on 17 Posts
Default

Originally Posted by jp16061
I have a 987.1 Cayman S which has halogen fog lights and purposely enabled them in PIWIS. The parking lights are in the same housing on the 987.1, just a much dimmer bulb than the fogs and much more prone to burning out. I've had to replace the parking light bulbs every couple years now.

I just installed my Cayenne switch and noticed the amber lighting as well. I will have to take them apart and see what I can swap between the two as well. The final solution for the sensor placement for me may be a little 3D printed stem to hold it in the defroster vent over having it visible on the surface of the dash.

EDIT: Also looking at doing a PCCM+ in the spring for similar reasons. Plastic panels do not like to be pulled in midwestern winters without something breaking.
Swapping internals is super easy. The circuit board of the switch is secured by very loose plastic tabs. There are no tamper stickers. There are no harnesses or wires, either. Just carefully take out the circular PCB while pushing in the black plastic tabs. Completely swappable with each other.
Old 02-14-2024, 12:06 PM
  #55  
funnelofdoom
Advanced
Thread Starter
 
funnelofdoom's Avatar
 
Join Date: May 2022
Posts: 56
Received 44 Likes on 17 Posts
Default

Just added a green status LED to my Cayenne auto headlight switch. I figure i have the stock switch for picky buyers anyway so am just doing whatever with the auto labeled one. If anyone is interested, you can just wire in a small green LED and tie it to pins 4 and 1 directly on the PCB for the light switch with thin wiring with a pull up resistor and/or diode (this is necessary for many reasons). Pin 4 would be the cathode end and pin 1 would be the anode end. Now whenever the low beams are activated (by the auto circuit or by manually pulling the switch), the little low beam indicator will turn green.

The following 4 users liked this post by funnelofdoom:
function12 (02-14-2024), Hatzenbach (02-14-2024), RaBe (03-15-2024), smrpr (02-14-2024)
Old 02-16-2024, 02:39 AM
  #56  
smrpr
Instructor
 
smrpr's Avatar
 
Join Date: Jan 2024
Posts: 244
Received 214 Likes on 85 Posts
Default

Originally Posted by Jfsjxhh
When it starts to get dark you turn on the lights.
Wow, what a helpful message. How come nobody had thought about this before? You must be a genius.
The following 2 users liked this post by smrpr:
funnelofdoom (02-19-2024), trassalpl (02-16-2024)
Old 02-19-2024, 04:49 PM
  #57  
MrMoose
Burning Brakes
 
MrMoose's Avatar
 
Join Date: Jun 2016
Location: SF Bay Area
Posts: 935
Received 373 Likes on 258 Posts
Default

Originally Posted by funnelofdoom
Just added a green status LED to my Cayenne auto headlight switch. I figure i have the stock switch for picky buyers anyway so am just doing whatever with the auto labeled one. If anyone is interested, you can just wire in a small green LED and tie it to pins 4 and 1 directly on the PCB for the light switch with thin wiring with a pull up resistor and/or diode (this is necessary for many reasons). Pin 4 would be the cathode end and pin 1 would be the anode end. Now whenever the low beams are activated (by the auto circuit or by manually pulling the switch), the little low beam indicator will turn green.
That's a nice addition: with the auto headlights I've wanted a more obvious headlight indicator. Can you give some more details? The resistor would just go in series with the LED to drop the voltage, right?

If you have any specific components or resistor values etc. that work that would be helpful: I'm pretty good at fixing electronics but my circuit design skills are super basic.
Old 02-19-2024, 05:02 PM
  #58  
funnelofdoom
Advanced
Thread Starter
 
funnelofdoom's Avatar
 
Join Date: May 2022
Posts: 56
Received 44 Likes on 17 Posts
Default

Yes, in series (but in theory it's limiting current). Also add a diode because depending on your resistor, you could technically blow the LED in certain situations when the headlights are off. You could do something like this but with different values for the resistor. It doesn't really matter what diode you use for this application but start with about a 5kohm resistor.


Disregard values here. This is just to show a diagram.
The following users liked this post:
MrMoose (02-19-2024)



Quick Reply: $9 solution for automatic headlights



All times are GMT -3. The time now is 11:36 AM.