Ports prior voice assistant research and prototypes from devl/Devops into the Minerva repo. Includes: - docs/: architecture, wake word guides, ESP32-S3 spec, hardware buying guide - scripts/: voice_server.py, voice_server_enhanced.py, setup scripts - hardware/maixduino/: edge device scripts with WiFi credentials scrubbed (replaced hardcoded password with secrets.py pattern) - config/.env.example: server config template - .gitignore: excludes .env, secrets.py, model blobs, ELF firmware - CLAUDE.md: Minerva product context and connection to cf-voice roadmap
13 KiB
Executable file
Voice Assistant Hardware - Buying Guide for Second Unit
Date: 2025-11-29
Context: You have one Maix Duino (K210), planning multi-room deployment
Question: What should I buy for the second unit?
Quick Answer
Best Overall: Buy another Maix Duino K210 ($30-40)$20-30)
Runner-up: ESP32-S3 with audio board (
Budget: Generic ESP32 + I2S ($15-20)$60-80, when available)
Future-proof: Sipeed Maix-III (
Analysis: Why Another Maix Duino K210?
Pros ✅
- Identical to first unit - Code reuse, same workflow
- Proven solution - You'll know exactly what to expect
- Stock availability - Still widely available despite being "outdated"
- Same accessories - Microphones, displays, cables compatible
- Edge detection ready - Can upgrade to edge wake word later
- Low cost - ~$30-40 for full kit with LCD and camera
- Multi-room consistency - All units behave identically
Cons ❌
- "Outdated" hardware (but doesn't matter for your use case)
- Limited future support from Sipeed
Verdict: ✅ RECOMMENDED - Best choice for consistency
Alternative Options
Option 1: Another Maix Duino K210
Price: $30-40 (kit with LCD)
Where: AliExpress, Amazon, Seeed Studio
Specific Model:
- Sipeed Maix Duino (original, what you have)
- Includes: LCD, camera module
- Need to add: I2S microphone
Why Choose:
- Identical setup to first unit
- Code works without modification
- Same troubleshooting experience
- Bulk buy discount possible
Link Examples:
- Seeed Studio: https://www.seeedstudio.com/Sipeed-Maix-Duino-Kit-for-RISC-V-AI-IoT.html
- AliExpress: Search "Sipeed Maix Duino" (~$25-35)
Option 2: Sipeed Maix Bit/Dock (K210 variant)
Price: $15-25 (smaller form factor)
Differences from Maix Duino:
- Smaller board
- May need separate LCD
- Same K210 chip
- Same capabilities
Why Choose:
- Cheaper
- More compact
- Same software
Why Skip:
- Need separate accessories
- Different form factor means different mounting
- Less convenient than all-in-one Duino
Verdict: ⚠️ Only if you want smaller/cheaper
Option 3: ESP32-S3 with Audio Kit
Price: $20-30
Chip: ESP32-S3 (Xtensa dual-core @ 240MHz)
Examples:
- ESP32-S3-Box (~$30) - Has LCD, microphone, speaker built-in
- Seeed XIAO ESP32-S3 Sense (~$15) - Tiny, needs accessories
- M5Stack Core S3 (~$50) - Premium, all-in-one
Pros:
- ✅ More modern than K210
- ✅ Better WiFi/BLE support
- ✅ Lower power consumption
- ✅ Active development
- ✅ Arduino/ESP-IDF support
Cons:
- ❌ No KPU (neural accelerator)
- ❌ Different code needed (ESP32 vs MaixPy)
- ❌ Less ML capability (for future edge wake word)
- ❌ Different ecosystem
Best ESP32-S3 Choice: ESP32-S3-Box
- All-in-one like your Maix Duino
- Built-in mic, speaker, LCD
- Good for server-side wake word
- Cheaper than Maix Duino
Verdict: 🤔 Good alternative if you want to experiment
Option 4: Raspberry Pi Zero 2 W
Price: $15-20 (board only, need accessories)
Pros:
- ✅ Full Linux
- ✅ Familiar ecosystem
- ✅ Tons of support
- ✅ Easy Python development
Cons:
- ❌ No neural accelerator
- ❌ No dedicated audio hardware
- ❌ More power hungry (~500mW vs 200mW)
- ❌ Overkill for audio streaming
- ❌ Need USB sound card or I2S HAT
- ❌ Larger form factor
Verdict: ❌ Not ideal for this project
Option 5: Sipeed Maix-III AXera-Pi (Future)
Price: $60-80 (when available)
Chip: AX620A (much more powerful than K210)
Pros:
- ✅ Modern hardware (2023)
- ✅ Better AI performance
- ✅ Linux + Python support
- ✅ Sipeed ecosystem continuity
- ✅ Great for edge wake word
Cons:
- ❌ More expensive
- ❌ Newer = less community support
- ❌ Overkill for server-side wake word
- ❌ Stock availability varies
Verdict: 🔮 Future-proof option if budget allows
Option 6: Generic ESP32 + I2S Breakout
Price: $10-15 (cheapest option)
What You Need:
- ESP32 DevKit (~$5)
- I2S MEMS mic (~$5)
- Optional: I2S speaker amp (~$5)
Pros:
- ✅ Cheapest option
- ✅ Minimal, focused on audio only
- ✅ Very low power
- ✅ WiFi built-in
Cons:
- ❌ No LCD (would need separate)
- ❌ No camera
- ❌ DIY assembly required
- ❌ No neural accelerator
- ❌ Different code from K210
Verdict: 💰 Budget choice, but less polished
Comparison Table
| Option | Price | Same Code? | LCD | AI Accel | Best For |
|---|---|---|---|---|---|
| Maix Duino K210 | $30-40 | ✅ Yes | ✅ Included | ✅ KPU | Multi-room consistency |
| Maix Bit/Dock (K210) | $15-25 | ✅ Yes | ⚠️ Optional | ✅ KPU | Compact/Budget |
| ESP32-S3-Box | $25-35 | ❌ No | ✅ Included | ❌ No | Modern alternative |
| ESP32-S3 DIY | $15-25 | ❌ No | ❌ No | ❌ No | Custom build |
| Raspberry Pi Zero 2 W | $30+ | ❌ No | ❌ No | ❌ No | Linux/overkill |
| Maix-III | $60-80 | ⚠️ Similar | ✅ Varies | ✅ NPU | Future-proof |
| Generic ESP32 | $10-15 | ❌ No | ❌ No | ❌ No | Absolute budget |
Recommended Purchase Plan
Phase 1: Second Identical Unit (NOW)
Buy: Sipeed Maix Duino K210 (same as first)
Cost: ~$30-40
Why: Code reuse, proven solution, multi-room consistency
What to Order:
- Sipeed Maix Duino board with LCD and camera
- I2S MEMS microphone (if not included)
- Small speaker or audio output (3-5W)
- USB-C cable
- MicroSD card (4GB+)
Total Cost: ~$40-50 with accessories
Phase 2: Third+ Units (LATER)
Option A: More Maix Duinos (if still available)
Option B: Switch to ESP32-S3-Box for variety/testing
Option C: Wait for Maix-III if you want cutting edge
Where to Buy Maix Duino
Recommended Sellers
1. Seeed Studio (Official Partner)
- URL: https://www.seeedstudio.com/
- Search: "Sipeed Maix Duino"
- Price: ~$35-45
- Shipping: International, good support
- Pro: Official, reliable, good documentation
- Con: Can be out of stock
2. AliExpress (Direct from Sipeed/China)
- Search: "Sipeed Maix Duino"
- Price: ~$25-35
- Shipping: 2-4 weeks (free or cheap)
- Pro: Cheapest, often bundled with accessories
- Con: Longer shipping, variable quality control
- Tip: Look for "Sipeed Official Store"
3. Amazon
- Search: "Maix Duino K210"
- Price: ~$40-50
- Shipping: Fast (Prime eligible sometimes)
- Pro: Fast shipping, easy returns
- Con: Higher price, limited stock
4. Adafruit / SparkFun
- May carry Sipeed products
- Higher price but US-based support
- Check availability
Accessories to Buy
Essential (for each unit)
1. I2S MEMS Microphone
- Recommended: Adafruit I2S MEMS Microphone Breakout (~$7)
- Model: SPH0645LM4H
- URL: https://www.adafruit.com/product/3421
- Alternative: INMP441 I2S Microphone (~$3 on AliExpress)
- Cheaper, works well
- Search: "INMP441 I2S microphone"
2. Speaker / Audio Output
- Option A: Small 3-5W speaker (~$5-10)
- Search: "3W 8 ohm speaker"
- Option B: I2S speaker amplifier + speaker
- MAX98357A I2S amp (~$5)
- 4-8 ohm speaker (~$5)
- Option C: Line out to existing speakers (cheapest)
3. MicroSD Card
- 4GB or larger
- FAT32 formatted
- Class 10 recommended
- ~$5
4. USB-C Cable
- For power and programming
- ~$3-5
Optional but Nice
1. Enclosure/Case
- 3D print custom case
- Find STL files on Thingiverse
- Or use small project box (~$5)
2. Microphone Array (for better pickup)
- 2 or 4-mic array board (~$15-25)
- Better voice detection
- Phase 2+ enhancement
3. Battery Pack (for portable testing)
- USB-C power bank
- Makes testing easier
- Already have? Use it!
4. Mounting Hardware
- Velcro strips
- 3M command strips
- Wall mount brackets
- ~$5
Multi-Unit Strategy
Same Hardware (Recommended)
Buy: 2-4x Maix Duino K210 units
Benefit:
- All units identical
- Same code deployment
- Easy troubleshooting
- Bulk buy discount
Deployment:
- Unit 1: Living room
- Unit 2: Bedroom
- Unit 3: Kitchen
- Unit 4: Office
Mixed Hardware (Experimental)
Buy:
- 2x Maix Duino K210 (proven)
- 1x ESP32-S3-Box (modern)
- 1x Maix-III (future-proof)
Benefit:
- Test different platforms
- Evaluate performance
- Future-proofing
Drawback:
- More complex code
- Different troubleshooting
- Inconsistent UX
Verdict: ⚠️ Only if you want to experiment
Budget Options
Ultra-Budget Multi-Room (~$50 total)
- 2x Generic ESP32 + I2S mic ($10 each = $20)
- 2x Speakers ($5 each = $10)
- 2x SD cards ($5 each = $10)
- Cables ($10)
- Total: ~$50 for 2 units
Pros: Cheap
Cons: No LCD, DIY assembly, different code
Mid-Budget Multi-Room (~$100 total)
- 2x Maix Duino K210 ($35 each = $70)
- 2x I2S mics ($5 each = $10)
- 2x Speakers ($5 each = $10)
- Accessories ($10)
- Total: ~$100 for 2 units
Pros: Proven, consistent, LCD included
Cons: "Outdated" hardware (doesn't matter for your use)
Premium Multi-Room (~$200 total)
- 2x Maix-III AXera-Pi ($70 each = $140)
- 2x I2S mics ($10 each = $20)
- 2x Speakers ($10 each = $20)
- Accessories ($20)
- Total: ~$200 for 2 units
Pros: Future-proof, modern, powerful
Cons: More expensive, newer = less support
My Recommendation
For Second Unit: Buy Another Maix Duino K210 ✅
Reasoning:
- Code reuse - Everything you develop for unit 1 works on unit 2
- Known quantity - No surprises, you know it works
- Multi-room consistency - All units behave the same
- Edge wake word ready - Can upgrade later if desired
- Cost-effective - ~$40 for full kit with LCD
- Stock available - Still widely sold despite being "outdated"
Where to Buy:
- Best: AliExpress "Sipeed Official Store" (~$30 + shipping)
- Fastest: Amazon (~$45 with Prime)
- Support: Seeed Studio (~$40 + shipping)
What to Order:
Shopping List for Second Unit:
[ ] 1x Sipeed Maix Duino Kit (board + LCD + camera) - $30-35
[ ] 1x I2S MEMS microphone (INMP441 or SPH0645) - $5-7
[ ] 1x Small speaker (3W, 8 ohm) - $5-10
[ ] 1x MicroSD card (8GB+, Class 10) - $5
[ ] 1x USB-C cable - $3-5
[ ] Optional: Enclosure/mounting - $5-10
Total: ~$50-75 (depending on shipping and options)
For Third+ Units: Evaluate
By the time you're ready for 3rd/4th units:
- You'll have experience with K210
- You'll know if you want consistency (more K210s)
- Or variety (try ESP32-S3 or Maix-III)
- Maix-III may have better availability
- Prices may have changed
Decision: Revisit when units 1 and 2 are working
Future-Proofing Considerations
Will K210 be Supported?
- MaixPy: Still actively maintained for K210
- Community: Large existing user base
- Models: Pre-trained models still work
- Lifespan: Good for 3-5+ years
Verdict: ✅ Safe to buy more K210s now
When to Switch Hardware?
Consider switching when:
- K210 becomes hard to find
- You need better performance (edge ML)
- Power consumption is critical
- New features require newer hardware
Timeline: Probably 2-3 years out
Special Considerations
Different Rooms, Different Needs?
Living Room (Primary):
- Needs: Best audio, LCD display, polish
- Hardware: Maix Duino K210 with all features
Bedroom (Secondary):
- Needs: Simple, no bright LCD at night
- Hardware: Maix Duino K210, disable LCD at night
Kitchen (Ambient Noise):
- Needs: Better microphone array
- Hardware: Maix Duino K210 + 4-mic array
Office (Minimal):
- Needs: Cheap, basic audio only
- Hardware: Generic ESP32 + I2S mic
All Same vs Customized?
Recommendation: Start with all same (Maix Duino), customize later if needed.
Action Plan
This Week
- Order second Maix Duino K210 (~$30-40)
- Order I2S microphone (~$5-7)
- Order speaker (~$5-10)
- Order SD card (~$5)
Total Investment: ~$50-65
Next Month
- Wait for delivery (2-4 weeks from AliExpress)
- Test unit 1 while waiting
- Refine code and setup process
- Prepare for unit 2 deployment
In 2-3 Months
- Deploy unit 2 (should be easy after unit 1)
- Test multi-room
- Decide on unit 3/4 based on experience
- Consider bulk order if expanding
Summary
Buy for Second Unit:
- ✅ Sipeed Maix Duino K210 (same as first) - ~$35
- ✅ I2S MEMS microphone (INMP441) - ~$5
- ✅ Small speaker (3W, 8 ohm) - ~$8
- ✅ MicroSD card (8GB Class 10) - ~$5
- ✅ USB-C cable - ~$5
Total: ~$60 shipped
Why: Code reuse, consistency, proven solution, future-expandable
Where: AliExpress (cheap) or Amazon (fast)
When: Order now, 2-4 weeks delivery
Third+ Units: Decide after testing 2 units (probably buy more K210s)
Quick Links
Official Sipeed Store (AliExpress): https://sipeed.aliexpress.com/store/1101739727
Seeed Studio: https://www.seeedstudio.com/catalogsearch/result/?q=maix+duino
Amazon Search: "Sipeed Maix Duino K210"
Microphone (Adafruit): https://www.adafruit.com/product/3421
Alternative Mic (AliExpress): Search: "INMP441 I2S microphone breakout"
Happy Building! 🏠🎙️