42
submitted 3 days ago* (last edited 3 days ago) by Pro@programming.dev to c/Technology@programming.dev

Comments

  • Website.
  • Blog source.
  • For a couple of years now, I have been collecting disposable vapes from friends and family. Initially, I only salvaged the batteries for “future” projects (It’s not hoarding, I promise), but recently, disposable vapes have gotten more advanced. I wouldn’t want to be the lawyer who one day will have to argue how a device with USB C and a rechargeable battery can be classified as “disposable”. Thankfully, I don’t plan on pursuing law anytime soon.

    Last year, I was tearing apart some of these fancier pacifiers for adults when I noticed something that caught my eye, instead of the expected black blob of goo hiding some ASIC (Application Specific Integrated Circuit) I see a little integrated circuit inscribed “PUYA”. I don’t blame you if this name doesn’t excite you as much it does me, most people have never heard of them. They are most well known for their flash chips, but I first came across them after reading Jay Carlson’s blog post about the cheapest flash microcontroller you can buy. They are quite capable little ARM Cortex-M0+ micros.

    Over the past year I have collected quite a few of these PY32 based vapes, all of them from different models of vape from the same manufacturer. It’s not my place to do free advertising for big tobacco, so I won’t mention the brand I got it from, but if anyone who worked on designing them reads this, thanks for labeling the debug pins!

    you are viewing a single comment's thread
    view the rest of the comments
    [-] Someonelol@lemmy.dbzer0.com 5 points 3 days ago

    This is the coolest thing I've seen today. It's crazy how much computing power goes into passing current through a heating element. This should all be done with just a potentiometer and a switch to the battery, if only to make it cheaper for the manufacturer.

    [-] sukhmel@programming.dev 4 points 2 days ago

    I agreed with you at first, but now I think it's a bit more difficult. I think, the chip is there to prevent overcharge, to adapt to changing battery characteristics as it degrades or heats up, preventing overheating, maybe more of the things I don't know about

    So while it would work with less tech, it would likely be not as long lived and as safe, imo

    [-] vala@lemmy.dbzer0.com 1 points 2 days ago

    It can actually be even simpler than that. You don't even need a potentiometer technically. That being said it's not very safe this way. If something goes wrong with the coil there is almost no warning and nothing to stop catastrophic failure.

    this post was submitted on 15 Sep 2025
    42 points (100.0% liked)

    Technology

    597 readers
    499 users here now

    Share interesting Technology news and links.

    Rules:

    1. No paywalled sites at all.
    2. News articles has to be recent, not older than 2 weeks (14 days).
    3. No external video links, only native(.mp4,...etc) links under 5 mins.
    4. Post only direct links.

    To encourage more original sources and keep this space commercial free as much as I could, the following websites are Blacklisted:

    More sites will be added to the blacklist as needed.

    Encouraged:

    Misc:

    Relevant Communities:

    founded 4 months ago
    MODERATORS