Hacker News new | ask | show | jobs
by cowlevel 21 days ago
Maybe. Try it and see. If it doesn't work it's probably just a temperature sensor (thermistor) and a resistor indeed simulates a certain temperature the same way your power supply simulates a charge state.
2 comments

You could probably open the wrap of a battery to show the individual components including the cells and other guts. Once you identify what the cables lead to then simulate it or replicate it.
Or we could look at how it communicates in-circuit, since that matters more than what it looks like to the eyeballs.

Most/all phones have one cell and therefore no balancing magic. Two connections do the job of connecting to the battery cell to the rest of the phone. These two are easily identified with a DMM.

If the phone works with only these two connections, then we're done; the phone will run from a bench power supply and there's nothing left to pursue.

If it does not work, then the functions of any additional connections be further explored while still never unwrapping the battery. Serial data? NTC thermistor? Something else? Fine; record that and emulate it. NTCs are cheap and so are MCU dev kits. (And if we don't have a decent-ish oscilloscope yet, then this is a good excuse to get one.)

1 point by leptons 16 minutes ago | root | parent | next | edit | delete [–]

If you don't have any real training in electronics, please refrain from giving advice like this. It can start fires, especially when lithium batteries are concerned.

In other words, never hack things, it could be dangerous!
That is not what I said at all, but thanks for taking it completely of context for your shitty troll comment.

Do whatever the fuck you want and suffer the consequences yourself for doing stupid things you don't understand, but don't encourage other people who also may lack understanding to follow you over a cliff.

If fucking around with lithium batteries doesn't make you pause a bit, then you're just ignorant.

It's fine to provide a PSA warning as an aside, but do please mind your tone in the forum.

There are people here that do engage with things just as and even more dangerous than lithium batteries.

Have you fucked around with lithium batteries and hurt yourself?

Yes, plenty of YouTube videos of lithium ion batteries catching fire quite violently when damaged. Have you actually experienced it?

I'm sure you've read the guidelines - don't keep poking people, it reflects on how others see you.
This pointless internet interaction is over.
The type of advice that 99% of HN commenters would be able to do properly…but that last 1% … I hope they don’t cause the battery to blow up when they try to open it up in just the wrong way!

Still though, could be a lot of screwing around needed to get this to work. Likely the extra wires go straight to a chip which expects to be able to monitor the voltage of the battery, and which might be alarmed by a power supply that acts unnaturally for a battery.

If you don't have any real training in electronics, please refrain from giving advice like this. It can start fires.