FrameUnity
Connect Unity Android builds to Frame glasses
Install / Use
/learn @davidezhang/FrameUnityREADME
FrameUnity
This is a simple Unity C# script that connects an Android build to Frame AR glasses by Brilliant Labs via BLE. It should work with iOS but it hasn't been tested. Frame is a pair of open-source glasses with BLE connectivity, a monocular color OLED display, a microphone, an IMU, a RGB camera, and a rechargeable battery. Frame currently doesn't have a Unity SDK, so this script is a starting point to connect to Frame and send/receive data.
Features
- Scans and connects to Frame
- Subscribe to Frame's characteristic to receive data
- Write to Frame's characteristic to send data in the form of Lua strings
Unity Setup
This script uses a paid plugin asset called Bluetooth LE for iOS, tvOS and Android. You will need to import this asset into your project. This asset has worked well for me in the past when connecting to BLE devices. It is simple to use and provides examples to get started. It also offers the ability to request for MTU size, which other similar plugins don't do.
Goals
The goal of this project is to continue to add functionality to get closer to a full Unity SDK for Frame. Priorities for me include:
- [ ] Sending/Receiving BLE data in chunks
- [ ] Camera (take photo and send to Unity build)
- [ ] Microphone (record audio and send to Unity build)
- [ ] IMU (detect tap)
- [ ] Display (draw UI)
References
Related Skills
node-connect
352.5kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
111.3kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
352.5kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
352.5kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
