KronoReview: Eagle Eye X6R

For myself, not really interested - doesn't save much time, not much added value. I'd rather have my choice of drivers. If it was involved, tight on space, and required a driver switch mount for example, than maybe yes, like what was done for the Roche/Convoy F6 - that came out really, really nice.

Two of my favorite lights right now are this X6R and the F6: quality, functionality and modifi-ability ... Well you know what I mean Smile.

Edit: Oh boy: https://budgetlightforum.com/t/-/35177, might be a good time to get in a discount order with BG for another X6R... Adega (Hengyu Electronics Co) may be the real manufacturer, but I only see BamgGood and AliExpress selling the X6R at a decent price, and BG's discount is definitely the best.

Discount code of 'bbbc2c' still working - $24 for either tint, just ordering another.

Oh you bad man. I’ve just ordered one now!

Ok Tom, what if we airwired a line from the raw 5v input to the MCU pin that measures for LVP, then set the firmware so that it turns the led off (sleep) when it senses the higher voltage. That way the light turns off when the charger is connected, and turns back on when you unplug? I feel that code shouldn’t take much room because we already have all the parts for measuring voltage.

I asked and have had it confirmed that the stock X6R does indeed not have a shut-off voltage. It will slowly draw current all the way until the battery is drained. Ok for emergency use, but not quite so ok in terms of safety.

Guess batteries with low voltage protection would be recommended for this light.

I don't know enough about electronics/circuit design, but I think you might need the voltage to come in to 2 resistors, like we do now with the battery monitoring. See: http://www.epemag.com/lib/free_projects/lab_equipment/0200%20-%20Voltage%20Monitor.pdf, as a reference project. I really dunno though.

Btw, our new Eagle Eye friend has a great deal on the X6R, even cheaper on the mobile app

http://www.aliexpress.com/item/Eagle-Eyes-X6R-CREE-XM-L2-U2-1000LM-USB-Rechargeable-LED-Flashlight-self-defense-camping-light/32301365158.html

Wow, that is a great deal on the X6R... They have pretty good deals on the other Eagle Eye's as well, including a X6 with an XP-L HI, A6 hosts, etc. Not many pieces sold of anything though - pretty new store, Mr. Eagle eye... Smile

------------------------

Here is a better ref: https://learn.sparkfun.com/tutorials/voltage-dividers. You can plug in our values for R1 and R2 and see what you get. I believe if you have a 5V source coming in, you need to scale it down to match against the 1.1v reference source.

For our use for LVP now, we want to measure 3V against a 1.1v ref source, so, we use 19000 ohm R1, and 4700 ohm R2, so resulting voltage is 0.59v, which is just a little over 1/2 of 1.1v, correlating to an A-D value of about 130, but have to subtract out voltage for the what the diode takes, so we use a value of 120-125 or so.

To detect the 5V source's presence, maybe a direct wire would work, and maybe it will read 0 or 255 if present, dunno.

If it read 255, wouldn’t that be perfect? It doesn’t need a precise reading, just needs to be able to tell charger vs no charger.

If I test it, 5v direct to that pin isn’t gonna fry it, is it?

Could we not really assign star 3 to any input to that pin would turn off the output?

Have our firmwares used all the pins or do we still have one left Empty?

Might be one pin free. Dunno bout the 5V going direct in, true, might be a problem, but 5V is within the normal range for these MCU's. I'm kinda learning as we go Smile.

Blf-a6 is one of the most advanced firmwares, and it indeed has a a pin assigned to “star 3” as our fellow member already pointed out. Air wire straight from 5v input with a limiting resistor inline, then set the FW to PWM=0 whenever signal is detected on Star 3. Any reason why that won’t work?

My thoughts exactly

I just ordered my X6R yesterday, but I’ll try our theory when it gets here.

I ordered one last week keep up upto date I want to try this out as well. Thinking about using ATTiny45 for this build, thoughts?

Eagleeye=Rayus light.

Go for it!

My build is for my grandfather and will be a very, very simple UI. So i’ll be using the 13.

These ATTiny's have 8 pins: RESET, GND, VCC, then the remaining 5 pins are all I/O. Of the 5 pins, 2 can be used for PWM's.

So of the 5:

- PWM out (to FET or 7135's)

- secondary PWM out (if using a FET+1 driver) or available

- LVP in via the voltage divider circuit

- e-switch in

- available (or possible OTC with an e-switch, maybe?)

So for an X6R with e-switch, you could have 2 pins, 1 pin, or none available -- all depending, but none is highly unlikely, only if you use a FET+1 with OTC.

The RESET pin can be used for I/O but once you do that, you can't re-program with our usual $5 USB dongle - needs a special setup to clear it.

Thanks Tom. Looks like this should work for me, just need to figure out the specifics.

At least for my uses I don’t ever need both an OTC and e-switch. On dual-switch lights I want the rear to be only on/off so it can be a forward clicky and capable of signaling.

Hey Tom, would you mind doing some measuring for me? (My X6R is still in the mail)

I have been having fun playing with Eagle, so I think I want to try doing a drop-in driver that utilizes those pins.

If you are willing, can you measure:

- Diameter of the pins

- Space from pin to pin

- Space from middle pin to edge of the driver board.

  • diameter of the original driver