[WIP] opencharger - an open source community-driven single cell travel charger with feature creep

Ill throw my argument at a magnetic lead charger.

My dream device?

Magnetic. Charger circuitry at one end with magnet built it, extended lead for the other end. Long enough lead for 21700. Bots hold together (snap or screw) for secure travel. Making it the size and shape of a battery (18350?) would be ideal.

Oh, and bluetooth for control. Not really a fan of BT for most chargers but in a minimalist single, BT would give festures without bulk or ackward buttons or lights.

1 Thank

I have mixed feelings about the mag chargers, I’ve only owned one from when user cottonpickers was selling 500ma chargers on CPF, a decade or so ago. This particular charger doesn’t have short circuit protection, but regardless, the paranoia of the leads attaching to metal stuff on my desk prevents me using this style of charger more. Perhaps I should investigate more modern designs and see how they hold up to travel use.

I do like the “security” of a proper cell holder, but they undoubtedly add bulk, which detracts from being a travel charger.

Some sort of folding/collapsible/telescopic mechanism might be a good trade-off. Perhaps both ends are sliders so in effect the size is halved, I’m picturing a similar mechanism selfie sticks/ phone holders use to hold each side of a cellphone.

I currently use a Vapcell U2 charger, which is pretty good with the exception of the size/bulk, the very bright LEDs, and the Micro USB (would prefer USB C).

That’s an interesting device class too, but needs a different design… Might tackle it eventually, but with a lower max current and no power bank capability. In return with full bidirectional operation, so it will charge correctly no matter how you connect the leads.

1 Thank

So, uh, I may have gone crazy. Changes since last revision:

  • Added the logic for 0.5/1/2/3 A charging
  • Added a MOSFET in the USB power supply, because this charger chip can get confused if it gets USB power before battery power - now the microcontroller can quickly disable/enable USB power to get the chip to behave nicely (this solves the “can only select charging current if battery is plugged in first” issue)
  • Added beefier MOSFET for reverse current protection (less drop → less heat, faster charging)
  • Added a shunt and current sensing chip, so now the microcontroller can actively measure battery current and voltage (while charging and discharging!). In theory, it can display that on the OLED (still planned, not yet implemented) and even log via USB if I ever manage to program such a thing. Hardware is now there, and barely adds 40ct per unit. Disclaimer: May not be particularly accurate out of the box and need manual calibration.
  • Switched to 4 layer PCB. Will add ~50ct-1$ per board, but in return makes my life a lot easier and should improve performance and EMI.
  • PAIN

This thing keeps straying from a “quick and simple charger for the community” to an overengineered abomination that tries to do everything (and will hopefully not fail at doing anything properly). Feature creep is evil.

Anyway, I’m enjoying this, and I think it will be something unique and fun in the end. It will be able to display and/or log charger (not really cell) temperature, voltage and current.

Once this weird thing is done, I will probably make a cheaper, simpler, compatible “Lite” version, with 0.5 A/1 A charging, no powerbank feature, no microcontroller/software. This will probably be a whole lot more interesting for the majority of people, and strengthen my design goal of a modular, open design.

Just don’t expect me to finish this anytime soon, if I keep shifting my design goals every other day… :smiley:

Gonna go to bed now, my alarm will ring in 6 hours and I need some sleep for work.

9 Thanks

Is this charging worse than yours? image , https://www.reddit.com/r/flashlight/comments/4ijqqm/review_zero_reviews_opus_btc100_charger/?rdt=53880

Put OLED in and then make a final feature freeze :smiley:
Awesome work!

Hello!
I love this project and would like to contribute to it. If you want i can test some prototypes or write software for it. I live in NL so for shipping that makes sense. Love the idea!

Thanks for posting this! I was recently thinking about this charger, but couldn’t remember what the type/model number was.

It looks though that it is discontinued, since a lot of stores who sold it, including Nkon for example, don’t have it listed anymore on their shop or it is ‘out of stock’. I also tried to look for it on Banggood (who used to sell it I read) and on Aliexpress, where a lot of stores are (still) offering the BT-C3100, but I found practically nothing, except one listing which was also out of stock.

I would love to see Opus bringing a version 2.0 to the market, with the improvements that HKJ stated in his (initial) review (Review of Charger Opus BT-C100) and with a USB-C port instead of a micro-USB.

But back on topic:
So far I also really like the development and functions of this new single cell (travel) charger! Thanks to @ebastler for all the time he has put in so far!

id love to do some testing for ya, im in the UK and ive got a couple 3d printers at home so hmu if the shipping makes sense id be happy to print parts and test

1 Thank

I am a novice when it comes to electronics, but I came across this item while browsing AliExpress and thought it might be useful to your endeavours.

£0.64 | 3.7V Lithium Battery Charger 5V 1A 2A Li-ion Lipo Battery Charging Protect Two-in-one Module Micro USB Type-C Protection Board

Would definitely have to improve on the olight to get me interested.

Great project! I only wish someone made something modular like this sooner.

Thank you both for the offers! In fact, if all 5 prototypes I will order end up working, I would still have 2 slots open - if you are interested, we can work something out. For now I gotta finish the PCBs, and hope I will not get a dud :smiley:

Help with SW would be welcome, I will make a bare minimum SW myself, but my C++ skills are very basic, and to get the featureset I plan working on such a small controller (32k flash, 6k RAM) it will need to be programmed close to hardware and very optimized. My plan was to use the STM32 Cube IDE.

3D printer I got myself (if I manage to get it working again :P), so cases for the protos are no problem. And just some testing and feedback in general, ofc.

Yeah, there is a bunch of those, but all seem to either be micro USB (Liitokala) or fixed high charge currents (XTAR). Which sucks.

Thx! The modularity will allow for a flexible bay to be added if someone finds a way to design one later on, too, which I think is a cool feature to have next to fixed single-size-cell bays. And I still plan on making a mag lead module eventually, too.

I know those, they are based around one of the cheapest charge ICs, but it does its job fairly well. I was planning on using similar electronics for my cheaper “Lite” model core eventually! Should even get it working for not much more cost than those Aliexpress modules, but size/connector compatible with the bigger charger I am developing rn.

0.5 to 3A changeable current, optional OLED for status, USB logging, powerbank… If you need/want any of the features or not is a different topic though :smiley:

Haha, thanks! Hope it will all work out as planned… Bit scared of the temperatures when the PCB pushes 15W. About 1.5W of power loss on such a tiny PCB… Will be tough to keep cool.

I did not find much motivation to continue these days, but I wanna pick it back up sometime this week :slight_smile:

1 Thank

I think the smartest idea is to make a discord server or group for this project, then we can communicate on ideas easier since that works faster for me than blf
Add me @joran_urbex i will add ruckus, you can also send a link in here for other people to join

I’m begging you don’t. I feel locked out of so many amazing open projects due to their decision to exclusively use discord as their community space.

1 Thank

My .02¢

My travel charger has become semi permanent in one of my hunting trucks on my farm.

Cheapo Amazon special that surpassed all expectations. USB c was my only real requirement so as to be able to use a cheap 12v adaptor as the truck is like 25 years old :stuck_out_tongue: 500ma was also great as my preferred cell out in the woods is 18500

I’d be interested still as I am a sucker for open source projects though I’ll admit it seems like this checks most boxes at 12$ shipped


Fair point

I have a discord server (which has a read-only thread for this project with 0 content :D), and it’s possible to contact me there (@ebastler), but I plan on keeping the thread here as the main place for this project - it started out in the BLF community, and it is where it is rn due to the invaluable input from the forum members. So I feel the project should stay focused on this place. Not everyone may have discord, or want to use it to talk about this :slight_smile:

4 Thanks

Thank you so much. Even though my personal case has to do with not wanting to be a part of nonfree, corporate social platforms hidden behind a doxxwall, I think this choice of platform has major negative practical implications for an open source project. It’s the project community platform where issues are discussed and often solved but search engines can’t index Discord and it’s not accessible for browsing without signing up. Another thing is that Discord the corporation can decide to change their ToS on a whim and e.g. start deleting discussion history older than a set limit. Community-led open source projects don’t have paid customer service teams and the documentation is sometimes unreliable or insufficient due to limited time and resources, the community site fills in the gaps and IMO that should be as accessible as possible.

2 Thanks

Got a status update yet again. I spent some time on this again and - in theory - it is ready now. Everything is routed. Guess you can see just how crazy cramped the PCB got. There is hardly any unused PCB surface left… I hoped I’d be able to put a larger microcontroller on, but nu chance. Zero free PCB estate for that. Even this tiny 4x4mm chip is already pushing the limits. It’s the smallest chip I know that can be programmed via USB out of the box - no flashing dongles or adapters needed.

See the weird 4pin header? Planning to use that for a small OLED. Have yet to decide if the OLED PCB will have matching solder pads, or if the users will have to solder 4 thin wires to the pads manually.

This is the 18350 PCB - Not sure if I showed that one already. The small daughterboard is supposed to be soldered on by the user, with the 6 large solder joints on the edges of the daughterboard. Once again, don’t mind the protruding snap in contacts. Not the final 3d Model of the battery holder. Planning to use one like the pic attached. They only have the small alignment pin, no snap-ins.

And some quick CAD mockups of how the whole thing is supposed to look.

Still not at the finish line, but for the first time since I started this project it actually seems to be just around the corner. I now know it is possible to squeeze all my desired features onto this tiny board. I do not know if it will actually be able to charge a 6000 mAh cell at a sustained 3A without thermal throttling though. The chip is efficient, but that is a lot of current for such a tiny PCB. It does not have much surface area to dissipate that much… Will see. Worst case I will limit to 2A in software (proto batch) and 2.5A in hardware (later batches).

7 Thanks