r/arduino • u/nodsecurity • 2d ago
My first hardware project: a Bluetooth key with a screen that approves AI coding requests (and the screen I killed along the way)
Parts: Seeed XIAO nRF52840, Waveshare 1.47" ST7789 screen (172x320), a Kailh Choc low-profile switch, a 350 mAh LiPo, all in a 3D-printed case.
What it does: my computer sends permission requests from AI coding tools (Claude Code, git push) over Bluetooth. They show up on the screen as cards. Tap approves, double-tap denies, holding opens the full request on the computer.
Things I learned the hard way: I ripped the BAT+ pad off my first XIAO by holding the iron on it too long. Bending the screen's wires right at the plug is a bad idea, so bend them a few mm out. I pressed the screen into the case too hard and cracked something inside: backlight on, permanently gray. A slow 1 MHz test sketch confirmed it was the screen and not my wiring. I also found solder bridges between neighboring XIAO pads with a meter on the resistance setting. The firmware mirrors the screen over USB serial to a web page, which saved me when the screen died, because I could still read the Bluetooth pairing code.
Code and case files (MIT): https://github.com/h-ardy/nod
Any tips for mounting a small LCD so it doesn't get crushed? I'm on case v3 now.
Also, I'm doing this for a project, and I need to get 30 sign-ups (no commitment, just "hey, this is cool"), so consider helping a fellow hardware enthusiast out: https://docs.google.com/forms/d/e/1FAIpQLSfKp-Y8i4qN-OVD9S6_ORSReaYSJef7rT_LQQQaXqxfrq6VkA/viewform?usp=header