Hi all. We've all seen those snazzy indicators developed by Audi (which have now been copied by Mercedes, Iveco, Volvo and so on) which sweep out when the indicator is activated. Well funnily enough, I like the idea too, and my car didn't come with them, so I thought I'd home-brew it.
I know kits are available to buy but they're usually quite generic and don't enable you to set your lights up as you like, so I set about producing a workable solution for myself.
The setup is very basic - Arduino Uno and a 4-relay board connected to amber LED modules. The modules sweep beautifully just as expected.. for about 10 seconds. Then the board crashes, either freezing completely, or chattering the relays as quickly as it can on an infinite loop.
I don't understand why. I have tried different power sources (battery, mains-powered PSU etc) and even reversing the loading by making the LED modules powered up at the start and switching them off as the sweep is done. (this is how it appears in the example video I have linked)
Any insights as to why my board crashes mid-execution on this project?