DIY · open source · prototype

Build your own AI glasses

Most commercial AI glasses cost a few hundred dollars and send what you see to one company's AI service. The open-source alternative is a thumb-sized camera board in a 3D-printed pod that clips onto a glasses arm. It takes photos and records audio, and an app sends them to the AI model you choose, including one running on your own computer.

We designed a clip-on pod for this, built around the Seeed Studio XIAO ESP32-S3 Sense and the open-source OpenGlass project by Based Hardware. This page explains the whole build. We're also preparing a kit; join the waitlist if you'd rather not source parts yourself.

Parts cost (India)about ₹2,500–3,500
Print time~24 min, 11 g
Added weight~21 g one side
StatusPrototype
Render of the clip-on pod mounted on the right arm of a 3D-printed glasses frame, with the camera window at the front
Our pod clipped onto the right arm, just behind the hinge (render).
Honest status: the pod is designed and sliced for a Bambu Lab A1 and its dimensions come from the published XIAO Sense measurements, but we have not yet verified the fit with a physical board. Print the pod first and test-fit before you solder anything. No kits are in stock and we're not taking payments.

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

PartWhyNotes
Seeed Studio XIAO ESP32-S3 SenseESP32-S3 with Wi-Fi and Bluetooth LE, a detachable camera, digital microphone and microSD slot on the Sense boardThe 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)Power5 × 20 × 30 mm, with leads. This is the size OpenGlass specified.
Our pod + lid (printed)Holds board and battery, clips to the armPETG for glasses you'll wear, PLA for a test print.
Glasses frameSomething to clip ontoThe 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, solderBattery connectionOptional: 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.
Render of the pod's front face showing the camera window and two microphone holes
Front: camera window and mic holes.
Render of the pod lid with its plug and thumbnail notch
The press-fit lid.
Three renders: the pod on the arm, the pod's camera face, and the lid
Pod on the arm, camera face and lid.

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

  1. 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.
  2. 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.
  3. Insert the battery into the rear pocket, leads first, through the main opening.
  4. Insert the board into the front pocket: camera facing the window, USB-C port facing down towards the slot.
  5. Close the lid. It snaps in on its bumps; the notch lets you lever it open with a fingernail.
  6. Clip the pod onto the outside of the right arm, just behind the hinge. A drop of glue makes it permanent.

Firmware and app

  1. Install the Arduino IDE and add Espressif's ESP32 board package.
  2. Select the XIAO_ESP32S3 board and set PSRAM: OPI PSRAM under Tools (the camera needs it).
  3. Open the firmware from the omiGlass (or legacy OpenGlass) repository and upload it over USB-C.
  4. 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.

Sources

  1. BasedHardware/OpenGlass on GitHub (MIT licence; now moved into the Omi repo)
  2. omiGlass in the BasedHardware/omi repository
  3. Seeed Studio wiki: Getting started with XIAO ESP32S3 (Sense)
  4. Espressif: Arduino core for the ESP32
  5. Ollama (local model runner)