Hasty Briefsbeta

Bilingual

Hosting a website on an 8-bit microcontroller

a day ago
  • #AVR Microcontroller
  • #SLIP Protocol
  • #Embedded Web Hosting
  • An AVR64DD32 microcontroller (8-bit, 24 MHz, 8 kB RAM, 64 kB Flash) is used to host a website, representing a minimalistic computing setup.
  • Ethernet is impractical due to speed constraints; instead, Serial Line Internet Protocol (SLIP) over a USB-serial adapter provides internet connectivity with simple hardware.
  • IPv6 implementation is simplified by avoiding packet fragmentation, and TCP is custom-implemented with bugs, while HTTP is hardcoded for a single URL.
  • To share the website publicly, a WireGuard tunnel connects the microcontroller to a VPS in Helsinki, with requests proxied via a path (/mcu) to avoid direct exposure.