How DIY AI glasses work
The OpenGlass project (MIT licence) showed that a tiny ESP32-S3 board with a camera can turn ordinary glasses into "hackable smart glasses" for under $25 of parts, by the project's own estimate. The board takes a photo every few seconds and streams it over Bluetooth Low Energy to a phone or computer app. The app sends the images to a vision-language model, which can describe what you saw, read text, identify objects or keep a searchable visual diary.
Based Hardware has since folded OpenGlass into its main Omi repository as omiGlass; the old repo says it is no longer supported. omiGlass pairs with the Omi app and is described by its makers as an experimental developer kit. Either way, the hardware recipe is the same: a XIAO ESP32-S3 Sense, a small LiPo cell and a printed housing.
The important difference from commercial glasses: you pick the model. The original OpenGlass app can use cloud APIs (Groq, OpenAI) with your own keys, or a model such as Moondream running locally through Ollama, so images never leave your network.
Parts list
| Part | Why | Notes |
|---|---|---|
| Seeed Studio XIAO ESP32-S3 Sense | ESP32-S3 with Wi-Fi and Bluetooth LE, a detachable camera, digital microphone and microSD slot on the Sense board | The stack measures about 21 × 17.8 × 15 mm. It has a built-in LiPo charger over USB-C (Seeed wiki). |
| 3.7 V LiPo, size 502030 (~250 mAh) | Power | 5 × 20 × 30 mm, with leads. This is the size OpenGlass specified. |
| Our pod + lid (printed) | Holds board and battery, clips to the arm | PETG for glasses you'll wear, PLA for a test print. |
| Glasses frame | Something to clip onto | The pod is sized for the arm of the "Stylish Glasses Frame" by Mdesign on MakerWorld (a 1.13 mm blade). That design is licensed for personal use, so print it yourself; we can't sell it. |
| Thin silicone wire, solder | Battery connection | Optional: a drop of CA glue to make the clip permanent. |
Our clip-on pod design
Most DIY builds glue a box to the side of the frame. We wanted something that clips on, keeps the camera pointing forward, and leaves the USB-C port reachable for charging. The pod is written in OpenSCAD, so every dimension is a parameter you can change.
- Two pockets. The board sits in the front pocket with the camera facing a window; the battery slides into a narrower rear pocket that tapers along the arm.
- Flared camera window (13 mm outside, 9.5 mm inside) so the 1.8 mm wall doesn't vignette the image.
- Two 1.4 mm microphone holes under the window, three vent slots on top, and a pinhole for the status LED/reset.
- USB-C slot (10.5 × 5.2 mm) in the bottom face, aligned with the board's port, so you can charge without opening the pod.
- Snap channel on the inner face: the arm blade clicks in past three 0.35 mm lips, with 0.15 mm clearance.
- Press-fit lid with friction bumps and a thumbnail notch.



Printing
On a Bambu Lab A1 with 0.2 mm layers the pod and lid print in about 24 minutes using roughly 11 g of filament. The pod prints with its flat inner face on the bed, so it needs no supports. Use PETG if you'll wear the glasses in the sun or in a hot car; PLA softens at much lower temperatures.
Assembly
- Test-fit first. Drop the bare board and battery into the printed pod before soldering. If the camera sits off-centre on your board, adjust the window position in the OpenSCAD file and re-export.
- Solder the battery to the BAT+ and BAT− pads on the underside of the XIAO. Check polarity twice: reversing a LiPo can destroy the board. The XIAO charges the cell over USB-C.
- Insert the battery into the rear pocket, leads first, through the main opening.
- Insert the board into the front pocket: camera facing the window, USB-C port facing down towards the slot.
- Close the lid. It snaps in on its bumps; the notch lets you lever it open with a fingernail.
- Clip the pod onto the outside of the right arm, just behind the hinge. A drop of glue makes it permanent.
Firmware and app
- Install the Arduino IDE and add Espressif's ESP32 board package.
- Select the
XIAO_ESP32S3board and set PSRAM: OPI PSRAM under Tools (the camera needs it). - Open the firmware from the omiGlass (or legacy OpenGlass) repository and upload it over USB-C.
- Run the app: either pair with the Omi app, or run the OpenGlass/omiGlass app from source with your own API keys or a local Ollama model.
Follow the current README in the repository, because build steps change between releases.
Limits you should know about
- Battery life is short. A 250 mAh cell powering a camera and radio won't last a full day; omiGlass describes battery life as unvalidated, so measure your own build.
- Weight sits on one side. About 11 g of plastic plus about 10 g of electronics on the right arm. That's normal for DIY builds, but you will notice it.
- No display and no speaker. Results appear in the app, not in your view.
- There's no recording light. Commercial glasses have one for a reason. Tell people when you're recording, and check the law where you are: see our guide to recording laws and AI wearables.
- Lenses: plano or sun lens blanks work, or an optician can edge prescription lenses to a frame with a lens groove.
