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[^6].
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[^6].
The project demonstrates creative e-waste reuse at a time when disposable vapes face increasing restrictions, with recent bans enacted in Rhode Island[^13] and other jurisdictions. The developer notes the irony of “disposable” devices containing USB-C ports and rechargeable batteries[^6].
[^1]: Hosting a WebSite on a Disposable Vape | Lobsters
[^6]: Hosting a WebSite on a Disposable Vape
[^13]: New year, new laws: RI to put host of new laws on the books | ABC6
time for a beowulf cluster of vapes.
onslaught545@lemmy.zip 18 hours ago
But can it run Doom?