

AuraSync v2
Streams live audio level and recognised commands from the ESP32-S3 over USB serial.
- Size
- 73.4 × 51.8 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 9
- Nets
- 22
- Pads
- 45
- Tracks, vias
- 75, 0
- Pours
- 1
- Routed
- Yes
- KiCad
- KiCad 9.0 (file 20241229)
- Created
- 7 Apr 2026
- Updated
- 2 Jun 2026
Overview
AuraSync v2 is an open-source printed circuit board by TongSUE, from the TongSUE/TECHIN-515-Team6 repository on GitHub. It is a 2-layer board of 73.4 × 51.8 mm with 9 parts on 22 nets, routed with 75 tracks and 0 vias.
It is built around the ESP32-S3R8, BME680 and MT3608. Its parts include 5 ICs, 1 resistor, 1 transistor and 1 connector. It belongs with the ESP32 boards of this library.
Main components
3ESP32-S3R8
QFN-56(7x7)-40℃~+65℃ -74.2dBm 150Mbps 18.5dBm 2.412GHz~2.484GHz 2.4GHz 283mA 3V~3.6V 88mA Bluetooth、WiFi DMA function SPI、USB、UART、I2C、I2S transceiver QFN-56(7x7) RF Transceiver ICs ROHSEspressif SystemsRF Transceiver ICsBME680
LGA-8-40℃~+85℃ 0.12hpa 0.6hpa 1.3pa/K 1.71V~3.6V 150nA 30Kpa~1.1bar I2C、SPI Temperature Sensor LGA-8 Pressure Sensors ROHSBosch SensortecPressure SensorsMT3608
SOT-23-6-40℃~+85℃ 1 1.2MHz 100uA、1.6mA 2A 2V~24V Adjustable Boost Boost Built-in No SOT-23-6 DC-DC Converters ROHS西安航天民芯DC-DC Converters
README
README.mdAuraSync — Context-Aware Scent Diffuser
AuraSync automatically detects bathroom context (shower, odor, presence) via sensor fusion and triggers a fragrance diffuser at the right moment — no manual input required.
Devlog: tongsue.github.io/TECHIN-515-Team6
Course: TECHIN 515 Hardware-Software Lab II, UW, Spring 2026
Team: Yutong Luo (@TongSUE) · Lucia Shen (@xtshen777)
Hardware
| Component | Role |
|---|---|
| Seeed XIAO ESP32-S3 | MCU — dual-core, 8 MB PSRAM, native I2S |
| Adafruit SPH0645LM4H | I2S MEMS microphone — voice recognition |
| HC-SR501 PIR | Presence detection — triggers actuation |
| Adafruit BME680 | Temp / humidity / pressure / VOC (I2C 0x77) |
| Ultrasonic atomizer + 2N2222 NPN | Fragrance mist actuation |
| MT3608 boost converter + 3.7 V LiPo | Power supply |
Pin Assignments
| Function | Arduino Pin | GPIO |
|---|---|---|
| I2C SDA (BME680) | D4 | 5 |
| I2C SCL (BME680) | D5 | 6 |
| I2S BCLK (SPH0645) | D8 | 7 |
| I2S LRCLK (SPH0645) | D9 | 8 |
| I2S DOUT (SPH0645) | D10 | 9 |
| PIR signal (HC-SR501) | — | 4 |
| Atomizer MOSFET gate | — | 5 |
| Status LED | D0 | 21 |
SPH0645: SEL pin → GND (left channel). Data in bits [31:14] of 32-bit I2S frame.
BME680: useWire.begin()with no arguments — the framework maps D4/D5 by default.
Repository Layout
Web/ ← git root (this repo)
├── Code/
│ ├── AuraSync/ ← main firmware (two-layer state machine)
│ │ ├── AuraSync.ino
│ │ ├── partitions.csv ← custom flash layout (app0 3.7 MB + model SPIFFS 4.25 MB)
│ │ └── secrets.h.example ← copy to secrets.h and fill in credentials
│ ├── VoiceTest/ ← ESP-SR voice recognition prototype
│ │ └── voice_monitor.html← Web Serial browser monitor
│ ├── FirebaseTest/ ← VoiceTest + Firebase Realtime Database
│ ├── MicTest/ ← SPH0645 bring-up / VAD test
│ ├── PIRTest/ ← PIR motion-triggered spray controller
│ └── PsramTest/ ← PSRAM validation
├── KiCAD/AuraSync_v1/ ← schematic + PCB layout (KiCAD 9)
├── monitor/
│ ├── voice_monitor.py ← real-time serial monitor (USB, Streamlit)
│ ├── firebase_dashboard.py ← cloud dashboard (reads Firebase, no USB needed)
│ └── requirements.txt
├── web-devlog/ ← React + Vite devlog site
└── README.mdFlashing AuraSync (Main Firmware)
- Copy
Code/AuraSync/secrets.h.example→Code/AuraSync/secrets.hand fill in your WiFi + Firebase credentials - Open
Code/AuraSync/AuraSync.inoin Arduino IDE - Tools → Board: Seeed XIAO ESP32-S3
- Tools → PSRAM: OPI PSRAM
- Tools → Partition Scheme: Huge APP (3MB No OTA / 1MB SPIFFS)
- Run
Code/VoiceTest/flash_model.ps1once to write ESP-SR models to flash - Upload
AuraSync.ino - Say "Aura" to open the 7-second command window, then "Spray" or "Stop"; PIR presence for ≥ 3 s also triggers spray
Running the Serial Voice Monitor
Streams live audio level and recognised commands from the ESP32-S3 over USB serial.
Requirements: Python 3.9+, ESP32-S3 flashed with VoiceTest.ino or AuraSync.ino, Arduino IDE serial monitor closed.
cd monitor
pip install -r requirements.txt
streamlit run voice_monitor.pyOpens at http://localhost:8501. The app auto-detects the COM port — no configuration needed.
Running the Firebase Cloud Dashboard
Reads spray events from Firebase Realtime Database — no USB connection required.
cd monitor
pip install -r requirements.txt
streamlit run firebase_dashboard.pyOpens at http://localhost:8502. Supports dark/light mode toggle; auto-refreshes every 5 seconds.
Flashing VoiceTest (Voice Recognition Prototype)
- Open
Code/VoiceTest/VoiceTest.inoin Arduino IDE - Tools → Board: Seeed XIAO ESP32-S3
- Tools → PSRAM: OPI PSRAM
- Tools → Partition Scheme: Huge APP (3MB No OTA / 1MB SPIFFS)
- Run
Code/VoiceTest/flash_model.ps1once to write ESP-SR models to flash - Upload
VoiceTest.ino - Say "Aura" to open the 7-second command window, then "Spray" or "Stop"
Firmware Overview
Code/AuraSync/AuraSync.ino — Main firmware (Week 4+)
Two-layer state machine, non-blocking (millis() only, no delay() in main loop):
Layer 1 — System Mode (PIR-driven presence):
MODE_SLEEP ──PIR detected──▶ MODE_AWAKE
MODE_AWAKE ──60 s no PIR──▶ MODE_SLEEPLayer 2 — Spray State (shared absolute cooldown):
SPRAY_IDLE → SPRAY_SPRAYING (5 s) → SPRAY_COOLDOWN (20 s test / 3 min prod) → SPRAY_IDLEFour-priority trigger model: P1 voice/app (bypasses cooldown, works in SLEEP) → P2 extreme VOC < 10 kΩ (works in SLEEP, queues during cooldown) → P3 PIR + VOC inflection (AWAKE + IDLE only).
FreeRTOS dual-core: I2S + ESP-SR on Core 1 at max priority; PIR, state machine, Firebase, BME680 on Core 0. Power saving: WiFi.setSleep(WIFI_PS_MAX_MODEM) + Core 0 throttle in SLEEP mode (~30 mA idle from 2000 mAh LiPo ≈ 60–70 h).
Code/VoiceTest/VoiceTest.ino — Voice recognition prototype
ESP-SR AFE + MultiNet v7 on FreeRTOS Core 1. Wake-word state machine:
IDLE → (say "Aura") → LISTENING [7 s] → (say "Spray"/"Stop") → IDLECode/FirebaseTest/FirebaseTest.ino — Voice + Firebase
Extends VoiceTest: SR task (Core 1) → FreeRTOS queue → loop() (Core 0) → Firebase.RTDB.pushJSON(). Auth via database-secret legacy token; NTP time sync at boot.
Devlog Site
Built with React 19 + Vite. Auto-deployed to GitHub Pages.
cd web-devlog
npm install
npm run dev # local preview
npm run build # production buildParts
9| Qty | Value | Footprint | References |
|---|---|---|---|
| 1 | 1k | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R1 |
| 1 | 2N2222 | Connector_PinSocket_2.54mm:PinSocket_1x03_P2.54mm_Vertical | Q1 |
| 1 | Atomizer | Connector_PinSocket_2.54mm:PinSocket_1x02_P2.54mm_Vertical | Atomizer-1 |
| 1 | BME680 | Connector_PinSocket_2.54mm:PinSocket_1x07_P2.54mm_Vertical | U3 |
| 1 | Battery | Connector_PinSocket_2.54mm:PinSocket_1x02_P2.54mm_Vertical | J1 |
| 1 | ESP32S3 | ESP32_Xiao_Seeed_GIX:XIAO_ESP32 | U1 |
| 1 | HC-SR501PIR | Connector_PinSocket_2.54mm:PinSocket_1x03_P2.54mm_Vertical | U4 |
| 1 | MT3608 | AuraSync:MT3608 | U2 |
| 1 | SPH0645_Mic | Connector_PinSocket_2.54mm:PinSocket_1x06_P2.54mm_Vertical | U5 |
Similar boards
- 4 layers78 × 59 mm

- 4 layers74.5 × 70.3 mm

Nest mini v2-drop in pcb
iMike78/nest-mini-drop-in-pcb
Drop-in PCB replacement for the Google Nest Mini v2 with ESP32-S3, ESP32-P4 and optional ESP32-C6. Inspired by Onju Voice and Home Assistant Voice PE.
229 parts628CERN-OHL-S-2.0 - 2 layers39.5 × 50.7 mm

MeterReadouts
ryanhulke/nuclear-fusor
Open-source hardware, embedded software, and control panel software for nuclear fusor operation.
22 parts21MIT - 4 layers54.7 × 75.8 mm

- 4 layers

CABadge V2 1
nbtca/CABadge
CABadge 计协电子吧唧:基于 ESP32-S3 的开源圆屏互动徽章,支持动态壁纸、触摸交互、Wi-Fi/BLE 和趣味小应用,提供 PCB、3D 打印外壳、固件及配套工具。
110 parts15MIT - 4 layers60.6 × 27.6 mm

Display pcb
HW-Lab-Hardware-Design-Agency/WebScreen-PCB
WebScreen PCB designs, BOM and other manufacturing files.
93 parts13CERN-OHL-P-2.0 - 4 layers23 × 42 mm

ESP32S3 M.2 Board
ItsNotDaan/LiberBoard
LiberBoard: An open-source, modular platform for learning electronics. Offers LiBo ARM-based PCBs and add-on boards with practical exercises and code snippets. Designed for easy learning and project creation.
69 parts8CERN-OHL-P-2.0 - 4 layers74.5 × 70.3 mm

Nest mini v2-drop in pcb
marceldale/nest-mini-v2-voice
Open voice satellite board for the Google Nest Mini (2nd gen): local Home Assistant voice assistant with ESP32-S3 + XMOS XU316, ESPHome, Voice PE compatible. Open hardware, prototype stage.
249 parts4CERN-OHL-S-2.0
Questions
How big is the AuraSync v2 PCB?
It measures 73.4 × 51.8 mm and has 2 copper layers, 1.6 mm thick.
What parts does the AuraSync v2 use?
9 parts, built around the ESP32-S3R8, BME680 and MT3608. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
Where can I download the AuraSync v2 KiCad files?
From the TongSUE/TECHIN-515-Team6 repository on GitHub, at the commit this page was made from: the board is KiCAD/AuraSync_v2/AuraSync_v2.kicad_pcb and its schematic KiCAD/AuraSync_v1/AuraSync_v1.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Can I use the AuraSync v2 design in my own project?
Its repository states no licence, so its author keeps all rights: ask TongSUE before reusing the design.