Altoids 項目:父子花兩個月打造薄荷糖盒迷你電腦
Altoids 项目
一名父親與 12 歲兒子花約兩個月完成 Altoids 項目,將機械人顯示屏、Arduino Nano 等元件逐步裝進 Altoids 盒,歷經五次迭代完成迷你電腦。兒子負責 CAD 和 3D 列印,並在焊接與除錯過程中累積經驗;最終成品還放入兩顆 Altoids 薄荷糖。
My 12-year-old son and I spent about two months on, what we call, the Altoids project. Here is the final product (video):

It all started when I took him to MIT Swapfest for the first time. We saw an assembled robot from a couple’s booth; later we learned that it was from a kit. It was built by their daughter many years ago. After realizing I had come with my son, they gave us the robot for free. We also picked up a used ThinkPad laptop at a very reasonable price, which we used for the project.

As any curious mind would, we disassembled the robot. Noticing that we were missing the control, we wanted to see which parts we could reuse. We took the 128x64 display off. But we couldn’t find the pinout for the display. We tried using AI, but it hallucinated so badly that it gave us a 20-pin pinout when the display only has 10 pins.

After hours of searching around, we found the exact schematic posted on Arduino’s forum by a stranger on the Internet. God bless him. With the pinout, we finally made the display show something. We ran the Space Trash game from the U8g2 library. Let’s call this v1.

I had just watched a YouTube video where someone built a tiny computer and fit everything inside an Altoids tin (video). Inspired by the YouTube video, we grabbed a random tin found in the house and moved the project to the workbench.

To reduce the form factor, we switched to an Arduino Nano, and ordered LiPo batteries and PowerBoost for power supply. Everything needed to fit in the tin. My son did all the CAD and 3D printing.
Here is what v2 looked like. The lid did not close. It felt like playing 3D chess to fit everything in.

We ordered solderable breadboards to avoid the messy wires. It was looking promising. We also bought a real tin of Altoids from a grocery store, since the Altoids tin is actually a little taller than the one we were using earlier. This is what v3 looked like. The lid did not close, but we were getting closer.

The display was connected to a tiny solderable breadboard. We wanted to remove it and connect the wires to the display directly. But we had a really hard time with desoldering. We accidentally pulled one copper pad off the display, making it unusable. We might be possible to salvage it, but we just ordered a new display from Adafruit instead.

At this point, I wanted to avoid desoldering as much as possible. So we got those tiny hooks for testing the display (video). This is when we realized the new display does not default to SPI mode. We did not want to make more changes to the wiring, so we still had to desolder two jumpers.
I suspected our soldering iron was heating unevenly. We ordered a new soldering iron and it made all the difference. With the new iron, we made rapid progress. We hot-glued the display onto the lid. Everything worked for the first time. This is what v4 looked like. The lid did close with some struggle.

Two wires connecting the microcontroller and the display broke the next day. We did many hacks, one of which is to extend the wires by soldering two wires together. It did not work well, obviously. We got some ultra-fine (30 AWG) wires to replace them. At this point, my son did most of the desoldering and soldering work. He actually connected one wire incorrectly, so it did not work at first. It is a good debugging and learning experience.
As a final touch, we got tiny 1x1-inch ziploc bags and put two actual Altoids in the tin. And here we have the final product, after five iterations. None of the components used in the first iteration survived.

來源:Hacker News 熱門(buzzing.cc 中文翻譯) · uvdn7.github.io