# IronGuard IG50 Needle Deflector
## Description
50 mm circular LiPo-powered needle detection, deflection, and repulsion device with directional magnetic sensing, orthogonal coil actuation, MCU control, wireless charging, and manufacturing validation based on IronGuard IG50 and Magno Effect documentation.
## Project Details
- **Owner:** arunayak
- **Created:** 4/7/2026
- **Last Updated:** 4/7/2026
- **Visibility:** Public
- **Connector Type:** JST-PH battery, 2x3 1.27mm SWD
- **Operating Voltage:** 3.7V LiPo nominal, 4.2V charge, 3.3V logic, 12V pulse rail
- **Power Requirements:** Single-cell LiPo input, protected 5V charging input, VSYS rail, always-on 3.3V logic rail, boosted 12V pulse rail for orthogonal coils
- **Reliability Target (MTBF):** Intermittent pulse operation; no continuous coil firing above 1Hz without thermal validation
- **Operating Temperature:** Battery and charging constrained to 0C to 45C charge window; battery must not exceed 60C handling limit
- **Part Type:** End Product
- **Domain:** Magnetic safety device
- **Compliance:** Needle detection/deflection prototype with manufacturing validation gates including boosted pulse rail verification, current draw checks, debug access, and protected battery charging path
- **Implementation Details:** 50mm circular 4-layer PCB. Current architecture uses STM32L072 + 4x MLX90393 + BQ24072 + TPS78233 + TPS61040 + dual MOSFET provisional coil stage. Documentation reconciliation still required versus manufacturing notes that reference STM32G031/DRV8874-oriented production flow.
- **Manufacturing Quantity Target:** Prototype / EVT
## Key Components
### D3 — [MBR0530T1G](https://www.flux.ai/adrian95/mbr0530t1g~gz4.md)
- Part Type: Diode
- License: https://creativecommons.org/licenses/by/4.0/
- Manufacturer Name: onsemi
- Manufacturer Part Number: MBR0530T1G
- Datasheet URL: https://www.onsemi.com/pdf/datasheet/mbr0530t1-d.pdf
**Pins:**
- A [pin 2]
- K [pin 1]
### IC1 — [MLX90393ELW-ABA-011-SP](https://www.flux.ai/adrian95/mlx90393elw-aba-011-sp~zwm.md)
- Datasheet URL: https://www.melexis.com/-/media/files/documents/datasheets/mlx90393-datasheet-melexis.pdf
- Part Type: Sensor
- Role Details: Perimeter triaxial magnetic sensor for quadrant and directional needle detection
- License: https://creativecommons.org/licenses/by/4.0/
- Manufacturer Name: Melexis
- Role: Magnetic Sensor
- Manufacturer Part Number: MLX90393ELW-ABA-011-SP
- Package: QFN-16 3x3
**Pins:**
- A0 [pin 12]
- A1 [pin 11]
- INT [pin 1]
- INT/TRIG [pin 7]
- MISO [pin 6]
- N/C_1 [pin 4]
- N/C_2 [pin 9]
- N/C_3 [pin 10]
- N/C_4 [pin 14]
- N/C_5 [pin 16]
- SCL/SCLK [pin 3]
- SDA/MOSI [pin 5]
- SENB/CS [pin 2]
- THERMAL_PAD [pin 17]
- VDD [pin 15]
- VDD_IO [pin 8]
- VSS [pin 13]
### IC2 — [MLX90393ELW-ABA-011-SP](https://www.flux.ai/adrian95/mlx90393elw-aba-011-sp~zwm.md)
- Part Type: Sensor
- Datasheet URL: https://www.melexis.com/-/media/files/documents/datasheets/mlx90393-datasheet-melexis.pdf
- Role Details: Perimeter triaxial magnetic sensor for quadrant and directional needle detection
- Manufacturer Part Number: MLX90393ELW-ABA-011-SP
- Role: Magnetic Sensor
- Package: QFN-16 3x3
- Manufacturer Name: Melexis
- License: https://creativecommons.org/licenses/by/4.0/
**Pins:**
- A0 [pin 12]
- A1 [pin 11]
- INT [pin 1]
- INT/TRIG [pin 7]
- MISO [pin 6]
- N/C_1 [pin 4]
- N/C_2 [pin 9]
- N/C_3 [pin 10]
- N/C_4 [pin 14]
- N/C_5 [pin 16]
- SCL/SCLK [pin 3]
- SDA/MOSI [pin 5]
- SENB/CS [pin 2]
- THERMAL_PAD [pin 17]
- VDD [pin 15]
- VDD_IO [pin 8]
- VSS [pin 13]
### IC3 — [MLX90393ELW-ABA-011-SP](https://www.flux.ai/adrian95/mlx90393elw-aba-011-sp~zwm.md)
- Role: Magnetic Sensor
- Package: QFN-16 3x3
- Manufacturer Name: Melexis
- Role Details: Perimeter triaxial magnetic sensor for quadrant and directional needle detection
- License: https://creativecommons.org/licenses/by/4.0/
- Manufacturer Part Number: MLX90393ELW-ABA-011-SP
- Datasheet URL: https://www.melexis.com/-/media/files/documents/datasheets/mlx90393-datasheet-melexis.pdf
- Part Type: Sensor
**Pins:**
- A0 [pin 12]
- A1 [pin 11]
- INT [pin 1]
- INT/TRIG [pin 7]
- MISO [pin 6]
- N/C_1 [pin 4]
- N/C_2 [pin 9]
- N/C_3 [pin 10]
- N/C_4 [pin 14]
- N/C_5 [pin 16]
- SCL/SCLK [pin 3]
- SDA/MOSI [pin 5]
- SENB/CS [pin 2]
- THERMAL_PAD [pin 17]
- VDD [pin 15]
- VDD_IO [pin 8]
- VSS [pin 13]
### IC4 — [MLX90393ELW-ABA-011-SP](https://www.flux.ai/adrian95/mlx90393elw-aba-011-sp~zwm.md)
- Datasheet URL: https://www.melexis.com/-/media/files/documents/datasheets/mlx90393-datasheet-melexis.pdf
- Package: QFN-16 3x3
- Role: Magnetic Sensor
- Part Type: Sensor
- Role Details: Perimeter triaxial magnetic sensor for quadrant and directional needle detection
- License: https://creativecommons.org/licenses/by/4.0/
- Manufacturer Name: Melexis
- Manufacturer Part Number: MLX90393ELW-ABA-011-SP
**Pins:**
- A0 [pin 12]
- A1 [pin 11]
- INT [pin 1]
- INT/TRIG [pin 7]
- MISO [pin 6]
- N/C_1 [pin 4]
- N/C_2 [pin 9]
- N/C_3 [pin 10]
- N/C_4 [pin 14]
- N/C_5 [pin 16]
- SCL/SCLK [pin 3]
- SDA/MOSI [pin 5]
- SENB/CS [pin 2]
- THERMAL_PAD [pin 17]
- VDD [pin 15]
- VDD_IO [pin 8]
- VSS [pin 13]
### IC5 — [B2B-PH-SM4-TB](https://www.flux.ai/vasyl/b2b-ph-sm4-tb~ly.md)
- Part Type: Connector
- Manufacturer Name: JST
- Datasheet URL: https://www.snapeda.com/parts/B2B-PH-SM4-TB(LF)(SN)/JST%20Sales/datasheet/
- Role Details: Single-cell LiPo battery connector keyed for VBAT and GND
- Package: JST-PH-2 SMD
- Role: Battery Connector
- Manufacturer Part Number: B2B-PH-SM4-TB
**Pins:**
- 1
- 2
### J1 — [FTSH-103-01-L-DV](https://www.flux.ai/cherepanyadima/ftsh-103-01-l-dv~u9.md)
- Role: Debug Header
- Datasheet URL: https://suddendocs.samtec.com/catalog_english/ftsh_smt.pdf
- Package: 2x3 1.27mm SMD
- Part Type: Connector
- Manufacturer Name: Samtec
- Role Details: Prototype-only SWD header for programming and debug access
- Manufacturer Part Number: FTSH-103-01-L-DV
**Pins:**
- 01 [pin 01]
- 02 [pin 02]
- 03 [pin 03]
- 04 [pin 04]
- 05 [pin 05]
- 06 [pin 06]
### LED1 — [SML-D13FWT86C](https://www.flux.ai/jecstronic/sml-d13fwt86c~i2q.md)
- Datasheet URL: https://fscdn.rohm.com/en/products/databook/datasheet/opto/led/chip_mono/sml-d13fwt86(c)-e.pdf
- Part Type: LED
- Manufacturer Name: Rohm
- Role: Status LED
- Manufacturer Part Number: SML-D13FWT86C
- Role Details: Visual status indicator for wake, charging, and production test
- Package: 0603
- License: https://creativecommons.org/licenses/by/4.0/
**Pins:**
- A [pin 2]
- K [pin 1]
### Q1 — [DMG9926UDM](https://www.flux.ai/kicad-part-library/dmg9926udm~4q.md)
- Role Details: Logic-level MOSFET switching for orthogonal coil pulse control and current steering
- Package or Case Code: SOT-23-6
- Manufacturer Name: Diodes Incorporated
- Datasheet URL: https://www.diodes.com/assets/Datasheets/ds31770.pdf
- Package: SOT-23-6
- Role: Coil Switch
- Manufacturer Part Number: DMG9926UDM
**Pins:**
- D1 [pin 1]
- G1 [pin 6]
- G2 [pin 4]
- S1/D2 [pin 2]
- S1/D2 [pin 5]
- S2 [pin 3]
### Q2 — [DMG9926UDM](https://www.flux.ai/kicad-part-library/dmg9926udm~4q.md)
- Manufacturer Name: Diodes Incorporated
- Datasheet URL: https://www.diodes.com/assets/Datasheets/ds31770.pdf
- Manufacturer Part Number: DMG9926UDM
- Package: SOT-23-6
- Role Details: Logic-level MOSFET switching for orthogonal coil pulse control and current steering
- Package or Case Code: SOT-23-6
- Role: Coil Switch
**Pins:**
- D1 [pin 1]
- G1 [pin 6]
- G2 [pin 4]
- S1/D2 [pin 2]
- S1/D2 [pin 5]
- S2 [pin 3]
### U1 — [STM32L072KZU6](https://www.flux.ai/jecstronic/stm32l072kzu6~7x.md)
- Role Details: Main controller for magnetic sensing, coil control, SWD debug, and power-state management
- Manufacturer Part Number: STM32L072KZU6
- Datasheet URL: https://www.st.com/resource/en/datasheet/stm32l072cz.pdf
- License: https://creativecommons.org/licenses/by/4.0/
- Part Type: Microcontroller
- Package: UFQFPN-32 5x5
- Role: MCU
- Manufacturer Name: STMicroelectronics
**Pins:**
- BOOT0 [pin 30]
- EP [pin 33]
- NRST [pin 3]
- PA0 [pin 6]
- PA1 [pin 7]
- PA10 [pin 20]
- PA11 [pin 21]
- PA12 [pin 22]
- PA13 [pin 23]
- PA14 [pin 25]
- PA2 [pin 8]
- PA3 [pin 9]
- PA4 [pin 10]
- PA5 [pin 11]
- PA6 [pin 12]
- PA7 [pin 13]
- PA8 [pin 18]
- PA9 [pin 19]
- PB0 [pin 14]
- PB1 [pin 15]
- PB4 [pin 26]
- PB5 [pin 27]
- PB6 [pin 28]
- PB7 [pin 29]
- PC14-OSC32_IN [pin 1]
- PC15-OSC32_OUT [pin 2]
- VDD_1 [pin 17]
- VDD_2 [pin 32]
- VDD_USB [pin 24]
- VDDA [pin 5]
- VSS_1 [pin 16]
- VSS_2 [pin 31]
- VSSA [pin 4]
### U2 — [BQ24072RGTR](https://www.flux.ai/lcsc/bq24072rgtr~g4hl.md)
- Manufacturer Part Number: BQ24072RGTR
- Manufacturer Name: Texas Instruments
- Role Details: USB/Qi powered single-cell charger with SYS output and charge management
- Role: Battery Charger
- Package or Case Code: QFN-16_L3.0-W3.0-P0.50-TL-EP
- JLCPCB Part Class: Extended Part
- Part Type: Battery Management ICs
- LCSC Part Number: C140288
- Product Info Url: https://lcsc.com/product-detail/PMIC-Battery-Management_TI_BQ24072RGTR_BQ24072RGTR_C140288.html
- Package: VQFN-16 3x3
- Datasheet URL: https://storage.googleapis.com/graviton-electric-symbols/document_assets/lcsc/1806131014_Texas-Instruments-BQ24072RGTR_C140288.pdf
**Pins:**
- ~{CE} [pin 4]
- ~{CHG} [pin 9]
- ~{PGOOD} [pin 7]
- BAT [pin 3]
- BAT [pin 2]
- EN1 [pin 6]
- EN2 [pin 5]
- EPAD [pin 17]
- ILIM [pin 12]
- IN [pin 13]
- ISET [pin 16]
- OUT [pin 11]
- OUT [pin 10]
- TD [pin 15]
- TMR [pin 14]
- TS [pin 1]
- VSS [pin 8]
### U3 — [Boost Converter](https://www.flux.ai/corynrobinson/boost-converter~kq.md)
- Role Details: Boost stage charging pulse rail and storage network for coil actuation
- Manufacturer Name: Texas Instruments
- Package: SOT-23-5
- Purchase Url: https://octopart.com/tps61040dbvr-texas+instruments-439784?r=sp
- Product Info Url: https://www.ti.com/product/TPS61040#cad-cae-symbols
- Manufacturer Part Number: TPS61040DBVR
- Part Type: Integrated Circuit
- Datasheet URL: https://www.ti.com/lit/ds/symlink/tps61040.pdf?ts=1648612135061&ref_url=https%253A%252F%252Fwww.ti.com%252Fproduct%252FTPS61040
- Package or Case Code: SOT-23
- Role: Boost Converter
**Pins:**
- EN
- FB
- GND
- SW
- VIN
### U4 — [TPS78233DDC](https://www.flux.ai/kicad-part-library/tps78233ddc~48w.md)
- Manufacturer Name: Texas Instruments
- Package or Case Code: SOT-23-5
- Datasheet URL: http://www.ti.com/lit/gpn/tps782
- Role: LDO
- Manufacturer Part Number: TPS78233DDC
- Package: SOT-23-5
- Role Details: Always-on 3.3V regulator for MCU and sensors with ultra-low sleep current
**Pins:**
- EN [pin 3]
- GND [pin 4]
- GND [pin 2]
- IN [pin 1]
- OUT [pin 5]
### Y1 — [ABS07-32.768KHZ-T](https://www.flux.ai/adrian95/abs07-32768khz-t~822.md)
- Datasheet URL: https://abracon.com/Resonators/ABS07.pdf
- Manufacturer Name: Abracon
- Package: SMD
- Role Details: 32.768kHz low-speed reference for low-power time base
- Role: RTC Crystal
- Manufacturer Part Number: ABS07-32.768KHZ-T
- License: https://creativecommons.org/licenses/by/4.0/
- Part Type: Oscillator
**Pins:**
- P1 [pin 1]
- P2 [pin 2]
*The full schematic, PCB layout, bill of materials, and interactive design are available at [https://www.flux.ai/arunayak/ironguard-ig50-needle-deflector~wh](https://www.flux.ai/arunayak/ironguard-ig50-needle-deflector~wh).*
---
*Generated from [https://www.flux.ai/arunayak/ironguard-ig50-needle-deflector~wh](https://www.flux.ai/arunayak/ironguard-ig50-needle-deflector~wh)*