Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
The 8 pin chip is just a MOSFET to switch the current. Not sure what the 6 pin device is, but looks like some switching device as well, triggering the gate of the MOSFET device. I don't see anything with "logic" on this board, maybe it is elsewhere in the flashlight?
One of those chips will likely be providing a PWM signal for the Hi/Lo function. It may also be controlling LED current in some other way. You might get away with wiring direct. You would, of course, then lose the Hi/Lo option and might over-drive the LED(s).
Depends on the switch. If it is an momentary on/off, then the chip controls the actual turning on and off of the LED. If the switch is an alternate-action (push-on / push-off) then you might be able to wire the switch directly to the LED (and its current limiting). Hmmm ...
What are the values written on the four paralleled resistors to the right? Also, if you sketch out a schematic of the entire light (not just the board), there probably is a way to bypass the chip.
I purchased a clip on flashlight for a hat similar to that, it had too many options for me, all I wanted was a flashlight.
The electronics kept draining the batteries so I removed everything, added a new switch and placed a current limiting resistor in series with the led.
Now I have what I wanted in the first place and the batteries last like they should.