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.

EXTERNAL FLASH CIRCUIT
User LED for blinking and testing the board
LoRa MODULE
Pull up resistors
Line 1
R6 and r9 are are pull ups for the SD Card line
Line 2
Line 2
Termination resistors
C8 Should be close to pin 44 of RP2040
C2
Capacitance
100nF
C4
Capacitance
100nF
R9
Resistance
10kΩ
C12
Capacitance
100nF
R2
Resistance
27.4 Ω
C1
Capacitance
100nF
R16
Resistance
50 Ω
C10
Capacitance
100nF
C26
Capacitance
100nF
R19
Resistance
75 Ω
C9
Capacitance
100nF
C5
Capacitance
100nF
R17
Resistance
50 Ω
C6
Capacitance
100nF
C25
Capacitance
100nF
C11
Capacitance
1uF
R1
Resistance
27.4 Ω
C8
Capacitance
1uF
C3
Capacitance
100nF
R3
Resistance
10kΩ
C7
Capacitance
100nF
R6
Resistance
10kΩ
D2
Color
Green
C22
Capacitance
4u7 F
U1
U2
Not Recommended for New Designs

AvocAudio: v3.2 - Root