Author Topic: DIY Flashlight - XHP90 w/1 mode Driver Only Flashes  (Read 659 times)

0 Members and 1 Guest are viewing this topic.

Offline GorrillasnotTopic starter

  • Contributor
  • Posts: 11
  • Country: us
DIY Flashlight - XHP90 w/1 mode Driver Only Flashes
« on: January 23, 2025, 06:43:49 pm »
Hello,

I bought an XHP90 LED w/ 1 Mode driver on aliexpress https://www.aliexpress.us/item/3256806231477303.html?spm=a2g0o.order_list.order_list_main.40.42061802zfgvLM&gatewayAdapt=glo2usa
I 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 LED

thanks

 

Offline Konkedout

  • Frequent Contributor
  • **
  • Posts: 258
  • Country: us
Re: DIY Flashlight - XHP90 w/1 mode Driver Only Flashes
« Reply #1 on: January 23, 2025, 11:42:02 pm »
Strobe is On/Off which you say you want.  What is the difference between what you want and what you have?
 

Offline thm_w

  • Super Contributor
  • ***
  • Posts: 7663
  • Country: ca
  • Non-expert
Re: DIY Flashlight - XHP90 w/1 mode Driver Only Flashes
« Reply #2 on: January 23, 2025, 11:51:23 pm »
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.

Strobe is On/Off which you say you want.  What is the difference between what you want and what you have?

No OP wants always on, no flashing or strobing.
Profile -> Modify profile -> Look and Layout ->  Don't show users' signatures
 

Offline GorrillasnotTopic starter

  • Contributor
  • Posts: 11
  • Country: us
Re: DIY Flashlight - XHP90 w/1 mode Driver Only Flashes
« Reply #3 on: January 23, 2025, 11:53:59 pm »
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 changes

thanks
 

Offline thm_w

  • Super Contributor
  • ***
  • Posts: 7663
  • Country: ca
  • Non-expert
Re: DIY Flashlight - XHP90 w/1 mode Driver Only Flashes
« Reply #4 on: January 24, 2025, 01:14:03 am »
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.html

Yours 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
Profile -> Modify profile -> Look and Layout ->  Don't show users' signatures
 

Offline Konkedout

  • Frequent Contributor
  • **
  • Posts: 258
  • Country: us
Re: DIY Flashlight - XHP90 w/1 mode Driver Only Flashes
« Reply #5 on: January 24, 2025, 03:15:52 am »
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. 
« Last Edit: January 24, 2025, 03:21:43 am by Konkedout »
 

Offline GorrillasnotTopic starter

  • Contributor
  • Posts: 11
  • Country: us
Re: DIY Flashlight - XHP90 w/1 mode Driver Only Flashes
« Reply #6 on: January 24, 2025, 03:56:57 am »
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
 

Offline SteveThackery

  • Frequent Contributor
  • **
  • Posts: 877
  • Country: gb
Re: DIY Flashlight - XHP90 w/1 mode Driver Only Flashes
« Reply #7 on: January 24, 2025, 12:12:39 pm »
Looks like it's this one:

 

Offline SteveThackery

  • Frequent Contributor
  • **
  • Posts: 877
  • Country: gb
Re: DIY Flashlight - XHP90 w/1 mode Driver Only Flashes
« Reply #8 on: January 24, 2025, 12:16:21 pm »
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?
« Last Edit: January 24, 2025, 12:20:24 pm by SteveThackery »
 

Offline GorrillasnotTopic starter

  • Contributor
  • Posts: 11
  • Country: us
Re: DIY Flashlight - XHP90 w/1 mode Driver Only Flashes
« Reply #9 on: January 24, 2025, 04:06:30 pm »
thanks for the info everyone
Sorry 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
 

Offline SteveThackery

  • Frequent Contributor
  • **
  • Posts: 877
  • Country: gb
Re: DIY Flashlight - XHP90 w/1 mode Driver Only Flashes
« Reply #10 on: January 24, 2025, 09:28:28 pm »
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) might switch 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.
 

Offline thm_w

  • Super Contributor
  • ***
  • Posts: 7663
  • Country: ca
  • Non-expert
Re: DIY Flashlight - XHP90 w/1 mode Driver Only Flashes
« Reply #11 on: January 24, 2025, 10:28:43 pm »
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?

Yes 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).
Profile -> Modify profile -> Look and Layout ->  Don't show users' signatures
 

Offline SteveThackery

  • Frequent Contributor
  • **
  • Posts: 877
  • Country: gb
Re: DIY Flashlight - XHP90 w/1 mode Driver Only Flashes
« Reply #12 on: January 25, 2025, 10:28:22 am »
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?

Yes 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).

To 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. What is a bodge is that the 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.
 

Offline GorrillasnotTopic starter

  • Contributor
  • Posts: 11
  • Country: us
Re: DIY Flashlight - XHP90 w/1 mode Driver Only Flashes
« Reply #13 on: January 26, 2025, 07:19:44 pm »
I bridged that resistor and no more strobe...thanks again everyone
 

Offline thm_w

  • Super Contributor
  • ***
  • Posts: 7663
  • Country: ca
  • Non-expert
Re: DIY Flashlight - XHP90 w/1 mode Driver Only Flashes
« Reply #14 on: January 27, 2025, 10:58:42 pm »
To 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. What is a bodge is that the 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.

Look 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.
Profile -> Modify profile -> Look and Layout ->  Don't show users' signatures
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf