Live data from Hacker News

General purpose MCUs built in to LEDs emulate candle flicker

cpldcpu.wordpress.com

21–30 of 191 posts

Re: General purpose MCUs built in to LEDs emulate candle flicker

#21
post #19
post #14

Earlier quoted context omitted.

One car has 4,500 cells - bigger cells than most of the vapes. So it really is a matter of scale.

How many cars does one smoke in a year though?

Hopefully zero! Still, if you replace your car (or its battery) every 10 years (pretty long IMO) and smoke one vape a day (yikes), you'll use more cells on your car than your vapes.

Re: General purpose MCUs built in to LEDs emulate candle flicker

#22

If you want to see some candle flicker code based on a PIC12F508 or 9 see below. The flicker effect is based on a linear feedback shift register function to provide a pseudo random effect. https://github.com/linker3000/CandleFlameSim

Going to drop this here: “Reverse engineering” a real candle https://cpldcpu.wordpress.com/2016/01/05/reverse-engineering...

This is great, I wish I could find off the shelf LED candles that more closely approximate the real thing. I'd also like them to be taper candles on a little holder with a loop finger hole so I can grab it to investigate noises in the night.

Re: General purpose MCUs built in to LEDs emulate candle flicker

#24

Earlier quoted context omitted.

The worst offenders right now might be disposable vapes. I saw some sold with effing lcd screens built-in. For a disposable piece of crap.

The rechargeable lithium batteries in those really doesn't fit the "lithium shortage" and "we don't have enough battery capacity to build an EV for everyone" narrative

The lithium in those cheap disposable things are less "lithium" and more "metallic powder/paste that theoretically contains elements of lithium." It's not something you'd want to actually use in anything important like a car battery

Re: General purpose MCUs built in to LEDs emulate candle flicker

#25
Is the actual make and model of the MCU just a guess?

Doesn’t seem to be anything to corroborate the PIC12 besides a pinout the author has seen before.

Just mention because there are likely a zillion eight pin MCUs with this pinout/ballout pattern.

Re: General purpose MCUs built in to LEDs emulate candle flicker

#26

Earlier quoted context omitted.

The rechargeable lithium batteries in those really doesn't fit the "lithium shortage" and "we don't have enough battery capacity to build an EV for everyone" narrative

It does if the vape makers have an underpriced lithium source and don’t care about the pending lithium shortage.

they're just buying off-the-shelf cylindrical or flat-pack li-ion cells

Re: General purpose MCUs built in to LEDs emulate candle flicker

#27

Earlier quoted context omitted.

The worst offenders right now might be disposable vapes. I saw some sold with effing lcd screens built-in. For a disposable piece of crap.

The rechargeable lithium batteries in those really doesn't fit the "lithium shortage" and "we don't have enough battery capacity to build an EV for everyone" narrative

It actually fits the narrative pretty well

The materials for one EV battery can make ~30 e-bikes, and currently EVs are too expensive for most people.

The way to fix that and the way that industry is fixing it is to make batteries more efficient (higher-density, new anodes/cathodes) in parallel with making a bunch more of them (and mining more lithium).

If we succeed in making a $25k EV, the batteries used in those vapes will be _even cheaper_.

I don’t think it’s desirable and I find the waste appalling, but I do think that disposable batteries can only be expected to grow without intervention.

Re: General purpose MCUs built in to LEDs emulate candle flicker

#28
post #23

I really hate these fake LED candles with a passion. Either put an actual candle on the table, or just put a small cosy light that doesn't flicker.

I like quite them. With LED candles, there's no danger of fires if you forget about the candle, or if you accidentally knocking them over, or if something accidentally goes over the candle. There is no mess to clean up as the candle melts down the wax. There is no worry about wind blowing out the candle.

I don't like those small LED candles using disposable watch/button batteries. I use ones using standard AA batteries, which means I can use NiMH rechargeables.

Re: General purpose MCUs built in to LEDs emulate candle flicker

#30

Once upon a time, on USENET, someone had a .sig that predicted one day computers would be cheap enough they'd come in cereal boxes and we'd throw them away. That day appears to have arrived.

The worst offenders right now might be disposable vapes. I saw some sold with effing lcd screens built-in. For a disposable piece of crap.

I've collected a few of them and they are robust and rechargable batteries. A common battery is IP17350 1100mAh 4.07Wh (Date of manufacture the one I see on the one I'm holding is 20210613). Anyone got any idea to use them besides small flashlights? They also have a pressure sensor on the LED and a nice metal case pretty often.
Post reply on HN