• wewbull@feddit.uk
    link
    fedilink
    English
    arrow-up
    37
    ·
    3 months ago

    A vape is a battery connected to a button connected to a heating coil. You might want a single transistor. You don’t need a software platform.

    • StarDreamer@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      9
      ·
      3 months ago

      Disclaimer: I don’t smoke anything, so I don’t know any details.

      Wouldn’t a button connected to a heating coil be a fire hazard? Is there no automatic shut-off based on temperature? If you add enough safety features, it might end up costing about the same as an embedded SoC.

      • lyralycan@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        7
        ·
        3 months ago

        All it would need is a thermal fuse/cutoff, like those in portable heating appliances (air fryers, grills etc.). I wonder what’s needed to include a 10 second on & 30 seconds disabled timer, maybe it’s cheaper

        • nyan@lemmy.cafe
          link
          fedilink
          English
          arrow-up
          6
          ·
          3 months ago

          I wonder what’s needed to include a 10 second on & 30 seconds disabled timer, maybe it’s cheaper

          555 timer and a transistor or two, I think?

        • wewbull@feddit.uk
          link
          fedilink
          English
          arrow-up
          2
          ·
          3 months ago

          An RC circuit charging up to some threshold voltage. You can even make it adjustable with a variable resistor.

    • MinnesotaGoddam@lemmy.worldBanned from community
      link
      fedilink
      English
      arrow-up
      3
      ·
      3 months ago

      i disagree with the single transistor. overcharge prevention requires something more (i am not a batteriologist don’t ask me what. i’d do it with a tesla coil because that’d look cooler)

      • wewbull@feddit.uk
        link
        fedilink
        English
        arrow-up
        2
        ·
        3 months ago

        I was assuming it was disposable (as so many are) and therefore no charging circuit.

        • MinnesotaGoddam@lemmy.worldBanned from community
          link
          fedilink
          English
          arrow-up
          1
          ·
          edit-2
          3 months ago

          Huh. The disposables I am occasionally “forced” to get (put it in a 510 thread gramma) have charging ports. I usually have to charge once or twice to get through the full gram.

          That being said, the good local dispo just rebranded and gave me a bunch of 510 batteries with the old name on them. These batteries are fantastic and look about the same size as the server in the article

    • teyrnon@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      2
      ·
      3 months ago

      There is a little more to it, pressing the button 5 times turns it on and off. Three times often lets one cycle through power settings. But yeah, anything more than a very minimal programming is frankly suspicious.

      It could be a lot is used to get the charge right idk.