Hi all,
First post here and very much beginner in electronics, trying to dive in.
For my motorcycle, I’m trying to implement positioning lights in the blinkers: When turning on the blinkers, the blinker blinks regularly. When the blinkers is turned off, after a short delay, the blinkers shine dimmed.
Below is the setup I have now; this setup is for either the front or the back of the bike, I’ll eventually need 2 of these. This works fine if I attach 2 LED blinkers (draw about 0.15A each at 14V). For testing, power comes from a 4S 18650 pack for approx 13.5 to 16.5 volts.
R1 and R2 form a voltage divider to feed the Attiny with a suitable voltage
R3 is read by Attiny to set amount of dimming
Attinys code handles debouncing, turning off all functionality when the regular blinker functionality is detected and uses one PWM to control the dimming (as defined by R3) for the positioning-lights functionality. The PWM signal is fed into the MIC5014 (mosfet driver) to control the IRLZ44N in a high-side configuration.
datasheets:
MIC5014 IRLZ44N ATTiny85

Questions:
First post here and very much beginner in electronics, trying to dive in.
For my motorcycle, I’m trying to implement positioning lights in the blinkers: When turning on the blinkers, the blinker blinks regularly. When the blinkers is turned off, after a short delay, the blinkers shine dimmed.
Below is the setup I have now; this setup is for either the front or the back of the bike, I’ll eventually need 2 of these. This works fine if I attach 2 LED blinkers (draw about 0.15A each at 14V). For testing, power comes from a 4S 18650 pack for approx 13.5 to 16.5 volts.
R1 and R2 form a voltage divider to feed the Attiny with a suitable voltage
R3 is read by Attiny to set amount of dimming
Attinys code handles debouncing, turning off all functionality when the regular blinker functionality is detected and uses one PWM to control the dimming (as defined by R3) for the positioning-lights functionality. The PWM signal is fed into the MIC5014 (mosfet driver) to control the IRLZ44N in a high-side configuration.
datasheets:
MIC5014 IRLZ44N ATTiny85

Questions:
- Using automotive LEDs, this all works fine. When I attach 2 (or even 1) regular incandescent bulb (21W, 1.5A) instead of the LEDs something goes wrong and the whole circuit turns off. It seems the BMS of the battery kicks in since the measured voltage at the battery is only between 1 and 2 volts. I’d assume the IRLZ44N would easily handle the 1.5A drawn by a single bulb.
Any insights why the circuit shuts down with a larger load? - any feedback how to optimize, minimize or secure this setup?
Thank you!