Twizy Regen Brake Light Hack¶
The Twizy recuperation levels are very low by default, regenerative braking is so weak it doesn‘t need to trigger the brake light – so a regen braking indication has been omitted by Renault. The Twizy can be tuned to one pedal driving though with high neutral braking power.
The SEVCON normally can generate a regen braking signal itself. That signal can be configured using the
xrt cfg brakelight tuning command. Pin 11 on the SEVCON main connector will go to GND on activation. The problem is, that pin is not connected on the Twizy, using it needs modification of the connector. To my knowledge this hasn‘t been done successfully up to now, so we don‘t even know if the Twizy SEVCON firmware includes that functionality.
How does it work?¶
The OVMS generates a secondary regen braking signal itself. That signal is used to control a relay to provide power to the brake light independant of the brake pedal.
Integration is simple and does not require to change the existing connections:
The Twizy UCH/display recognizes the regen brake light activation despite the foot brake being pushed and turns on the SERV indicator. Depending on your preferences you may see this as a problem or as an indicator for the regen braking.
Switching the 65A line does not avoid the SERV indicator (tested). Most probably the brake light is monitored by the current flowing at the fuse box, so the SERV indicator cannot be avoided without changing that system.
- 1x DA26 / Sub-D 26HD Plug & housing
- 1x 12V Universal Car Relay + Socket
- Car wire-tap connectors, car crimp connectors, 0.5 mm² wires, zipties, shrink-on tube, tools
Note: if you already use the switched 12V output of the OVMS for something different, you can use one of the free EGPIO outputs. That requires additionally routing an EGPIO line to the DA26 connector at the expansion slot (e.g. using a jumper) and using a relay module (relay shield) with separate power input instead of the standard car relay.
- Solder ~ 40 cm two-core wire to the DA26 plug pins 8 (GND) and 18 (+12V switched), use shrink-on tubes to protect the terminals, mount the housing
- Crimp 6.3mm sockets to the other ends of the wire, isolate using shrink-on tube, crimp 6.3mm plugs to the relay coil (pins 85 + 86), isolate using shrink-on tube
- Extend the relay switch terminals by ~ 30 cm wires, crimp on plugs for the tap connectors
- Unmount the Twizy glovebox; locate the red wire on the right above the parking brake:
- Crimp a tap connector onto the red wire and connect it to the relay (pin 30):
- Connect switched +12V likewise to pin 87 of the relay
- +12V may be taken from the radio or 12V aux socket to simplify things
- the dedicated brake light supply is fuse no. 23, which is very hard to reach without dismounting the whole fuse holder
- Place the relay in the free area on the upper left of the fuse holder (not below the door dampener, that may crush the relay), secure the relay using a ziptie
- Pull the OVMS DIAG cable through the glovebox bottom hole and connect it to the relay inputs (pins 85/86, polarity doesn‘t matter)
- Do a test: plug in the OVMS (Note: the relay switches on during the first OVMS boot), switch on the Twizy, issue commands:
egpio output 1 1should activate the brakelight
egpio output 1 0should deactivate the brakelight
- Note: if you‘re using another EGPIO port, use the according port number (3-9) instead
- Mount the glovebox and you‘re done.
See OVMS web user interface, menu Twizy → Brake Light:
Set the port as necessary and the checkbox to enable the brakelight.
For monitoring and fine tuning, use the regenmon web plugin: