F55/F56 :: Hatch Talk (2014+) MINI Cooper and Cooper S (F55/F56) hatchback discussions.

F55/F56 Need help with coding side lights/parking lights please

Thread Tools
 
Search this Thread
 
Old Dec 4, 2024 | 01:08 AM
  #1  
stwpt's Avatar
stwpt
Thread Starter
|
Neutral
Joined: Dec 2024
Posts: 4
Likes: 0
Need help with coding side lights/parking lights please

Anyone know how to code side lights/parking lights for Mini?
I have upgraded front bumper from LCI to LCI2 which removes the original side lights. Sidelights on the lci2 are a dimmer version of the DRL rings
At the moment there is no light when I dial to side light /1 oclock. My mini is UK 2018 LCI with oem lights. TIA

From this
From this LCI
To this LCI2 without foglights and sidelights
To this LCI2 without foglights and sidelights

 

Last edited by stwpt; Dec 4, 2024 at 01:25 AM.
Reply
Old Dec 4, 2024 | 01:17 AM
  #2  
stwpt's Avatar
stwpt
Thread Starter
|
Neutral
Joined: Dec 2024
Posts: 4
Likes: 0
I tried to code below
it works for indicator lights but there is no option for DRL lights



1- 3063 MAPPING_SIDEMARKER_L_OUTPUT -> fra_v_l
2- 3063 MAPPING_SIDEMARKER_R_OUTPUT -> fra_v_r
3- 3063 MAPPING_SIDEMARKER_L_PWM_1_STANDARD -> 100%
4- 3063 MAPPING_SIDEMARKER_R_PWM_1_STANDARD -> 100%


also tried custom value for tfl_l and tfl_r but it didn't work
 
Reply
Old Dec 4, 2024 | 10:18 PM
  #3  
cjv2's Avatar
cjv2
5th Gear
5 Year Member
Liked
Loved
Community Favorite
Joined: Aug 2017
Posts: 1,056
Likes: 384
I managed to get my rear fogs functional as:

- fog lights (turn on with main fog switch along with front fogs
- brake lights
- DRLs
- running lights (like the fender lights) at night

Not one at a time, but all together -- meaning how they work has a priority (which thankfully I didn't have to customize).

I figure if I could make my rear fogs be output for all that, DRLs included, there is a way for you to get any output device in the car to come on with your DRLs.

But I have to go back and look at my stuff to see how I got that DRL thing to work. I did document it in a forum post here way back, but it was, well, way back.

Gimme a bit, I'll find it.
 
Reply
Old Dec 4, 2024 | 10:30 PM
  #4  
cjv2's Avatar
cjv2
5th Gear
5 Year Member
Liked
Loved
Community Favorite
Joined: Aug 2017
Posts: 1,056
Likes: 384
Ok, that didn't take me long.

Visit this thread. I was the thread starter.

In particular, check out the following within the thread:
  • post #13
  • numbered items 3 and 4 in post #14 -- gets you basics that I think you'll understand immediately since you're clearly familiar with messing around with output and function params for lighting control, and also has a decent explainer
  • The section "How I: got my rear fogs working as DRLs." in post #23.
Net, you could do what I did, but instead of specifying the rear fogs as output devices, use your output devices of choice.

From all those references you can probably figure out how to do output control more generically as well, though. Buried in the thread elsewhere I'm sure: the key to getting a specified OUTPUT device to function as a DRL is to have the corresponding FUNCTION set to the hex for tagfahrlicht -- which, according to the notes I kept for my 2017 F56 S, is 0x04.

So for example: if you are tinkering with the block of params for MAPPING_SIDEMARKER_R, then MAPPING_SIDEMARKER_R_OUTPUT needs to be hex for whatever physical lamp you want to light up, yes. But MAPPING_SIDEMARKER_R_FUNCTION would need to be set to the DRL function (which is 0x04) to have whatever turns on DRLs actually light that lamp up with all the other DRLs.

And most of those prefixes (example again: MAPPING_SIDEMARKER_R) are generic (tinker at your own risk, of course). Example: a couple of years ago I decided I wanted my scuttle lights to double as running lights (whether day or night) for better visibility (esp at night):
  • To do that I hijacked the apparently-stock-unused MAPPING_TAGFAHRL_2_H_L and MAPPING_TAGFAHRL_2_H_R.
  • Stock setup, FUNCTION was set to 0x04 (tagfahrlicht aka DRL), but OUTPUT was set to 0x00 (meaning no device).
  • I changed FUNCTION to 0x01 (standlicht aka standing lights) for both L and R, and OUTPUT to the left and right scuttle lights (0x10 for L and 0x11 for R).
  • Worked great, my scuttles are always on if either DRLs or nighttime lighting is on, and they still function properly as turn signals and hazard lights all the same. Looks pretty spiffy at night too.
Hope this helps. Let us know how it goes.
 

Last edited by cjv2; Dec 4, 2024 at 11:04 PM.
Reply
Old Dec 4, 2024 | 11:18 PM
  #5  
stwpt's Avatar
stwpt
Thread Starter
|
Neutral
Joined: Dec 2024
Posts: 4
Likes: 0
Hi, You mean

1-
3063 MAPPING_SIDEMARKER_L_OUTPUT -> 03 (tagfahrl_l)
2- 3063 MAPPING_SIDEMARKER_R_OUTPUT -> 04 (tagfahrl_r)

1- 3063 MAPPING_SIDEMARKER_L_FUNCTION -> 04
2- 3063 MAPPING_SIDEMARKER_R_FUNCTION -> 04
 

Last edited by stwpt; Dec 5, 2024 at 01:25 AM.
Reply
Old Dec 6, 2024 | 04:01 AM
  #6  
stwpt's Avatar
stwpt
Thread Starter
|
Neutral
Joined: Dec 2024
Posts: 4
Likes: 0
Originally Posted by cjv2
Ok, that didn't take me long.

Visit this thread. I was the thread starter.

In particular, check out the following within the thread:
  • post #13
  • numbered items 3 and 4 in post #14 -- gets you basics that I think you'll understand immediately since you're clearly familiar with messing around with output and function params for lighting control, and also has a decent explainer
  • The section "How I: got my rear fogs working as DRLs." in post #23.
Net, you could do what I did, but instead of specifying the rear fogs as output devices, use your output devices of choice.

From all those references you can probably figure out how to do output control more generically as well, though. Buried in the thread elsewhere I'm sure: the key to getting a specified OUTPUT device to function as a DRL is to have the corresponding FUNCTION set to the hex for tagfahrlicht -- which, according to the notes I kept for my 2017 F56 S, is 0x04.

So for example: if you are tinkering with the block of params for MAPPING_SIDEMARKER_R, then MAPPING_SIDEMARKER_R_OUTPUT needs to be hex for whatever physical lamp you want to light up, yes. But MAPPING_SIDEMARKER_R_FUNCTION would need to be set to the DRL function (which is 0x04) to have whatever turns on DRLs actually light that lamp up with all the other DRLs.

And most of those prefixes (example again: MAPPING_SIDEMARKER_R) are generic (tinker at your own risk, of course). Example: a couple of years ago I decided I wanted my scuttle lights to double as running lights (whether day or night) for better visibility (esp at night):
  • To do that I hijacked the apparently-stock-unused MAPPING_TAGFAHRL_2_H_L and MAPPING_TAGFAHRL_2_H_R.
  • Stock setup, FUNCTION was set to 0x04 (tagfahrlicht aka DRL), but OUTPUT was set to 0x00 (meaning no device).
  • I changed FUNCTION to 0x01 (standlicht aka standing lights) for both L and R, and OUTPUT to the left and right scuttle lights (0x10 for L and 0x11 for R).
  • Worked great, my scuttles are always on if either DRLs or nighttime lighting is on, and they still function properly as turn signals and hazard lights all the same. Looks pretty spiffy at night too.
Hope this helps. Let us know how it goes.
Update.

I set TFL_MODUS = Drl_s (on with light switch at Auto/Off/Park)
now the DRL lights working but only when ignition is ON
not working when ignition is of
Any idea?

TIA
 
Reply
Old Dec 10, 2024 | 02:52 PM
  #7  
cjv2's Avatar
cjv2
5th Gear
5 Year Member
Liked
Loved
Community Favorite
Joined: Aug 2017
Posts: 1,056
Likes: 384
Sorry for long delay in replying. Been a little crazy over here with projects, including one project in front of my computer (meaning in the way of the keyboard, lol).

Ok.

This:
[QUOTE=stwpt;4687641]Hi, You mean

1- 3063 MAPPING_SIDEMARKER_L_OUTPUT -> 03 (tagfahrl_l)
2- 3063 MAPPING_SIDEMARKER_R_OUTPUT -> 04 (tagfahrl_r)

No. What I meant was:

1- 3063 MAPPING_SIDEMARKER_L_OUTPUT -> the hex code for whatever **physical fixture** you want to light up with the DRLs on the left side
2- 3063 MAPPING_SIDEMARKER_R_OUTPUT -> the hex code for whatever **physical fixture** you want to light up with the DRLs on the right side

So for example -- if you wanted to light up the left scuttle and right scuttle, you would use:

1- 3063 MAPPING_SIDEMARKER_L_OUTPUT -> 0x10
2- 3063 MAPPING_SIDEMARKER_R_OUTPUT -> 0x11

And then for the function, you would use the DRL function of 0x04:

1- 3063 MAPPING_SIDEMARKER_L_FUNCTION -> 0x04
2- 3063 MAPPING_SIDEMARKER_R_FUNCTION -> 0x04

One gotcha: if you are trying to light up the "angel eyes" aka ring lights, I never did quite figure out how to make those things do what I wanted in a run of since-forgotten research. But on a map I drew of all the physical lights I identified the ring lights as tms_leuchtring_l 0x30, and tms_leuchtring_r 0x31. Big note though, I never got those to do what I wanted and I concluded other coding was in play... somewhere. I don't understand the TMS stuff but it seems to be deeply involved with DRL somehow.

On this:

Originally Posted by stwpt
Update.

I set TFL_MODUS = Drl_s (on with light switch at Auto/Off/Park)
now the DRL lights working but only when ignition is ON
not working when ignition is of
Any idea?
TIA
I am not familiar with TFL_MODUS. First time I've ever seen that parameter. What does it do? Got a link to any discussions/docs on it?

If you want lights when ignition is off, you might have to use a whatever function is normally used to light up the position lights in the front bumper (pol_l, pol_r) instead of the DRL function. If you don't know what that function is, I can probably find out, let me know.

Side note / probably helpful: Found my way to a BMW thread whose final post has a PDF with tables of functions and outputs. You'll have to adapt it a little bit for the MINI, it's sectioned into Front and Rear module-controlled stuff, and on the MINI there is simply a BDC, no front/rear module split. 100% usable otherwise, I think. Jump to the last post in the thread at the link.

Link: https://f30.bimmerpost.com/forums/sh...5&postcount=70
 
Reply
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
AutoCoarsen
MINIs & Minis for Sale
0
Nov 8, 2019 06:45 PM
pdxaaron
MINIs & Minis for Sale
4
Sep 11, 2019 07:17 AM




All times are GMT -7. The time now is 06:03 AM.