Electronics Blog

Latest insights, tutorials, and news from the world of electronics

All Posts

Voltage Dividers for Sensors and ADCs: A Practical Guide
Tutorials

Voltage Dividers for Sensors and ADCs: A Practical Guide

Two resistors turn a voltage into a smaller one. Learn the voltage divider formula, how to read an LDR or potentiometer, how to measure a LiPo battery with an ESP32, and the loading mistake that makes dividers give wrong readings.

ElectroPhobia Team
9 min read
10/23/2026
Read
#voltage divider#ADC#LDR
Using a Transistor as a Switch: Drive Relays, Motors and LED Strips from a Microcontroller
Tutorials

Using a Transistor as a Switch: Drive Relays, Motors and LED Strips from a Microcontroller

A microcontroller pin can light an LED, but not a relay, motor or LED strip. Learn how to switch bigger loads with an NPN transistor or a logic-level MOSFET, how to calculate the base resistor, and why the flyback diode is not optional.

ElectroPhobia Team
10 min read
10/23/2026
Read
#transistor switch#NPN#MOSFET
How to Read Resistor Color Codes: 4, 5 and 6-Band Resistors Explained
Tutorials

How to Read Resistor Color Codes: 4, 5 and 6-Band Resistors Explained

Resistors don't print their value — they wear coloured bands. Learn to read 4, 5 and 6-band resistors, which end to start from, what tolerance means, and why the values you can buy are 4.7k and 2.2k instead of round numbers.

ElectroPhobia Team
8 min read
10/23/2026
Read
#resistor color code#resistors#electronics basics
Pull-Up and Pull-Down Resistors Explained (with Button Debouncing)
Tutorials

Pull-Up and Pull-Down Resistors Explained (with Button Debouncing)

Why does your button read random values when nobody's touching it? Learn what a floating input is, how pull-up and pull-down resistors fix it, when the microcontroller's internal pull-up is enough, and how to debounce a button.

ElectroPhobia Team
8 min read
10/23/2026
Read
#pull-up resistor#pull-down resistor#INPUT_PULLUP
Ohm's Law Made Simple: V = I × R, Power, and Why Resistors Burn
Tutorials

Ohm's Law Made Simple: V = I × R, Power, and Why Resistors Burn

Voltage, current and resistance are linked by one equation. Learn Ohm's law with real circuit examples, the power formula that tells you which resistor wattage to buy, and the mistakes that make components smoke.

ElectroPhobia Team
8 min read
10/23/2026
Read
#ohms law#voltage#current
How Our MicroMouse Solves a Line Maze: LSRB, Path Simplification and PD Control
Project Guides

How Our MicroMouse Solves a Line Maze: LSRB, Path Simplification and PD Control

A look inside the Meshmerize MicroMouse built by the Robotics Club, WRC: how it explores a line maze with the left-hand rule, shrinks its recorded path to the shortest route, and follows the line with a tuned PD controller.

ElectroPhobia Team
12 min read
10/23/2026
Read
#MicroMouse#maze solving#LSRB algorithm
How Lithium Batteries Charge: CC/CV, the TP4056 Module and Protection Circuits
Tutorials

How Lithium Batteries Charge: CC/CV, the TP4056 Module and Protection Circuits

Every LiPo and 18650 in your projects charges the same way: constant current, then constant voltage. Learn what the TP4056 module actually does, how to set its charge current safely for small batteries, and what the protection chip on the back is for.

ElectroPhobia Team
10 min read
10/23/2026
Read
#Li-ion charging#LiPo#CC CV
How to Choose an LED Resistor (and Why Your LED Needs One)
Tutorials

How to Choose an LED Resistor (and Why Your LED Needs One)

An LED without a resistor is a short circuit with a light on it. Learn the one formula for sizing an LED resistor, typical forward voltages by colour, safe pin currents for Arduino and ESP32, and how to wire several LEDs correctly.

ElectroPhobia Team
8 min read
10/23/2026
Read
#LED resistor#current limiting resistor#Arduino
KiCad PCB Design Checklist: 15 Checks Before You Send Gerbers to the Fab
Project Guides

KiCad PCB Design Checklist: 15 Checks Before You Send Gerbers to the Fab

A PCB mistake costs you a week and a new order. This is the checklist we use at ElectroPhobia workshops before ordering a board or etching one in-house: schematic, footprints, layout, design rules and Gerber export in KiCad.

ElectroPhobia Team
10 min read
10/23/2026
Read
#KiCad#PCB design#Gerber files
I²C vs SPI vs UART: Which Protocol Should Your Project Use?
Tutorials

I²C vs SPI vs UART: Which Protocol Should Your Project Use?

Sensors, displays and modules talk to your microcontroller over UART, I²C or SPI. Learn how each one works, how many wires it needs, how fast it is, and how to debug the most common problems — with examples from real ESP32 projects.

ElectroPhobia Team
10 min read
10/23/2026
Read
#I2C#SPI#UART
How to Use a Multimeter: Voltage, Current, Resistance and Continuity
Tutorials

How to Use a Multimeter: Voltage, Current, Resistance and Continuity

A multimeter is the first tool to buy and the one you'll use most. Learn how to measure voltage, current and resistance, use continuity mode to debug a PCB, and avoid the mistake that blows the meter's fuse.

ElectroPhobia Team
9 min read
10/23/2026
Read
#multimeter#measuring voltage#measuring current
HC-SR04 Ultrasonic Sensor: How It Works and How to Get Reliable Readings
Tutorials

HC-SR04 Ultrasonic Sensor: How It Works and How to Get Reliable Readings

The HC-SR04 measures distance with sound. Learn how the trigger and echo pins work, why the formula divides by 58, how to wire it safely to a 3.3 V ESP32, and how to fix the random zeros and spikes that make readings jumpy.

ElectroPhobia Team
9 min read
10/23/2026
Read
#HC-SR04#ultrasonic sensor#distance sensor
Building Flappy Bird on an ESP32 with an SSD1306 OLED
Project Guides

Building Flappy Bird on an ESP32 with an SSD1306 OLED

A complete walkthrough of our Flappy Bird clone on an ESP32 and a 128×64 OLED: the hardware, a fixed-timestep game loop, gravity in two lines of code, collision detection, and what we'd improve in version two.

ElectroPhobia Team
11 min read
10/23/2026
Read
#ESP32#SSD1306#OLED
Build a Line-Following Robot: From Two IR Sensors to PID Control
Project Guides

Build a Line-Following Robot: From Two IR Sensors to PID Control

The line follower is the classic first robot. Build it in two stages: a simple two-sensor version that works in an afternoon, then an 8-sensor PID version that's smooth and fast — with a step-by-step method for tuning the gains.

ElectroPhobia Team
11 min read
10/23/2026
Read
#line follower robot#IR sensor#PID control
PCB Fabricaiton Pre-Event WorkFlow
Tutorials

PCB Fabricaiton Pre-Event WorkFlow

A 4-day hands-on pre-event workshop for Vector 3.0 covering PCB design using KiCad, Gerber file generation, in-house fabrication, etching, and soldering with industry mentors from Yarsa Tech.

Robotics Club WRC
1/31/2026
Read
#555 timer ic#pcb design#fabricaitons
KiCad PCB Design & Fabrication: Vector3.0 Pre-Event
Tutorials

KiCad PCB Design & Fabrication: Vector3.0 Pre-Event

Vector 3.0 Pre-Event

ElectroPhobia Team
1/25/2026
Read
#PCB#Ki-Cad#PCB Fabrications
In-House PCB Fabrication: From Design to Etching
Tutorials

In-House PCB Fabrication: From Design to Etching

Learn how to create PCBs in-house using UV photolithography, chemical etching, and fabrication

ElectroPhobia Team
1/25/2026
Read
#PCB Fabrications#Etching