# Instant Chocolate Holodeck ## Description ESP32 Single Relay Controller with 1.8" ST7735 TFT Display and Enhanced Power Management ## Project Details - **Owner:** tokdoyo - **Created:** 11/6/2025 - **Last Updated:** 11/8/2025 - **Visibility:** Public - **Manufacturing Quantity Target:** 10 - **Software:** Arduino - **Board Dimensions:** 96.0 mm x 60.0 mm - **Human Interface:** Display - **Domain:** Consumer Electronics - **Connectivity:** WiFi - **System Architecture:** graph LR P12[+12V_IN] --> F1[Fuse F1] F1 --> D1[SS54 Schottky Diode] D1 --> D2[SMBJ18A TVS] D2 --> BulkCap[Input Bulk Capacitor] BulkCap --> Buck5[MP1584 Buck 5V] BulkCap --> Buck3.3[MP1584 Buck 3.3V] Buck5 --> V5[+5V Rail] Buck3.3 --> V3[+3V3 Rail] V3 --> ESP[ESP32 Dev Module] ESP --> TFT[ST7735 TFT Display] ESP --> RL1[Relay Module U4] ESP --> RL2[Relay Module U6] RL1 --> Sol1[Solenoid 1] RL2 --> Sol2[Solenoid 2] V5 --> LED5[5V LED Indicator] V3 --> LED3[3.3V LED Indicator] ESP -->|BLE| BLE ESP -->|WiFi| MQTT - **Compliance:** RoHS - **GND Pour:** Top and Bottom layers - **PCB Stackup:** 2-layer FR4, 1.6 mm thickness, 1 oz copper - **Power Requirements:** Mains - **Connectivity:** Bluetooth - **ESP32 Antenna Keepout Zone:** 15 mm x 5 mm; apply keepout at module antenna region as per footprint - **System Architecture:** graph LR P12[+12V_IN] --> F1[Fuse F1] F1 --> D1[SS54 Schottky Diode] D1 --> D2[SMBJ18A TVS] D2 --> BulkCap[Input Bulk Capacitor] BulkCap --> Buck5[MP1584 Buck 5V] BulkCap --> Buck3.3[MP1584 Buck 3.3V] Buck5 --> V5[+5V Rail] Buck3.3 --> V3[+3V3 Rail] V3 --> ESP[ESP32 Dev Module] ESP --> TFT[TFT Header (8-pin)] ESP --> RL1[Relay Module U4] RL1 --> Sol1[Solenoid 1] V5 --> LED5[5V LED Indicator] V3 --> LED3[3.3V LED Indicator] ESP -->|BLE| BLE ESP -->|WiFi| MQTT ## Key Components ### D1 — [SS54B](https://www.flux.ai/lcsc/ss54b.md) - Product Info Url: https://www.lcsc.com/product-detail/schottky-diodes_xumao-ss54b_C22466134.html - Manufacturer Name: XUMAO - Forward Voltage: 550mV - Diode Type: Schottky Diode - Package or Case Code: DO-214BA_L4.8-W2.9-LS5.3-RD - Datasheet URL: https://storage.googleapis.com/graviton-electric-symbols/document_assets/lcsc/2410121803_XUMAO-SS54B_C22466134.pdf - Manufacturer Part Number: SS54B - Part Type: Schottky Barrier Diodes (SBD) - JLCPCB Part Class: Extended Part - Reverse Voltage: 40V - LCSC Part Number: C360458 **Pins:** - A [pin 2] - C [pin 1] ### D1 — [SS54B](https://www.flux.ai/lcsc/ss54b.md) - LCSC Part Number: C360458 - Reverse Voltage: 40V - JLCPCB Part Class: Extended Part - Manufacturer Part Number: SS54B - Part Type: Schottky Barrier Diodes (SBD) - Datasheet URL: https://storage.googleapis.com/graviton-electric-symbols/document_assets/lcsc/2410121803_XUMAO-SS54B_C22466134.pdf - Package or Case Code: DO-214BA_L4.8-W2.9-LS5.3-RD - Forward Voltage: 550mV - Diode Type: Schottky Diode - Manufacturer Name: XUMAO - Product Info Url: https://www.lcsc.com/product-detail/schottky-diodes_xumao-ss54b_C22466134.html **Pins:** - A [pin 2] - C [pin 1] ### D2 — [SMBJ18A](https://www.flux.ai/lcsc/smbj18a.md) - LCSC Part Number: C499836 - Part Type: TVS - JLCPCB Part Class: Extended Part - Product Info Url: https://lcsc.com/product-detail/TVS_Shikues-SMBJ18A_C499836.html - Manufacturer Part Number: SMBJ18A - Package or Case Code: SMB_L4.6-W3.6-LS5.3-R-RD - Manufacturer Name: SHIKUES(时科) - Datasheet URL: https://storage.googleapis.com/graviton-electric-symbols/document_assets/lcsc/2410010132_Shikues-SMBJ18A_C499836.pdf **Pins:** - A [pin 1] - K [pin 2] ### D2 — [SMBJ18A](https://www.flux.ai/lcsc/smbj18a.md) - Part Type: TVS - JLCPCB Part Class: Extended Part - Product Info Url: https://lcsc.com/product-detail/TVS_Shikues-SMBJ18A_C499836.html - LCSC Part Number: C499836 - Manufacturer Name: SHIKUES(时科) - Datasheet URL: https://storage.googleapis.com/graviton-electric-symbols/document_assets/lcsc/2410010132_Shikues-SMBJ18A_C499836.pdf - Manufacturer Part Number: SMBJ18A - Package or Case Code: SMB_L4.6-W3.6-LS5.3-R-RD **Pins:** - A [pin 1] - K [pin 2] ### D3 — [1N5408](https://www.flux.ai/jecstronic/1n5408.md) - Datasheet URL: https://diotec.com/tl_files/diotec/files/pdf/datasheets/1n5400.pdf - License: https://creativecommons.org/licenses/by/4.0/ - Part Type: Diode - Manufacturer Part Number: 1N5408 - Manufacturer Name: Galco Industrial Electronics **Pins:** - A [pin 2] - K [pin 1] ### D3 — [1N5408](https://www.flux.ai/jecstronic/1n5408.md) - Part Type: Diode - License: https://creativecommons.org/licenses/by/4.0/ - Datasheet URL: https://diotec.com/tl_files/diotec/files/pdf/datasheets/1n5400.pdf - Manufacturer Part Number: 1N5408 - Manufacturer Name: Galco Industrial Electronics **Pins:** - A [pin 2] - K [pin 1] ### D4 — [1N5408](https://www.flux.ai/jecstronic/1n5408.md) - Manufacturer Name: Galco Industrial Electronics - Manufacturer Part Number: 1N5408 - Part Type: Diode - Datasheet URL: https://diotec.com/tl_files/diotec/files/pdf/datasheets/1n5400.pdf - License: https://creativecommons.org/licenses/by/4.0/ **Pins:** - A [pin 2] - K [pin 1] ### D4 — [1N5408](https://www.flux.ai/jecstronic/1n5408.md) - Manufacturer Part Number: 1N5408 - Manufacturer Name: Galco Industrial Electronics - License: https://creativecommons.org/licenses/by/4.0/ - Datasheet URL: https://diotec.com/tl_files/diotec/files/pdf/datasheets/1n5400.pdf - Part Type: Diode **Pins:** - A [pin 2] - K [pin 1] ### F1 — [0ZCF0200AF2C](https://www.flux.ai/adrian95/0zcf0200af2c.md) - Role Details: Input overcurrent protection fuse - Datasheet URL: https://belfuse.com/resources/datasheets/circuitprotection/ds-cp-0zcf-series.pdf - License: https://creativecommons.org/licenses/by/4.0/ - Package or Case Code: FUSC7451X80N - Role: Protection - Part Type: Fuse - Manufacturer Name: BelFuse - Manufacturer Part Number: 0ZCF0200AF2C **Pins:** - ~ [pin 2] - ~ [pin 1] ### J1 — [M4202V-K-2x4-N2](https://www.flux.ai/lcsc/m4202v-k-2x4-n2.md) - Part Type: Wire To Board / Wire To Wire Connector - LCSC Part Number: C2764796 - Package or Case Code: CONN-TH_M4202V-K-2X4-N2 - Role Details: Programming header connector (2x4) for ESP32 - JLCPCB Part Class: Extended Part - Manufacturer Part Number: M4202V-K-2x4-N2 - Manufacturer Name: XFCN(兴飞) - Role: Connector **Pins:** - 1 [pin 1] - 2 [pin 2] - 3 [pin 3] - 4 [pin 4] - 5 [pin 5] - 6 [pin 6] - 7 [pin 7] - 8 [pin 8] ### J12V — [DB126V-5.0-3P-GN](https://www.flux.ai/jharwinbarrozo/db126v-5p0-3p-gn.md) - Manufacturer Part Number: DB126V-5.0-3P-GN - Datasheet URL: https://datasheet.lcsc.com/lcsc/1912111437_DIBO-DB126V-5-0-3P-GN_C395850.pdf - Role Details: +12V input terminal block - Role: Connector - License: https://creativecommons.org/licenses/by/4.0/ - Part Type: Connector - Manufacturer Name: DIBO **Pins:** - PIN1 [pin 1] - PIN2 [pin 2] - PIN3 [pin 3] ### J2 — [Pin Header 01x08 2.54mm Vertical](https://www.flux.ai/adrian95/pin-header-01x08-254mm-vertical.md) - Role: Connector - Pin Names: VCC, GND, SCK, SDA, A0/DC, RESET, CS, LED - License: https://creativecommons.org/licenses/by/4.0/ - Role Details: Header for ST7735 TFT display interface - Part Type: Connector **Pins:** - 1 [pin 1] - 2 [pin 2] - 3 [pin 3] - 4 [pin 4] - 5 [pin 5] - 6 [pin 6] - 7 [pin 7] - 8 [pin 8] ### JSOL1 — [DB126V-5.0-3P-GN](https://www.flux.ai/jharwinbarrozo/db126v-5p0-3p-gn.md) - License: https://creativecommons.org/licenses/by/4.0/ - Datasheet URL: https://datasheet.lcsc.com/lcsc/1912111437_DIBO-DB126V-5-0-3P-GN_C395850.pdf - Role: Connector - Manufacturer Part Number: DB126V-5.0-3P-GN - Manufacturer Name: DIBO - Part Type: Connector - Role Details: Solenoid output terminal blocks **Pins:** - PIN1 [pin 1] - PIN2 [pin 2] - PIN3 [pin 3] ### JSOL2 — [DB126V-5.0-3P-GN](https://www.flux.ai/jharwinbarrozo/db126v-5p0-3p-gn.md) - Datasheet URL: https://datasheet.lcsc.com/lcsc/1912111437_DIBO-DB126V-5-0-3P-GN_C395850.pdf - Manufacturer Part Number: DB126V-5.0-3P-GN - Role: Connector - License: https://creativecommons.org/licenses/by/4.0/ - Part Type: Connector - Role Details: Solenoid output terminal blocks - Manufacturer Name: DIBO **Pins:** - PIN1 [pin 1] - PIN2 [pin 2] - PIN3 [pin 3] ### LED1 — [XL-1608SURC-06](https://www.flux.ai/adrian95/xl-1608surc-06.md) - License: https://creativecommons.org/licenses/by/4.0/ - Manufacturer Part Number: XL-1608SURC-06 - Part Type: LED - Manufacturer Name: XINGLIGHT - Role Details: 5V power indicator LED - Datasheet URL: https://mm.digikey.com/Volume0/opasdata/d220001/medias/docus/6472/5962_XL-1608SURC-06%20%20%200603%E7%BA%A20.6T.pdf **Pins:** - A [pin 2] - K [pin 1] ### LED2 — [XL-1608SURC-06](https://www.flux.ai/adrian95/xl-1608surc-06.md) - License: https://creativecommons.org/licenses/by/4.0/ - Role Details: 3.3V power indicator LED - Manufacturer Part Number: XL-1608SURC-06 - Part Type: LED - Datasheet URL: https://mm.digikey.com/Volume0/opasdata/d220001/medias/docus/6472/5962_XL-1608SURC-06%20%20%200603%E7%BA%A20.6T.pdf - Manufacturer Name: XINGLIGHT **Pins:** - A [pin 2] - K [pin 1] ### TP1 — [5019](https://www.flux.ai/adrian95/5019.md) - License: https://creativecommons.org/licenses/by/4.0/ - Role Details: Loop-style test point for voltage and ground rails - Role: Test Point},{ - Manufacturer Name: Keystone Electronics - Manufacturer Part Number: 5019 - Datasheet URL: https://www.keyelco.com/product-pdf.cfm?p=1357 - Part Type: Test Point - Package or Case Code: 5019 **Pins:** - 1 [pin 1] ### TP2 — [5019](https://www.flux.ai/adrian95/5019.md) - Package or Case Code: 5019 - Part Type: Test Point - Datasheet URL: https://www.keyelco.com/product-pdf.cfm?p=1357 - Manufacturer Name: Keystone Electronics - Manufacturer Part Number: 5019 - Role Details: Loop-style test point for voltage and ground rails - Role: Test Point},{ - License: https://creativecommons.org/licenses/by/4.0/ **Pins:** - 1 [pin 1] ### TP3 — [5019](https://www.flux.ai/adrian95/5019.md) - Manufacturer Name: Keystone Electronics - Role Details: Loop-style test point for voltage and ground rails - Manufacturer Part Number: 5019 - Role: Test Point},{ - License: https://creativecommons.org/licenses/by/4.0/ - Package or Case Code: 5019 - Part Type: Test Point - Datasheet URL: https://www.keyelco.com/product-pdf.cfm?p=1357 **Pins:** - 1 [pin 1] ### TP4 — [5019](https://www.flux.ai/adrian95/5019.md) - Datasheet URL: https://www.keyelco.com/product-pdf.cfm?p=1357 - Role: Test Point},{ - Part Type: Test Point - Package or Case Code: 5019 - Role Details: Loop-style test point for voltage and ground rails - License: https://creativecommons.org/licenses/by/4.0/ - Manufacturer Name: Keystone Electronics - Manufacturer Part Number: 5019 **Pins:** - 1 [pin 1] ### U1 — [ESP32-DEVKIT-V1](https://www.flux.ai/vasyl/esp32-devkit-v1.md) - Role: Signal Generation - Role Details: Main MCU - Symbol Style: Parametric - Manufacturer Name: Espressif Systems - Manufacturer Part Number: ESP32-DEVKIT-V1 - Datasheet URL: https://www.espressif.com/sites/default/files/documentation/esp32_datasheet_en.pdf - Part Type: Module **Pins:** - 3V3 [pin 1] - D12 [pin 27] - D13 [pin 28] - D14 [pin 26] - D15 [pin 3] - D18 [pin 9] - D19 [pin 10] - D2 [pin 4] - D21 [pin 11] - D22 [pin 14] - D23 [pin 15] - D25 [pin 23] - D26 [pin 24] - D27 [pin 25] - D32 [pin 21] - D33 [pin 22] - D34 [pin 19] - D35 [pin 20] - D4 [pin 5] - D5 [pin 8] - EN [pin 16] - GND [pin 2] - GND__1 [pin 29] - RX0 [pin 12] - RX2 [pin 6] - sensor_VN [pin 18] - sensor_VP [pin 17] - TX0 [pin 13] - TX2 [pin 7] - VIN [pin 30] ### U5 — [Pin Header 01x08 2.54mm Vertical](https://www.flux.ai/adrian95/pin-header-01x08-254mm-vertical.md) - License: https://creativecommons.org/licenses/by/4.0/ - Part Type: Connector **Pins:** - 1 [pin 1] - 2 [pin 2] - 3 [pin 3] - 4 [pin 4] - 5 [pin 5] - 6 [pin 6] - 7 [pin 7] - 8 [pin 8] ### U5 — [TSW-104-08-L-D](https://www.flux.ai/adrian95/tsw-104-08-l-d.md) - License: https://creativecommons.org/licenses/by/4.0/ - Manufacturer Name: Samtec Inc. - Part Type: Connector - Manufacturer Part Number: TSW-104-08-L-D - Datasheet URL: http://suddendocs.samtec.com/catalog_english/tsw_th.pdf **Pins:** - 1 [pin 1] - 2 [pin 2] - 3 [pin 3] - 4 [pin 4] - 5 [pin 5] - 6 [pin 6] - 7 [pin 7] - 8 [pin 8] ### U5 — [TSW-104-08-L-D](https://www.flux.ai/adrian95/tsw-104-08-l-d.md) - Datasheet URL: http://suddendocs.samtec.com/catalog_english/tsw_th.pdf - License: https://creativecommons.org/licenses/by/4.0/ - Manufacturer Name: Samtec Inc. - Manufacturer Part Number: TSW-104-08-L-D - Part Type: Connector **Pins:** - 1 [pin 1] - 2 [pin 2] - 3 [pin 3] - 4 [pin 4] - 5 [pin 5] - 6 [pin 6] - 7 [pin 7] - 8 [pin 8] *The full schematic, PCB layout, bill of materials, and interactive design are available at [https://www.flux.ai/tokdoyo/instant-chocolate-holodeck](https://www.flux.ai/tokdoyo/instant-chocolate-holodeck).* --- *Generated from [https://www.flux.ai/tokdoyo/instant-chocolate-holodeck](https://www.flux.ai/tokdoyo/instant-chocolate-holodeck)*