Compact ight sensor switch with low voltage

Hi there,I've got a led light that's operated via a magnet, if it doesn't detect a magnetic field it turns on if it does it turns off. It's a led light for car door(check picture for reference) and uses 3x AAA batteries in my case 1.2v x3 (3.6v), if you use regular batteries it's 4.5vBy mistake I've order a tiny light sensor module 3.3-5v(check picture) which obviously can't be used as a switch, not in it's present form. While I'm good with solder, I've build an ebike, I'm a computer guy but when it comes to things like this like this make me feel powerless :( ..I 've used 12v light sensor switches but that's a different topic.So, how can I have a low powered light sensor switch that's compact and can save me from replacing the batteries frequent? ...the led light turns on even at daytime which has no point in doing that. I'd appriciate any help :D

Posted by Takisk1 1 day ago

What is the best way to create a Code-a-Pillar copy?

Greetings! I'm trying to understand how to make my own Coda-a-Pillar copy functionality can be reduced to basically the "head" being able to tell, what is the sequence of rings that are connected to it.How do I do it with an Arduino or Raspberry pie? What has to be inside each ring?

Asked by andreizimin 1 day ago