DIY Flashlight - XHP90 w/1 mode Driver Only Flashes - Page 1
Forum section: electronics / beginners

author: Gorrillasnot
author_rank: Contributor
timestamp: January 23, 2025, 06:43:49 pm
content: Hello,I bought an XHP90 LED w/ 1 Mode driver on aliexpresshttps://www.aliexpress.us/item/3256806231477303.html?spm=a2g0o.order_list.order_list_main.40.42061802zfgvLM&gatewayAdapt=glo2usaI chose the 1 mode driver for a basic on/off flashlight.When I tested it with a single Samsung 30q 18650 battery instead of on/off it seems to be stuck in strobe mode and only flashes on/off over and over.I tried messaging the seller, but only received a canned message basically saying wont be back until after Feb 9th due to Chinese new year.Is there anything I can do to modify the driver to have it just simply turn on/off the LEDthanks

author: Konkedout
author_rank: Frequent Contributor
timestamp: January 23, 2025, 11:42:02 pm
content: Strobe is On/Off which you say you want. What is the difference between what you want and what you have?

author: thm_w
author_rank: Super Contributor
timestamp: January 23, 2025, 11:51:23 pm
content: Your picture matches the "1/5 mode driver", which has 5 modes. So either they sent the wrong one or you ordered the wrong one. Or there is a way to set it but I don't see how.Play around with turning on and off the power and try to get it to switch modes.Quote from: Konkedout on January 23, 2025, 11:42:02 pmNo OP wants always on, no flashing or strobing.

author: Gorrillasnot
author_rank: Contributor
timestamp: January 23, 2025, 11:53:59 pm
content: sorry for the confusion..what i wanted was a light with 1 mode..when on its lit solid and not flashing.i have tried the usual turning it on and off to check other modes but nothing changesthanks

author: thm_w
author_rank: Super Contributor
timestamp: January 24, 2025, 01:14:03 am
content: Just realized there is a selection at the bottom for "1 mode" and "5 mode". If I look on another listing they are visually different:https://www.aliexpress.com/i/3256805102243045.htmlYours is definitely 5 mode. So probably wrong item was shipped.You can see the photo above a 0 ohm resistor was added, so you can, if you are able, add a jumper or wire link where you see it in that photo:https://ae01.alicdn.com/kf/S9e92c59223ec49c1862a9a8f52dd70fbq.jpg

author: Konkedout
author_rank: Frequent Contributor
timestamp: January 24, 2025, 03:15:52 am
content: It is true that I was being somewhat intentionally obtuse. But There is no such thing as always on. If you disconnect the power it turns off. If it stays on with power disconnected, then you have the invention of the century.The question is, how do you want to turn it on and off? The original poster was unclear as to what he wanted. That is my point.As for the Ali Express description of the product in question, that was also unclear and I did not have the patience to try to figure it out. I have not bought from them.

author: Gorrillasnot
author_rank: Contributor
timestamp: January 24, 2025, 03:56:57 am
content: sorry for being such a noob, but I'm not sure where to run the wire to make it 1 mode.the 0 ohm resistor (the red arrow..is this the right one?) on the 1 mode, I don't see a pad for it on the 5 mode.thanks

author: SteveThackery
author_rank: Super Contributor
timestamp: January 24, 2025, 12:12:39 pm
content: Looks like it's this one:

author: SteveThackery
author_rank: Super Contributor
timestamp: January 24, 2025, 12:16:21 pm
content: By the way, in what way are these "visually different"? I've looked closely and they look the same, apart from that resistor. Talking of which, what a bodge by the manufacturer - couldn't they find the correct sized zero ohm resistor?

author: Gorrillasnot
author_rank: Contributor
timestamp: January 24, 2025, 04:06:30 pm
content: thanks for the info everyoneSorry for being so dumb, but I am a bit unsure of where I need to run a jumper wire to...am I supposed to bridge the resistor...maybe with a blob of solder? or am I supposed to run a wire from the resistor to somewhere else?thanks

author: SteveThackery
author_rank: Super Contributor
timestamp: January 24, 2025, 09:28:28 pm
content: The only difference I can see from the pics is that one resistor, which has some value (I can't read it) in the 5-mode variant, and zero ohms in the 1-mode variant.Therefore looping the resistor I circled in black with a piece of wire (or removing it and replacing it with a zero ohm resistor or a piece of wire)mightswitch your board from 5-mode to 1-mode.I can't see any other differences. However, it is of course possible that the chips are programmed differently, in which case there is little you can do, apart from ordering another 1-mode device.

author: thm_w
author_rank: Super Contributor
timestamp: January 24, 2025, 10:28:43 pm
content: Quote from: SteveThackery on January 24, 2025, 12:16:21 pmYes thats the difference, the zero ohm. There is no "correct size" because its its an after the fact jumper bodge as you say.Presumably tying an IO high or low permanently to change the mode of the IC (mcu or dedicated flashlight IC).

author: SteveThackery
author_rank: Super Contributor
timestamp: January 25, 2025, 10:28:22 am
content: Quote from: thm_w on January 24, 2025, 10:28:43 pmTo be clear, the zero ohm resistor replaces another resistor - it isn't a" jumper", per se. Nothing about swapping one resistor for another is a bodge. Whatisa bodge is thatthe 0R resistor is bigger than the footprint on the PCB. So yes, of course there is a "correct size" - it's whatever size the original resistor was.

author: Gorrillasnot
author_rank: Contributor
timestamp: January 26, 2025, 07:19:44 pm
content: I bridged that resistor and no more strobe...thanks again everyone

author: thm_w
author_rank: Super Contributor
timestamp: January 27, 2025, 10:58:42 pm
content: Quote from: SteveThackery on January 25, 2025, 10:28:22 amLook at the photo again, its going from one resistor to another resistor. There is another trace between those resistors, they are not directly connected. Its not bridging out a single resistor, unless you 100% sure there is a trace that connects the two.Though OP said that is what they did and it worked, so, maybe.