Hardware design

Sync Sound · Shared Wireless Audio

Design a portable audio device that plays locally, shares with another listener and connects every subsystem into a practical prototype.

My contribution
Team hardware/software project · detailed design and performance analysis
Context
Wireless audio hardware and embedded software · two-person team
Focus
Embedded & hardware · Electrical & controls · Software & AI
3D PCB model of the original shared-audio device.
Hardware Development3D PCB model of the original shared-audio device.
Shared-audio prototype development and electronics workbench setup.
Hardware DevelopmentShared-audio prototype development and electronics workbench setup.
Micro-USB input and TPD4E001 ESD-protection circuit from the custom-board design.
Power SupplyMicro-USB input and TPD4E001 ESD-protection circuit from the custom-board design.
BQ24093 charging circuit, current-setting components, thermistor connection and charge-status LEDs.
Power SupplyBQ24093 charging circuit, current-setting components, thermistor connection and charge-status LEDs.
TPS631000 buck-boost stage with its inductor, feedback divider and bypass capacitors.
Power SupplyTPS631000 buck-boost stage with its inductor, feedback divider and bypass capacitors.
TLV77333 LDO stage and power indicator for the intended 3.3 V supply.
Power SupplyTLV77333 LDO stage and power indicator for the intended 3.3 V supply.
Original prototype controller interface: clock, RF matching, buttons and audio connections.
Control & AudioOriginal prototype controller interface: clock, RF matching, buttons and audio connections.
NAU88C22 codec and headphone jack: digital-audio inputs, supply decoupling and left/right output coupling.
Control & AudioNAU88C22 codec and headphone jack: digital-audio inputs, supply decoupling and left/right output coupling.
Subsystem block diagram for the original shared-audio prototype.
Prototype Schematics & BuildSubsystem block diagram for the original shared-audio prototype.
Schematic connecting power, control and audio circuitry.
Prototype Schematics & BuildSchematic connecting power, control and audio circuitry.
PCB layout of the original shared-audio device.
Prototype Schematics & BuildPCB layout of the original shared-audio device.
Unpopulated custom PCB before component assembly.
Prototype Schematics & BuildUnpopulated custom PCB before component assembly.
Custom PCB with components soldered in place.
Prototype Schematics & BuildCustom PCB with components soldered in place.
Development-board prototyping for wireless audio playback and sharing.
Prototype Schematics & BuildDevelopment-board prototyping for wireless audio playback and sharing.
Assembled collection of boards and components for the shared-audio prototype.
Prototype Schematics & BuildAssembled collection of boards and components for the shared-audio prototype.
Proposed STM32WBA63 / Bluetooth LE Audio architecture. Concept-level interfaces for the next hardware and firmware revision.
Proposed LE Audio RevisionProposed STM32WBA63 / Bluetooth LE Audio architecture. Concept-level interfaces for the next hardware and firmware revision.

Experience In Practice

Skills Applied

View All Skills

Design Around A Shared Listening Experience

Sync Sound combines local headphone playback with onward audio sharing, so two listeners can hear the same source without a physical splitter. We divided the design into power, wireless control, audio conversion and the user interface, then developed the hardware and software in parallel.

We developed a custom board and demonstrated wireless playback and sharing with a development-board setup. An STM32WBA63 revision using Bluetooth LE Audio is planned as the next implementation.

Subsystem block diagram for the original shared-audio prototype.
Subsystem block diagram for the original shared-audio prototype.

Protect The Power And USB Entry Point

Micro-USB provides a convenient charging input. I paired the connector with a TPD4E001 protection device and local bypass capacitance, keeping the external interface separate from the battery and regulated supply stages.

The schematic makes the protection path and connector pins visible before power moves into the charging circuit.

Micro-USB input and TPD4E001 ESD-protection circuit from the custom-board design.
Micro-USB input and TPD4E001 ESD-protection circuit from the custom-board design.

Manage A Rechargeable Battery

The charging design uses a BQ2409x single-cell lithium-ion charger, a current-setting resistor, a thermistor connection and charge-status indicators. A locally sourced 2,600 mAh 18650 cell supplied a practical battery option for the design.

We compared charger packages against electrical requirements, availability and ease of assembly, linking component sourcing and solderability to the power-system design.

BQ24093 charging circuit, current-setting components, thermistor connection and charge-status LEDs.
BQ24093 charging circuit, current-setting components, thermistor connection and charge-status LEDs.

Build A Two-Stage Supply

The TPS631000 buck-boost stage lets the design regulate across a changing battery voltage. Its inductor, feedback divider and capacitors establish the conversion stage; the downstream TLV77333 LDO was intended to provide the final 3.3 V rail and further attenuate supply ripple.

This separates efficient voltage conversion from final rail conditioning. The retained drawing sets the buck-boost near 3.3 V, so sufficient headroom for a regulated 3.3 V LDO output is a point to resolve in the next board revision.

TPS631000 buck-boost stage with its inductor, feedback divider and bypass capacitors.
TPS631000 buck-boost stage with its inductor, feedback divider and bypass capacitors.
TLV77333 LDO stage and power indicator for the intended 3.3 V supply.
TLV77333 LDO stage and power indicator for the intended 3.3 V supply.

Connect The Controller, Radio And User Inputs

The controller brings together wireless reception, audio buffering, playback and the two-button interface. The retained schematic shows how clocking, RF matching, status indicators and audio connections were brought around that central device.

An STM32WBA63 revision would retain these functional interfaces with a new pin map, clock/RF circuitry and firmware. Bluetooth LE Audio is the intended transport for that next implementation.

Original prototype controller interface: clock, RF matching, buttons and audio connections.
Original prototype controller interface: clock, RF matching, buttons and audio connections.

Plan The STM32WBA63 & Bluetooth LE Audio Revision

The proposed revision keeps separate power, controller and audio-codec stages while moving to STM32WBA63. Its LE Audio support and SAI peripheral provide the basis for the next wireless audio implementation.

The diagram below shows the intended interfaces, including LC3 processing and the codec connection. Audio-sharing roles, timing, buffer management and interoperability still need implementation and testing on the new hardware.

Proposed STM32WBA63 / Bluetooth LE Audio architecture. Concept-level interfaces for the next hardware and firmware revision.
Proposed STM32WBA63 / Bluetooth LE Audio architecture. Concept-level interfaces for the next hardware and firmware revision.

Convert The Digital Stream Into Headphone Audio

The custom board uses an NAU88C22 codec to separate digital processing from the analogue listening output. Serial audio enters the codec, while its left/right outputs connect through the output network to a headphone jack.

The device was selected for stereo conversion and room for later audio controls, including equalisation, mixing and level adjustment. Those additional features were design options rather than demonstrated functions of the prototype.

Digital-Audio Interface
SignalPurpose
Bit clockTimes the transfer of individual serial audio bits.
Word select / frame clockIdentifies the channel or frame boundary.
Serial audio dataCarries the PCM sample stream to the codec.
Master clock, where requiredProvides the codec timing reference for its configured clock mode.
NAU88C22 codec and headphone jack: digital-audio inputs, supply decoupling and left/right output coupling.
NAU88C22 codec and headphone jack: digital-audio inputs, supply decoupling and left/right output coupling.

Make Playback And Sharing Testable

We separated stream reception, buffering, local playback and peer distribution so timing problems could be isolated. A laptop-side Python source and embedded C++ firmware provided a repeatable way to exercise the audio path.

The two-button interface kept the prototype’s operating modes simple. Buffer tuning exposed the central tradeoff: more queued audio can absorb interruptions, but it also adds delay.

Prototype Operating Modes
Input / EventStarting ModeResult
Power onOffInitialise the device in source-sharing / server mode.
Mode buttonSource-sharing modeChange to receiver / client mode.
Mode buttonReceiver modeReturn to source-sharing mode.
Disconnect buttonEither active modeEnd the peer-sharing connection.

These operating modes describe the tested prototype. Implementing the LE Audio state machine is part of the next revision.

Move From Schematics To A Physical Prototype

The design progressed through the complete schematic, PCB routing, a 3D board model, fabrication and component assembly. Development boards allowed software and audio testing to proceed while the custom hardware was being built.

Late assembly problems prevented a complete custom-board demonstration. We used the development setup with a PCM5102-family DAC module to demonstrate playback and redistribution, preserving a testable audio path while identifying the remaining hardware work.

Prototype Test Observations
CheckObservationScope
Device-to-device delayApproximately 0.5 seconds maximumDevelopment-board test setup.
Listening rangeNo noticeable quality change at 20 m or lessQualitative listening observation.
Longer-range behaviourConnection near 40 m, with substantial audio degradationRange did not imply usable listening quality.
Portable operationFull custom-board power performance was not establishedBattery life and final-board performance require validation.

These observations belong to the original demonstration and are not Bluetooth LE Audio performance results.

PCB layout of the original shared-audio device.
PCB layout of the original shared-audio device.

Select Parts And Build A Bill Of Materials

The candidate BOM pairs the proposed STM32WBA63 controller with the existing power and audio stages, using an estimated MCU unit price of $12.00 AUD.

The estimated component total is $69.73 AUD, including the controller. Supporting-circuit changes may affect the final cost.

Candidate BOM For The STM32 Revision
ItemPart / AllowanceQtyUnit Price (AUD)Line Total (AUD)
Audio jackSTX-30001$0.99$0.99
MCU — proposed replacementSTM32WBA631$12.00$12.00
LDOTLV77333PDBVR1$0.16$0.16
Antenna2450AT42B0100001E1$0.96$0.96
Micro-USB connectorWM1399CT-ND1$1.47$1.47
ESD protectionTPD4E001DBVR1$0.59$0.59
Crystal oscillatorECS-400-10-37B2-CKY-TR1$0.61$0.61
Audio codecNAU88C22YG1$1.95$1.95
Battery chargerBQ24095DGQR1$1.78$1.78
BatterySB23081$16.95$16.95
Buck-boost converterTPS631000DRLR1$2.27$2.27
PCBCustom board1$20.00$20.00
Resistors, capacitors & inductorsCombined allowance1$10.00$10.00
Estimated BOM totalIncluding replacement MCU——$69.73

The STM32WBA63 price is approximately $12.00 AUD; other prices are historical estimates. MCU clock, RF and supply components need a compatibility review. The BOM specifies BQ24095DGQR; the charging circuit uses BQ24093DGQR.

Estimate The Development And Production Allowance

The business study spread development and production allowances across a 10,000-unit scenario, then added 20% overhead. This connects component selection with prototyping, mechanical work and certification costs.

The table retains the original scenario and recalculates its totals from the listed amounts. The wireless-certification allowance belongs to that original study; a Bluetooth LE Audio revision needs its own costing.

Development Cost Analysis · 10,000 Units
Cost AreaBasisScenario Cost (AUD)Per Unit (AUD)
Firmware / component allowance$30.98-per-unit component allowance$309,800.00$30.98
Industrial / mechanical developmentPCB and plastic enclosure allowance$385,200.00$38.52
Prototyping & testingOne iteration$7,700.00$0.77
Wireless certification allowanceWi-Fi certification allowance for the prototype$12,330.00$1.23
CE certification allowancePlanning estimate$98,610.00$9.86
IEC certification allowancePlanning estimate$2,800.00$0.28
LabourAssumed negligible in the model$0.00$0.00
ShippingAssumed negligible in the model$0.00$0.00
SubtotalBefore overhead$816,440.00$81.64
Overhead20% of subtotal$163,288.00$16.33
Total planning allowance10,000-unit scenario$979,728.00$97.97

The 10,000-unit scenario totals $816,440 before overhead and $979,728 after 20% overhead, equivalent to $97.97 per unit rounded.

Test The Commercial Scenario Over Five Years

The NPV model combines forecast production and sales with a $120 selling price, $97.97 cost per stocked unit and a 5% discount rate. It asks whether the assumed cash flows justify the scenario over five years.

Under these assumptions, the five-year net present value is $128,416.28 AUD. This is a planning scenario; actual sales and costs for the proposed STM32 revision remain unvalidated.

Five-Year Cash-Flow And NPV Analysis
YearStocked UnitsUnits SoldInflow (AUD)Outflow (AUD)Net Cash Flow (AUD)Present Value (AUD)
Year 16,9005,462$655,440.00$675,993.00$-20,553.00$-19,574.29
Year 25,0004,875$585,000.00$489,850.00$95,150.00$86,303.85
Year 34,3203,919$470,280.00$423,230.40$47,049.60$40,643.21
Year 47,0005,982$717,840.00$685,790.00$32,050.00$26,367.61
Year 59,4317,643$917,160.00$923,955.07$-6,795.07$-5,324.12
Five-year NPV—————$128,416.28

NPV uses unrounded discounted values; rows display two decimal places. Production outflow uses the rounded $97.97 unit-cost assumption.

PV(year) = (sales revenue − production outflow) / (1.05 ^ year)

Years are discounted at t = 1 through 5. The model includes no separate time-zero investment; its unit-cost allowance already spreads the development assumptions.

Plan For Technical And Delivery Risks

The risk assessment links design decisions to practical failure modes: incorrect pin connections, difficult soldering, battery issues, software faults, component delays and incomplete features. Each risk has a prevention measure and a fallback action.

The controls cover hardware assembly, software reliability and delivery. Planned software checks focus on buffering, playback continuity and recovery from faults.

Risk Assessment
RiskLikelihoodImpactSeverityMitigationContingency
PCB design errorsLowHighHighReview schematics and pinouts; simulate analogue stages.Revise the circuit and order replacement boards.
Small-component soldering damageLowHighHighUse stencils and experienced assembly guidance.Choose easier-to-assemble packages and rebuild.
Battery failure or overchargeLowHighMediumCheck charging, supply ripple, protection and subsystem compatibility.Replace affected battery/board using spares.
Software / audio-data failuresMediumHighMediumStress-test buffering, playback continuity and control behaviour.Return to a known-good audio path and isolate the fault.
Inaccurate cost estimatesLowMediumMediumCompare component prices, availability and alternatives.Replace costly parts or revise the architecture.
Incomplete core product featuresMediumMediumMediumMake core requirements testable and schedule them first.Deliver the essential hardware/audio path before optional features.
Team illnessMediumLowLowBuild schedule margin and share task knowledge.Redistribute work and communicate availability.
Slow component deliveryMediumHighLowOrder 2–4 weeks ahead and check stock; keep alternatives.Use available substitutes or development boards.
Overlapping task ownershipLowMediumLowAgree responsibilities and hold regular progress reviews.Reallocate work with mentor support.
Incomplete design documentationHighMediumMediumKeep shared records; include documentation in completion criteria.Reconstruct changes using agreed templates and test records.

Ratings are qualitative planning assessments. Software stress tests are planned controls, not completed test results.

The Engineering Journey

Partition

Define the power, control and audio interfaces before selecting parts.

Prototype

Develop the custom board and software in parallel, keeping the audio path testable.

Evaluate

Connect observed performance, component costs and risks to the next design revision.

What This Experience Achieved

The result

A documented shared-audio design covering module schematics, custom-board development, playback and redistribution testing, component sourcing and a five-year commercial scenario, with an STM32WBA63 / LE Audio revision proposed.

Technical decisions & tools

The custom board uses an NAU88C22 codec. Playback and sharing were demonstrated using development boards and a PCM5102-family audio module.

The original controller/RF drawing is retained as prototype evidence. STM32WBA63 and Bluetooth LE Audio are the proposed next revision, with a concept diagram rather than an unverified replacement pinout.

Cost and NPV tables show the original commercial planning assumptions. The candidate BOM uses an estimated $12.00 AUD for the replacement MCU alongside historical component allowances.

Power-rail headroom, charger part-number consistency, clocking/RF details and final-board bring-up remain items to verify in a revised implementation.

Embedded C++PythonI2SWi-FiPCB designPower managementNAU88C22Component sourcingBill of materialsCost analysisRisk assessment