Electronics & Circuits · Study deck
Semiconductors: Fabrication and Switching Devices
An integrated circuit puts many components on one chip.
Voltage Vera is your guide for this deck.
After studying this chapter
Learning objectives
You will be able to:
- Outline the main stages of integrated-circuit fabrication.
- Compare MOSFET and BJT switching limits and losses.
- Explain: The second option is an integrated circuit (IC), and the printing process is a direct extension of the doping this chapter just covered.
- Explain: The Misconception: Many beginners assume any MOSFET can be driven directly from microcontroller GPIO pins (3.3V or 5V), leading to circuits that "sort of work" but run hot, waste power, and fail prematurely.

Major section
How ICs Are Actually Made
The second option is an integrated circuit (IC), and the printing process is a direct extension of the doping this chapter just covered.
- Lithography -- the circuit design is drawn onto a photomask, then projected through it onto a photoresist-coated silicon wafer, exposing the pattern in UV light.
- Etching -- the exposed pattern is "carved" into the wafer, opening windows down to the silicon where each component will form.
- Deposition -- dopants and metal are deposited into those windows, forming the p-type and n-type regions for diodes and transistors and the metal traces that wire them together.
Major section
GPIO Voltage MOSFET Limits
The Misconception: Many beginners assume any MOSFET can be driven directly from microcontroller GPIO pins (3.3V or 5V), leading to circuits that "sort of work" but run hot, waste power, and fail prematurely.
- The Reality with Real Numbers: Standard MOSFETs require Vgs = 10-12V to fully turn ON and achieve their datasheet specifications.
- Component damage: excess junction temperature can shorten service life; compare the selected MOSFET’s thermal and reliability limits with the operating profile.
- Debugging time: checking RDS(on) at the actual gate voltage early can avoid chasing a hot-switch fault later.
Major section
For Kids: Meet the Sensor Squad!
the microcontroller smiled. "Don't worry -- we have a special protector called a DIODE.
- Electricity can flow through in one direction, but if it tries to go backwards, the door slams shut!".
- "How does that work?" asked the LED.
- One side has extra electrons, the other side has holes where electrons are missing.
- "Wait," said Lila, "my name has LED in it -- Light Emitting Diode!
Major section
Flyback Diode for 12V Relay
Scenario: You are building an ESP32-controlled smart home hub that switches a 12V electromagnetic relay (coil: 120mA, inductance: 150mH).
- The relay controls a 120V AC lamp.
- Step 1: Calculate the inductive voltage spike (worst case): When the relay coil current is cut, the inductor generates: V = -L × (di/dt).

Major section
Flyback Diode for 12V Relay (continued)
Step 2: Select diode voltage rating: The flyback diode must withstand at least the supply voltage in reverse bias: V_reverse > 12V.
- Worst-case scenario: transistor switches off in 100ns (modern MOSFETs are fast!).
- All three diodes exceed this (300mA to 1A rating).
- Average power is negligible for low-frequency relay switching.
Major section
Flyback Diode for 12V Relay (continued)
V_spike = -(150 × 10⁻³ H) × (0.12A / 100 × 10⁻⁹ s) = -180,000V: Without protection, this idealized spike would instantly destroy the transistor (rated for 60V max).
- In a real circuit, parasitic capacitance and arcing limit the spike to hundreds of volts rather than 180kV — still far beyond the transistor's rating, which is why the diode is non-negotiable.
- Step 4: Check reverse recovery time: When the relay switches ON again, the diode must stop conducting quickly to avoid shorting the power supply.
- For a relay switching at <1 Hz, even the slow 1N4007 is adequate.
Deck summary
Key takeaways
The second option is an integrated circuit (IC), and the printing process is a direct extension of the doping this chapter just covered.
- The Misconception: Many beginners assume any MOSFET can be driven directly from microcontroller GPIO pins (3.3V or 5V), leading to circuits that "sort of work" but run hot, waste power, and fail prematurely.
- the microcontroller smiled. "Don't worry -- we have a special protector called a DIODE.
- Scenario: You are building an ESP32-controlled smart home hub that switches a 12V electromagnetic relay (coil: 120mA, inductance: 150mH).
Retrieval practice
Recall check 1 of 6

Voltage Vera says: answer from memory, then check your reasoning.
Q1You're reverse-engineering a commercial IoT smart plug. The teardown reveals the main switching device is a triac, not a MOSFET. The product switches 120V AC mains at 15A. Why use a triac?
Show answer
Answer: D A triac conducts in both directions when triggered, making it useful for AC load switching.
Retrieval practice
Recall check 2 of 6

Voltage Vera says: answer from memory, then check your reasoning.
Q2A 2N2222 switching design assumes a typical current gain β = 100 exactly, but measured devices range from β = 75 to 250. What design risk must be checked?
Show answer
Answer: A Measured β from 75 to 250 shows that a typical value is not a guaranteed switching value.
Retrieval practice
Recall check 3 of 6

Voltage Vera says: answer from memory, then check your reasoning.
Q3A red LED is connected directly between a 3.3 V ESP32 GPIO output and ground, with no series current-limiting resistor. What is the electrical risk?
Show answer
Answer: B see answers page
Retrieval practice
Recall check 4 of 6

Voltage Vera says: answer from memory, then check your reasoning.
Q4A 12 V, 500 mA solenoid is switched by a logic-level N-channel MOSFET from a 3.3 V ESP32 GPIO. During an ON command the gate measures 3.3 V to ground, but the source measures 1.5 V above ground through an unintended resistive return path; Vds measures 2 V. Which terminal connection should be corrected for low-side switching?
Show answer
Answer: B see answers page
Retrieval practice
Recall check 5 of 6

Voltage Vera says: answer from memory, then check your reasoning.
Q5An H-bridge motor works in both directions, but supply current spikes on direction changes. A scope shows high-side and low-side MOSFETs in the same bridge leg conducting together during each spike, even with the motor disconnected. What fault does this identify?
Show answer
Answer: A The scope establishes shoot-through during transitions: both MOSFETs in one bridge leg conduct at once, causing a supply-current spike without the motor.
Retrieval practice
Recall check 6 of 6

Voltage Vera says: answer from memory, then check your reasoning.
Q6What gate-controlled channel switches load current in the circuit?
Show answer
Answer: D Its gate field controls a channel that can switch the load current.
Print reference
Answers 1 of 4
Answer key.
- D · A triac conducts in both directions when triggered, making it useful for AC load switching.
- A · Measured β from 75 to 250 shows that a typical value is not a guaranteed switching value.
Print reference
Answers 2 of 4
Answer key.
- B · A 3.3 V output can forward-bias a red LED. With no series current-limiting element, current depends on the LED I-V curve and the GPIO output characteristics; it is not established that the parts immediately fail, but damage is a real risk. Size a resistor from the supply, expected LED forward voltage and target current, and check the GPIO current rating.
Print reference
Answers 3 of 4
Answer key.
- B · The source’s measured 1.5 V rise reduces actual Vgs to 1.8 V even though the GPIO reads 3.3 V to ground. A resistive source return therefore can leave the MOSFET inadequately enhanced and raise Vds. Correct the low-side source-to-ground path, then confirm on-resistance at the actual gate drive and fit the required solenoid flyback protection. A source tied to 12 V would not explain the given partial-on measurements.
Print reference
Answers 4 of 4
Answer key.
- A · The scope establishes shoot-through during transitions: both MOSFETs in one bridge leg conduct at once, causing a supply-current spike without the motor.
- D · Its gate field controls a channel that can switch the load current.