View attachment 15002
Groot got a minor upgrade and a fix for the footwell lights last week.
It turns out, the footwell lights kept turning on a few seconds after locking the car. I didn't notice this for a while and was always wondering why the auto stop no longer worked, unless I charged the battery.
Apparently, the dome light trigger, which is a negative trigger, but would raise back up to 10 volts after the car was locked.
After 6 hours of tracing this down and inspecting various wires harnesses, pulling the front dome light, and 3rd row dome light; here's what happens (this also applies to Rocket, our 2021 Kia K5):
Every dome light has a circuit board with 3 wires: ground, accessory power, and dome trigger. If you close the door, but not locked, eventually the dome trigger will raise to 10 volts (3.52 volts in the K5) which turns off the dome lights. If you get out of the car, lock the door, the accessory power stays on, and the dome trigger goes high. Then, after 3ish seconds, the accessory power goes low and the dome trigger goes high! Why Kia, why? This means you cant use a simple relay and just swap NO/NC pins to reverse the negative trigger. Can't even really use a relay on the trigger wire due to PWM signal.
Final solution:
Created an Arduino protoboard with inputs for battery power, ignition, accessory power, and headlights. I also have 3 lighted push button switches that allow me to disable everything or manually turn on the footwell or puddle lights.
Basical logic for the arduino:
If battery voltage is less than 12.4 volts OR disable switch is on, turn off dome and puddle lights and don't consider anything else.
If ( headlights are on OR {dome light trigger is low AND accessory power is high}) OR ( ignition is on or has been on within last 30 minutes AND manual switch is on): turn on footwell lights
If (ignition is not currently on AND {dome light trigger is low AND accessory power is high}) OR (ignition is on or has been on within last 30 minutes AND manual switch is on): turn on puddle lights.
The lights turn off using more advanced conditions and timmers, like the puddle light stays on after exiting the car for 10 seconds.
There's also advanced logic to handle the PWM input for the dome trigger signal. This actually is what causes the lights slowly turn on/off. Also, after driving, and getting out of the car, turn off the footwell lights but leave the puddle lights on for 10 seconds or, if the headlights are still on after leaving the car, turn off the puddle lights when the headlights turn off.
View attachment 15003View attachment 15004