Added Charging Circuit(for modding lights with charging) OP Updated ME4057

Cool! Let us know!

I finished building the TA driver. I will flash it tonight and then hopefully tomorrow I can test it with the charging circuit from the a2. I’m not sure what implications it will have on the software. I’m not even sure if it will work at all but I’m going to find out:)

The driver is flashed with narsil triple. Narsil triple doesn’t have an indicator led support so it will only use the onboard leds when plugged in and charging. Tomorrow I need to remove the switch from the stock driver, isolate it from the contacts, and replace it with arctic silver or maybe epoxy. Idk? That way I can use the stock switch without turning the stock driver on when pressed. I am hoping that this will allow the stock driver to remain in standby mode only used for charging. All other functions will run from narsil.

All testing is a success aside from one issue.
You can see here they that the charging circuit works with the TA driver connected.

In fact the TA driver has full functionality while plugged into the charger. With it hooked up this way the MCU on the stock board never turns on. It runs in standby of only 16ua of battery drain. Now what I didn’t expect was the high standby current of the TA driver by its self, connected or on its own it draws 4.6mA of standby current. Now I did not expect this.

Is this normal for Narsil to draw this much power? Or did I compile/flash the firmware incorrectly? I’ll be looking into this now.

Well, I have found out that Narsil triple does indeed have a standby current of 5ma. This is quite dissapointing. I was excited about this build but now I’m unsure. Maybe I will try building another driver and use standard fet+1 Narsil. But all I have are triple channel boards and it would be a pain trying to rearrange the pin orders so I might put this one on hold for now. I know the pin arrangements can be altered in the firmware. In fact I’ve done it before but I forget quickly. It’s a pain having to constantly relearn things. I used to be quite sharp but I’ve lost my edge. Well even a dull bit can cut through wood if you push hard enough. Eh?

Edit: removed unnecessary personal issues.

I think I I have a way to easily convert the triple channel TA driver to use standard Narsil. I’ll give it a try

It looks like you’re a bit on your own in this thread, but I’m still listening :slight_smile: , it is crusades like yours, trying out stuff in a thought-over way, that brings modding inventions.

I’m still watching too. But, I can’t help either. Sorry! :blush:

Thanks for atleast some feedback guys! Dont mind talking to myself but it’s always nice when someone listens:)

This is what I did to convert the TA triple channel board into an fet+1 board for Narsil.

And it works! :+1:

I cut the trace on the bottom that goes to the fet gate resistor. Then I jumpered a wire from the all7135 gate pad to the via going up to the fet.

I’ve isolated the switch from the other MCU with solder mask tape.

I’ll even be able to use the indicator leds. I’ll hopefully be able to wire it up tomorrow.

This is how it will fit in the light. There is a lot of extra room in this light!

Awesome work!

I couldn’t agree more djozz. I’ve been following with interest not understanding anything much at all. :beer:

I had to wait for some epoxy to dry so I thought I would rebuild the tail cap.

As you can see, I dremeled a small lip on the copper disk to center it inside the retaining ring. I should have used a different method for that but it actually makes very good contact with the retaining ring. I sanded down a pre 1982 penny for the copper and added a bypassed spring to it.

Now there is great contact to the tailcap.

I got it all tested today. It’s working great on the power supply. Ill still need to put it together and test all the function with the a batttery as power source.

The spring and driver are bypassed with 20awg straight to the emitter pos.

I had to drill a hole and dremel out a slot for the bypass. I also trimmed about 2mm off the top of the vertical board to give a bit more room for the piggybacked driver.

The small red wire is wired to the green indicator leds. There is one on each side of the switch but they are wired in parallel. The other end of the red wire goes to the via on the bottom side of the TA driver that goes to pin three of the MCU. It formally went to the fet on the other side of the driver, but that trace has been cut as shown in the diagram in a previous post.

The blue wire is wired to the isolated leads of the switch and goes to the switch pad on the TA driver.

You can also see a white wire tucked away on the back side of the photo. This is a wire that connects the batt pos from bottom board to the top. And the 20awg black wire that jumps the batt neg from bottom to the top board.

Even with all this circuitry you can see there is still a good deal of space inside the head. I believe there will be plants of room for the pill and for the wires to twist a bit while screwing in the pill.

Hopefully tomorrow I will have a working light! I still need to secure the TA driver and pot it just enough to hold it in place and give some heat transfer to the host.

Looks really good! I’m always impressed with the chop-shop mods like this. It takes skill to do this level of work, especially in such tight spaces. I’m watching to see it finished and working on battery power!

I was able to test the light with the battery installed. Most everything worked fine. The only anomaly or maybe it’s not, was the charging current. The charger was drawing nearly 10watts of power to charge the battery! Has anyone measured the charge current of a stock a2? I’m not sure if the volts /current ratio? But the total power was 9.8watts. I’ll measure the actual current to the battery tomorrow.

Other than that every thing works. I have the driver potted and the pill installed. I need to solder the mcpcb tomorrow. I’m putting the origional led back into the light in a noctigon and dedomed.

I would add some pics but I can’t get imgur to work right now.

That’s odd. The ME4057 is a 1A linear charger, so it should only be using 5W from the 5V USB supply. You didn’t use two in parallel, did you?

Ok. Good news. The charger is working correctly. I temeasured using my multimeter and got a reading of .65amps of charge current. My benchtop meter must be incorrect. I just installed it all and started using it so there may need to be some calibration to get it to read properly.

Here you can see the unit is charging and able to light up the led at the same time. Note the power reading of 9watts. This is incorrect. It charges at a bit over 2watts or .65amps.

The red indicator leds flash until the battery is fully charged.

It draws 50ua of power in standby mode. Not bad!

I mixed up some thermal adhesive to stabilize the piggybacked driver and add a small thermal path to the host.

Installing the led in a little bit! :slight_smile:

I now have a supfire a2 zoomie with charging running Narsil and pulling 4.3amps from the dedomed origional led:) There was some uneccessary complicity to this build but I learned much. Most of all it looks as if our driver boards can run parallel to an onboard charging circuit!

I’m surprised as to how little interest there has been in reaction to this thread. Onboard charging is the biggest feature yet to be integrated into our own high powered drivers. There are challenges in the way, but that has been the case for every advancement that has already been achieved. Our own drivers will soon have the ability to charge in light! This is one step closer to that goal. I believe this is the first light that has charging along with one of our own eswitch drives. Maybe not? But I believe so. Next I would like to see a small piggybackable charger board that could be installed with our drivers. Then ultimately
A blf driver/charger board all in one!

Not sure you found out the truth, but it's not really 5mA. Wait 10 secs, you will see... It's been tweaked, optimized. Lowest standby current is achieved with disabling brownout.

I repeatedly measure low uA standby on many Narsil builds. What's doing 5 mA is full operation of the MCU, no sleep, no powering down devices, etc.

Great Job on this mod!! Looked quick but have to follow-up in detail because I have an A2 as well I'd love to fully mod, though I got literally piles of mods to do...

Sorry - been wayy behind on pm's...