[{"data":1,"prerenderedAt":701},["ShallowReactive",2],{"schematic:2n2222-relay-driver-flyback-protection:en":3},{"schematic":4,"title":19,"shortDescription":22,"proseSource":659,"localizationFallbackIssues":660,"related":661,"confirmations":660},{"schemaVersion":5,"governance":6,"slug":18,"title":19,"cluster":20,"tier":21,"shortDescription":22,"deepTechnicalOverview":23,"theoryOfOperation":24,"keySpecifications":25,"applications":56,"gotchas":61,"formulas":80,"bom":162,"interactiveElements":214,"circuitJson":325,"svg":658},"1.0",{"publication":7,"verification":10,"provenance":15},{"status":8,"publishedDate":9},"published","2026-11-04",{"status":11,"verifiedDate":9,"verifiedBy":12,"checklist":13},"verified","Gemini (AI documentary, CAD and hardware-localization review against Central Semiconductor 2N2222A and Omron G5V-1 datasheets; owner publication authorization; no bench, simulation, independent second review or native-speaker claim)",{"schema":14,"technicalFacts":14,"relationships":14,"sources":14},true,{"sourceUrls":16},[17],"https:\u002F\u002Fmy.centralsemi.com\u002Fdatasheets\u002F2N2221A-2222A.PDF","2n2222-relay-driver-flyback-protection","2N2222 \u002F 2N2222A NPN BJT Relay Driver with 1N4007 Flyback Clamping Diode","microcontroller_interfaces","Tier 1","Discrete NPN bipolar junction transistor low-side relay driver circuit with 1N4007 flyback suppression diode, base saturation drive, and supply decoupling for 3.3V\u002F5V MCU control.","This classic discrete low-side driver interfaces standard 3.3V or 5.0V microcontroller GPIO outputs with a 12V electromechanical relay coil, providing galvanic isolation between logic circuits and high-voltage AC\u002FDC loads. The switching core employs the industry-standard Central Semiconductor 2N2222A NPN bipolar junction transistor in a compact TO-92 through-hole package. The transistor operates strictly as a saturated electronic switch: when driven into saturation, the collector-emitter voltage collapses to VCE(sat) ≤ 0.3V, applying virtually the entire +12V power supply rail across the relay coil winding. Base drive is determined by series resistor R1 (1.0 kΩ 1%), which delivers 4.3 mA from 5.0V logic (or 2.6 mA from 3.3V logic). This establishes a forced current gain (forced beta) of βforced ≈ 7 to 15, well below the transistor minimum active gain (hFE(min) = 75 to 100), guaranteeing hard saturation across thermal variations and manufacturing tolerances. A base pull-down resistor R2 (10 kΩ 1%) holds the base solidly at 0V during microcontroller power-up, firmware reboot, or ISP flashing when GPIO pins float in high-impedance tri-state mode, preventing spurious coil energization and contact chatter. Crucially, a 1N4007 standard rectifier diode D1 is connected antiparallel across the coil terminals. Upon transistor turn-off, the rapid collapse of the coil magnetic field generates an inductive back-EMF transient (-L di\u002Fdt) that would otherwise exceed the 40V collector breakdown rating V(BR)CEO and destroy the transistor silicon; D1 clamps this transient to VCC + VF (approx. 13.1V), recirculating the inductive energy safely through the coil winding. Power supply bus stability is preserved by ceramic capacitor C1 (100 nF) and aluminum electrolytic capacitor C2 (47 µF), suppressing inductive switching noise and transient voltage dips.","### 1. Circuit Topology and Low-Side Sinking Architecture\nThe circuit is organized as a common-emitter NPN low-side sink driver. The electromechanical relay coil (K1) connects between the positive DC power supply (+12 V nominal) and the collector terminal of transistor Q1 (Central Semiconductor 2N2222A). The emitter of Q1 connects directly to power ground (GND). When Q1 conducts, it completes the current path to ground, pulling the lower terminal of the relay coil down to VCE(sat) and energizing the coil winding. Because the emitter is fixed at 0 V, base-emitter drive voltage VBE is referenced directly to logic ground, enabling direct drive from single-ended microcontroller GPIO pins.\n\n### 2. Phase 1: Microcontroller Boot Tri-State and Reset Clamping\nWhen the driving microcontroller is powered off, held in reset, or executing early bootloader initialization, its GPIO pins reside in a high-impedance (tri-state) input mode. Pull-down bleeder resistor R2 (10 kΩ) ties the base terminal firmly to 0 V ground. This discharges any stray electrostatic charge or PCB leakage current ($I_{CBO} \\le 10\\text{ nA}$), guaranteeing that $V_{BE} = 0\\text{ V}$. Because $V_{BE}$ remains far below the 0.65 V silicon PN junction conduction threshold, Q1 remains in cutoff mode ($I_C \\approx 0$), completely de-energizing the relay coil and preventing false contact closures during boot.\n\n### 3. Phase 2: Logic HIGH Transition and Base Saturation Drive\nWhen the microcontroller drives the GPIO pin HIGH (+5.0 V from AVR\u002FArduino or +3.3 V from ESP32\u002FSTM32), forward bias is applied to the base-emitter junction. Base current $I_B$ is established across series limiting resistor R1:\n$$I_B = \\frac{V_{IN} - V_{BE(sat)}}{R_1}$$\nFor a 5.0 V drive signal with $V_{BE(sat)} \\approx 0.75\\text{ V}$, base current is $I_B = (5.0\\text{ V} - 0.75\\text{ V}) \u002F 1000\\ \\Omega = 4.25\\text{ mA}$. For a typical 12V relay coil with $R_{coil} = 400\\ \\Omega$, nominal coil current is $I_{coil} \\approx (12\\text{ V} - 0.2\\text{ V}) \u002F 400\\ \\Omega = 29.5\\text{ mA}$. The resulting forced current gain is:\n$$\\beta_{forced} = \\frac{I_C}{I_B} = \\frac{29.5\\text{ mA}}{4.25\\text{ mA}} \\approx 6.9$$\nBecause $\\beta_{forced} \\ll h_{FE(min)} = 75$, the transistor is pushed into deep hard saturation, causing excess minority carriers to flood the base region and driving collector-emitter voltage to its minimum saturation level ($V_{CE(sat)} \\le 0.3\\text{ V}$).\n\n### 4. Phase 3: Saturated Coil Energization and Thermal Dissipation\nIn saturation, the full power rail minus $V_{CE(sat)}$ appears across the relay coil ($V_{coil} \\approx 12.0\\text{ V} - 0.2\\text{ V} = 11.8\\text{ V}$). The magnetic field builds rapidly, pulling the armature inward and closing the normally-open (NO) mechanical contacts. Static conduction power dissipation in the transistor comprises collector and base components:\n$$P_D = V_{CE(sat)} \\cdot I_C + V_{BE(sat)} \\cdot I_B$$\n$$P_D = (0.2\\text{ V} \\times 29.5\\text{ mA}) + (0.75\\text{ V} \\times 4.25\\text{ mA}) = 5.9\\text{ mW} + 3.2\\text{ mW} = 9.1\\text{ mW}$$\nThis negligible 9.1 mW dissipation is vastly below the 625 mW TO-92 thermal rating, maintaining the transistor at ambient room temperature without heatsinking.\n\n### 5. Phase 4: Inductive Field Collapse and 1N4007 Flyback Clamping\nWhen the microcontroller GPIO returns to logic LOW, base current drops to zero and Q1 transitions toward cutoff. The relay coil possesses significant magnetic inductance ($L \\approx 0.5\\dots 2\\text{ H}$). As current abruptly drops, the collapsing magnetic field induces a violent back-EMF voltage kick:\n$$v_L = -L \\frac{di}{dt}$$\nWithout protection, the collector voltage would instantly spike to hundreds of volts, causing destructive avalanche breakdown of the 40V collector-emitter junction. Antiparallel flyback diode D1 (1N4007) forward-biases the instant collector voltage exceeds $V_{CC} + V_F$, clamping peak collector potential to:\n$$V_{clamp} = V_{CC} + V_F \\approx 12.0\\text{ V} + 1.1\\text{ V} = 13.1\\text{ V}$$\nThe stored magnetic energy circulates harmlessly through the closed loop formed by D1 and the coil winding, dissipating as thermal energy in the coil resistance ($R_{coil}$) until current decays to zero.",[26,29,32,35,38,41,44,47,50,53],{"label":27,"value":28},"Relay Supply Voltage (VLOAD)","+12.0 V DC nominal (+10.8 V to +13.2 V operating range)",{"label":30,"value":31},"Logic Control Voltage (VIN)","+3.3 V to +5.0 V CMOS \u002F TTL microcontroller logic",{"label":33,"value":34},"Maximum Continuous Collector Current (IC)","800 mA continuous (Central Semiconductor 2N2222A)",{"label":36,"value":37},"Collector-Emitter Breakdown Voltage (V(BR)CEO)","40 V minimum",{"label":39,"value":40},"Saturation Voltage (VCE(sat))","≤ 0.3 V at IC = 150 mA, IB = 15 mA (≤ 0.2 V typical at 30 mA)",{"label":42,"value":43},"Base Current-Limiting Resistor (R1)","1.0 kΩ 1% metal film (sets IB = 4.25 mA at 5V, 2.55 mA at 3.3V)",{"label":45,"value":46},"Base Pull-Down Bleeder Resistor (R2)","10 kΩ 1% metal film (guarantees cutoff during MCU boot\u002Freset)",{"label":48,"value":49},"Flyback Clamping Diode (D1)","1N4007 (1000 V VRRM, 1.0 A continuous, 30 A surge)",{"label":51,"value":52},"Relay Coil Nominal Current","12.5 mA to 30.0 mA (Omron G5V-1-DC12 standard\u002Fhigh-sensitivity)",{"label":54,"value":55},"DC Rail Decoupling (C1, C2)","100 nF 50V X7R ceramic MLCC + 47 µF 25V aluminum electrolytic",[57,58,59,60],"Interfacing Arduino, ESP32, STM32, and Raspberry Pi GPIO pins with 12V electromechanical relays","Driving pneumatic solenoid valves, electronic door strikes, and magnetic latching actuators","Galvanic mains AC switching (120V\u002F240V lighting, heating elements, pump motors) via relay isolation","Automotive and industrial 12V auxiliary DC load switching with logic-level control signals",[62,67,71,75],{"title":63,"trap":64,"solution":65,"severity":66},"Destructive Inductive Back-EMF Avalanche Without Flyback Diode","Switching inductive relay coils without an antiparallel freewheeling diode forces magnetic collapse energy into the BJT. The collector voltage instantly spikes to hundreds of volts (-L di\u002Fdt), driving the transistor into avalanche breakdown above 40V and permanently puncturing the silicon junction.","Always install a dedicated flyback diode (such as 1N4007 or Schottky 1N5819) directly across the relay coil terminals with cathode to +12V and anode to collector, keeping loop trace length minimal to avoid parasitic inductance.","critical",{"title":68,"trap":69,"solution":70,"severity":66},"Insufficient Base Drive Current Leading to Linear Mode Operation","Selecting a base resistor that is too large (e.g., 10 kΩ or 47 kΩ) starves the transistor of base current. The transistor operates in its active linear region instead of hard saturation, causing VCE to remain at 2V to 6V, under-energizing the coil and causing rapid transistor overheating.","Design for a forced beta of βforced = IC \u002F IB ≤ 10 to 15. For a 30 mA coil and 3.3V logic, use R1 = 1.0 kΩ, providing IB ≈ 2.5 mA and guaranteed hard saturation across all temperature conditions.",{"title":72,"trap":73,"solution":74,"severity":66},"Floating Base Pin During Microcontroller Reset and Boot","Omitting base pull-down resistor R2 leaves the high-impedance base floating when MCU GPIO pins default to high-Z input mode during boot, reset, or in-circuit firmware programming. Ambient electromagnetic noise or finger proximity can trigger false relay clicking.","Always install a 10 kΩ pull-down resistor directly between base and ground, placed physically close to the transistor terminals to keep the base grounded until active firmware drive is asserted.",{"title":76,"trap":77,"solution":78,"severity":79},"Relay Armature Release Delay Caused by Standard Silicon Diode","A standard flyback diode clamps coil collapse voltage to only +1.1V above VCC, causing coil current to decay slowly according to time constant τ = L \u002F Rcoil. For high-speed applications, this prolongs mechanical contact opening time and causes contact arcing.","For standard DC relays, the 1N4007 is robust and reliable. When high-speed contact release (\u003C 5 ms) is required, place a Zener diode (e.g. 24V) in series with the diode anode-to-anode, or use a parallel resistor-diode snubber to speed magnetic decay.","warning",[81,105,125,142],{"name":82,"latexOrText":83,"description":84,"variables":85},"Base Saturation Drive Current","I_B = \\frac{V_{IN} - V_{BE(sat)}}{R_1}","Calculates the base current delivered to the transistor in the active ON state to establish forced saturation overdrive.",[86,91,96,100],{"symbol":87,"name":88,"typicalValue":89,"unit":90},"I_B","Base Drive Current","0.00425","A",{"symbol":92,"name":93,"typicalValue":94,"unit":95},"V_{IN}","Microcontroller GPIO Logic High Voltage","5.0","V",{"symbol":97,"name":98,"typicalValue":99,"unit":95},"V_{BE(sat)}","Base-Emitter Saturation Voltage Drop","0.75",{"symbol":101,"name":102,"typicalValue":103,"unit":104},"R_1","Base Series Resistor","1000","Ω",{"name":106,"latexOrText":107,"description":108,"variables":109},"Forced Beta (Overdrive Ratio)","\\beta_{forced} = \\frac{I_{coil}}{I_B} \\ll h_{FE(min)}","Evaluates the degree of saturation overdrive by comparing forced current gain against minimum datasheet active current gain.",[110,115,119,121],{"symbol":111,"name":112,"typicalValue":113,"unit":114},"\\beta_{forced}","Forced Current Gain","7.0","ratio",{"symbol":116,"name":117,"typicalValue":118,"unit":90},"I_{coil}","Relay Coil Operating Current","0.030",{"symbol":87,"name":120,"typicalValue":89,"unit":90},"Base Saturation Current",{"symbol":122,"name":123,"typicalValue":124,"unit":114},"h_{FE(min)}","Minimum Active DC Current Gain","75",{"name":126,"latexOrText":127,"description":128,"variables":129},"Inductive Back-EMF Clamped Peak Voltage","V_{clamp} = V_{CC} + V_F(D_1)","Determines the maximum peak voltage appearing at the transistor collector terminal during inductive coil turn-off field collapse.",[130,134,138],{"symbol":131,"name":132,"typicalValue":133,"unit":95},"V_{clamp}","Peak Clamped Collector Voltage","13.1",{"symbol":135,"name":136,"typicalValue":137,"unit":95},"V_{CC}","Positive Load Power Supply Voltage","12.0",{"symbol":139,"name":140,"typicalValue":141,"unit":95},"V_F(D_1)","Flyback Diode Forward Voltage Drop","1.1",{"name":143,"latexOrText":144,"description":145,"variables":146},"Transistor Saturated Conduction Power Dissipation","P_D = V_{CE(sat)} \\cdot I_C + V_{BE(sat)} \\cdot I_B","Calculates the total continuous electrical power dissipated as heat inside the transistor die during steady-state ON conduction.",[147,152,156,159,161],{"symbol":148,"name":149,"typicalValue":150,"unit":151},"P_D","Total Transistor Power Dissipation","0.0091","W",{"symbol":153,"name":154,"typicalValue":155,"unit":95},"V_{CE(sat)}","Collector-Emitter Saturation Voltage","0.2",{"symbol":157,"name":158,"typicalValue":118,"unit":90},"I_C","Collector Current (Coil Current)",{"symbol":97,"name":160,"typicalValue":99,"unit":95},"Base-Emitter Saturation Voltage",{"symbol":87,"name":88,"typicalValue":89,"unit":90},[163,172,180,187,194,200,207],{"refDes":164,"componentName":165,"value":166,"package":167,"quantity":168,"componentSlug":169,"role":170,"notes":171},"Q1","NPN General Purpose Bipolar Transistor","2N2222A","TO-92",1,"2n2222","Low-Side Saturated Relay Driver Switch","Central Semiconductor 40V 800mA high-speed NPN transistor in TO-92 through-hole package.",{"refDes":173,"componentName":174,"value":175,"package":176,"quantity":168,"componentSlug":177,"role":178,"notes":179},"D1","General Purpose Rectifier \u002F Clamp Diode","1N4007","DO-41","1n4007","Inductive Kickback Flyback Suppression","Micro Commercial Co 1000V 1.0A rectifier diode clamping turn-off back-EMF spikes across the coil.",{"refDes":181,"componentName":182,"value":183,"package":184,"quantity":168,"role":185,"notes":186},"K1","Subminiature SPDT Signal \u002F Power Relay","G5V-1-DC12","DIP-5 \u002F THT","Galvanically Isolated Electromechanical Actuator","Omron Electronics 12V DC coil subminiature SPDT relay with 960Ω coil and 1A 24VDC \u002F 0.5A 125VAC contact rating.",{"refDes":188,"componentName":189,"value":190,"package":191,"quantity":168,"role":192,"notes":193},"R1","Base Current-Limiting Resistor 1 kΩ","1kΩ","Axial \u002F 0805","Base Saturation Drive Limiter","1.0 kΩ 1% 0.25W metal film resistor establishing forced saturation base current from 3.3V\u002F5V logic.",{"refDes":195,"componentName":196,"value":197,"package":191,"quantity":168,"role":198,"notes":199},"R2","Base Pull-Down Bleeder Resistor 10 kΩ","10kΩ","Tri-State Reset & Float Suppression","10 kΩ 1% 0.25W metal film resistor clamping base to 0V ground during microcontroller reset.",{"refDes":201,"componentName":202,"value":203,"package":204,"quantity":168,"role":205,"notes":206},"C1","High-Frequency Ceramic Decoupling MLCC","100nF 50V","0805 \u002F Radial","High-Frequency Noise Shunting","100 nF 50V X7R ceramic capacitor shunting inductive commutation noise directly at the supply bus.",{"refDes":208,"componentName":209,"value":210,"package":211,"quantity":168,"role":212,"notes":213},"C2","Bulk Aluminum Electrolytic Decoupling","47µF 25V","Radial CAN 6.3x11mm","DC Bus Stabilization Reservoir","47 µF 25V low-ESR electrolytic capacitor absorbing pull-in current surges.",{"P1":215,"R1":226,"R2":236,"G1":243,"Q1":253,"D1":265,"K1":275,"C1":287,"C2":298,"P2":307,"G2":317},{"refDes":216,"name":217,"value":218,"role":219,"description":220,"footprint":221,"specs":222},"P1","Logic Control Input Port","MCU_GPIO","Digital Logic Control Input","Connects to a 3.3V or 5.0V microcontroller output pin (e.g. ESP32, STM32, Arduino, Raspberry Pi) to energize the relay coil.","Wire Terminal \u002F Header Pin",{"Input Voltage Range":223,"Control Logic":224,"Drive Current Required":225},"+3.3 V to +5.0 V DC","Active-HIGH (1 = Relay Energized, 0 = Relay Released)","2.6 mA (at 3.3V) \u002F 4.3 mA (at 5.0V)",{"refDes":188,"name":227,"value":190,"role":228,"description":229,"footprint":230,"specs":231},"Base Current-Limiting Resistor","Base Saturation Drive Current Control","Sets the base overdrive current to force Q1 into deep saturation (VCE(sat) ≤ 0.3V) while protecting the microcontroller GPIO pin from excessive sourcing current.","Axial 0.25W \u002F SMD 0805",{"Resistance":232,"Tolerance":233,"Power Rating":234,"Calculated Base Current":235},"1.0 kΩ","1%","0.25 W","4.3 mA (5V logic) \u002F 2.6 mA (3.3V logic)",{"refDes":195,"name":237,"value":197,"role":238,"description":239,"footprint":230,"specs":240},"Base Pull-Down Bleeder Resistor","Tri-State Reset & Cut-Off Stabilization","Clamps the base firmly to 0V ground during microcontroller power-up, firmware reboot, or ISP flashing when GPIO pins float in high-impedance tri-state mode, preventing spurious relay actuation.",{"Resistance":241,"Tolerance":233,"Power Rating":234,"Bleeder Current":242},"10 kΩ","0.07 mA (in active state)",{"refDes":244,"name":245,"value":246,"role":247,"description":248,"footprint":249,"specs":250},"G1","Logic Return Ground Reference","GND","Input Signal Ground Reference","System ground connection establishing the 0V reference baseline for the microcontroller drive signal and base pull-down bleeder.","System Ground Net",{"Potential":251,"Domain":252},"0.0 V","Logic \u002F Control Ground",{"refDes":164,"name":254,"value":166,"role":255,"description":256,"footprint":257,"specs":258},"NPN General Purpose BJT Switch","Low-Side Relay Coil Sinking Switch","Central Semiconductor 2N2222A high-speed NPN bipolar junction transistor sinking up to 800 mA continuous collector current with low collector-emitter saturation voltage.","TO-92 (Through-Hole)",{"Collector-Emitter Breakdown V(BR)CEO":259,"Continuous Collector Current IC":260,"VCE(sat) at IC = 150 mA":261,"DC Current Gain hFE":262,"Maximum Total Dissipation PD":263,"Transition Frequency fT":264},"40 V","800 mA","≤ 0.3 V (IB = 15 mA)","100 to 300 (at IC = 150 mA)","625 mW (at TA = 25°C)","300 MHz minimum",{"refDes":173,"name":266,"value":175,"role":267,"description":268,"footprint":269,"specs":270},"Inductive Flyback Clamping Diode","Freewheeling Inductive Transient Suppression","General-purpose rectifier diode connected antiparallel across the relay coil. Clamps the turn-off back-EMF inductive spike (V = -L di\u002Fdt) to VCC + VF, protecting Q1 from overvoltage avalanche breakdown.","DO-41 Through-Hole",{"Peak Repetitive Reverse Voltage VRRM":271,"Average Rectified Forward Current IO":272,"Non-Repetitive Peak Surge Current IFSM":273,"Forward Voltage Drop VF":274},"1000 V","1.0 A continuous","30 A (8.3 ms half-sine)","≤ 1.1 V (at IF = 1.0 A)",{"refDes":181,"name":276,"value":277,"role":278,"description":279,"footprint":280,"specs":281},"Electromechanical Relay Coil","12V Relay Coil","Switched Inductive Actuator","Omron G5V-1-DC12 subminiature SPDT telecommunication \u002F signal relay coil, requiring 12V DC energization to actuate mechanical contacts.","DIP-5 \u002F Through-Hole",{"Nominal Coil Voltage":282,"Coil Resistance Rcoil":283,"Nominal Operating Current Icoil":284,"Must-Operate Voltage":285,"Must-Release Voltage":286},"+12.0 V DC","960 Ω (150 mW high-sensitivity) to 400 Ω (standard)","12.5 mA to 30.0 mA","≤ 80% of rated voltage (9.6 V)","≥ 10% of rated voltage (1.2 V)",{"refDes":201,"name":288,"value":289,"role":290,"description":291,"footprint":292,"specs":293},"High-Frequency Ceramic Bypass Capacitor","100nF","High-Frequency Switching Noise Shunting","Low-ESR multi-layer ceramic capacitor (MLCC) filtering high-frequency inductive commutation noise and ripple directly at the relay supply bus.","0805 SMD \u002F Radial Ceramic",{"Capacitance":294,"Voltage Rating":295,"Dielectric":296,"Tolerance":297},"100 nF (0.1 µF)","50 V DC","X7R (±15% tempco)","±10%",{"refDes":208,"name":209,"value":299,"role":300,"description":301,"footprint":211,"specs":302},"47µF","DC Supply Bus Stabilization","Electrolytic reservoir capacitor absorbing instantaneous inrush current transients during relay armature pull-in, preventing DC bus voltage dips.",{"Capacitance":303,"Voltage Rating":304,"Operating Temperature":305,"Tolerance":306},"47 µF","25 V DC","-40°C to +105°C","±20%",{"refDes":308,"name":309,"value":310,"role":311,"description":312,"footprint":313,"specs":314},"P2","Positive DC Power Supply Rail","+12V","Relay Actuation Power Source","Dedicated +12V DC power supply input rail delivering energization current to the relay coil and cathode clamp node.","Power Supply Rail \u002F Pin Terminal",{"Nominal Voltage":282,"Operating Range":315,"Current Delivery Capability":316},"+10.8 V to +13.2 V DC (±10%)","≥ 200 mA continuous",{"refDes":318,"name":319,"value":246,"role":320,"description":321,"footprint":322,"specs":323},"G2","Power Ground Star Point","Transistor Emitter Ground Return","Heavy power ground return node for the 2N2222A emitter and decoupling filter return, isolating inductive switching current loops from sensitive logic ground paths.","Power Ground Net",{"Potential":251,"Domain":324},"Power Ground Return",{"schemaVersion":326,"id":327,"meta":328,"components":335,"nets":424,"junctions":473,"netLabels":497,"wires":498},"1.5","schematic-2n2222-relay-driver-flyback-protection",{"title":329,"locale":330,"grid":331,"source":332},"2N2222 NPN BJT Relay Driver with 1N4007 Flyback Clamping Diode","en",20,{"type":333,"ref":334,"url":17},"datasheet","Central Semiconductor 2N2222A Datasheet & Omron G5V-1 Relay Datasheet",[336,344,353,361,368,375,386,394,404,413,419],{"id":337,"symbolId":338,"refDes":216,"position":339,"rotation":342,"properties":343},"comp_p1","port.input",{"x":340,"y":341},80,280,0,{"value":218},{"id":345,"symbolId":346,"refDes":188,"position":347,"rotation":342,"properties":349},"comp_r1","resistor.iec",{"x":348,"y":341},320,{"value":190,"package":191,"tolerance":233,"powerRating":350,"mpn":351,"manufacturer":352},"0.25W","MFR-25FTE52-1K","Yageo",{"id":354,"symbolId":346,"refDes":195,"position":355,"rotation":358,"properties":359},"comp_r2",{"x":356,"y":357},260,340,90,{"value":197,"package":191,"tolerance":233,"powerRating":350,"mpn":360,"manufacturer":352},"MFR-25FTE52-10K",{"id":362,"symbolId":363,"refDes":244,"position":364,"rotation":342,"properties":367},"comp_g1","gnd.port",{"x":365,"y":366},220,440,{},{"id":369,"symbolId":370,"refDes":164,"position":371,"rotation":342,"properties":372,"catalogRef":374},"comp_q1","bjt.npn",{"x":366,"y":356},{"value":166,"package":167,"mpn":166,"manufacturer":373},"Central Semiconductor",{"slug":169,"mpn":166},{"id":376,"symbolId":377,"refDes":173,"position":378,"rotation":381,"properties":382,"catalogRef":385},"comp_d1","diode.standard",{"x":379,"y":380},380,180,270,{"value":175,"package":176,"mpn":383,"manufacturer":384},"1N4007-TP","Micro Commercial Co",{"slug":177,"mpn":383},{"id":387,"symbolId":388,"refDes":181,"position":389,"rotation":358,"properties":392},"comp_k1","inductor.iec",{"x":390,"y":391},540,100,{"value":277,"package":184,"mpn":183,"manufacturer":393},"Omron Electronics",{"id":395,"symbolId":396,"refDes":201,"position":397,"rotation":358,"properties":400},"comp_c1","capacitor.ceramic",{"x":398,"y":399},660,140,{"value":289,"voltageRating":401,"package":204,"mpn":402,"manufacturer":403},"50V","C0805C104K5RACTU","KEMET",{"id":405,"symbolId":406,"refDes":208,"position":407,"rotation":358,"properties":409},"comp_c2","capacitor.electrolytic",{"x":408,"y":399},740,{"value":299,"voltageRating":410,"package":211,"mpn":411,"manufacturer":412},"25V","EEU-FC1E470","Panasonic",{"id":414,"symbolId":415,"refDes":308,"position":416,"rotation":342,"properties":418},"comp_p2","vcc.port",{"x":417,"y":342},500,{"value":310},{"id":420,"symbolId":363,"refDes":318,"position":421,"rotation":342,"properties":423},"comp_g2",{"x":417,"y":422},420,{},[425,434,442,452,461],{"id":426,"name":218,"class":427,"pins":428},"net_gpio","signal",[429,431,433],{"component":337,"pin":430},"out",{"component":345,"pin":432},"1",{"component":354,"pin":432},{"id":435,"name":436,"class":427,"pins":437},"net_base_drive","BASE",[438,440],{"component":345,"pin":439},"2",{"component":369,"pin":441},"b",{"id":443,"name":310,"class":444,"pins":445},"net_vload","power",[446,447,448,450,451],{"component":414,"pin":430},{"component":387,"pin":432},{"component":376,"pin":449},"k",{"component":395,"pin":432},{"component":405,"pin":432},{"id":453,"name":454,"class":427,"pins":455},"net_collector","COLLECTOR",[456,457,459],{"component":387,"pin":439},{"component":376,"pin":458},"a",{"component":369,"pin":460},"c",{"id":462,"name":246,"class":463,"pins":464},"net_gnd","ground",[465,467,468,470,471,472],{"component":362,"pin":466},"in",{"component":354,"pin":439},{"component":369,"pin":469},"e",{"component":420,"pin":466},{"component":395,"pin":439},{"component":405,"pin":439},[474,479,484,488,491,494],{"id":475,"netId":426,"position":476},"j_base",{"x":477,"y":478},240,300,{"id":480,"netId":443,"position":481},"j_vload_k1",{"x":482,"y":483},520,60,{"id":485,"netId":443,"position":486},"j_vload_c1",{"x":487,"y":483},640,{"id":489,"netId":453,"position":490},"j_collector",{"x":482,"y":365},{"id":492,"netId":462,"position":493},"j_gnd_main",{"x":482,"y":379},{"id":495,"netId":462,"position":496},"j_gnd_c1",{"x":487,"y":379},[],[499,507,515,523,532,541,549,558,566,574,584,592,601,609,617,625,633,641,649],{"id":500,"netId":426,"endpoints":501,"path":504},"w_p1_jbase",[502,503],{"component":337,"pin":430},{"junctionId":475},[505,506],{"x":399,"y":478},{"x":477,"y":478},{"id":508,"netId":426,"endpoints":509,"path":512},"w_jbase_r1",[510,511],{"junctionId":475},{"component":345,"pin":432},[513,514],{"x":477,"y":478},{"x":348,"y":478},{"id":516,"netId":426,"endpoints":517,"path":520},"w_jbase_r2",[518,519],{"junctionId":475},{"component":354,"pin":432},[521,522],{"x":477,"y":478},{"x":477,"y":357},{"id":524,"netId":435,"endpoints":525,"path":528},"w_r1_qb",[526,527],{"component":345,"pin":439},{"component":369,"pin":441},[529,531],{"x":530,"y":478},400,{"x":366,"y":478},{"id":533,"netId":443,"endpoints":534,"path":537},"w_p2_jvload",[535,536],{"component":414,"pin":430},{"junctionId":480},[538,540],{"x":482,"y":539},40,{"x":482,"y":483},{"id":542,"netId":443,"endpoints":543,"path":546},"w_jvload_k1",[544,545],{"junctionId":480},{"component":387,"pin":432},[547,548],{"x":482,"y":483},{"x":482,"y":391},{"id":550,"netId":443,"endpoints":551,"path":554},"w_jvload_d1",[552,553],{"junctionId":480},{"component":376,"pin":449},[555,556,557],{"x":482,"y":483},{"x":530,"y":483},{"x":530,"y":391},{"id":559,"netId":443,"endpoints":560,"path":563},"w_jvload_jc1",[561,562],{"junctionId":480},{"junctionId":485},[564,565],{"x":482,"y":483},{"x":487,"y":483},{"id":567,"netId":443,"endpoints":568,"path":571},"w_jc1_c1",[569,570],{"junctionId":485},{"component":395,"pin":432},[572,573],{"x":487,"y":483},{"x":487,"y":399},{"id":575,"netId":443,"endpoints":576,"path":579},"w_jc1_c2",[577,578],{"junctionId":485},{"component":405,"pin":432},[580,581,583],{"x":487,"y":483},{"x":582,"y":483},720,{"x":582,"y":399},{"id":585,"netId":453,"endpoints":586,"path":589},"w_k1_jcol",[587,588],{"component":387,"pin":439},{"junctionId":489},[590,591],{"x":482,"y":380},{"x":482,"y":365},{"id":593,"netId":453,"endpoints":594,"path":597},"w_d1_jcol",[595,596],{"component":376,"pin":458},{"junctionId":489},[598,599,600],{"x":530,"y":380},{"x":530,"y":365},{"x":482,"y":365},{"id":602,"netId":453,"endpoints":603,"path":606},"w_jcol_qc",[604,605],{"junctionId":489},{"component":369,"pin":460},[607,608],{"x":482,"y":365},{"x":482,"y":356},{"id":610,"netId":462,"endpoints":611,"path":614},"w_r2_g1",[612,613],{"component":354,"pin":439},{"component":362,"pin":466},[615,616],{"x":477,"y":422},{"x":477,"y":366},{"id":618,"netId":462,"endpoints":619,"path":622},"w_qe_jgnd",[620,621],{"component":369,"pin":469},{"junctionId":492},[623,624],{"x":482,"y":357},{"x":482,"y":379},{"id":626,"netId":462,"endpoints":627,"path":630},"w_jgnd_g2",[628,629],{"junctionId":492},{"component":420,"pin":466},[631,632],{"x":482,"y":379},{"x":482,"y":422},{"id":634,"netId":462,"endpoints":635,"path":638},"w_jgnd_jgc1",[636,637],{"junctionId":492},{"junctionId":495},[639,640],{"x":482,"y":379},{"x":487,"y":379},{"id":642,"netId":462,"endpoints":643,"path":646},"w_c1_jgc1",[644,645],{"component":395,"pin":439},{"junctionId":495},[647,648],{"x":487,"y":365},{"x":487,"y":379},{"id":650,"netId":462,"endpoints":651,"path":654},"w_jgc1_c2",[652,653],{"junctionId":495},{"component":405,"pin":439},[655,656,657],{"x":487,"y":379},{"x":582,"y":379},{"x":582,"y":365},"\u003Csvg xmlns=\"http:\u002F\u002Fwww.w3.org\u002F2000\u002Fsvg\" viewBox=\"71 -42.4 717.2 551\" width=\"717.2\" height=\"551\" role=\"img\">\u003Ctitle>2N2222 NPN BJT Relay Driver with 1N4007 Flyback Clamping Diode\u003C\u002Ftitle>\u003Cdesc>Exported from CircuitBase\u003C\u002Fdesc>\u003Cpolyline data-kind=\"wire\" points=\"140,300 240,300\" fill=\"none\" stroke=\"#2e2e2c\" stroke-width=\"2\" stroke-linejoin=\"round\" stroke-linecap=\"round\"\u002F>\u003Cpolyline data-kind=\"wire\" points=\"240,300 320,300\" fill=\"none\" stroke=\"#2e2e2c\" stroke-width=\"2\" stroke-linejoin=\"round\" stroke-linecap=\"round\"\u002F>\u003Cpolyline data-kind=\"wire\" points=\"240,300 240,340\" fill=\"none\" stroke=\"#2e2e2c\" stroke-width=\"2\" stroke-linejoin=\"round\" stroke-linecap=\"round\"\u002F>\u003Cpolyline data-kind=\"wire\" points=\"400,300 440,300\" fill=\"none\" stroke=\"#2e2e2c\" stroke-width=\"2\" stroke-linejoin=\"round\" stroke-linecap=\"round\"\u002F>\u003Cpolyline data-kind=\"wire\" points=\"520,40 520,60\" fill=\"none\" stroke=\"#2e2e2c\" stroke-width=\"2\" stroke-linejoin=\"round\" stroke-linecap=\"round\"\u002F>\u003Cpolyline data-kind=\"wire\" points=\"520,60 520,100\" fill=\"none\" stroke=\"#2e2e2c\" stroke-width=\"2\" stroke-linejoin=\"round\" stroke-linecap=\"round\"\u002F>\u003Cpolyline data-kind=\"wire\" points=\"520,60 400,60 400,100\" fill=\"none\" stroke=\"#2e2e2c\" stroke-width=\"2\" stroke-linejoin=\"round\" stroke-linecap=\"round\"\u002F>\u003Cpolyline data-kind=\"wire\" points=\"520,60 640,60\" fill=\"none\" stroke=\"#2e2e2c\" stroke-width=\"2\" stroke-linejoin=\"round\" stroke-linecap=\"round\"\u002F>\u003Cpolyline data-kind=\"wire\" points=\"640,60 640,140\" fill=\"none\" stroke=\"#2e2e2c\" stroke-width=\"2\" stroke-linejoin=\"round\" stroke-linecap=\"round\"\u002F>\u003Cpolyline data-kind=\"wire\" points=\"640,60 720,60 720,140\" fill=\"none\" stroke=\"#2e2e2c\" stroke-width=\"2\" stroke-linejoin=\"round\" stroke-linecap=\"round\"\u002F>\u003Cpolyline data-kind=\"wire\" points=\"520,180 520,220\" fill=\"none\" stroke=\"#2e2e2c\" stroke-width=\"2\" stroke-linejoin=\"round\" stroke-linecap=\"round\"\u002F>\u003Cpolyline data-kind=\"wire\" points=\"400,180 400,220 520,220\" fill=\"none\" stroke=\"#2e2e2c\" stroke-width=\"2\" stroke-linejoin=\"round\" stroke-linecap=\"round\"\u002F>\u003Cpolyline data-kind=\"wire\" points=\"520,220 520,260\" fill=\"none\" stroke=\"#2e2e2c\" stroke-width=\"2\" stroke-linejoin=\"round\" stroke-linecap=\"round\"\u002F>\u003Cpolyline data-kind=\"wire\" points=\"240,420 240,440\" fill=\"none\" stroke=\"#2e2e2c\" stroke-width=\"2\" stroke-linejoin=\"round\" stroke-linecap=\"round\"\u002F>\u003Cpolyline data-kind=\"wire\" points=\"520,340 520,380\" fill=\"none\" stroke=\"#2e2e2c\" stroke-width=\"2\" stroke-linejoin=\"round\" stroke-linecap=\"round\"\u002F>\u003Cpolyline data-kind=\"wire\" points=\"520,380 520,420\" fill=\"none\" stroke=\"#2e2e2c\" stroke-width=\"2\" stroke-linejoin=\"round\" stroke-linecap=\"round\"\u002F>\u003Cpolyline data-kind=\"wire\" points=\"520,380 640,380\" fill=\"none\" stroke=\"#2e2e2c\" stroke-width=\"2\" stroke-linejoin=\"round\" stroke-linecap=\"round\"\u002F>\u003Cpolyline data-kind=\"wire\" points=\"640,220 640,380\" fill=\"none\" stroke=\"#2e2e2c\" stroke-width=\"2\" stroke-linejoin=\"round\" stroke-linecap=\"round\"\u002F>\u003Cpolyline data-kind=\"wire\" points=\"640,380 720,380 720,220\" fill=\"none\" stroke=\"#2e2e2c\" stroke-width=\"2\" stroke-linejoin=\"round\" stroke-linecap=\"round\"\u002F>\u003Cg class=\"comp-interactive\" data-refdes=\"P1\" id=\"elem-p1\" cursor=\"pointer\">\u003Cg transform=\"translate(80,280) rotate(0)\" fill=\"none\" stroke=\"#2e2e2c\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\u003Crect x=\"-4\" y=\"-4\" width=\"68\" height=\"48\" fill=\"transparent\" stroke=\"transparent\" pointer-events=\"all\"\u002F>\u003Cpolygon points=\"12,8 46,8 60,20 46,32 12,32\" fill=\"none\"\u002F>\u003C\u002Fg>\u003Ctext x=\"116\" y=\"336.4\" text-anchor=\"middle\" fill=\"#18181a\" stroke=\"none\" font-family=\"'Space Mono', 'SFMono-Regular', Consolas, 'Liberation Mono', monospace\" font-size=\"11\">MCU_GPIO\u003C\u002Ftext>\u003C\u002Fg>\u003Cg class=\"comp-interactive\" data-refdes=\"R1\" id=\"elem-r1\" cursor=\"pointer\">\u003Cg transform=\"translate(320,280) rotate(0)\" fill=\"none\" stroke=\"#2e2e2c\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\u003Crect x=\"-4\" y=\"-4\" width=\"88\" height=\"48\" fill=\"transparent\" stroke=\"transparent\" pointer-events=\"all\"\u002F>\u003Cline x1=\"0\" y1=\"20\" x2=\"20\" y2=\"20\" fill=\"none\"\u002F>\u003Crect x=\"20\" y=\"12\" width=\"40\" height=\"16\" fill=\"none\"\u002F>\u003Cline x1=\"60\" y1=\"20\" x2=\"80\" y2=\"20\" fill=\"none\"\u002F>\u003C\u002Fg>\u003Ctext x=\"360\" y=\"278.4\" text-anchor=\"middle\" fill=\"#18181a\" stroke=\"none\" font-family=\"'Space Mono', 'SFMono-Regular', Consolas, 'Liberation Mono', monospace\" font-size=\"11\">R1\u003C\u002Ftext>\u003Ctext x=\"360\" y=\"332.4\" text-anchor=\"middle\" fill=\"#18181a\" stroke=\"none\" font-family=\"'Space Mono', 'SFMono-Regular', Consolas, 'Liberation Mono', monospace\" font-size=\"11\">1kΩ\u003C\u002Ftext>\u003C\u002Fg>\u003Cg class=\"comp-interactive\" data-refdes=\"R2\" id=\"elem-r2\" cursor=\"pointer\">\u003Cg transform=\"translate(260,340) rotate(90)\" fill=\"none\" stroke=\"#2e2e2c\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\u003Crect x=\"-4\" y=\"-4\" width=\"88\" height=\"48\" fill=\"transparent\" stroke=\"transparent\" pointer-events=\"all\"\u002F>\u003Cline x1=\"0\" y1=\"20\" x2=\"20\" y2=\"20\" fill=\"none\"\u002F>\u003Crect x=\"20\" y=\"12\" width=\"40\" height=\"16\" fill=\"none\"\u002F>\u003Cline x1=\"60\" y1=\"20\" x2=\"80\" y2=\"20\" fill=\"none\"\u002F>\u003C\u002Fg>\u003Ctext x=\"258\" y=\"376.4\" text-anchor=\"start\" fill=\"#18181a\" stroke=\"none\" font-family=\"'Space Mono', 'SFMono-Regular', Consolas, 'Liberation Mono', monospace\" font-size=\"11\">R2\u003C\u002Ftext>\u003Ctext x=\"258\" y=\"394.4\" text-anchor=\"start\" fill=\"#18181a\" stroke=\"none\" font-family=\"'Space Mono', 'SFMono-Regular', Consolas, 'Liberation Mono', monospace\" font-size=\"11\">10kΩ\u003C\u002Ftext>\u003C\u002Fg>\u003Cg class=\"comp-interactive\" data-refdes=\"G1\" id=\"elem-g1\" cursor=\"pointer\">\u003Cg transform=\"translate(220,440) rotate(0)\" fill=\"none\" stroke=\"#2e2e2c\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\u003Crect x=\"-4\" y=\"-4\" width=\"48\" height=\"38\" fill=\"transparent\" stroke=\"transparent\" pointer-events=\"all\"\u002F>\u003Cline x1=\"20\" y1=\"0\" x2=\"20\" y2=\"10\" fill=\"none\"\u002F>\u003Cline x1=\"6\" y1=\"10\" x2=\"34\" y2=\"10\" fill=\"none\"\u002F>\u003Cline x1=\"10\" y1=\"16\" x2=\"30\" y2=\"16\" fill=\"none\"\u002F>\u003Cline x1=\"14\" y1=\"22\" x2=\"26\" y2=\"22\" fill=\"none\"\u002F>\u003C\u002Fg>\u003Ctext x=\"240\" y=\"486.4\" text-anchor=\"middle\" fill=\"#18181a\" stroke=\"none\" font-family=\"'Space Mono', 'SFMono-Regular', Consolas, 'Liberation Mono', monospace\" font-size=\"11\">GND\u003C\u002Ftext>\u003C\u002Fg>\u003Cg class=\"comp-interactive\" data-refdes=\"Q1\" id=\"elem-q1\" cursor=\"pointer\">\u003Cg transform=\"translate(440,260) rotate(0)\" fill=\"none\" stroke=\"#2e2e2c\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\u003Crect x=\"-4\" y=\"-4\" width=\"88\" height=\"88\" fill=\"transparent\" stroke=\"transparent\" pointer-events=\"all\"\u002F>\u003Cline x1=\"35\" y1=\"20\" x2=\"35\" y2=\"60\" fill=\"none\"\u002F>\u003Cline x1=\"0\" y1=\"40\" x2=\"35\" y2=\"40\" fill=\"none\"\u002F>\u003Cline x1=\"35\" y1=\"28\" x2=\"80\" y2=\"0\" fill=\"none\"\u002F>\u003Cline x1=\"35\" y1=\"52\" x2=\"80\" y2=\"80\" fill=\"none\"\u002F>\u003Cpolygon points=\"57.4,59.5 64.7,70.5 51.6,68.8\" fill=\"none\"\u002F>\u003C\u002Fg>\u003Ctext x=\"492\" y=\"246.4\" text-anchor=\"middle\" fill=\"#18181a\" stroke=\"none\" font-family=\"'Space Mono', 'SFMono-Regular', Consolas, 'Liberation Mono', monospace\" font-size=\"11\">Q1\u003C\u002Ftext>\u003Ctext x=\"492\" y=\"364.4\" text-anchor=\"middle\" fill=\"#18181a\" stroke=\"none\" font-family=\"'Space Mono', 'SFMono-Regular', Consolas, 'Liberation Mono', monospace\" font-size=\"11\">2N2222A\u003C\u002Ftext>\u003C\u002Fg>\u003Cg class=\"comp-interactive\" data-refdes=\"D1\" id=\"elem-d1\" cursor=\"pointer\">\u003Cg transform=\"translate(380,180) rotate(270)\" fill=\"none\" stroke=\"#2e2e2c\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\u003Crect x=\"-4\" y=\"-4\" width=\"88\" height=\"48\" fill=\"transparent\" stroke=\"transparent\" pointer-events=\"all\"\u002F>\u003Cline x1=\"0\" y1=\"20\" x2=\"25\" y2=\"20\" fill=\"none\"\u002F>\u003Cpolygon points=\"25,6 25,34 55,20\" fill=\"none\"\u002F>\u003Cline x1=\"58\" y1=\"6\" x2=\"58\" y2=\"34\" fill=\"none\"\u002F>\u003Cline x1=\"58\" y1=\"20\" x2=\"80\" y2=\"20\" fill=\"none\"\u002F>\u003C\u002Fg>\u003Ctext x=\"424\" y=\"134.9\" text-anchor=\"start\" fill=\"#18181a\" stroke=\"none\" font-family=\"'Space Mono', 'SFMono-Regular', Consolas, 'Liberation Mono', monospace\" font-size=\"11\">D1\u003C\u002Ftext>\u003Ctext x=\"424\" y=\"152.9\" text-anchor=\"start\" fill=\"#18181a\" stroke=\"none\" font-family=\"'Space Mono', 'SFMono-Regular', Consolas, 'Liberation Mono', monospace\" font-size=\"11\">1N4007\u003C\u002Ftext>\u003C\u002Fg>\u003Cg class=\"comp-interactive\" data-refdes=\"K1\" id=\"elem-k1\" cursor=\"pointer\">\u003Cg transform=\"translate(540,100) rotate(90)\" fill=\"none\" stroke=\"#2e2e2c\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\u003Crect x=\"-4\" y=\"-4\" width=\"88\" height=\"48\" fill=\"transparent\" stroke=\"transparent\" pointer-events=\"all\"\u002F>\u003Cline x1=\"0\" y1=\"20\" x2=\"20\" y2=\"20\" fill=\"none\"\u002F>\u003Cpath d=\"M 20 20 A 5 5 0 0 1 30 20\" fill=\"none\"\u002F>\u003Cpath d=\"M 30 20 A 5 5 0 0 1 40 20\" fill=\"none\"\u002F>\u003Cpath d=\"M 40 20 A 5 5 0 0 1 50 20\" fill=\"none\"\u002F>\u003Cpath d=\"M 50 20 A 5 5 0 0 1 60 20\" fill=\"none\"\u002F>\u003Cline x1=\"60\" y1=\"20\" x2=\"80\" y2=\"20\" fill=\"none\"\u002F>\u003C\u002Fg>\u003Ctext x=\"535\" y=\"136.4\" text-anchor=\"start\" fill=\"#18181a\" stroke=\"none\" font-family=\"'Space Mono', 'SFMono-Regular', Consolas, 'Liberation Mono', monospace\" font-size=\"11\">K1\u003C\u002Ftext>\u003Ctext x=\"535\" y=\"154.4\" text-anchor=\"start\" fill=\"#18181a\" stroke=\"none\" font-family=\"'Space Mono', 'SFMono-Regular', Consolas, 'Liberation Mono', monospace\" font-size=\"11\">12V Relay Coil\u003C\u002Ftext>\u003C\u002Fg>\u003Cg class=\"comp-interactive\" data-refdes=\"C1\" id=\"elem-c1\" cursor=\"pointer\">\u003Cg transform=\"translate(660,140) rotate(90)\" fill=\"none\" stroke=\"#2e2e2c\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\u003Crect x=\"-4\" y=\"-4\" width=\"88\" height=\"48\" fill=\"transparent\" stroke=\"transparent\" pointer-events=\"all\"\u002F>\u003Cline x1=\"0\" y1=\"20\" x2=\"32\" y2=\"20\" fill=\"none\"\u002F>\u003Cline x1=\"32\" y1=\"6\" x2=\"32\" y2=\"34\" fill=\"none\"\u002F>\u003Cline x1=\"48\" y1=\"6\" x2=\"48\" y2=\"34\" fill=\"none\"\u002F>\u003Cline x1=\"48\" y1=\"20\" x2=\"80\" y2=\"20\" fill=\"none\"\u002F>\u003C\u002Fg>\u003Ctext x=\"664\" y=\"176.4\" text-anchor=\"start\" fill=\"#18181a\" stroke=\"none\" font-family=\"'Space Mono', 'SFMono-Regular', Consolas, 'Liberation Mono', monospace\" font-size=\"11\">C1\u003C\u002Ftext>\u003Ctext x=\"664\" y=\"194.4\" text-anchor=\"start\" fill=\"#18181a\" stroke=\"none\" font-family=\"'Space Mono', 'SFMono-Regular', Consolas, 'Liberation Mono', monospace\" font-size=\"11\">100nF\u003C\u002Ftext>\u003C\u002Fg>\u003Cg class=\"comp-interactive\" data-refdes=\"C2\" id=\"elem-c2\" cursor=\"pointer\">\u003Cg transform=\"translate(740,140) rotate(90)\" fill=\"none\" stroke=\"#2e2e2c\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\u003Crect x=\"-4\" y=\"-4\" width=\"88\" height=\"48\" fill=\"transparent\" stroke=\"transparent\" pointer-events=\"all\"\u002F>\u003Cline x1=\"0\" y1=\"20\" x2=\"32\" y2=\"20\" fill=\"none\"\u002F>\u003Cline x1=\"32\" y1=\"6\" x2=\"32\" y2=\"34\" fill=\"none\"\u002F>\u003Cline x1=\"48\" y1=\"6\" x2=\"48\" y2=\"34\" fill=\"none\"\u002F>\u003Cline x1=\"48\" y1=\"20\" x2=\"80\" y2=\"20\" fill=\"none\"\u002F>\u003Ctext x=\"24\" y=\"12\" text-anchor=\"middle\" fill=\"#18181a\" stroke=\"none\" font-family=\"'Space Mono', 'SFMono-Regular', Consolas, 'Liberation Mono', monospace\" font-size=\"11\">+\u003C\u002Ftext>\u003C\u002Fg>\u003Ctext x=\"744\" y=\"172.4\" text-anchor=\"start\" fill=\"#18181a\" stroke=\"none\" font-family=\"'Space Mono', 'SFMono-Regular', Consolas, 'Liberation Mono', monospace\" font-size=\"11\">C2\u003C\u002Ftext>\u003Ctext x=\"744\" y=\"190.4\" text-anchor=\"start\" fill=\"#18181a\" stroke=\"none\" font-family=\"'Space Mono', 'SFMono-Regular', Consolas, 'Liberation Mono', monospace\" font-size=\"11\">47µF\u003C\u002Ftext>\u003C\u002Fg>\u003Cg class=\"comp-interactive\" data-refdes=\"P2\" id=\"elem-p2\" cursor=\"pointer\">\u003Cg transform=\"translate(500,0) rotate(0)\" fill=\"none\" stroke=\"#2e2e2c\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\u003Crect x=\"-4\" y=\"-4\" width=\"48\" height=\"48\" fill=\"transparent\" stroke=\"transparent\" pointer-events=\"all\"\u002F>\u003Cline x1=\"20\" y1=\"40\" x2=\"20\" y2=\"10\" fill=\"none\"\u002F>\u003Cline x1=\"8\" y1=\"10\" x2=\"32\" y2=\"10\" fill=\"none\"\u002F>\u003Ctext x=\"20\" y=\"0\" text-anchor=\"middle\" fill=\"#18181a\" stroke=\"none\" font-family=\"'Space Mono', 'SFMono-Regular', Consolas, 'Liberation Mono', monospace\" font-size=\"11\">VCC\u003C\u002Ftext>\u003C\u002Fg>\u003Ctext x=\"520\" y=\"-13.6\" text-anchor=\"middle\" fill=\"#18181a\" stroke=\"none\" font-family=\"'Space Mono', 'SFMono-Regular', Consolas, 'Liberation Mono', monospace\" font-size=\"11\">+12V\u003C\u002Ftext>\u003C\u002Fg>\u003Cg class=\"comp-interactive\" data-refdes=\"G2\" id=\"elem-g2\" cursor=\"pointer\">\u003Cg transform=\"translate(500,420) rotate(0)\" fill=\"none\" stroke=\"#2e2e2c\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\u003Crect x=\"-4\" y=\"-4\" width=\"48\" height=\"38\" fill=\"transparent\" stroke=\"transparent\" pointer-events=\"all\"\u002F>\u003Cline x1=\"20\" y1=\"0\" x2=\"20\" y2=\"10\" fill=\"none\"\u002F>\u003Cline x1=\"6\" y1=\"10\" x2=\"34\" y2=\"10\" fill=\"none\"\u002F>\u003Cline x1=\"10\" y1=\"16\" x2=\"30\" y2=\"16\" fill=\"none\"\u002F>\u003Cline x1=\"14\" y1=\"22\" x2=\"26\" y2=\"22\" fill=\"none\"\u002F>\u003C\u002Fg>\u003Ctext x=\"520\" y=\"466.4\" text-anchor=\"middle\" fill=\"#18181a\" stroke=\"none\" font-family=\"'Space Mono', 'SFMono-Regular', Consolas, 'Liberation Mono', monospace\" font-size=\"11\">GND\u003C\u002Ftext>\u003C\u002Fg>\u003Ccircle data-kind=\"junction\" cx=\"240\" cy=\"300\" r=\"4.5\" fill=\"#2e2e2c\" stroke=\"none\"\u002F>\u003Ccircle data-kind=\"junction\" cx=\"520\" cy=\"60\" r=\"4.5\" fill=\"#2e2e2c\" stroke=\"none\"\u002F>\u003Ccircle data-kind=\"junction\" cx=\"640\" cy=\"60\" r=\"4.5\" fill=\"#2e2e2c\" stroke=\"none\"\u002F>\u003Ccircle data-kind=\"junction\" cx=\"520\" cy=\"220\" r=\"4.5\" fill=\"#2e2e2c\" stroke=\"none\"\u002F>\u003Ccircle data-kind=\"junction\" cx=\"520\" cy=\"380\" r=\"4.5\" fill=\"#2e2e2c\" stroke=\"none\"\u002F>\u003Ccircle data-kind=\"junction\" cx=\"640\" cy=\"380\" r=\"4.5\" fill=\"#2e2e2c\" stroke=\"none\"\u002F>\u003C\u002Fsvg>","canonical",null,[662,679,690],{"slug":663,"cluster":20,"tier":21,"supplyVoltage":664,"voltageSpecification":669,"signalDomain":673,"breadboardFriendly":14,"title":674,"shortDescription":675,"bomCount":676,"formulaCount":677,"search":678},"irlz44n-logic-level-low-side-switch",[665,666,667,668],"3.3v","5v","12v","24v",{"kind":670,"value":671,"label":672},"supply","+12.0 V DC nominal (+5.0 V to +50.0 V operating range)","Load Supply Voltage (VLOAD)","mixed","IRLZ44N Logic-Level N-Channel MOSFET Low-Side DC Switch","Discrete 12V\u002F24V low-side DC switch circuit driving high-current inductive and resistive loads with an Infineon IRLZ44NPbF logic-level MOSFET from 3.3V or 5V MCU logic.",7,4,"irlz44n logic-level n-channel mosfet low-side dc switch\ndiscrete 12v\u002F24v low-side dc switch circuit driving high-current inductive and resistive loads with an infineon irlz44npbf logic-level mosfet from 3.3v or 5v mcu logic.\nirlz44n logic-level n-channel mosfet low-side dc switch\ndiscrete 12v\u002F24v low-side dc switch circuit driving high-current inductive and resistive loads with an infineon irlz44npbf logic-level mosfet from 3.3v or 5v mcu logic.\nirlz44n logic-level n-channel mosfet low-side dc switch\ndiscrete 12v\u002F24v low-side dc switch circuit driving high-current inductive and resistive loads with an infineon irlz44npbf logic-level mosfet from 3.3v or 5v mcu logic.\nmicrocontroller_interfaces\nn-channel logic-level power mosfet\nirlz44npbf\nq1\ngate series damping resistor 100 ω\n100ω\nr1\ngate pull-down resistor 10 kω\n10kω\nr2\ninductive flyback clamp diode\n1n4007\nd1\n12v brushed dc motor\n12v dc motor\nm1\nbulk power decoupling electrolytic capacitor 100 µf\n100µf\nc1\nhigh-frequency ceramic bypass capacitor 100 nf\n100nf\nc2",{"slug":680,"cluster":20,"tier":21,"supplyVoltage":681,"voltageSpecification":682,"signalDomain":685,"breadboardFriendly":14,"title":686,"shortDescription":687,"bomCount":688,"formulaCount":677,"search":689},"bss138-bidirectional-i2c-level-shifter",[665,666],{"kind":670,"value":683,"label":684},"+3.3 V DC nominal (+1.65 V to +3.6 V operating range)","Low-Voltage Supply (VDD1)","digital","BSS138 Bidirectional I2C 3.3V to 5V Level Shifter","Bidirectional I2C bus voltage level translator interfacing 3.3V and 5V logic domains using two onsemi BSS138 N-channel MOSFETs with pull-up resistors and decoupled supplies.",8,"bss138 bidirectional i2c 3.3v to 5v level shifter\nbidirectional i2c bus voltage level translator interfacing 3.3v and 5v logic domains using two onsemi bss138 n-channel mosfets with pull-up resistors and decoupled supplies.\nbss138 bidirectional i2c 3.3v to 5v level shifter\nbidirectional i2c bus voltage level translator interfacing 3.3v and 5v logic domains using two onsemi bss138 n-channel mosfets with pull-up resistors and decoupled supplies.\nbss138 bidirectional i2c 3.3v to 5v level shifter\nbidirectional i2c bus voltage level translator interfacing 3.3v and 5v logic domains using two onsemi bss138 n-channel mosfets with pull-up resistors and decoupled supplies.\nmicrocontroller_interfaces\nn-channel logic-level mosfet\nbss138\nq1\nn-channel logic-level mosfet\nbss138\nq2\nsmd chip resistor\n10kω\nr1\nsmd chip resistor\n10kω\nr2\nsmd chip resistor\n10kω\nr3\nsmd chip resistor\n10kω\nr4\nmultilayer ceramic capacitor\n100nf\nc1\nmultilayer ceramic capacitor\n100nf\nc2",{"slug":691,"cluster":20,"tier":21,"supplyVoltage":692,"voltageSpecification":693,"signalDomain":685,"breadboardFriendly":14,"title":697,"shortDescription":698,"bomCount":688,"formulaCount":699,"search":700},"esp32-auto-reset-flashing-circuit",[665],{"kind":694,"value":695,"label":696},"logic","3.3 V (VDD33 on the DevKitC V4)","Operating Logic Level","ESP32 Auto-Reset & Boot Flashing Circuit","Dual-transistor auto-download circuit driving ESP32 EN and IO0 boot strapping pins via USB-to-UART DTR and RTS lines.",3,"esp32 auto-reset and boot circuit (dtr\u002Frts)\nthe two-transistor circuit from espressif development boards that lets esptool, arduino ide and platformio reset an esp32 and start its serial bootloader through the dtr and rts lines of a usb-to-uart bridge, with no buttons pressed.\nesp32 auto-reset & boot flashing circuit\ndual-transistor auto-download circuit driving esp32 en and io0 boot strapping pins via usb-to-uart dtr and rts lines.\nesp32 auto-reset and boot circuit (dtr\u002Frts)\nthe two-transistor circuit from espressif development boards that lets esptool, arduino ide and platformio reset an esp32 and start its serial bootloader through the dtr and rts lines of a usb-to-uart bridge, with no buttons pressed.\nmicrocontroller_interfaces\nnpn small-signal transistor\n2n3904\nq1\nnpn small-signal transistor\n2n3904\nq2\nresistor\n10kω\nr1\nresistor\n10kω\nr2\nresistor\n10kω\nr3\nceramic capacitor\n1µf\nc1\ntactile switch\nboot\nsw1\ntactile switch\nen\nsw2",1793836428496]