I’m thinking of implementing an automatic headlight system using a small arduino nano and a light sensor. When light from the sensor reaches a specified threshold, it will briefly send 2 sequential 5v signals to toggle high-beam mode on the light.
I’m pretty ignorant in the light’s design and PCB layout. Where can I find the button terminals on the PCB for the D4v2? Will a 5v signal to the button switch work or does it need to be stepped down for the battery in any way?