# AvocAudio: A tinyML community board v1
## Description
AvocAudio is a compact tinyML community board designed for extensive audio data collection for various tinyML applications. It leverages the Raspberry Pi RP2040 and integrates a LoRa-E5 LoRaWAN Transceiver Module for connectivity. Equipped with an SD card slot for local data storage, the board ensures efficient data collection. The board operates on solar power or a lithium-ion battery, ensuring flexible and efficient energy use. #raspberryPi #rp2040 #lorawan #iot #solar
## Project Details
- **Owner:** nick-local
- **Created:** 6/24/2024
- **Last Updated:** 6/24/2024
- **Visibility:** Public
- **License:** https://creativecommons.org/licenses/by/4.0/
- **Operating Voltage:** 3.3
- **Domain:** Scientific
- **Data Storage:** SD Card
- **Compliance:** RoHS
- **Human Interface:** Buttons
- **Sensor Interface:** Microphone, Temperature sensor, Humidity sensor
- **Data type:** Audio
- **Connectivity:** LoRaWAN
- **Copies:** 1
## Key Components
### D1 — [SS34](https://www.flux.ai/jecstronic/ss34.md)
- Description: Diode 40 V 3A Surface Mount SMC (DO-214AB)
- Manufacturer Part Number: SS34
- License: https://creativecommons.org/licenses/by/4.0/
- Datasheet URL: https://www.onsemi.com/pdf/datasheet/ss39-d.pdf
- Part Type: Diode
- Manufacturer Name: onsemi
**Pins:**
- A [pin 2]
- K [pin 1]
### D2 — [LED_0603_1608Metric](https://www.flux.ai/adrian95/led06031608metric.md)
- Manufacturer Name: Foshan NationStar Optoelectronics
- Forward Voltage: 2.0V
- License: https://creativecommons.org/licenses/by/4.0/
- Datasheet URL: https://datasheet.lcsc.com/lcsc/2008201032_Foshan-NationStar-Optoelectronics-NCD0603C1_C84264.pdf
- Part Type: LED
- Forward Current: 20mA
- Color: Green
- Manufacturer Part Number: NCD0603C1
**Pins:**
- P1 [pin 1]
- P2 [pin 2]
### D4 — [LED_0603_1608Metric](https://www.flux.ai/adrian95/led06031608metric.md)
- Part Type: LED
- Forward Voltage: 2.0V
- Datasheet URL: https://datasheet.lcsc.com/lcsc/2008201032_Foshan-NationStar-Optoelectronics-NCD0603R1_C84263.pdf
- Color: Red
- Manufacturer Part Number: NCD0603R1
- Manufacturer Name: Foshan NationStar Optoelectronics
- Current: 20mA
- License: https://creativecommons.org/licenses/by/4.0/
**Pins:**
- P1 [pin 1]
- P2 [pin 2]
### D5 — [LED_0603_1608Metric](https://www.flux.ai/adrian95/led06031608metric.md)
- Forward Voltage: 2.0V
- Manufacturer Name: Foshan NationStar Optoelectronics
- Part Type: LED
- Datasheet URL: https://datasheet.lcsc.com/lcsc/2008201032_Foshan-NationStar-Optoelectronics-NCD0603C1_C84264.pdf
- License: https://creativecommons.org/licenses/by/4.0/
- Color: Green
- Forward Current: 20mA
- Manufacturer Part Number: NCD0603C1
**Pins:**
- P1 [pin 1]
- P2 [pin 2]
### J1 — [1140084168](https://www.flux.ai/collinsemasi/1140084168.md)
- Manufacturer Name: Amphenol ICC (Commercial Products)
- Compliance: RoHS
- Number of positions: 10 (8 + 2)
- Manufacturer Part Number: 114-00841-68
- Insertion/Removal method: Push In, Pull Out
- Datasheet URL: https://mm.digikey.com/Volume0/opasdata/d220001/medias/docus/1139/114-00841-68.pdf
- Card Type: Secure Digital - microSD™
- Part Type: Connector
**Pins:**
- S2 [pin S2]
- S3 [pin S3]
- S4 [pin S4]
- 1 [pin 1]
- 10 [pin 10]
- 2 [pin 2]
- 3 [pin 3]
- 4 [pin 4]
- 5 [pin 5]
- 6 [pin 6]
- 7 [pin 7]
- 8 [pin 8]
- 9 [pin 9]
- SHIELD [pin S1]
### J2 — [JST B2B PH K 01x02 Connector](https://www.flux.ai/jharwinbarrozo/jst-b2b-ph-k-01x02-connector.md)
- Manufacturer Name: JST Sales America
- Manufacturer Part Number: B2B-PH-K-S(LF)(SN)
- Part Type: Connector
- Datasheet URL: https://datasheet.lcsc.com/lcsc/1811151524_JST-Sales-America-B2B-PH-K-S-LF-SN_C131337.pdf
**Pins:**
- PIN1 [pin 1]
- PIN2 [pin 2]
### J3 — [10118192-0001LF](https://www.flux.ai/jecstronic/10118192-0001lf.md)
- License: https://creativecommons.org/licenses/by/4.0/
- Manufacturer Part Number: 10118192-0001LF
- Datasheet URL: https://cdn.amphenol-cs.com/media/wysiwyg/files/documentation/datasheet/inputoutput/io_usb_micro.pdf
- Part Type: USB B
- Manufacturer Name: Amphenol ICC (FCI)
**Pins:**
- D- [pin 2]
- D+ [pin 3]
- GND [pin 5]
- ID [pin 4]
- SHIELD [pin SH1]
- SHIELD [pin SH4]
- SHIELD [pin SH2]
- SHIELD [pin SH3]
- SHIELD [pin SH6]
- SHIELD [pin SH5]
- VUSB [pin 1]
### J4 — [IPEX1](https://www.flux.ai/collinsemasi/ipex1.md)
- Manufacturer Name: BAT WIRELESS
- Part Type: Connector
- Number of Ports: 1
- Manufacturer Part Number: BWU.FL-IPEX1
- License: https://creativecommons.org/licenses/by/4.0/
- RF Series: IPEX
- Interface Length: 1.25mm
- Frequency Max: 6GHz
- Datasheet URL: https://datasheet.lcsc.com/lcsc/2208151830_BAT-WIRELESS-BWU-FL-IPEX1_C5137195.pdf
- Impedance: 50Ω
- Interface Diameter: 2mm
**Pins:**
- GND [pin 3]
- GND [pin 1]
- SIGNAL [pin 2]
### J5 — [OSTVN02A150](https://www.flux.ai/collinsemasi/ostvn02a150.md)
- Datasheet URL: https://mm.digikey.com/Volume0/opasdata/d220001/medias/docus/1123/OSTVNXXA150.pdf
- Manufacturer Name: On Shore Technology Inc.
- Manufacturer Part Number: OSTVN02A150
**Pins:**
- 1 [pin 1]
- 2 [pin 2]
### J6 — [B4B-PH-K-S (LF)(SN)](https://www.flux.ai/jecstronic/b4b-ph-k-s-lfsn.md)
- Manufacturer Name: JST Sales America Inc.
- Part Type: Connector
- Manufacturer Part Number: B4B-PH-K-S (LF)(SN)
- Datasheet URL: https://www.jst-mfg.com/product/pdf/eng/ePH.pdf
- Interface: To interface DH11 or DH22
- License: https://creativecommons.org/licenses/by/4.0/
**Pins:**
- PIN_1 [pin 1]
- PIN_2 [pin 2]
- PIN_3 [pin 3]
- PIN_4 [pin 4]
### MK1 — [SPH0645LM4H-B](https://www.flux.ai/vasy_skral/sph0645lm4h-b.md)
- Rated Voltage: 1.8V
- Datasheet URL: https://media.digikey.com/pdf/Data%20Sheets/Knowles%20Acoustics%20PDFs/SPH0645LM4H-B.pdf
- Microphone Type: MEMS (Silicon)
- Direction: Omnidirectional
- Frequency Range: 20 Hz ~ 10 kHz
- S/N Ration: 65dB
- Manufacturer Name: Knowles
- Voltage Range: 1.62 V ~ 3.6 V
V
- Part Type: Sensor
- Current - Supply: 600uA
- Sensitivity: -26dB ±3dB @ 94dB SPL
- Manufacturer Part Number: SPH0645LM4H-B
**Pins:**
- BCLK [pin 4]
- DATA_OUT [pin 6]
- GND [pin 3]
- SELECT [pin 2]
- VDD [pin 5]
- WS [pin 1]
### Q1 — [SI2333DS-T1-E3](https://www.flux.ai/jecstronic/si2333ds-t1-e3.md)
- Datasheet URL: https://www.vishay.com/docs/72023/si2333ds.pdf
- Manufacturer Name: Vishay Siliconix
- Part Type: Transistor
- License: https://creativecommons.org/licenses/by/4.0/
- Manufacturer Part Number: SI2333DS-T1-E3
**Pins:**
- D [pin 3]
- G [pin 1]
- S [pin 2]
### SW1 — [Tactile Switch SPST-NO PTS526 SK15 SMTR2 LFS](https://www.flux.ai/collinsemasi/tactile-switch-spst-no-pts526-sk15-smtr2-lfs.md)
- Datasheet URL: https://www.ckswitches.com/media/2780/pts526.pdf
- Manufacturer Name: C&K
- Manufacturer Part Number: PTS526 SK15 SMTR2 LFS
- Part Type: Switch
**Pins:**
- 2 [pin 2]
- 4 [pin 4]
- 1 [pin 1]
- 3 [pin 3]
### SW2 — [Tactile Switch SPST-NO PTS526 SK15 SMTR2 LFS](https://www.flux.ai/collinsemasi/tactile-switch-spst-no-pts526-sk15-smtr2-lfs.md)
- Datasheet URL: https://www.ckswitches.com/media/2780/pts526.pdf
- Manufacturer Part Number: PTS526 SK15 SMTR2 LFS
- Manufacturer Name: C&K
- Part Type: Switch
**Pins:**
- 2 [pin 2]
- 4 [pin 4]
- 1 [pin 1]
- 3 [pin 3]
### U1 — [RP2040](https://www.flux.ai/vasy_skral/rp2040.md)
- Compliance: RoHS
- Part Type: Microcontroller
- Operating Temperature: -40°C ~ 85°C (TC)
- License: https://creativecommons.org/licenses/by/4.0/
- Datasheet URL: https://datasheets.raspberrypi.com/rp2040/rp2040-datasheet.pdf
- Peripherals: Brown-out Detect/Reset, DMA, I2S, LCD, POR, PWM, WDT
- Speed: 133M
- Connectivity: I2C, IrDA, QSPI, SPI, UART/USART, USB
- Manufacturer Name: Raspberry Pi
- Number of I/O: 30
- Core Processor: ARM® Cortex®-M0+
- Data Converters: A/D 4x12b SAR
- Program memory type: External Program Memory
- Voltage Supply (Vcc/Vdd): 1.8V ~ 3.3V
- Hardware reference design URL: https://datasheets.raspberrypi.com/rp2040/hardware-design-with-rp2040.pdf
- Manufacturer Part Number: RP2040
**Pins:**
- ADC_AVDD [pin 43]
- DVDD [pin 23]
- DVDD [pin 50]
- GND [pin 57]
- GPIO0 [pin 2]
- GPIO1 [pin 3]
- GPIO10 [pin 13]
- GPIO11 [pin 14]
- GPIO12 [pin 15]
- GPIO13 [pin 16]
- GPIO14 [pin 17]
- GPIO15 [pin 18]
- GPIO16 [pin 27]
- GPIO17 [pin 28]
- GPIO18 [pin 29]
- GPIO19 [pin 30]
- GPIO2 [pin 4]
- GPIO20 [pin 31]
- GPIO21 [pin 32]
- GPIO22 [pin 34]
- GPIO23 [pin 35]
- GPIO24 [pin 36]
- GPIO25 [pin 37]
- GPIO26/ADC0 [pin 38]
- GPIO27/ADC1 [pin 39]
- GPIO28/ADC2 [pin 40]
- GPIO29/ADC3 [pin 41]
- GPIO3 [pin 5]
- GPIO4 [pin 6]
- GPIO5 [pin 7]
- GPIO6 [pin 8]
- GPIO7 [pin 9]
- GPIO8 [pin 11]
- GPIO9 [pin 12]
- IOVDD [pin 33]
- IOVDD [pin 22]
- IOVDD [pin 10]
- IOVDD [pin 49]
- IOVDD [pin 1]
- IOVDD [pin 42]
- QSPI_CSN [pin 56]
- QSPI_SCLK [pin 52]
- QSPI_SD0 [pin 53]
- QSPI_SD1 [pin 55]
- QSPI_SD2 [pin 54]
- QSPI_SD3 [pin 51]
- RUN [pin 26]
- SWCLK [pin 24]
- SWD [pin 25]
- TESTEN [pin 19]
- USB_DM [pin 46]
- USB_DP [pin 47]
- USB_VDD [pin 48]
- VREG_VIN [pin 44]
- VREG_VOUT [pin 45]
- XIN [pin 20]
- XOUT [pin 21]
### U2 — [W25Q128JVSIQ](https://www.flux.ai/jecstronic/w25q128jvsiq.md)
- Memory Type: Non-Volatile
- Memory organization: 16M x 8
- Compliance: REACH
- Datasheet URL: https://datasheet.lcsc.com/lcsc/1811142111_Winbond-Elec-W25Q128JVSIQ_C97521.pdf
- Memory Size: 128Mbit
- Memory Format: FLASH
- Operating Voltage: 2.7V ~ 3.6V
- Clock Frequency: 133 MHz
- Part Type: Integrated Circuit
- Memory Interface: SPI - Quad I/O, QPI, DTR
- Write Cycle Time - Word, page: 3ms
- Technology: FLASH - NOR
- Operating Temperature: -40°C ~ 85°C (TA)°C
- Manufacturer Name: Winbond Electronics
- Manufacturer Part Number: W25Q128JVSIQ
**Pins:**
- ~CS [pin 1]
- CLK [pin 6]
- DI(IO0) [pin 5]
- DO(IO1) [pin 2]
- GND [pin 4]
- IO2 [pin 3]
- IO3 [pin 7]
- VCC [pin 8]
### U3 — [SY6280](https://www.flux.ai/collinsemasi/sy6280.md)
- Datasheet URL: https://datasheet.lcsc.com/lcsc/1808010233_Silergy-Corp-SY6280AAAC_C207620.pdf
- License: https://creativecommons.org/licenses/by/4.0/
- Manufacturer Part Number: SY6280A AC
- Part Type: Integrated Circuit
- Manufacturer Name: Silergy Corp
- Package or Case Code: SOT-23-5
**Pins:**
- EN [pin 4]
- GND [pin 2]
- ISET [pin 3]
- VIN [pin 5]
- VOUT [pin 1]
### U4 — [RT8059GJ5](https://www.flux.ai/collinsemasi/rt8059gj5.md)
- Manufacturer Part Number: RT8059GJ5
- Part Type: Integrated Circuit
- Package or Case Code: SOT-23-5
- Datasheet URL: https://datasheet.lcsc.com/lcsc/1811100910_Richtek-Tech-RT8059GJ5_C20542.pdf
- License: https://creativecommons.org/licenses/by/4.0/
**Pins:**
- EN [pin 1]
- FB [pin 5]
- GND [pin 2]
- LX [pin 3]
- VIN [pin 4]
### U5 — [CN3063 Test](https://www.flux.ai/collinsemasi/cn3063-test.md)
- Regulation voltage: Internally fixed at 4.2V with 1% accuracy, adjustable with external resistor
- Additional Features: - Undervoltage lockout - Automatic recharge - Battery temperature sensing - Charging/termination indicator
- Manufacturer Name: Shanghai Consonance Elec
- Low power mode: Automatically enters low power sleep mode (< 3uA battery drain) when input supply is removed
- Datasheet URL: https://datasheet.lcsc.com/lcsc/1811051510_ShangHai-Consonance-Elec-CN3063_C28078.pdf
- Compliance: REACH
- Manufacturer Part Number: CN3063
- Programmable charge current: Yes, programmable externally with a single resistor
- License: https://creativecommons.org/licenses/by/4.0/
- Package or Case Code: SOP-8-EP
- Part Type: Integrated Circuit
- Part Type: Complete constant-current/constant voltage linear charger
- Battery compatibility: Single cell Li-ion and Li Polymer rechargeable batteries
- On-chip components: - Power MOSFET - 8-bit ADC
**Pins:**
- 9 [pin 9]
- ~CHARG [pin 7]
- ~DONE [pin 6]
- BAT [pin 5]
- FB [pin 8]
- GND [pin 3]
- ISET [pin 2]
- TEMP [pin 1]
- VIN [pin 4]
### U6 — [LoRa-E5 (STM32WLE5JC)](https://www.flux.ai/seeedstudio/wio-e5-stm32wle5jc.md)
- Manufacturer Name: Seeed Technology Co., Ltd
- Part Type: RF Transceiver Module
- Datasheet URL: https://files.seeedstudio.com/products/317990687/res/LoRa-E5%20module%20datasheet_V1.0.pdf
- Manufacturer Part Number: 317990687
**Pins:**
- GND [pin 16]
- GND [pin 14]
- GND [pin 22]
- GND [pin 2]
- PA0 [pin 23]
- PA10 [pin 27]
- PA13 [pin 3]
- PA14 [pin 4]
- PA15 [pin 6]
- PA2 [pin 19]
- PA3 [pin 18]
- PA9 [pin 21]
- PB0 [pin 28]
- PB10 [pin 20]
- PB13 [pin 24]
- PB14 [pin 26]
- PB15 [pin 5]
- PB3 [pin 8]
- PB4 [pin 7]
- PB5 [pin 11]
- PB6 [pin 10]
- PB7 [pin 9]
- PB9 [pin 25]
- PC0 [pin 13]
- PC1 [pin 12]
- RFIO [pin 15]
- RST [pin 17]
- VCC [pin 1]
### Y1 — [CRYSTAL 12MHZ 18PF SMD FL1200112](https://www.flux.ai/collinsemasi/crystal-12mhz-18pf-smd-fl1200112.md)
- Load capacitance: 18pF
- Datasheet URL: https://www.diodes.com/assets/Datasheets/FL.pdf
- Compliance: RoHS, REACH
- ESR (Equivalent Series Resistance): 80Ohms
- Frequency Stability: ±30ppm
- Manufacturer Name: Diodes Incorporated
- Operating mode: Fundamental
- Frequency: 12MHz
- Operating Temperature: -40 ~ 85°C
- Manufacturer Part Number: FL1200112
**Pins:**
- CASE_1 [pin 2]
- CASE_2 [pin 4]
- XTAL_1 [pin 1]
- XTAL_2 [pin 3]
*The full schematic, PCB layout, bill of materials, and interactive design are available at [https://www.flux.ai/nick-local/avocaudio-a-tinyml-community-board-v1](https://www.flux.ai/nick-local/avocaudio-a-tinyml-community-board-v1).*
---
*Generated from [https://www.flux.ai/nick-local/avocaudio-a-tinyml-community-board-v1](https://www.flux.ai/nick-local/avocaudio-a-tinyml-community-board-v1)*