Hosting A Website On A Disposable Vape

For the past years people have been collecting disposable vapes primarily for their lithium-ion batteries, but as these disposable vapes have begun to incorporate more elaborate electronics, these too have become an interesting target for reusability. To prove the point of how capable these electronics have become, [BogdanTheGeek] decided to turn one of these vapes into a webserver, appropriately called the vapeserver.

While tearing apart some of the fancier adult pacifiers, [Bogdan] discovered that a number of them feature Puya MCUs, which is a name that some of our esteemed readers may recognize from ‘cheapest MCU’ articles. The target vape has a Puya PY32F002B MCU, which comes with a Cortex-M0+ core at 24 MHz, 3 kB SRAM and 24 kB of Flash. All of which now counts as ‘disposable’ in 2025, it would appear.

Even with a fairly perky MCU, running a webserver with these specs would seem to be a fool’s errand. Getting around the limited hardware involved using the uIP TCP/IP stack, and using SLIP (Serial Line Internet Protocol), along with semihosting to create a serial device that the OS can use like one would a modem and create a visible IP address with the webserver.

The URL to the vapeserver is contained in the article and on the GitHub project page, but out of respect for not melting it down with an unintended DDoS, it isn’t linked here. You are of course totally free to replicate the effort on a disposable adult pacifier of your choice, or other compatible MCU.

5 thoughts on “Hosting A Website On A Disposable Vape

  1. Hariharasubrahmanian Shrikumar designed an itty-bitty cheap web server in 1999: The World’s Smallest Web Server?

    It is the size of a match head and it costs less than $1. The single chip computer runs an iPic web-server and is claimed to be the tiniest implementation of a TCP/IP stack and an HTTP 1.0 web-server.

    The chip is a PIC 12C509A, running at 4MHz the CPU, with 256 bytes of memory, serial port interface circuitry and clock oscillator. The TCP/IP stack is implemented on a small 8-pin low- power microcontroller using 512 words of program ROM. Its inventor says that if iPic can fit in a PIC, it can fit in just about anything.

  2. my buddy goes through three of these things a week. I know the original author doesn’t want to advertise a tobacco product by revealing the name of the manufacture, but if anyone knows or recognizes from the pic can you shoot me an email so I can get him to save the brand that can be used the letter k then saunders0324@gmail.com thank you!

Leave a Reply

Please be kind and respectful to help make the comments section excellent. (Comment Policy)

This site uses Akismet to reduce spam. Learn how your comment data is processed.