Project Documentation


Created 7 project docs

Project Specification

View Document

Project Specification Project Overview
Status: Review
A compact, battery-powered tinyML audio and environmental data-collection board based on the RP2040. The device records digital microphone data to microSD, can attach a DHT11/DHT22 sensor, and reports status or summarized data over LoRaWAN through a LoRa-E5 module. It supports USB or solar-assisted charging of a single-cell Li-ion/Li-polymer battery and is packaged in a two-piece FDM enclosure.
Intended Use
  • Community development and field data collection for tinyML audio applications.
  • Local audio capture and storage where Wi-Fi is unavailable.
  • Periodic low-bandwidth LoRaWAN telemetry rather than streaming raw audio over LoRa.
  • Prototype and validation platform; the current revision is not yet production-qualified.

Power Budget

View Document

Power Budget Status and Method
Status: Preliminary engineering budget for review. It is grounded in the live schematic, but several load currents are planning allowances because the exact SD card, DHT sensor, firmware duty cycle, battery, and solar panel are not selected.
The power path is:
Confirmed Electrical Facts
  • Main regulated system rail: +3V3.
  • Internal RP2040 core rail: +1V1, generated by the RP2040 internal regulator.
  • Battery rail: VBAT, a single Li-ion/Li-polymer cell charged to 4.2 V by U5.
  • Charge-current intent: approximately 900 mA according to the schematic annotation and R7 = 2 kOhm.
  • U4 RT8059 is rated in project component data as a 1 A buck converter with 2.8 V to 5.5 V input.

Firmware Getting Started

View Document

Firmware Getting Started Platform and Toolchain
  • MCU: RP2040 U1
  • Framework: Arduino-Pico
  • Build system: PlatformIO
  • Debug: USB serial for logs, SWD through J8 for recovery and source-level debugging
  • Flash: W25Q128JVSIQ external QSPI, 16 MiB
Pin Mapping Recommended Firmware State Machine PlatformIO Configuration
The exact Arduino-Pico release and SDIO/I2S libraries must be pinned after a compile-tested implementation. The microSD wiring is 4-bit SD, not conventional SPI; do not silently substitute an SPI example without rewiring hardware.
Initial Bring-Up Source
This source is intentionally limited to peripherals that can be initialized with stable Arduino-Pico APIs from the confirmed schematic: USB logging, user LED, DHT, LoRa UART/reset,...

Board Bring-Up Plan

View Document

Board Bring-Up Plan Prerequisites
  • Current-limited bench supply, battery simulator or protected single-cell battery, DMM, oscilloscope, logic analyzer, USB cable, SWD probe, known-good microSD card, LoRa antenna, and optional DHT11/DHT22.
  • Start without battery, SD card, antenna pigtail stress, or external sensor fitted unless the step requires it.
  • Use ESD precautions for U1, U2, U6, MK3, and RF connector J4.
  • Never transmit U6 without an appropriate antenna connected.
  • Initial current limit: 100 mA for static rail checks; raise only after the rail is verified.
1. Visual and Unpowered Inspection
  • Verify orientation and solder quality of U1, U2, U4, U5, U6, D1, Q2, LEDs, and polarized connectors.
Show 3 More
Created and verified seven detailed project files grounded in the current schematic, BOM, PCB layout, firmware history, and enclosure design:
Open items
  • Battery capacity, protection, and permitted charge rate remain unspecified.
  • Solar-panel rating, recording duty cycle, LoRa interval, and runtime target are unspecified.
  • The buck-only 3.3 V supply may lose regulation as the Li-ion cell discharges.
  • SDIO and I²S firmware still require compile-tested library implementations.
  • Charge current, power consumption, thermal behavior, RF performance, and enclosure fit require physical measurements.
Suggested next steps
  1. Select the battery and solar panel, then finalize the power budget.
  2. Run a complete schematic/ERC and power-path review.
  3. Implement and compile-test the audio and SDIO firmware.
  4. Execute the board bring-up and validation plans on assembled hardware.

Preliminary Safety FMEA
Scope
Design-stage failure mode analysis for the current board and enclosure. Scores are preliminary: Severity, Occurrence, and Detection are 1 to 10; RPN = S x O x D. Re-score after prototype measurements and after the exact battery, panel, antenna, and firmware are selected.
Failure Mode Table

Table


SubsystemFailure modeEffectSODRPNMitigation/action
Li-ion batteryUnprotected or wrong-polarity cell fittedCell damage, heating, fire1037210Specify protected pack, keyed cable/polarity inspection, reverse-polarity protection review, clear labeling
Charger U5900 mA charge rate exceeds cell ratingBattery overheating and reduced life1046240Select battery first, set R7 to approved C-rate, verify thermal behavior and charge termination
Charger U5Linear charger overheats at high VIN and low VBATThermal shutdown, enclosure heating, damage855200Thermal test, limit source voltage/current, improve copper/airflow or reduce charge current
Solar inputPanel cannot sustain programmed charge currentRepeated collapse/restart, poor charging, stress575175Specify panel IV curve, test cloud transients, reduce charge current or add input regulation/MPPT
Power architectureBuck loses 3.3 V regulation at low batteryReset, corrupted SD filesystem, undefined radio state874224Measure dropout, set early shutdown threshold, add brownout-safe file handling, consider buck-boost
microSDPower interrupted during writeCorrupted recordings or filesystem674168Buffered/preallocated writes, low-battery warning, journaling strategy, recovery test
3.3 V railSD and LoRa peaks overlapRail droop and reset754140Measure transients, adequate bulk capacitance, schedule loads, verify U3/U4/L2 margin
U3 load switchCurrent limit set incorrectlyNuisance trips or inadequate protection646144Verify exact equation/tolerance, electronic-load test, document trip current
USB inputESD or cable fault at exposed connectorMCU damage or malfunction657210Review/add USB ESD protection and shield strategy; perform IEC 61000-4-2 pre-test
Solar/battery/USB connectorsWire/contact loosens or shortsIntermittent reset, heating, battery fault845160Strain relief, current-rated wiring, torque/process controls, enclosure inspection
LoRa RFTransmit without antennaReduced range or RF output-stage stress545100Assembly instruction, firmware test lockout, antenna-present process check
RF pigtailCable pulls on IPEXConnector damage, intermittent RF565150Add external strain relief and bend-radius requirement; cycle test enclosure
EnclosureAcoustic/connector openings admit water or dustCorrosion, shorts, poor audio767294No IP claim, sheltered-use labeling, consider membrane/gaskets and ingress testing
EnclosureFlat surface blocks bottom microphone portsUnusable or biased audio47384Add feet/stand-off or deployment instruction; characterize response on surfaces
EnclosureScrew tip or boss damages PCBShort, cracked board, injury from protrusion735105Fix approved screw MPN/length/torque, print coupons, inspect every build
FirmwareWatchdog or fault recovery absentDevice remains hung and stops logging564120Hardware watchdog, reset-cause log, bounded retries, degraded mode
FirmwareWrong LoRa region or excessive duty cycleRegulatory non-compliance and network interference836144Region-locked configuration, signed release config, airtime limits, compliance review
FirmwareRaw audio or sensitive data exposedPrivacy or security impact747196Data minimization, encryption/authentication, key management, retention policy
Battery/enclosureCell swells inside tight enclosureMechanical stress, fire risk1028160Define battery bay/clearance, approved protected pack, inspection and replacement instructions
DHT connectorWrong external device or miswire3.3 V short or MCU pin damage556150Pin labeling, keyed harness, series protection/current limit, user documentation
Highest-Priority Actions
  1. Select the exact protected battery and set/verify the charge current against its allowed rate.
  2. Resolve the buck-only low-battery dropout risk and implement brownout-safe storage behavior.
  3. Define intended environment; the open enclosure currently has significant ingress risk.
  4. Add or verify ESD/protection at USB and external connectors before production intent.
  5. Specify solar panel and test source collapse and charger thermals.
  6. Establish privacy/security requirements for collected audio and LoRaWAN credentials.
Safety Validation
  • Charge/discharge cycling with temperature logging.
  • Charger single-fault and current-limit tests using a battery simulator, not an unprotected cell.
  • Connector short and hot-plug tests with current-limited sources.
  • Brownout during each SD write phase.
  • Enclosure thermal soak during charging and LoRa TX.
  • Cable pull and drop testing with no battery damage or exposed conductors.
  • ESD pre-compliance at all accessible conductive interfaces.
Open Items
  • Battery MPN/capacity/protection and mounting method.
  • Solar panel and cable specification.
  • Maximum ambient and charging temperature.
  • Exact user environment and ingress expectation.
  • Final ESD/TVS design evidence.
  • Approved screw and harness part numbers.
  • Data privacy, retention, encryption, and device-identity policy.
  • Scope

  • Failure Mode Table

  • Highest-Priority Actions

  • Safety Validation

  • Open Items