# Biskuit AI: Project Showcase ## Description Kitchen LED Strip Motion & Ambient-Light Controller with 12 V PWM Dimming, PIR Sensor, Ambient Light Sensor, MCU Control, Buck Regulator, and Protection Circuits (TVS, PTC Fuse, Reverse-Polarity Diode) #KitchenLEDController #MotionDetection #AmbientLightSensor ## Project Details - **Owner:** collinsemasi - **Created:** 2/6/2025 - **Last Updated:** 7/22/2025 - **Visibility:** Public - **Test Plan:** Motion & Day/Night Functional Test Plan: 1) Motion Activation: (a) Power board with LED strip and set ambient light to "night" level (cover light sensor). (b) Ensure PIR output low, LED strip off. (c) Trigger motion in PIR FOV; verify LED strip turns on within configured response time and reaches target PWM brightness. (d) Remove motion; confirm LED remains on for configured hold time, then ramps off according to fade profile. (e) Repeat at different PWM duty cycles (min, mid, max) to confirm dimming behavior. 2) Day/Night Behavior: (a) With no motion, sweep ambient light from dark to bright and record ADC/light-sensor values; identify night/day threshold band. (b) Above day threshold, verify PIR motion does NOT turn on LED strip. (c) Below night threshold, verify PIR motion turns LED strip on as in section 1. (d) Test hysteresis: slowly vary light around threshold to confirm no rapid on/off chattering. 3) Edge & Fault Cases: (a) Power-cycle while PIR is active; verify system comes up with LEDs off and resumes normal logic. (b) Simulate continuous motion at night for extended period; verify thermal behavior (MOSFET, PSU) within limits. (c) If manual override (if populated) is engaged, verify LED strip behavior matches documented override mode regardless of motion/light. Record pass/fail and measured values for each step. - **LED total wattage:** 24W - **Battery Option:** https://www.lipobattery.us/iec62133-certified-lipo-battery-lp453038-500mah-3-7v-1-85wh-with-pcm-wires-molex-51021-0200/?_gl=1*1lilgtd*_up*MQ..*_ga*NTc1Nzg4MTczLjE3MjM4MjAyOTM.*_ga_08ZLJYQED8*MTcyMzgyMDI4OS4xLjEuMTcyMzgyMDMzNi4wLjAuMTQ2MjQwNTIxMg.. - **Software compatibility:** IOS, WINDOWS, ANDROID - **LED type:** 12V constant-voltage white strip - **Operating Temperature:** -20 to 50 - **LED dimming capabilities:** PWM, 0–100% duty cycle - **Description:** Biskuit is a compact, ESP32-S3-powered wearable device designed for real-time transcription and effortless note-taking. Featuring a 3-microphone array and wireless communication to sync to to the cloud instantly. - **Microphone TI Ref Design:** https://drive.google.com/file/d/195FT2PQD5LBLPHQvMQ77EjG55xSXPbak/view?usp=sharing - **LED wattage:** 24W - **Human Interface:** Button, Display - **License:** https://ohwr.org/project/cernohl/wikis/home - **Connectivity:** WiFi, Bluetooth - **Reliability Target (MTBF):** 10000hours - **Domain:** Consumer Electronics - **LED total length:** 2m - **Compliance:** RoHS, REACH - **IP Rating:** IP68 - **Power Requirements:** Battery - **Device Input:** Microphone Array - **Construction:** Aluminum body - **Operating Voltage:** 3.3 - **LED strip voltage level:** 12V - **Battery Lifetime:** 150hrs - **Stars:** 3 - **Forks:** 21 - **Copies:** 19 ## Key Components ### ANT1 — PCB Antenna e37d - License: https://creativecommons.org/licenses/by/4.0/ - Part Type: Antenna **Pins:** - FeedPoint [pin 1] - GND [pin 2] ### BLUE — [LED 0805 (2012 Metric)](https://www.flux.ai/vasyl/led-0805-2012-metric~sr7.md) - Part Type: LED - DEBUG INDICATOR: BIAS **Pins:** - A [pin 2] - K [pin 1] ### D1 — [PMEG3020EGWJ](https://www.flux.ai/lcsc/pmeg3020egwj~7z7h.md) - Manufacturer Part Number: PMEG3020EGWJ - Manufacturer Name: Nexperia(安世) - Product Info Url: https://lcsc.com/product-detail/presales_Nexperia-PMEG3020EGWJ_C552875.html - LCSC Part Number: C552875 - Part Type: Schottky Barrier Diodes (SBD) - Package or Case Code: SOD-123_L2.8-W1.8-LS3.7-RD - JLCPCB Part Class: Extended Part - Datasheet URL: https://www.lcsc.com/datasheet/lcsc_datasheet_2410010202_Nexperia-PMEG3020EGWJ_C552875.pdf **Pins:** - A [pin 2] - C [pin 1] ### D2 — [1N4448WX-TP](https://www.flux.ai/lcsc/1n4448wx-tp~9cad.md) - Datasheet URL: https://lcsc.com/product-detail/Switching-Diode_MCC-Micro-Commercial-Components-MCC-1N4448WX-TP_C712353.html - Manufacturer Name: MCC(美微科) - Product Info Url: https://lcsc.com/product-detail/Switching-Diode_MCC-Micro-Commercial-Components-MCC-1N4448WX-TP_C712353.html - Part Type: Switching Diode - LCSC Part Number: C712353 - Package or Case Code: SOD-323_L1.8-W1.3-LS2.5-RD - JLCPCB Part Class: Extended Part - Manufacturer Part Number: 1N4448WX-TP **Pins:** - A [pin 2] - K [pin 1] ### IC1 — [MCP73832T-2ACI/MC](https://www.flux.ai/collinsemasi/mcp73832t-2acimc~aa.md) - Symbol Style: Parametric - Manufacturer Name: Microchip Technology - Datasheet URL: https://ww1.microchip.com/downloads/en/DeviceDoc/MCP73831-Family-Data-Sheet-DS20001984H.pdf - Part Type: Integrated Circuit - Manufacturer Part Number: MCP73832T-2ACI/MC - License: https://creativecommons.org/licenses/by/4.0/ **Pins:** - EP [pin 9] - NC [pin 7] - PROG [pin 8] - STAT [pin 5] - VBAT_1 [pin 3] - VBAT_2 [pin 4] - VDD_1 [pin 1] - VDD_2 [pin 2] - VSS [pin 6] ### J1 — TYPE-C-31-M-12 - Datasheet URL: https://en.krhro.com/npublic/opdfjs/web/viewer.html?file=https%3A%2F%2Fomo-oss-file.thefastfile.com%2Fportal-saas%2Fnew2023011311465142457%2Fcms%2Ffile%2F95f41c83-14fa-41cb-9f86-8d6a717317e5.pdf - Manufacturer Name: Korean Hroparts Elec - License: https://creativecommons.org/licenses/by/4.0/ - Manufacturer Part Number: TYPE-C-31-M-12 - Symbol Style: Parametric - Part Type: Connector **Pins:** - CC1 [pin A5] - CC2 [pin B5] - DN1 [pin A7] - DN2 [pin B7] - DP1 [pin A6] - DP2 [pin B6] - GND [pin B1A12] - GND [pin A1B12] - SBU1 [pin A8] - SBU2 [pin B8] - SHIELD [pin S3] - SHIELD [pin S1] - SHIELD [pin S4] - SHIELD [pin S2] - VBUS [pin B4A9] - VBUS [pin A4B9] ### J2 — [SM02B-SRSS-TB(LF)(SN)](https://www.flux.ai/collinsemasi/sm02b-srss-tblfsn~zk.md) - Part Type: Battery Conn - Manufacturer Part Number: SM02B-SRSS-TB - Manufacturer Name: JST Sales America Inc. - Datasheet URL: https://www.jst-mfg.com/product/pdf/eng/eSH.pdf **Pins:** - PIN1 [pin 1] - PIN2 [pin 2] ### LED1 — [LTST-C19HE1WT](https://www.flux.ai/vasy_skral/ltst-c19he1wt~x5i.md) - Manufacturer Part Number: LTST-C19HE1WT - Datasheet URL: https://optoelectronics.liteon.com/upload/download/DS22-2008-0044/LTST-C19HE1WT.pdf - Part Type: LED - Manufacturer Name: Lite-On Inc. **Pins:** - A [pin 4] - B [pin 3] - G [pin 2] - R [pin 1] ### LED2 — [LED 0805 (2012 Metric)](https://www.flux.ai/vasyl/led-0805-2012-metric~sr7.md) - Part Type: LED - DEBUG INDICATOR: PWR **Pins:** - A [pin 2] - K [pin 1] ### MK1 — [ICS-40618](https://www.flux.ai/collinsemasi/ics-40618~sj.md) - Output Type: Analog - S/N Ration: 67dB - Manufacturer Part Number: ICS-40618 - Supply Current: 190 µA - Frequency Range: 50 Hz ~ 20 kHz - HTSUS: 8518.10.8030 - Direction: Omnidirectional - Port Location: Bottom - REACH Status: REACH Unaffected - Sensitivity: -38db ±1dB - Manufacturer Name: TDK InvenSense - Datasheet URL: https://invensense.tdk.com/wp-content/uploads/2016/02/DS-000044-ICS-40618-v1.0.pdf?ref_disty=digikey - Product Brief: https://invensense.tdk.com/wp-content/uploads/2016/02/PB-000024-ICS-40618-Product-Brief-v1-0.pdf?ref_disty=digikey - Voltage Range: 1.52 V ~ 3.63 V - ECCN: EAR99 - Part Type: Microphone - RoHS Status: ROHS3 Compliant - Moisture Sensitivity Level (MSL): 1 (Unlimited) **Pins:** - GND [pin 3] - GND__1 [pin 4] - OUTPUT- [pin 2] - OUTPUT+ [pin 1] - VDD [pin 5] ### MK2 — [ICS-40618](https://www.flux.ai/collinsemasi/ics-40618~sj.md) - Output Type: Analog - S/N Ration: 67dB - Supply Current: 190 µA - Frequency Range: 50 Hz ~ 20 kHz - Manufacturer Part Number: ICS-40618 - HTSUS: 8518.10.8030 - Direction: Omnidirectional - Port Location: Bottom - Datasheet URL: https://invensense.tdk.com/wp-content/uploads/2016/02/DS-000044-ICS-40618-v1.0.pdf?ref_disty=digikey - Manufacturer Name: TDK InvenSense - REACH Status: REACH Unaffected - Sensitivity: -38db ±1dB - Voltage Range: 1.52 V ~ 3.63 V - Product Brief: https://invensense.tdk.com/wp-content/uploads/2016/02/PB-000024-ICS-40618-Product-Brief-v1-0.pdf?ref_disty=digikey - Part Type: Microphone - ECCN: EAR99 - Moisture Sensitivity Level (MSL): 1 (Unlimited) - RoHS Status: ROHS3 Compliant **Pins:** - GND [pin 3] - GND__1 [pin 4] - OUTPUT- [pin 2] - OUTPUT+ [pin 1] - VDD [pin 5] ### MK3 — [ICS-40618](https://www.flux.ai/collinsemasi/ics-40618~sj.md) - Manufacturer Part Number: ICS-40618 - Frequency Range: 50 Hz ~ 20 kHz - Supply Current: 190 µA - Output Type: Analog - S/N Ration: 67dB - HTSUS: 8518.10.8030 - Port Location: Bottom - Direction: Omnidirectional - Product Brief: https://invensense.tdk.com/wp-content/uploads/2016/02/PB-000024-ICS-40618-Product-Brief-v1-0.pdf?ref_disty=digikey - Voltage Range: 1.52 V ~ 3.63 V - REACH Status: REACH Unaffected - Sensitivity: -38db ±1dB - Datasheet URL: https://invensense.tdk.com/wp-content/uploads/2016/02/DS-000044-ICS-40618-v1.0.pdf?ref_disty=digikey - Manufacturer Name: TDK InvenSense - RoHS Status: ROHS3 Compliant - Moisture Sensitivity Level (MSL): 1 (Unlimited) - ECCN: EAR99 - Part Type: Microphone **Pins:** - GND [pin 3] - GND__1 [pin 4] - OUTPUT- [pin 2] - OUTPUT+ [pin 1] - VDD [pin 5] ### Q1 — [MMBT2222A](https://www.flux.ai/jecstronic/mmbt2222a~vwv.md) - Manufacturer Part Number: MMBT2222A - Manufacturer Name: onsemi - License: https://creativecommons.org/licenses/by/4.0/ - Beta / hFe: 100 - Datasheet URL: https://media.digikey.com/pdf/Data%20Sheets/NextGen%20Components%20PDFs/MMBT2222A.pdf - Part Type: Transistor - Leakage Current: 1e-13A **Pins:** - B [pin 1] - C [pin 3] - E [pin 2] ### Q2 — [RU1C001ZPTL](https://www.flux.ai/lcsc/ru1c001zptl~rrra.md) - Manufacturer Name: ROHM(罗姆) - Package or Case Code: SOT-323-3_L2.0-W1.3-P1.30-LS2.1-BR - JLCPCB Part Class: Extended Part - Manufacturer Part Number: RU1C001ZPTL - LCSC Part Number: C510010 **Pins:** - D [pin 3] - G [pin 1] - S [pin 2] ### Q3 — [SSM3K15ACTC,L3F](https://www.flux.ai/vasy_skral/ssm3k15actccl3f~jl.md) - Manufacturer Name: Toshiba Semiconductor and Storage - License: https://creativecommons.org/licenses/by/4.0/ - Manufacturer Part Number: SSM3K15ACTC,L3F - Part Type: Transistor - Datasheet URL: https://toshiba.semicon-storage.com/info/SSM3K15ACTC_datasheet_en_20171130.pdf?did=52901&prodName=SSM3K15ACTC **Pins:** - D [pin 3] - G [pin 1] - S [pin 2] ### SW3 — [PTS810SJM250SMTRLFS](https://www.flux.ai/collinsemasi/pts810sjm250smtrlfs~8q.md) - Maximum Current DC: 50mA - Dielectric Strength: 250 VA C (1mn) - Manufacturer Name: C & K - Part Type: Switch - Bounce Time: ≤ 10 ms - Datasheet URL: https://www.ckswitches.com/media/2728/pts815.pdf - Manufacturer Part Number: PTS815 SJG 250 SMTR LFS - Maximum Voltage: 12VDC **Pins:** - 3 [pin 3] - 1 [pin 1] - 4 [pin 4] - 2 [pin 2] ### U1 — [TLV320ADC5140IRTWR](https://www.flux.ai/collinsemasi/tlv320adc5140irtwr~lo.md) - Manufacturer Part Number: TLV320ADC5140IRTWR - Fs: 768kHz - Datasheet URL: https://www.ti.com/lit/ds/symlink/tlv320adc5140.pdf - License: https://creativecommons.org/licenses/by/4.0/ - Operating Voltage: 1.7V ~ 3.6V, 1.65V ~ 3.6V - Symbol Style: Parametric - Operating Temperature: -40°C ~ 125°C (TA) - Part Type: Integrated Circuit - Data Interface: I2C, SPI - Manufacturer Name: Texas Instruments **Pins:** - ADDR0_SCLK [pin 16] - ADDR1_MISO [pin 15] - AREG [pin 2] - AVDD [pin 1] - AVSS [pin 4] - BCLK [pin 22] - DREG [pin 24] - FSYNC [pin 23] - GPIO1 [pin 20] - IN1M_GPO1 [pin 7] - IN1P_GPI1 [pin 6] - IN2M_GPO2 [pin 9] - IN2P_GPI2 [pin 8] - IN3M_GPO3 [pin 11] - IN3P_GPI3 [pin 10] - IN4M_GPO4 [pin 13] - IN4P_GPI4 [pin 12] - IOVDD [pin 19] - MICBIAS [pin 5] - SCL_MOSI [pin 17] - SDA_SSZ [pin 18] - SDOUT [pin 21] - SHDNZ [pin 14] - VREF [pin 3] - VSS [pin 25] ### U2 — [AP7331-33WG-7](https://www.flux.ai/collinsemasi/ap7331-33wg-7~io.md) - Manufacturer Name: DIODES(美台) - LCSC Part Number: C151004 - Symbol Style: Parametric - Datasheet URL: https://www.lcsc.com/datasheet/lcsc_datasheet_2304140030_Diodes-Incorporated-AP7331-33WG-7_C151004.pdf - Manufacturer Part Number: AP7331-33WG-7 - JLCPCB Part Class: Extended Part - Product Info Url: https://lcsc.com/product-detail/Low-Dropout-Regulators-LDO_DIODES_AP7331-33WG-7_AP7331-33WG-7_C151004.html - Package or Case Code: SOT-25_L3.0-W1.6-P0.95-LS2.8-BL - Part Type: Linear Voltage Regulators (LDO) **Pins:** - EN [pin 3] - GND [pin 2] - NC [pin 4] - VIN [pin 1] - VOUT [pin 5] ### U4 — [ESP32-S3](https://www.flux.ai/collinsemasi/esp32-s3~ib.md) - Manufacturer Name: Espressif Systems - Symbol Style: Parametric - License: https://creativecommons.org/licenses/by/4.0/ - Datasheet URL: https://www.espressif.com/sites/default/files/documentation/esp32-s3_datasheet_en.pdf - Manufacturer Part Number: ESP32-S3 - Hardware Design Guidlines: https://docs.espressif.com/projects/esp-hardware-design-guidelines/en/latest/esp32s3/esp-hardware-design-guidelines-en-master-esp32s3.pdf - Part Type: RF Transceiver IC **Pins:** - CHIP_PU [pin 4] - GND [pin 57] - GPIO0 [pin 5] - GPIO1 [pin 6] - GPIO10 [pin 15] - GPIO11 [pin 16] - GPIO12 [pin 17] - GPIO13 [pin 18] - GPIO14 [pin 19] - GPIO17 [pin 23] - GPIO18 [pin 24] - GPIO19/USB_D- [pin 25] - GPIO2 [pin 7] - GPIO20/USB_D+ [pin 26] - GPIO21 [pin 27] - GPIO3 [pin 8] - GPIO33 [pin 38] - GPIO34 [pin 39] - GPIO35 [pin 40] - GPIO36 [pin 41] - GPIO37 [pin 42] - GPIO38 [pin 43] - GPIO4 [pin 9] - GPIO45 [pin 51] - GPIO46 [pin 52] - GPIO5 [pin 10] - GPIO6 [pin 11] - GPIO7 [pin 12] - GPIO8 [pin 13] - GPIO9 [pin 14] - LNA_IN [pin 1] - MTCK [pin 44] - MTDI [pin 47] - MTDO [pin 45] - MTMS [pin 48] - SPICLK [pin 33] - SPICLK_N [pin 36] - SPICLK_P [pin 37] - SPICS0 [pin 32] - SPICS1 [pin 28] - SPID [pin 35] - SPIHD [pin 30] - SPIQ [pin 34] - SPIWP [pin 31] - U0RXD [pin 50] - U0TXD [pin 49] - VDD_SPI [pin 29] - VDD3P3 [pin 2] - VDD3P3 [pin 3] - VDD3P3_CPU [pin 46] - VDD3P3_RTC [pin 20] - VDDA [pin 56] - VDDA [pin 55] - XTAL_32K_N [pin 22] - XTAL_32K_P [pin 21] - XTAL_N [pin 53] - XTAL_P [pin 54] ### U5 — [AT25SF161B-UUB-T](https://www.flux.ai/collinsemasi/at25sf161b-uub-t~0f.md) - Manufacturer Name: Renesas Electronics Corporation - License: https://creativecommons.org/licenses/by/4.0/ - Part Type: Integrated Circuit - Datasheet URL: https://www.renesas.com/us/en/document/dst/at25sf161b-datasheet - Manufacturer Part Number: AT25SF161B-UUB-T **Pins:** - ~CS [pin A3] - ~HOLD [pin C1] - ~WP [pin E3] - GND [pin B2] - SCK [pin E1] - SI(I/O0) [pin D2] - SO(I/O1) [pin C3] - VCC [pin A1] ### Y1 — [CX2016DB40000D0FLJCC](https://www.flux.ai/adrian95/cx2016db40000d0fljcc~k8u.md) - Datasheet URL: https://mm.digikey.com/Volume0/opasdata/d220001/medias/docus/1139/CX2016DB_Series_Spec.pdf - Frequency: 40MHz ±10 ppm. - Manufacturer Name: KYOCERA AVX - License: https://creativecommons.org/licenses/by/4.0/ - Part Type: Oscillator - Manufacturer Part Number: CX2016DB40000D0FLJCC **Pins:** - GND_1 [pin 2] - GND_2 [pin 4] - HOT_1 [pin 1] - HOT_2 [pin 3] *The full schematic, PCB layout, bill of materials, and interactive design are available at [https://www.flux.ai/collinsemasi/biskuit-ai-project-showcase~un](https://www.flux.ai/collinsemasi/biskuit-ai-project-showcase~un).* --- *Generated from [https://www.flux.ai/collinsemasi/biskuit-ai-project-showcase~un](https://www.flux.ai/collinsemasi/biskuit-ai-project-showcase~un)*