AI

Electronic components are the building blocks of any electronic circuit. Below is a structured overview of common electronic parts, their symbols, and their primary functions.
---
## 1. Passive Components
These components do not require an external power source to function and cannot amplify a signal.
| Component | Symbol | Function |
| :--- | :---: | :--- |
| **Resistor** | R | Limits the flow of electric current and drops voltage. |
| **Capacitor** | C | Stores energy in an electric field; filters noise and stabilizes voltage. |
| **Inductor** | L | Stores energy in a magnetic field; resists changes in current. |
| **Potentiometer** | RV | A variable resistor used for adjusting volume or brightness. |
---
## 2. Active Components
These components rely on a source of power and can inject power into a circuit, often used for amplification or switching.
### Key Active Devices
* **Diode:** Allows current to flow in only one direction. Used for rectification (converting AC to DC).
* **Transistor (BJT/MOSFET):** Acts as a switch or an amplifier. It is the fundamental building block of modern processors.
* **Integrated Circuit (IC):** A complex circuit miniaturized onto a single silicon chip (e.g., microcontrollers, timers).
---
## 3. Electromechanical & Sensors
These parts interface the electronic circuit with the physical world.
1. **Relay:** An electrically operated switch that allows a low-power circuit to control a high-power circuit.
2. **LED (Light Emitting Diode):** Converts electrical energy into light.
3. **Sensors:** Devices like LDRs (Light Dependent Resistors) or Thermistors that change resistance based on environmental factors.
---
## 4. Basic Example Circuit (Python Simulation Logic)
If you were to simulate a simple LED circuit behavior, the code logic might look like this:
```python
def calculate_resistor(v_source, v_led, current_ma):
# Ohm's Law: R = (V_source - V_forward) / I
current_a = current_ma / 1000
resistance = (v_source - v_led) / current_a
return resistance
# Example: 9V battery, 2V LED, 20mA target
print(f"Required Resistance: {calculate_resistor(9, 2, 20)} Ohms")
```
---
- ⤷What is the difference between an NPN and a PNP transistor?
- ⤷ How do I read the color codes on a resistor?
- ⤷ What are the most common types of capacitors?