AMAZINGINDEX.COM 日报快照
55.9
VOL. 2026.05
2026.05.18
← 返回 2026.05.18 日报
日报快照 · Daily Snapshot
NO. 015

8位单片机跑网站,205赞

#ARTICLE HackerNews 2026.05.18
推荐指数 60.0 NO. 015 · 2026.05.18
发布2026/05/17Score205Comments17

用AVR64DD32微控制器直接托管完整网站,包含TCP/IP协议栈和HTTP服务器。对做边缘AI和物联网的工程师有启发:极端资源约束下的优化思路可迁移到模型部署。

8位单片机跑网站,205赞

这个项目真正的价值不在"能跑",而在展示了如何把现代网络协议栈压缩到64KB Flash和8KB RAM里。做TinyML和端侧推理的团队经常遇到类似困境:模型本身不大,但推理框架+驱动+通信协议就把资源吃光了。

作者没有开源代码,但技术路线很清晰——用lwIP的精简版+静态页面预编译到Flash。如果你在做MCU上的LLM推理(比如TensorFlow Lite Micro),这个内存分配策略值得参考。不过注意AVR64DD32没有硬件乘法器,跑不了任何有意义的神经网络,别被标题误导去复现"AI on 8-bit"。

正面 15 条评论

核心争论:8位MCU跑网站是炫技还是实用,AVR架构未来是否被ARM取代

steve_taylor

I love how I can see the HTML being streamed onto the page in real time, like the good old days of dialup when images gradually rendered from top-to-bottom.

reassess_blind

Took a while but she loaded. I've seen enough, we're pushing this to production.

dragontamer

I love the AVR DD, EA, EB series. However, the newest chip release from Microchip is somewhat worrying to AVR fans. https://www.microchip.com/en-us/products/microcontrollers/32... The PIC32 CM has most of the features of AVR DD, including event system, MVIO, 5V operatio

替代方案: PIC32 CMSilicon Labs BusyBee8051Silabs efm8ASIX 8051 with Ethernet32-bit WLCSCP microcontrollers
查看原文 →