Electronics Fundamentals
⚡ Ohm's Law
The fundamental relationship between voltage, current, and resistance in electrical circuits.
Voltage = Current × Resistance
Interactive Demo:
🔋 Voltage & Current
Understanding the flow of electricity and electrical potential difference.
Voltage (V): Electric potential difference - the "pressure" that pushes current through a circuit
Current (I): Flow of electric charge - measured in Amperes (A)
Power (P): P = V × I (Watts)
🔌 Circuit Types
Series vs Parallel circuits and their characteristics.
Series Circuit
Components in a line
Same current everywhere
Voltages add up
Parallel Circuit
Components side by side
Same voltage across each
Currents add up
⚡ Electrical Safety
Essential safety practices when working with electronics.
⚠️ Safety Rules:
- Always disconnect power before making connections
- Check polarity on batteries and components
- Never exceed component voltage/current ratings
- Use proper tools and work in a clean environment
- Double-check connections before powering on
Resistor Color Code Calculator
🎨 Interactive Resistor Calculator
Select colors to calculate resistance values and learn the color coding system.
💡 Memory Tip: "Big Boys Race Our Young Girls But Violet Generally Wins"
Black, Brown, Red, Orange, Yellow, Green, Blue, Violet, Gray, White (0-9)
Arduino Programming Guide
🤖 Arduino Basics
Arduino Uno has 14 digital pins, 6 analog inputs, and operates at 5V. Perfect for learning electronics!
💡 Blink LED Program
The "Hello World" of Arduino programming.
📊 Serial Communication
Communicate with your computer for debugging and data logging.
Sensor: 512
Sensor: 498
Sensor: 523
🎛️ Analog vs Digital
Understanding the difference between analog and digital signals.
Digital Pins (0-13)
- HIGH (5V) or LOW (0V)
- digitalWrite() & digitalRead()
- Perfect for LEDs, buttons
Analog Pins (A0-A5)
- 0-5V range (0-1023 values)
- analogRead() & analogWrite()
- Great for sensors
Arduino Projects
🚦 Traffic Light System
Create a realistic traffic light sequence using LEDs.
🌡️ Temperature Monitor
Read temperature from a sensor and display on serial monitor.
Temperature: 23.7°C
Temperature: 23.4°C
🔊 Buzzer Alarm System
Create sound alerts with a piezo buzzer and button input.
💡 PWM Dimmer
Control LED brightness using Pulse Width Modulation.
Quick Reference Guide
📋 Arduino Functions
Digital I/O
pinMode(pin, mode)digitalWrite(pin, value)digitalRead(pin)
Analog I/O
analogRead(pin)analogWrite(pin, value)analogReference(type)
Time & Serial
delay(ms)- Pause executionmillis()- Get current timeSerial.begin(baud)- Start serialSerial.println(data)- Print data
🔧 Component Values
Common Resistor Values (Ω)
220, 330, 470, 1K, 2.2K, 4.7K, 10K, 22K, 47K, 100K
LED Forward Voltages
Red: 1.8-2.2V | Green: 2.0-2.4V | Blue: 3.0-3.4V | White: 3.0-3.6V
Standard Capacitor Values (μF)
0.1, 1, 10, 22, 47, 100, 220, 470, 1000
⚡ Voltage Levels
Arduino Uno Specifications
- Operating Voltage: 5V
- Input Voltage: 7-12V (recommended)
- Digital Pin Current: 20mA max
- Analog Resolution: 10-bit (0-1023)
- Clock Speed: 16 MHz
- Flash Memory: 32KB
🐛 Troubleshooting Tips
Common Issues & Solutions
- Code won't upload: Check COM port & board selection
- LED not lighting: Check polarity & current limiting resistor
- Sensor readings erratic: Add pull-up resistors or capacitors
- Serial monitor blank: Check baud rate matches code
- Breadboard issues: Check power rails & loose connections
Sensors & Components
Temperature Sensors
LM35, DHT22, DS18B20
Measure ambient temperatureLight Sensors
LDR, Photodiode, TSL2561
Detect light intensitySound Sensors
Microphone, Sound detector
Detect sound levelsDistance Sensors
HC-SR04, Sharp IR
Measure distance to objectsMotion Sensors
PIR, Accelerometer, Gyro
Detect movement & orientationPressure Sensors
BMP180, BMP280
Measure atmospheric pressure📏 Ultrasonic Distance Sensor
HC-SR04 sensor for measuring distances up to 4 meters.
Distance: 23 cm
Distance: 28 cm
🌡️ DHT22 Temperature & Humidity
Digital sensor for temperature and humidity readings.
Humidity: 64% Temperature: 22.7°C
💡 Light Dependent Resistor (LDR)
Simple analog sensor that changes resistance with light levels.