A developer repurposed discarded disposable vapes into functioning web servers by utilizing their built-in PUYA microcontrollers[1]. The project runs on a 24MHz Cortex M0+ chip with 24KiB flash storage and 3KiB RAM, found inside modern rechargeable “disposable” vapes[2].

The web server implementation uses uIP for TCP/IP networking and communicates via SLIP protocol through semihosting. After optimizing the data transfer with ring buffers, the server achieves 20ms ping times and 160ms page load speeds[2:1].

The project demonstrates creative e-waste reuse at a time when disposable vapes face increasing restrictions, with recent bans enacted in Rhode Island[3] and other jurisdictions. The developer notes the irony of “disposable” devices containing USB-C ports and rechargeable batteries[2:2].


  1. Hosting a WebSite on a Disposable Vape | Lobsters ↩︎

  2. Hosting a WebSite on a Disposable Vape ↩︎ ↩︎ ↩︎

  3. New year, new laws: RI to put host of new laws on the books | ABC6 ↩︎

  • ☂️-@lemmy.ml
    link
    fedilink
    arrow-up
    13
    ·
    edit-2
    8 hours ago

    those are so fucking wasteful. i hate disposable garbage and planned obsolescence with a passion. it’s one of the few things that can make me instantly angry.

    10y old phone can barely load google

    that’s very untrue. 10yr old phones are still functional if you can still get a replacement battery for them.