How asrafiel/daisy-seed-development-kit works
1. Repository purpose
- This is a modular hardware/software kit for the Electrosmith Daisy Seed embedded audio platform.
- The repo combines PCB designs, embedded C++ drivers, a small UI framework library, and at least one example audio app.
2. Top-level architecture
- The codebase is organized around three main layers:
- Hardware modules in Hardware/
- Reusable software library code in Library/
- Example application(s) in Examples/
- This makes the repo a mix of product hardware and firmware support code, not a single monolithic app.
3. Hardware subsystem: modular boards
- Each hardware module is a distinct KiCad project with its own schematic, PCB, BOM, and fabrication outputs.
- The main modules are:
- BreakoutBoard: central interconnect board for the Daisy Seed and peripherals
- ExternalCodec: external audio codec board plus driver and tests
- Midi: MIDI interface board with a test program
- PotentiometerArray: 16-pot control surface with drivers and tests
- The architecture implies the breakout board is the hub, while the other boards are attachable peripherals.
4. Firmware/hardware boundary
- Hardware modules that expose behavior to firmware have corresponding C++ driver code alongside the PCB design.
- Examples:
- Hardware/ExternalCodec/Drivers
- Hardware/PotentiometerArray/Drivers
- This indicates a clean separation between the physical board definition and the embedded interface used by application code.
5. Example application as system integration
- Examples/MonoSeed09 is the main runnable firmware example.
- The README shows it is built and flashed with make and make program-dfu, targeting the Daisy Seed over DFU.
- The example demonstrates the integrated system: Daisy Seed + breakout board + potentiometers + MIDI input + audio output.
6. UI framework library
- Library/UiFramework is a reusable C++ library for building device UIs.
- It is structured into:
- Display abstraction
- View layer
- Presenters for pages, list items, settings, numeric options, and navigation
- Utilities for UI parameter handling
- The naming suggests a presenter/view style architecture for embedded controls, likely used to drive displays and user settings on the device.
7. Data and control flow
- External inputs come from MIDI, potentiometers, and potentially an encoder/I2C/SPI/SD card via the breakout board.
- These inputs are read by hardware-specific drivers and then flow into application logic and/or the UI framework.
- Output flow goes from the application to audio hardware through the codec path, and to any on-device display/UI via the UiFramework.
8. External interfaces and peripherals
- The breakout board is described as exposing connections for:
- a second potentiometer array
- SPI
- I2C
- an encoder
- an SD card
- MIDI is handled through a dedicated adapter board and DIN connector.
- Audio is provided through the Daisy Seed plus codec path, with the README referencing headphones on the audio out jack.
9. Build and deployment model
- Firmware projects use Makefiles and appear to build as embedded C++ programs against libDaisy and DaisySP.
- The README requires LIBDAISY_DIR and DAISYSP_DIR, so those are core external dependencies for building audio firmware.
- Deployment is to the Daisy Seed via DFU/program mode.
10. Testing strategy
- The repo includes both unit tests and manual/standalone hardware tests.
- The hardware modules have their own focused test programs, such as:
- driver tests
- standalone hardware tests
- MIDI input tests
- single/multiple potentiometer tests
- This suggests validation happens at the module level before integration into the example app.
11. Likely architecture diagram framing
- A useful diagram would place the Daisy Seed in the center, connected to:
- the BreakoutBoard
- PotentiometerArray
- MIDI adapter
- ExternalCodec
- Above that, show the firmware/application layer and UiFramework as reusable software components.
- Around the edges, show KiCad hardware projects and test executables as supporting artifacts.
12. Overall design intent
- The repo is built to support modular embedded audio development: hardware boards can be fabricated independently, drivers can be tested independently, and then everything is integrated in an example instrument/utility firmware.
- The structure is optimized for reuse and incremental hardware expansion rather than a single fixed product.
Main entry points: MonoSeed09.cpp MonoSeed09 · UiFramework UiFramework · BreakoutBoard.kicad_pcb Breakout Board · ExternalCodec.cpp Codec Driver
Components 18
Hardware
KiCad boards, attached drivers, and hardware tests
- Breakout Board · Central interconnect board for peripherals and expansion
Hardware/BreakoutBoard/PCB/BreakoutBoard/BreakoutBoard.kicad_pcb - External Codec · External audio codec board with firmware driver and tests
Hardware/ExternalCodec/PCB/ExternalCodec/ExternalCodec.kicad_pcb - Codec Driver · Firmware interface for the external codec board
Hardware/ExternalCodec/Drivers/ExternalCodec.cpp - Codec Tests · Standalone validation for codec driver and board behavior
Hardware/ExternalCodec/Tests/DriverTest/DriverTest.cpp - MIDI Board · Dedicated MIDI adapter board with DIN interface
Hardware/Midi/PCB/Midi/Midi.kicad_pcb - MIDI Test · Standalone MIDI input test program
Hardware/Midi/Test/MidiInTest/MidiInTest.cpp - Pot Array · 16-potentiometer control surface and sensor board
Hardware/PotentiometerArray/PCB/PotentiometerArray/PotentiometerArray.kicad_pcb - Pot Driver · Firmware interface for the potentiometer array
Hardware/PotentiometerArray/Drivers/PotentiometerArray.cpp - Pot Tests · Single and multiple value validation for the pot array
Hardware/PotentiometerArray/Tests/SingleValueTest/SingleValueTest.cpp
Library
Reusable embedded UI framework
- UiFramework · Reusable embedded UI framework for device screens and controls
Library/UiFramework - Display · Display-facing rendering and presentation boundary
Library/UiFramework/Display.cpp - View Layer · View abstractions and page rendering components
Library/UiFramework/View/View.h - Presenters · Page, settings, navigation, and numeric UI presenters
Library/UiFramework/Presenters/Page.h - UI Utilities · UI parameter and provider support types
Library/UiFramework/Utilities/UiParameter.h
Examples
Runnable integration firmware
- MonoSeed09 · Integrated runnable audio firmware example
Examples/MonoSeed09/MonoSeed09.cpp
Other components
- Daisy Seed · Central embedded audio target and integration hub
- libDaisy · Embedded audio platform SDK used for build and device access
- DaisySP · Audio signal-processing dependency for firmware builds
Connections 20
- Breakout Board → Daisy Seed: hosts/connects · Provides the main expansion and peripheral connections for the seed
- External Codec → Breakout Board: attaches · Audio codec hardware is part of the modular board set
- MIDI Board → Breakout Board: attaches · MIDI interface board plugs into the system expansion path
- Pot Array → Breakout Board: attaches · Potentiometer control surface connects through the breakout hub
- Codec Driver → External Codec: drives · Driver layer controls the external codec board
- Codec Tests → Codec Driver: verifies · Tests exercise the codec driver and board behavior
- MIDI Test → MIDI Board: verifies · Standalone test program validates MIDI input handling
- Pot Driver → Pot Array: drives · Driver layer reads the potentiometer array hardware
- Pot Tests → Pot Driver: verifies · Tests cover single and multiple value sampling behavior
- UiFramework → Display: contains · UI framework is organized around display abstractions
- UiFramework → View Layer: contains · View layer defines screen rendering structures
- UiFramework → Presenters: contains · Presenter components model pages, items, and navigation
- UiFramework → UI Utilities: contains · Utility types handle UI parameters and providers
- MonoSeed09 → Daisy Seed: targets · Firmware runs on the Daisy Seed platform
- MonoSeed09 → Codec Driver: uses · Example integrates external codec support
- MonoSeed09 → Pot Driver: uses · Example reads potentiometer input through the driver
- MonoSeed09 → MIDI Board: uses · Example consumes MIDI input from the dedicated board
- MonoSeed09 → UiFramework: uses · Example can present device UI via the reusable framework
- MonoSeed09 → libDaisy: builds on · Firmware is built against the Daisy embedded SDK
- MonoSeed09 → DaisySP: builds on · Example depends on the audio DSP library