Star 历史趋势
数据来源: GitHub API · 生成自 Stargazers.cn
README.md

Muse Gadgets

Muse gadgets: a Waveshare round AMOLED, an M5Stack StickS3, Muse Home Link, a Raspberry Pi and a Seeed reTerminal e-ink display

Muse gadgets are open source devices you build yourself. Program an off-the-shelf ESP32 board or set up a Raspberry Pi with our device SDKs, then connect Muse to your displays, buttons, sensors, actuators, and whatever else you've got lying on your workbench.

We open sourced the SDKs and firmware here. It's built by hackers, for hackers, just for fun. Side effects of tinkering may include bricked boards, voided warranties, brownouts, or bankruptcies. Proceed at your own risk!

ESP32 Device SDKConnect your ESP32 board to Muse through our open source SDK. Throw in a screen to show images, add audio in and out, or wire up other sensors.
Linux Device SDKTurn that spare Raspberry Pi or Linux box into a Muse gadget. Hack in your own commands to let Muse handle sysadmin chores or your Home Assistant setup.
Zephyr Device SDKA push-to-talk Bluetooth gadget for the Seeed XIAO nRF54L15 Sense: hold the button and talk to Muse, even offline. Built for that board; other Zephyr boards with a button and a microphone need a port.
Muse Gadgets Test (iPhone)Stream your phone's camera, or a clip, to an ESP32 gadget's screen over Wi-Fi: H.264 or VP8 decoded on the board, 30 fps on the round 466 px boards. protocols/VIDEO.md explains how.

Before you flash or pair a gadget, get an SDK token and review the Gadget SDK Terms. Every gadget needs a token to pair.

To install supported prebuilt ESP32 firmware without setting up ESP-IDF, use the Muse Gadget Web Flasher in Chrome or Edge on a desktop computer.

ESP32 and Linux gadgets pair with the Muse app on iOS and Android, via Settings > Devices. Turn on Developer mode there first, then look for devices prefixed with "MuseGadget".

The Zephyr gadget, and ESP32 boards with musegadgets BLE audio turned on, talk to the Muse app over the BLE protocol in protocols/. Each SDK directory has a README.md to get started and an AGENTS.md for coding agents like Muse Code. protocols/DEVICE.md says how a gadget describes itself to Muse, and protocols/ERROR_REPORT.md what it tells Muse after a crash.

For battery-input power profiling, see the porting recipe. The opt-in diagnostic core is board-neutral; boards supply its hooks and state matrices, and power_sweep.py drives the USB-free sweep. The isolated diagnostic does not pair or need an SDK token; fixture safety and explicit hardware authorization still come first, as the PPK2 rules describe.

Community

Meet other hackers who are building and customizing Muse gadgets in our community Discord. Get inspired, support each other, and share what you make.

License

Muse Gadgets is licensed under the Apache License, Version 2.0, found in LICENSE, except for these third-party files, which keep their upstream licenses:

PathUpstreamLicense
esp32/components/minimp3/include/minimp3.hlieff/minimp3CC0-1.0, see LICENSE
esp32/components/muse/muse_icons_gen.hMaterial Icons (the Muse Gadgets standard icons)Apache-2.0
esp32/components/muse/boards/ostb_echoear_display_init.h78/xiaozhi-esp32 ESP-VoCat panel sequenceMIT, retained in the file header
ST7789 tuning table in board_atk_dnesp32s3_box2.c78/xiaozhi-esp32 ATK-DNESP32S3-BOX2 boardMIT, see xiaozhi-esp32.txt
ST77916 initialization sequence in waveshare_s3_185c/st77916_init_185c.h78/xiaozhi-esp32 Waveshare ESP32-S3-Touch-LCD-1.85C boardMIT, see xiaozhi-esp32.txt
JD9853A initialization sequence in board_seeed_xiao_s3_147.cSeeed-Studio/Seeed_GFX2MIT, see Seeed_GFX2.txt
GC9107 initialization sequence in board_m5stack_atoms3.cM5Stack M5GFX Panel_GC9107, from LovyanGFXFreeBSD, see LovyanGFX.txt
AXS15231B initialization sequence in board_guition_jc3248w535.cmoononournation/Arduino_GFX 1.4.9's axs15231b_init_operationsBSD-2-Clause, see Arduino_GFX.txt
esp32/components/esp_lcd_gc9107Espressif's espressif/esp_lcd_gc9107 2.0.0 from the ESP Component Registry, changed to build on ESP-IDF 6Apache-2.0, Espressif's copyright, see license.txt
esp32/components/muse/boards/viewe_smartring_display_init.hVIEWESMART/smartring_plus panel sequenceApache-2.0 under VIEWE's copyright, in the file header
esp32/components/muse/boards/waveshare_s3_185b_init.hwaveshareteam/ESP32-S3-Touch-LCD-1.85B panel sequencesApache-2.0, in the file header
CO5300 initialization sequence in board_esp_mosaico.cesp-mosaico/esp-mosaico-bsp vendor initApache-2.0, Espressif's copyright, noted in the file header
ExecuTorch runtime with its ESP-NN delegate, for the opt-in wake word (registry component, not vendored; see docs/executorch.md)pytorch/executorch, with espressif/esp-nnBSD-3-Clause AND Apache-2.0 AND Apache-2.0 WITH LLVM-exception AND NCSA AND MIT, see the component's LICENSE; bundled third-party notices in the component. esp-nn: Apache-2.0
TensorFlow Lite Micro's microfrontend, for the opt-in wake word (registry component, not vendored)esphome/esp-micro-speech-featuresApache-2.0 (TensorFlow Authors, Kevin Ahrendt); its kissfft files BSD-3-Clause (Mark Borgerding)
esp32/components/muse_wakeword/models/hey_muse.pteTrained for this SDK on public-domain, CC0 and CC BY dataTraining data credits, as CC BY requires, in ATTRIBUTION.md
esp32/main/pixel_font.cAdafruit GFX glcdfont.cBSD-2-Clause, in the file header
esp32/components/muse/fonts/GNU Unifont 16.0.04, Noto Sans SC, Montserrat Medium via LVGL, and Montserrat SemiBold, subsets (see its README)SIL Open Font License 1.1 (Unifont also GPL-2.0+ with the font embedding exception)
esp32/components/muse/fonts/muse_font_emoji_16.cTwemoji v16.0.1 graphics, 190 of them scaled to 16 px (see README.md)CC-BY 4.0, see LICENSE-twemoji.txt
esp32/main/fonts/epaper_154g_caption_font.hGNU Unifont 16.0.04, subset (see README.md)SIL Open Font License 1.1, or GPL-2.0+ with the font embedding exception
esp32/components/muse/eink/fonts/montserrat.ttfMontserrat Medium, via LVGL v9.5.0SIL Open Font License 1.1
esp32/components/muse/eink/fonts/unscii.ttfunscii-8Public domain
esp32/components/muse/eink/fonts/symbols.ttfFont Awesome 5 Free, via LVGL v9.5.0SIL Open Font License 1.1 (icons CC BY 4.0)
esp32/main/epd_ssd1677.cSeeed-reTerminal-E10xx-Firmware's SSD1677 refresh sequenceMIT, retained in the file header
esp32/main/uc8179_gray4_lut.hSeeed_GFX2's UC8179 four-gray waveformsMIT, retained in the file header
esp32/main/epd_it8951.cSeeed_GFX2's IT8951 command framing and ED103TC2 one-bit and four-bit modesMIT, retained in the file header
SSD1681 initialization sequence and waveform LUT in esp32/main/epd_ssd1681.cwaveshareteam/ESP32-S3-ePaper-1.54's XiaoZhi V2 source, 78/xiaozhi-esp32 with Waveshare's boardMIT, see xiaozhi-esp32.txt
xplat/tinyh264/src (built by esp32/components/tinyh264)the Android Open Source Project's H.264 decoder, via udevbe/tinyh264Apache-2.0, AOSP's copyright, see LICENSE
xplat/libvpx_vp8/src (built by esp32/components/libvpx_vp8)libvpx v1.16.0's VP8 decoder, trimmedBSD-3-Clause, the WebM Project authors' copyright, see LICENSE, with Google's patent grant in PATENTS
libwebp v1.6.0's WebP decoder, for the opt-in avatar sync (fetched at build time from a pinned archive, not vendored; see avatar_webp.cmake)webmproject/libwebpBSD-3-Clause, Google's copyright, with Google's patent grant, see libwebp.txt
esp32/tests/vectors/esp_lvgl_adapter/pause_0.6.4.cesp_lv_adapter_pause() from espressif/esp_lvgl_adapter 0.6.4, a test input for its pause fixApache-2.0, Espressif's copyright, as its header says
esp32/tests/vectors/h264/regress/tinyh264 regression corpus: frames of an x264 encode of Big Buck Bunny, (c) 2008 Blender FoundationCC BY 3.0, credited in its README.md
zephyr/src/zephyr/smp.cZephyr v4.4.2 subsys/mgmt/mcumgr/transport/src/smp.c, with three changes marked in the fileApache-2.0, Runtime.io's and Nordic Semiconductor's copyright, in the file header
xplat/libsbc (built by esp32/components/libsbc; the ESP32 and Zephyr gadgets use it)google/libsbcApache-2.0, Google's copyright, see LICENSE
xplat/liblc3 (built by esp32/components/liblc3; the ESP32 and Zephyr gadgets use it)google/liblc3Apache-2.0, Google's copyright, see LICENSE
xplat/lc3fx (built by esp32/components/liblc3 for chips without an FPU; for the same BLE gadgets)fixed-point port of google/liblc3 (the Muse Gadgets copy, see VENDORED.md)Apache-2.0, a derivative of liblc3, see LICENSE
android/lc3-kotlinKotlin translation of google/liblc3 v1.1.3+5 (8e1e722c)Apache-2.0, a derivative of liblc3 (Google's copyright), see LICENSE and NOTICE
Gradle wrapper in android/lc3-kotlin (gradlew, gradlew.bat, gradle/wrapper/gradle-wrapper.jar)Gradle 8.13; gradle-wrapper.jar SHA-256 81a82aaea5abcc8ff68b3dfcb58b3c3c429378efd98e7433460610fecd7ae45f, Gradle's published checksum, and the wrapper checks the distribution's (distributionSha256Sum)Apache-2.0, the Gradle authors' copyright, in the script headers
portable/mg_link_setup/third_party/micro-ecckmackay/micro-ecc at 541b3a78, P-256 files only (see its README)BSD-2-Clause, Kenneth MacKay's copyright, see LICENSE.txt

Dependencies fetched at build time are under their own licenses: ESP-IDF components (into esp32/managed_components/), and the simulator's LVGL and SDL (listed in esp32/simulator/THIRD_PARTY.md).

The Apache License does not cover the Jollybot avatar.

Muse Gadgets Test's sample clips aren't in this repository: the app fetches a few seconds of the Blender Foundation's open movies (CC BY 3.0) when one is played, and shows their credits.

Muse Gadgets Test can use x264 (GPL-2.0) on the phone; this repository carries none of its code. An APK or iPhone app you build with it is under the GPL (android/musegadgetstest/README.md, ios/musegadgetstest/README.md).

关于 About

Open source SDK to build Muse gadgets

语言 Languages

C78.8%
Python14.1%
C++2.7%
Java1.3%
Swift1.2%
Kotlin0.5%
CMake0.4%
Shell0.4%
JavaScript0.3%
HTML0.2%
Modula-30.1%
Assembly0.1%
Dockerfile0.0%
Linker Script0.0%

提交活跃度 Commit Activity

代码提交热力图
过去 52 周的开发活跃度
404
Total Commits
峰值: 86次/周
Less
More

核心贡献者 Contributors