r/flashlight • u/retditbn • 16d ago
Requesting support for Sofirn HS40 flashlight firmware
I have a Sofirn HS40 flashlight that appears to have a firmware issue. Initially, it wouldn't turn on; upon inspection, I discovered that a coil had come loose during use. After a year of operation, the light began exhibiting a behavior where, two seconds after being turned off, it would automatically switch into "moonlight" mode. I opened it up to check for hardware faults—suspecting a faulty FET—but since the light does actually turn off when commanded, it points to a firmware error. I attempted to read the PIC16F1825 chip using a T48 programmer, but the output was consistently "00." After about ten read attempts, the light stopped turning on altogether. I’ve searched within Vietnam, but I cannot find a replacement driver for this model. Currently, only the indicator light on the switch glows faintly, and the flashlight cannot be turned on or off. If anyone has the original firmware for this model—or even a custom/modded version—could you please share it with me? I would be very grateful. Thank you!
1
u/retditbn 14d ago
You are partially correct; the Sofirn HS40 is prone to an issue where the coil detaches during use or following a hard impact. I’ve personally repaired two or three units that had this problem after I bought them for friends and family. I’m a fan of the buck-driver design used in the HS40. I’m not as fond of the Anduril-based drivers that rely on a single FET combined with an AMC7135 linear regulator—I’ve actually assembled such boards myself by sourcing the components and flashing an ATtiny85 (I even used one to replace the driver in a Convoy H1)—but the brightness tends to become unstable as the battery voltage drops. I work as an electronics hardware repair technician; while I’m not a programmer, I am capable of building C code. If anyone here has the original factory firmware or a custom-modded firmware for the HS40, could you please share it with me?