As a electronics noob, I "designed" a turn signal/horn/headlight system for my ebike. I cannot post a schematic because there isn't one, but my problem may be well known for experienced people in this. I used NPN transistors to activate relays. The problem is why would a NPN transistor gets "on" and "off" by itself, whenever when I push throttle (or for every "fluctuation" in the system)? The turn signal circuit worked ok at home, when not connected to 12V DC-DC converter on my ebike. But on the bike, relays connected to transistors gets "turned on" seemingly like whenever I press throttle, etc. So headlights or flasher activated by itself. Throttle is by no means connected to this 12V system, it goes to controller which works at 52V.
At NPN transistors base, I think I used a 3K resistor, maybe this was too low and they just "activate" from every tiny fluctuation?
I thought there can be some things going on over the "negative" wire, and I tried putting diodes on negative side of DC-DC converter, but it didn't help.
At NPN transistors base, I think I used a 3K resistor, maybe this was too low and they just "activate" from every tiny fluctuation?
I thought there can be some things going on over the "negative" wire, and I tried putting diodes on negative side of DC-DC converter, but it didn't help.