Skip to main content
omiGlass Front View

Overview

omiGlass is an open-source smart glasses project that gives you AI capabilities with exceptional battery life.

6x Battery Life

Longer lasting than Meta Ray-Bans

ESP32 S3 Sense

Powerful XIAO microcontroller with camera

Fully Open Source

Hardware, firmware, and software
Watch the announcement video to see omiGlass in action.

How to Get It

Pre-built Kit

Order a limited pre-built DevKit from Based Hardware

Build Your Own

Follow the guide below to build from scratch

Prerequisites


Hardware Components

ComponentDescriptionLink
XIAO ESP32 S3 SenseMain microcontroller with cameraAmazon
6x 150mAh batteriesMain power supplyOption 1 or Option 2
1x 250mAh batteryAdditional powerAmazon
WiresFor connectionsAmazon
HingesFor frame assemblyStandard glasses hinges
The current design does not include a switch. See the contribution section for how you can help improve this.

Software Setup

1

Clone the Repository

git clone https://github.com/BasedHardware/omi.git
cd omi/OmiGlass
npm install
Or with yarn:
yarn install
2

Configure API Keys

Copy the template and add your keys:
cp .env.template .env
Edit .env and add:
3

Install Ollama Model

ollama pull moondream:1.8b-v2-fp16
4

Start the Application

npm start
Or with yarn:
yarn start
This is an Expo project. Open the localhost link displayed after starting to access the web version.

Hardware Assembly

1

3D Print the Case

Print the glasses mount case using the STL files in the hardware folder.
2

Assemble Components

Wire the batteries and XIAO board according to the assembly diagram.
omiGlass Assembly
3

Final Assembly

Mount all components into the 3D printed case and attach hinges.

Firmware Installation

1

Open the Firmware

Open the firmware folder and load the .ino file in Arduino IDE.
Alternatively, follow the firmware readme to build using arduino-cli.
2

Configure Arduino IDE

Add the ESP32 board package:
  1. Go to File → Preferences
  2. Add to “Additional Boards Manager URLs”:
    https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
    
  3. Go to Tools → Board → Boards Manager
  4. Search for esp32 and install the latest version
3

Select Board and Port

  1. Select port (likely COM3 or higher) at the top of Arduino IDE
  2. Search for xiao in the board selector
  3. Select XIAO_ESP32S3
4

Configure PSRAM

Go to Tools dropdown and set PSRAM to OPI PSRAM.
PSRAM Settings
5

Upload Firmware

Click the Upload button to flash the firmware to your XIAO ESP32S3 board.

Contributing

Help improve omiGlass!

Software

TaskStatus
Connect glasses with Omi AI app✅ Complete

Hardware

TaskStatus
Redesign legs/sides for bigger heads⬜ Open
Add switch to design✅ Complete

Join the Community

Get help with setup, contribute to the project, and connect with other builders

License

This project is licensed under the MIT License.