| title | Hardware & Assembly |
|---|---|
| icon | glasses |
| description | Open source smart glasses with 6x the battery life of Meta Ray-Bans. Build your own AI-powered glasses with the XIAO ESP32 S3 Sense. |
omiGlass is an open-source smart glasses project that gives you AI capabilities with exceptional battery life.
Longer lasting than Meta Ray-Bans Powerful XIAO microcontroller with camera Hardware, firmware, and software Watch the [announcement video](https://x.com/kodjima33/status/1911852469329727811) to see omiGlass in action.Order a limited pre-built DevKit from Based Hardware Follow the guide below to build from scratch
Local AI model hosting For firmware upload For hardware components
| Component | Description | Link |
|---|---|---|
| XIAO ESP32 S3 Sense | Main microcontroller with camera | Amazon |
| 6x 150mAh batteries | Main power supply | Option 1 or Option 2 |
| 1x 250mAh battery | Additional power | Amazon |
| Wires | For connections | Amazon |
| Hinges | For frame assembly | Standard glasses hinges |
```bash git clone https://github.com/BasedHardware/omi.git cd omi/omiGlass npm install ```
Or with yarn:
```bash
yarn install
```
```bash
cp .env.template .env
```
Edit `.env` and add:
- [Groq API key](https://console.groq.com/keys)
- [OpenAI API key](https://platform.openai.com/api-keys)
- Ollama URL (default: `http://localhost:11434/api/chat`)
Or with yarn:
```bash
yarn start
```
<Tip>
This is an Expo project. Open the localhost link displayed after starting to access the web version.
</Tip>
Print the glasses mount case using the STL files in the `hardware` folder. Wire the batteries and XIAO board according to the assembly diagram.
<Frame>
<img src="https://github.com/user-attachments/assets/45ef303b-0f92-43eb-bfad-1b20a86e948c" alt="omiGlass Assembly" style={{ maxWidth: '400px', margin: '0 auto' }} />
</Frame>
Open the [firmware folder](https://github.com/BasedHardware/omi/tree/main/omiGlass/firmware) and load the `.ino` file in Arduino IDE.
<Tip>
Alternatively, follow the [firmware readme](https://github.com/BasedHardware/omi/tree/main/omiGlass/firmware/readme.md) to build using `arduino-cli`.
</Tip>
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
<Frame>
<img src="/images/docs/hardware/images/image.png" alt="PSRAM Settings" />
</Frame>
Help improve omiGlass!
| Task | Status |
|---|---|
| Connect glasses with Omi AI app | ✅ Complete |
| Task | Status |
|---|---|
| Redesign legs/sides for bigger heads | ⬜ Open |
| Add switch to design | ✅ Complete |
This project is licensed under the MIT License.
Production Omi wearable Necklace form factor DevKit General assembly instructions Get started with the Omi app