Is there any way to get brake light output via CAN?
If not, is there any other parameter that might be useful? Thottle pot values would result in brake light on when standing still.
Brake light output via CAN?
Re: Brake light output via CAN?
EDIT, that wouldnt work, it would just get the brkout threshold value. <facepalm> What you would need to obtain that regen % value and use that as your trigger threshold. I'd have to go digging through, but you could always use the DC current value and trigger the brake light with any negative value
Formerly 92 E30 BMW Cabrio with Tesla power
- bexander
- Posts: 866
- Joined: Tue Jun 16, 2020 6:00 pm
- Location: Gothenburg, Sweden
- Has thanked: 71 times
- Been thanked: 97 times
Re: Brake light output via CAN?
I agree, so the question is then if there is a way to obtain the actual brk(regen) value?
DC current might work but I think it will vary with motor rpm. Will look into it if there is no easier way.
DC current might work but I think it will vary with motor rpm. Will look into it if there is no easier way.
Re: Brake light output via CAN?
Are you looking to have CAN be the sole trigger of the brake light, or supplement a switch?
Formerly 92 E30 BMW Cabrio with Tesla power
- johu
- Site Admin
- Posts: 6738
- Joined: Thu Nov 08, 2018 10:52 pm
- Location: Kassel/Germany
- Has thanked: 380 times
- Been thanked: 1562 times
- Contact:
Re: Brake light output via CAN?
The trigger for the onboard brake light output is simply potnom <= brkout
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
- bexander
- Posts: 866
- Joined: Tue Jun 16, 2020 6:00 pm
- Location: Gothenburg, Sweden
- Has thanked: 71 times
- Been thanked: 97 times
Re: Brake light output via CAN?
I will have both. A switch on the brake pedal for mechanical brakes and CAN from the inverter for regen brake.
- bexander
- Posts: 866
- Joined: Tue Jun 16, 2020 6:00 pm
- Location: Gothenburg, Sweden
- Has thanked: 71 times
- Been thanked: 97 times
Re: Brake light output via CAN?
Ok, so brake light will be on when at stand still and pedal released or I'm a missing something?
Can of course turn of when rpm is close to 0. I already send rpm for speedometer purposes so should be straight forward.