TheSolderBenchnotes from my electronics bench

Bench log

Electronics and robotics, worked out one circuit at a time: Arduino, sensors, motors, batteries and complete builds, with the diagrams and code for each.

Arduino Bike Speedometer with a Hall Sensor and OLED

Build a bicycle speedometer and odometer with an A3144 Hall sensor, a spoke magnet and a 0.96 inch OLED. Measuring the wheel circumference, interrupt-based timing, speed, distance and max speed, and mounting it on a real bike.

→ measure the wheel, don't guess it

Mecanum Wheels Explained: How Robots Drive Sideways

How mecanum wheels let a four-wheeled robot move sideways and diagonally, how to mount the left and right wheels correctly, the simple mixing equations for forward, sideways and rotation, and Arduino code for two motor drivers.

→ from above, the rollers form an X

How to Identify Stepper Motor Wires (4, 5, 6 and 8 Wires)

Find the coil pairs of any stepper motor with a multimeter or the shaft-turning trick, understand 4-wire bipolar, 5- and 6-wire unipolar and 8-wire motors, and connect each type to a driver like the A4988 the right way.

→ same coil = a few ohms, different coils = open

ACS712 Current Sensor with Arduino: Measuring DC Current Safely

How the Hall-effect ACS712 current sensor module works, the difference between the 5 A, 20 A and 30 A versions, how to wire it in series with a load, and Arduino code with zero calibration and averaging for stable readings.

→ zero it with no current flowing

4x4 Keypad with Arduino: Wiring, Scanning and a PIN Code Lock

How a 4x4 matrix membrane keypad works, how to wire its 8 pins, how to scan it yourself without a library (and safely), how to debounce key presses, and a complete PIN code lock with lockout after wrong attempts.

→ 16 keys, only 8 wires

AC vs DC Explained: What's the Difference and Why It Matters

The difference between alternating and direct current, why the grid uses AC and electronics use DC, what RMS and peak voltage mean, how a power adapter converts one into the other, and how to measure both safely.

→ 230 V AC peaks at about 325 V

Arduino Radar: Sweep an HC-SR04 with a Servo and Show It on an OLED

Build a mini sonar radar with an SG90 servo, an HC-SR04 ultrasonic sensor and a 0.96 inch SSD1306 OLED. Wiring, the full sketch that draws range rings, a sweep line and detected objects, and how the polar-to-screen math works.

→ angle + distance → x, y on the screen