# Prickly Ivory Robot Vacuum ## Description Compact 24 V Cat5-powered RS485 node with STM32, 3 bistable relays, 3 DI, DS18B20 ## Project Details - **Owner:** tomaszgregorek - **Created:** 3/14/2026 - **Last Updated:** 3/14/2026 - **Visibility:** Public - **Connectivity:** RS485 - **Operating Voltage:** 24V - **Domain:** Industrial control - **Compliance:** 230V mains isolation boundary: 6mm creepage/clearance - **System Architecture:** ```mermaid flowchart TD Cat5["Cat5 Cable"] PWR24["24V Power Pair"] RS485BUS["RS485 Pair"] InputProt["Input Protection"] Buck["Buck 24V to 3.3V"] MCU["STM32 MCU 3.3V"] XCVR["RS485 Transceiver"] Relays["3x Bistable Relays 230VAC 16A"] Drivers["Relay Drivers"] Iso["Optional Isolation"] Inputs["3x Digital Inputs"] Temp["DS18B20 1-Wire Temp"] HV["AC Mains Terminals"] LV["Low Voltage Zone"] Cat5 --> PWR24 --> InputProt --> Buck --> MCU Cat5 --> RS485BUS --> XCVR --> MCU MCU --> Drivers --> Relays --> HV MCU --> Inputs MCU --> Temp LV --- MCU LV --- XCVR LV --- Inputs LV --- Temp HV --- Relays ``` - **Power Requirements:** 24V input over Cat5 -> 3.3V logic rail ## Key Components ### D1 — [PMEG4010EH,115](https://www.flux.ai/jecstronic/pmeg4010eh115.md) - Datasheet URL: https://www.mouser.com/datasheet/2/916/PMEG4010EH_EJ_ET-1360330.pdf - Manufacturer Part Number: PMEG4010EH,115 - Part Type: Diode - Role: Flyback - License: https://creativecommons.org/licenses/by/4.0/ - Package: SOD-123F - Manufacturer Name: Nexperia USA Inc. - Role Details: Coil flyback diode (cathode to +24V, anode to MOSFET drain) **Pins:** - A [pin 2] - K [pin 1] ### D2 — [PMEG4010EH,115](https://www.flux.ai/jecstronic/pmeg4010eh115.md) - Manufacturer Name: Nexperia USA Inc. - Role: Flyback - License: https://creativecommons.org/licenses/by/4.0/ - Role Details: Coil flyback diode (cathode to +24V, anode to MOSFET drain) - Package: SOD-123F - Part Type: Diode - Datasheet URL: https://www.mouser.com/datasheet/2/916/PMEG4010EH_EJ_ET-1360330.pdf - Manufacturer Part Number: PMEG4010EH,115 **Pins:** - A [pin 2] - K [pin 1] ### D3 — [PMEG4010EH,115](https://www.flux.ai/jecstronic/pmeg4010eh115.md) - Role: Flyback - Part Type: Diode - Datasheet URL: https://www.mouser.com/datasheet/2/916/PMEG4010EH_EJ_ET-1360330.pdf - Package: SOD-123F - Manufacturer Part Number: PMEG4010EH,115 - Role Details: Coil flyback diode (cathode to +24V, anode to MOSFET drain) - License: https://creativecommons.org/licenses/by/4.0/ - Manufacturer Name: Nexperia USA Inc. **Pins:** - A [pin 2] - K [pin 1] ### J1 — [282837-2](https://www.flux.ai/vasy_skral/282837-2.md) - Role Details: 24V_IN and GND_IN from Cat5 - Datasheet URL: https://www.te.com/commerce/DocumentDelivery/DDEController?Action=srchrtrv&DocNm=282837&DocType=Customer+Drawing&DocLang=English - Manufacturer Part Number: 282837-2 - Package: THT 5.08mm terminal block - Manufacturer Name: TE Connectivity AMP Connectors - Part Type: Connector - Role: Connector **Pins:** - 1 [pin 1] - 2 [pin 2] ### J2 — [282837-3](https://www.flux.ai/adrian95/282837-3.md) - Datasheet URL: https://www.te.com/usa-en/product-282837-3.datasheet.pdf - Role Details: RS485_A, RS485_B, RS485_GND - License: https://creativecommons.org/licenses/by/4.0/ - Package: THT 5.08mm terminal block - Part Type: Connector - Manufacturer Part Number: 282837-3 - Role: Connector - Manufacturer Name: TE Connectivity AMP Connectors **Pins:** - Pin_1 [pin 1] - Pin_2 [pin 2] - Pin_3 [pin 3] ### J3 — [282837-3](https://www.flux.ai/adrian95/282837-3.md) - Manufacturer Part Number: 282837-3 - Part Type: Connector - Manufacturer Name: TE Connectivity AMP Connectors - License: https://creativecommons.org/licenses/by/4.0/ - Role: Connector - Package: THT 5.08mm terminal block - Datasheet URL: https://www.te.com/usa-en/product-282837-3.datasheet.pdf - Role Details: DI1, DI2, DI3 **Pins:** - Pin_1 [pin 1] - Pin_2 [pin 2] - Pin_3 [pin 3] ### J4 — [282837-3](https://www.flux.ai/adrian95/282837-3.md) - Package: THT 5.08mm terminal block - Datasheet URL: https://www.te.com/usa-en/product-282837-3.datasheet.pdf - Role: Connector - Manufacturer Name: TE Connectivity AMP Connectors - Part Type: Connector - Manufacturer Part Number: 282837-3 - Role Details: DS18B20 external sensor header - License: https://creativecommons.org/licenses/by/4.0/ **Pins:** - Pin_1 [pin 1] - Pin_2 [pin 2] - Pin_3 [pin 3] ### K1 — [ADJ42024](https://www.flux.ai/lcsc/adj42024.md) - Manufacturer Part Number: ADJ42024 - Manufacturer Name: PANASONIC(松下) - Role Details: Bistable/latching relay channel (230VAC/16A class) - Part Type: Power Relays - Package: RELAY-TH_PANASONIC_ADJ420XX - Package or Case Code: RELAY-TH_PANASONIC_ADJ420XX - Role: Relay - LCSC Part Number: C1565895 **Pins:** - 1 [pin 1] - 3 [pin 3] - 4 [pin 4] - 5 [pin 5] - 7 [pin 7] - 8 [pin 8] ### K2 — [ADJ42024](https://www.flux.ai/lcsc/adj42024.md) - LCSC Part Number: C1565895 - Package: RELAY-TH_PANASONIC_ADJ420XX - Package or Case Code: RELAY-TH_PANASONIC_ADJ420XX - Role Details: Bistable/latching relay channel (230VAC/16A class) - Part Type: Power Relays - Manufacturer Name: PANASONIC(松下) - Manufacturer Part Number: ADJ42024 - Role: Relay **Pins:** - 1 [pin 1] - 3 [pin 3] - 4 [pin 4] - 5 [pin 5] - 7 [pin 7] - 8 [pin 8] ### K3 — [ADJ42024](https://www.flux.ai/lcsc/adj42024.md) - Package or Case Code: RELAY-TH_PANASONIC_ADJ420XX - LCSC Part Number: C1565895 - Part Type: Power Relays - Role Details: Bistable/latching relay channel (230VAC/16A class) - Package: RELAY-TH_PANASONIC_ADJ420XX - Manufacturer Name: PANASONIC(松下) - Role: Relay - Manufacturer Part Number: ADJ42024 **Pins:** - 1 [pin 1] - 3 [pin 3] - 4 [pin 4] - 5 [pin 5] - 7 [pin 7] - 8 [pin 8] ### Q1 — [PC817X1CSP9F](https://www.flux.ai/jecstronic/pc817x1csp9f.md) - License: https://creativecommons.org/licenses/by/4.0/ - Part Type: Transistor - Package: 4-SMD - Datasheet URL: http://www.socle-tech.com/doc/IC%20Channel%20Product/Optoelectronic%20Components/Photocoupler/PC817X_CSP9F_ED-%E8%B4%B4%E7%89%87.PDF - Role Details: Optocoupler for relay driver isolation - Manufacturer Part Number: PC817X1CSP9F - Role: Isolation - Manufacturer Name: SHARP/Socle Technology **Pins:** - ANODE [pin 1] - CATHODE [pin 2] - COLLECTOR [pin 4] - EMITTER [pin 3] ### Q2 — [PC817X1CSP9F](https://www.flux.ai/jecstronic/pc817x1csp9f.md) - Role: Isolation - Manufacturer Part Number: PC817X1CSP9F - Role Details: Optocoupler for relay driver isolation - Manufacturer Name: SHARP/Socle Technology - Part Type: Transistor - License: https://creativecommons.org/licenses/by/4.0/ - Package: 4-SMD - Datasheet URL: http://www.socle-tech.com/doc/IC%20Channel%20Product/Optoelectronic%20Components/Photocoupler/PC817X_CSP9F_ED-%E8%B4%B4%E7%89%87.PDF **Pins:** - ANODE [pin 1] - CATHODE [pin 2] - COLLECTOR [pin 4] - EMITTER [pin 3] ### Q3 — [PC817X1CSP9F](https://www.flux.ai/jecstronic/pc817x1csp9f.md) - Role: Isolation - Manufacturer Name: SHARP/Socle Technology - Role Details: Optocoupler for relay driver isolation - Manufacturer Part Number: PC817X1CSP9F - Datasheet URL: http://www.socle-tech.com/doc/IC%20Channel%20Product/Optoelectronic%20Components/Photocoupler/PC817X_CSP9F_ED-%E8%B4%B4%E7%89%87.PDF - Package: 4-SMD - License: https://creativecommons.org/licenses/by/4.0/ - Part Type: Transistor **Pins:** - ANODE [pin 1] - CATHODE [pin 2] - COLLECTOR [pin 4] - EMITTER [pin 3] ### Q4 — [DMN6075S-7](https://www.flux.ai/jecstronic/dmn6075s-7.md) - Role: Coil Switch - Datasheet URL: https://www.diodes.com/assets/Datasheets/DMN6075S.pdf - Manufacturer Part Number: DMN6075S-7 - Part Type: Transistor - Package: SOT-23-3 - Role Details: N-MOSFET low-side coil driver (one per relay) - License: https://creativecommons.org/licenses/by/4.0/ - Manufacturer Name: Diodes Incorporated **Pins:** - D [pin 3] - G [pin 1] - S [pin 2] ### Q5 — [DMN6075S-7](https://www.flux.ai/jecstronic/dmn6075s-7.md) - Role Details: N-MOSFET low-side coil driver (one per relay) - Package: SOT-23-3 - License: https://creativecommons.org/licenses/by/4.0/ - Manufacturer Name: Diodes Incorporated - Role: Coil Switch - Datasheet URL: https://www.diodes.com/assets/Datasheets/DMN6075S.pdf - Manufacturer Part Number: DMN6075S-7 - Part Type: Transistor **Pins:** - D [pin 3] - G [pin 1] - S [pin 2] ### Q6 — [DMN6075S-7](https://www.flux.ai/jecstronic/dmn6075s-7.md) - Role Details: N-MOSFET low-side coil driver (one per relay) - Package: SOT-23-3 - Manufacturer Name: Diodes Incorporated - License: https://creativecommons.org/licenses/by/4.0/ - Part Type: Transistor - Manufacturer Part Number: DMN6075S-7 - Datasheet URL: https://www.diodes.com/assets/Datasheets/DMN6075S.pdf - Role: Coil Switch **Pins:** - D [pin 3] - G [pin 1] - S [pin 2] ### U1 — [MCP16301x-xCH](https://www.flux.ai/kicad-part-library/mcp16301x-xch.md) - Package: SOT-23-6 - Role Details: 24V in (Cat5) to 3.3V logic supply - Role: Regulator - Datasheet URL: http://ww1.microchip.com/downloads/en/DeviceDoc/20005004D.pdf - Manufacturer Name: Microchip Technology Inc. - Package or Case Code: SOT-23-6 - Manufacturer Part Number: MCP16301x-xCH **Pins:** - BOOST [pin 1] - EN [pin 4] - GND [pin 2] - SW [pin 6] - V_{IN} [pin 5] - Vfb [pin 3] ### U2 — [THVD1451D](https://www.flux.ai/kicad-part-library/thvd1451d.md) - Package: SOIC-8 - Datasheet URL: http://www.ti.com/lit/ds/symlink/thvd1451.pdf - Manufacturer Part Number: THVD1451D - Role: Transceiver - Package or Case Code: SOIC-8_3.9x4.9mm_P1.27mm - Manufacturer Name: Texas Instruments Inc. - Role Details: Half-duplex RS485 transceiver, 3.3V logic **Pins:** - A [pin 8] - B [pin 7] - D [pin 3] - GND [pin 4] - R [pin 2] - VCC [pin 1] - Y [pin 5] - Z [pin 6] ### U3 — [STM32G031G8U6](https://www.flux.ai/vasyl/stm32g031g8u6.md) - Part Type: Microcontroller - Datasheet URL: https://datasheet.lcsc.com/lcsc/1912111437_STMicroelectronics-STM32G031G8U6_C432211.pdf - Package: UFQFPN-28 - Role Details: Main controller: RS485 UART + relay drive + DI + 1-Wire - Manufacturer Name: STMicroelectronics - PULL UP PINS: PB8 - Manufacturer Part Number: STM32G031G8U6 - Role: Microcontroller **Pins:** - PA0 [pin 6] - PA1 [pin 7] - PA11PA9 [pin 18] - PA12PA10 [pin 19] - PA13 [pin 20] - PA14-BOOT0 [pin 21] - PA15 [pin 22] - PA2 [pin 8] - PA3 [pin 9] - PA4 [pin 10] - PA5 [pin 11] - PA6 [pin 12] - PA7 [pin 13] - PA8 [pin 16] - PB0 [pin 14] - PB1 [pin 15] - PB3 [pin 23] - PB4 [pin 24] - PB5 [pin 25] - PB6 [pin 26] - PB7 [pin 27] - PB8 [pin 28] - PC14-OSC32_IN [pin 1] - PC15-OSC32_OUT [pin 2] - PC6 [pin 17] - PF2-NRST [pin 5] - VDD/VDDA [pin 3] - VSS/VSSA [pin 4] ### U4 — [DS18B20+](https://www.flux.ai/adrian95/ds18b20plus.md) - Datasheet URL: https://www.analog.com/media/en/technical-documentation/data-sheets/ds18b20.pdf - Role Details: DS18B20 1-Wire temperature sensor - Manufacturer Part Number: DS18B20+ - License: https://creativecommons.org/licenses/by/4.0/ - Part Type: Sensor - Manufacturer Name: Analog Devices Inc./Maxim Integrated - Role: Sensor - Package: TO-92 **Pins:** - DQ [pin 2] - GND [pin 1] - VDD [pin 3] *The full schematic, PCB layout, bill of materials, and interactive design are available at [https://www.flux.ai/tomaszgregorek/prickly-ivory-robot-vacuum](https://www.flux.ai/tomaszgregorek/prickly-ivory-robot-vacuum).* --- *Generated from [https://www.flux.ai/tomaszgregorek/prickly-ivory-robot-vacuum](https://www.flux.ai/tomaszgregorek/prickly-ivory-robot-vacuum)*