• rain_enjoyer@sopuli.xyz
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    14 hours ago

    ok fine i’d put there a current limiter which you can make with 2 transistors and a diode. no need for an entire microcontroller. it’s often included with batteries these days anyway

    • terranoid@lemmy.cafe
      link
      fedilink
      English
      arrow-up
      5
      ·
      edit-2
      14 hours ago

      I believe lithium ion batteries need custom chips just to charge and discharge smartly

      Shit, even connecting to modern USB c to negotiate voltage you need a controller

      • rain_enjoyer@sopuli.xyz
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        13 hours ago

        i think you can get away with resistors when you can work with 5V, up to 1.5A. lithium batteries need current limiter in series with voltage limiter, and this alone can be made in a very simple way, unless you want to know when battery is charged, or if you want extra efficiency that smps gives you, but this only makes sense for larger batteries (phone-sized and up) or when you want to handle everything to charger and connect battery to charger directly. then i think you need controller