Leobot Guides, Tutorials & Projects

Showing 1–24 of 110
Reed Sensor Module (MagSwitch) Tutorial: How Reed Switches Work, NO/NC Behavior, Arduino/ESP32 Wiring, Debounce, Door/Window Alarms, RPM Sensing, and Reliable Magnet Placement</h1>
Reed Sensor Module (MagSwitch) Tutorial: How Reed Switches Work, NO/NC Behavior, Arduino/ESP32 Wiring, Debounce, Door/Window Alarms, RPM Sensing, and Reliable Magnet Placement</h1>
Tutorial Beginner
Arduino ESP32 Sensors

This tutorial is a detailed, practical guide to using the Reed Sensor Module (MagSwitch) (Leobot Product #202) for magnetic detection: door/window state sensing, limit switches, proximity triggers, and simple RPM/tachometer inputs. You’ll learn what a reed switch actually is (a tiny sealed glass switch), how the module is typically wired (digital output + indicator LED), how to read it reliably on Arduino/ESP32 (including debounce and noise filtering), and how to mount magnets correctly so you get a stable, repeatable trigger every time.

USB Power Bank Module Tutorial: Building a DIY Power Bank, 18650 Battery Basics, Charging & Boost Conversion, Protection (BMS), Load Sharing, and Arduino/ESP32 Powering
USB Power Bank Module Tutorial: Building a DIY Power Bank, 18650 Battery Basics, Charging & Boost Conversion, Protection (BMS), Load Sharing, and Arduino/ESP32 Powering
Tutorial Beginner
Arduino ESP32 Power

This tutorial is a detailed, practical guide to using the USB Power Bank Module</strong> (Leobot Product #12659) to build a DIY rechargeable USB power source. You’ll learn how power bank modules typically work internally (battery charging + protection + 5V boost), how to connect an 18650 cell safely, what to expect from capacity claims, how to power Arduino/ESP32 projects reliably, and the real-world pitfalls: undervoltage cutoffs, inrush resets, “why it turns off at low load”, pass-through charging limits, and how to choose the right battery and wiring for stable output.

1-Channel Solid State Relay (SSR) High-Level Trigger Tutorial: AC/DC Switching, Wiring Safety, Arduino/ESP32 Control, Zero-Cross vs Random-Turn-On, and Real-World Load Examples
1-Channel Solid State Relay (SSR) High-Level Trigger Tutorial: AC/DC Switching, Wiring Safety, Arduino/ESP32 Control, Zero-Cross vs Random-Turn-On, and Real-World Load Examples
Tutorial Beginner
Arduino ESP32 Relays Power

This tutorial is a detailed, practical guide to using the 1-Channel Solid State Relay (SSR) High Level Trigger (Leobot Product #1659) to switch higher-power loads from a microcontroller safely. You’ll learn what an SSR actually is (optically isolated semiconductor switching), how it differs from a mechanical relay, how to wire it correctly for common use cases (especially AC mains), what “high-level trigger” means in practice, and how to avoid classic SSR mistakes like wrong load type, overheating, leakage current surprises, and unsafe mains wiring.

CP2102 USB-to-TTL UART (5-Pin) Tutorial: Correct Wiring, 3.3V vs 5V Logic, Arduino/ESP32 Serial Debugging, Flashing ESP Boards, and Fixing Common Errors
CP2102 USB-to-TTL UART (5-Pin) Tutorial: Correct Wiring, 3.3V vs 5V Logic, Arduino/ESP32 Serial Debugging, Flashing ESP Boards, and Fixing Common Errors
Tutorial Beginner
Arduino ESP32 ESP8266 Sensors Power

This tutorial is a detailed, practical guide to using the Aluminium Shell USB 2.0 to TTL UART 5PIN Module Serial Converter (CP2102) (Leobot Product #4209) to connect your PC to microcontrollers over serial. You’ll learn what “USB-to-TTL UART” actually means (and what it does not do), correct TX/RX wiring (it’s easy to swap), how to choose 3.3V vs 5V logic safely, how to power targets (when allowed), and real workflows: Arduino serial monitor, ESP32/ESP8266 flashing, sensor debugging, boot logs, and serial terminals.

ENC28J60 Ethernet Module (25MHz) Tutorial: SPI Wiring, Arduino/ESP32 Setup, Static IP vs DHCP, Web Server & MQTT Projects, and Real-World Reliability Tips
ENC28J60 Ethernet Module (25MHz) Tutorial: SPI Wiring, Arduino/ESP32 Setup, Static IP vs DHCP, Web Server & MQTT Projects, and Real-World Reliability Tips
Tutorial Beginner
Arduino ESP32 Sensors SPI

This tutorial is a detailed, practical guide to using the ENC28J60 LAN/Ethernet Network Module (25MHz) (Leobot Product #1657) to add wired Ethernet networking to microcontroller projects. You’ll learn how ENC28J60 differs from W5500/W5100 boards, correct SPI wiring (including 3.3V logic), how to bring up networking with popular Arduino libraries, how to choose DHCP vs static IP, and how to build practical applications like a simple web server, sensor data logger, and MQTT client.

5mm 4-Pin RGB LED (Common Anode) Tutorial: Pinout, Resistor Sizing, Arduino/ESP32 Wiring, PWM Color Mixing, and Practical Projects
5mm 4-Pin RGB LED (Common Anode) Tutorial: Pinout, Resistor Sizing, Arduino/ESP32 Wiring, PWM Color Mixing, and Practical Projects
Tutorial Beginner
Arduino ESP32 Power

This tutorial is a detailed, practical guide to using the 5mm 4-Pin RGB Tri-color LED (Common Anode) (Leobot Product #121) for color indicators, status lights, mood lighting, and DIY UI feedback. You’ll learn the exact wiring logic for common anode (it’s inverted compared to common cathode), how to choose current-limiting resistors safely, how to drive it from Arduino/ESP32 using PWM to mix colors, and when you must use transistor/MOSFET drivers for higher brightness or multiple LEDs.

BPW34 Photodiode Tutorial: Fast Light Sensing, Transimpedance Amplifiers (TIA), Arduino/ESP32 Interfaces, Ambient-Light Rejection, and Precision Optical Projects
BPW34 Photodiode Tutorial: Fast Light Sensing, Transimpedance Amplifiers (TIA), Arduino/ESP32 Interfaces, Ambient-Light Rejection, and Precision Optical Projects
Tutorial Beginner
Arduino ESP32 Power

This tutorial is a detailed, practical guide to using the BPW34 photodiode (Leobot Product #2798) for fast and accurate light/IR measurement. You’ll learn what makes BPW34 popular (speed + predictable behavior), how to read it the right way (photocurrent → voltage), when to use a simple resistor vs a proper <strong>transimpedance amplifier</strong>, how to reject ambient light with modulation, and how to build practical projects like beam-break sensors, optical tachometers, reflective sensors, and simple optical data links.

5mm Infrared Receiver Photodiode Tutorial: How IR Photodiodes Work, Biasing & Amplifiers, Arduino/ESP32 Reading, Noise Rejection, and Practical IR Projects
5mm Infrared Receiver Photodiode Tutorial: How IR Photodiodes Work, Biasing & Amplifiers, Arduino/ESP32 Reading, Noise Rejection, and Practical IR Projects
Tutorial Beginner
Arduino ESP32 Power

This tutorial is a detailed, practical guide to using the 5mm Infrared Receiver Photodiode (Leobot Product #2900) to detect infrared light for beam-break sensors, reflective sensing, optical communication, and IR beacon tracking. You’ll learn what a photodiode actually outputs (it generates a tiny current), how to read it with simple resistor circuits or a proper transimpedance amplifier (TIA), how to reduce noise and ambient light interference, and how to build robust Arduino/ESP32 firmware for thresholding, modulation detection, and fault detection.

3W Infrared (IR) LED Tutorial: Wavelength Basics, Safe Driving (Constant Current), Heatsinking, Arduino/ESP32 Control, and IR Illumination Projects
3W Infrared (IR) LED Tutorial: Wavelength Basics, Safe Driving (Constant Current), Heatsinking, Arduino/ESP32 Control, and IR Illumination Projects
Tutorial Beginner
Arduino ESP32 Motors Power

This tutorial is a detailed, practical guide to using the Infrared (IR) LED Light (3W) (Leobot Product #4204) for illumination, night vision, optical sensors, and invisible lighting projects. You’ll learn how IR LEDs differ from visible LEDs, why a <strong>constant-current driver</strong> is mandatory at 3W, how to size a power supply, how to design a safe switching stage (MOSFET), how to mount and heatsink the LED correctly, and how to build practical projects like IR floodlights for cameras, beam-break sensors, reflective sensing, and IR beacons.

Flexinol / Nitinol Memory Wire Tutorial (0.3mm, 0.5m): How Shape-Memory Actuators Work, Safe Driving, Current Control, Mounting, and Practical Robotics Projects
Flexinol / Nitinol Memory Wire Tutorial (0.3mm, 0.5m): How Shape-Memory Actuators Work, Safe Driving, Current Control, Mounting, and Practical Robotics Projects
Tutorial Beginner
Arduino ESP32 Power Robotics

This tutorial is a detailed, practical guide to using Flexinol Actuator Nitinol Wire (0.3mm diameter, 0.5m length) (Leobot Product #4401) as a compact shape-memory alloy (SMA) actuator. You’ll learn the real physics (heat → phase change → contraction), how to drive SMA wire safely with <strong>current control</strong>, how to design the mechanical linkage (pre-tension, springs, leverage), how to avoid burning the wire, and how to build Arduino/ESP32 control circuits for on/off, PWM heating, and closed-loop actuation.

Flex Sensor (2.2") Tutorial: How It Works, Voltage Divider Wiring, Arduino/ESP32 Reading, Calibration to Bend Angle, Filtering, and Real Projects
Flex Sensor (2.2") Tutorial: How It Works, Voltage Divider Wiring, Arduino/ESP32 Reading, Calibration to Bend Angle, Filtering, and Real Projects
Tutorial Beginner
Arduino ESP32 Sensors Power Robotics

This tutorial is a detailed, practical guide to using the Flex Sensor (2.2&quot;) (Leobot Product #4148) to measure bending for robotics, wearables, gesture control, and mechanical feedback. You’ll learn what a flex sensor actually outputs (it’s a variable resistor), how to wire it safely with a voltage divider, how to read it accurately with Arduino/ESP32 ADCs, how to calibrate it to a bend angle (or “bend amount”), and how to build robust code with smoothing, deadbands, and fault detection.

28kHz 60W Ultrasonic Transducer Tutorial (Cavitation Cleaner): More Aggressive Cavitation, Correct Driving Electronics, Tank Mounting, Thermal Limits, and DIY Cleaner Builds
28kHz 60W Ultrasonic Transducer Tutorial (Cavitation Cleaner): More Aggressive Cavitation, Correct Driving Electronics, Tank Mounting, Thermal Limits, and DIY Cleaner Builds
Tutorial Beginner
Motors

This tutorial is a detailed, practical guide to using the 28kHz / 60W Ultrasonic Transducer (Cavitation Cleaner type) (Tutorial/Product Ref #1110) to build or repair an ultrasonic cleaning system. You’ll learn how ultrasonic cleaning works, what changes at 28kHz compared to 40kHz, what electronics you need to drive a 60W transducer safely, how to mount it to a stainless tank for effective energy transfer, and how to avoid common failures (detuning, overheating, glue/bond failure, and driver MOSFET blow-ups).

40kHz 50W Ultrasonic Transducer Tutorial (Cavitation Cleaner): How Ultrasonic Cleaning Works, Safe Driving, Tank Mounting, Power Supply Sizing, and Practical DIY Builds
40kHz 50W Ultrasonic Transducer Tutorial (Cavitation Cleaner): How Ultrasonic Cleaning Works, Safe Driving, Tank Mounting, Power Supply Sizing, and Practical DIY Builds
Tutorial Beginner
Sensors Power

This tutorial is a detailed, practical guide to using the 40kHz / 50W Ultrasonic Transducer (Cavitation Cleaner type) (Leobot Product #4281) to build or repair an ultrasonic cleaning system. You’ll learn what cavitation is, why frequency matters (40kHz vs higher), what electronics you need to drive the transducer safely, how to mount it to a tank for efficient energy transfer, how to avoid common failures (overheating, detuning, glue failure), and how to design a robust DIY ultrasonic cleaner with timers, temperature monitoring, and safety interlocks.

Immersible Throw-In Pressure Sensor Tutorial: Water Level Measurement, Wiring & Signal Types, Calibration, Arduino/ESP32 Reading, and Reliable Tank/Sump Automation
Immersible Throw-In Pressure Sensor Tutorial: Water Level Measurement, Wiring & Signal Types, Calibration, Arduino/ESP32 Reading, and Reliable Tank/Sump Automation
Tutorial Beginner
Arduino ESP32 Sensors Power

This tutorial is a detailed, practical guide to using the Immersible Throw-In Pressure Sensor (Leobot Product #5148) to measure liquid level by sensing hydrostatic pressure. You’ll learn how “throw-in” level sensors work, the common output types (0–10V, 4–20mA, I²C/RS485 variants), how to power them safely, how to convert pressure to water depth, how to calibrate zero/span, and how to build robust Arduino/ESP32 logic for tank level monitoring, pump control, and alarm thresholds.

Front Surface Mirror Tutorial (Mini Projector Reflector 114×57.5×2mm): Why Front-Surface Matters, Safe Handling, Mounting Without Warping, and Optics Projects
Front Surface Mirror Tutorial (Mini Projector Reflector 114×57.5×2mm): Why Front-Surface Matters, Safe Handling, Mounting Without Warping, and Optics Projects
Tutorial Beginner
Electronics

This tutorial is a detailed, practical guide to using the Mini Projector Front Surface Reflector / Mirror (114×57.5×2mm) (Leobot Product #1597). You’ll learn what makes a front-surface mirror different from a normal household mirror, why it’s used in projectors and precision optics, how to mount it without bending/warping the reflective surface, and how to use it in practical DIY projects like beam steering, periscopes, optical path folding, and simple scanner/galvo experiments.

Right Angle Prism (25×25mm K9 Optical Glass) Tutorial: 90° Beam Bending, Total Internal Reflection, Periscope Builds, Alignment Tricks, and Practical Optics Experiments
Right Angle Prism (25×25mm K9 Optical Glass) Tutorial: 90° Beam Bending, Total Internal Reflection, Periscope Builds, Alignment Tricks, and Practical Optics Experiments
Tutorial Beginner
Electronics

This tutorial is a detailed, practical guide to using the Right Angle Prism (25×25mm, K9 Optical Glass) (Leobot Product #1593) in real optics builds. You’ll learn what a right-angle prism actually does, how it can behave like a near-perfect “mirror” using total internal reflection (TIR), how to bend a beam by 90° (or 180° in some configurations), how to mount it without chipping/scratching the faces, and how to build projects like a simple prism periscope, beam steering systems, and robust alignment references.

50:50 Optical Glass Cube Beam Splitter Prism Tutorial (15×15×15mm): How Beam Splitters Work, Mounting, Alignment, Laser Safety, and Practical Optics Projects
50:50 Optical Glass Cube Beam Splitter Prism Tutorial (15×15×15mm): How Beam Splitters Work, Mounting, Alignment, Laser Safety, and Practical Optics Projects
Tutorial Beginner
Sensors

This tutorial is a detailed, practical guide to using the Optical Glass Cube Dichroic Dispersion Beam Splitter Prism (15×15×15mm, 50:50 split ratio) (Leobot Product #1598). You’ll learn what a cube beam splitter actually does (splits one beam into two or combines two into one), what “50:50” means in real life, how polarization and wavelength can change the split, how to mount and align the cube without damaging the optical faces, and how to build useful projects like interferometer demos, dual-sensor taps, and beam sampling.

Laser Beam Combiner Cube Prism Tutorial (405–450nm Blue): Safe Setup, Alignment Procedure, Combining Two Diode Lasers, Power/Loss Reality, and Cooling Above 5W
Laser Beam Combiner Cube Prism Tutorial (405–450nm Blue): Safe Setup, Alignment Procedure, Combining Two Diode Lasers, Power/Loss Reality, and Cooling Above 5W
Tutorial Beginner
Power

This tutorial is a detailed, practical guide to using the Laser Beam Combiner Cube Prism (405nm–450nm) (Leobot Product #529) to combine two blue/violet laser beams into one output beam path. You’ll learn what this cube actually does, how to mount and align it without scratching it, how to set up a two-laser combiner rig step-by-step, what limits you’ll hit in real life (losses, polarization, beam shape), and why the listing warns about <strong>cooling above ~5W to avoid damage.

24mm Double Convex Lens Magnifier Tutorial: Focal Length, Magnification Reality, Safe Handling, DIY Optics Experiments, and When “Defective” Still Works
24mm Double Convex Lens Magnifier Tutorial: Focal Length, Magnification Reality, Safe Handling, DIY Optics Experiments, and When “Defective” Still Works
Tutorial Beginner
Electronics

This tutorial is a detailed, practical guide to using the Round Double Convex Lens Magnifier (Optical Glass) – 24mm (Leobot Product #561) in hobby optics and STEM experiments. You’ll learn what a double convex lens is, how to find its focal length with a simple sunlight/LED method, what “magnification” really means in practice, how to mount and clean a lens without scratching it, and how to use it for real projects like small magnifiers, beam focusing, LED collimation tests, and simple image projection.

Triangular Prism (5cm) Tutorial: Refraction & Dispersion Basics, Beam Steering, DIY Spectroscopy, and Practical Optics Experiments
Triangular Prism (5cm) Tutorial: Refraction & Dispersion Basics, Beam Steering, DIY Spectroscopy, and Practical Optics Experiments
Tutorial Beginner
Electronics

This tutorial is a detailed, practical guide to using the Triangular Prism (5cm) (Leobot Product #531) for hands-on optics experiments. You’ll learn what a triangular prism actually does (refraction, dispersion, and beam deviation), how to handle and mount it without scratching optical surfaces, how to run simple but impressive experiments (rainbow splitting, measuring refractive index, total internal reflection), and how to build useful projects like a basic spectroscope and beam-steering setups.

HC-SR501 PIR Motion Sensor Tutorial: Reliable Motion Detection, Sensitivity & Delay Tuning, Repeat/Non-Repeat Modes, and Arduino Alarm Automation
HC-SR501 PIR Motion Sensor Tutorial: Reliable Motion Detection, Sensitivity & Delay Tuning, Repeat/Non-Repeat Modes, and Arduino Alarm Automation
Tutorial Beginner
Arduino Sensors

This tutorial is a detailed, practical guide to using the HC-SR501 Adjustable Pyroelectric Infrared (PIR) Motion Sensor Module (Leobot Product #1616) for motion-triggered projects. You will learn what PIR sensors actually detect (changes in IR heat patterns), how to wire it correctly, how to tune the sensitivity (range) and delay time, how to use the jumper for repeatable (retrigger) vs non-repeatable modes, and how to write robust Arduino code that avoids false triggers and noisy outputs.

KY-022 IR Receiver Module Tutorial: Decode Any IR Remote, Reliable Wiring, Arduino Examples (IRremote), and Troubleshooting Noise/Range Issues
KY-022 IR Receiver Module Tutorial: Decode Any IR Remote, Reliable Wiring, Arduino Examples (IRremote), and Troubleshooting Noise/Range Issues
Tutorial Beginner
Arduino Sensors

This tutorial is a detailed, practical guide to using the Universal IR Infrared Sensor Receiver Module (KY-022) (Leobot Product #225) to receive and decode infrared remote-control signals with Arduino/ESP-style projects. You’ll learn what the module actually outputs (demodulated digital pulses), how to wire it correctly, how to identify your remote’s button codes, how to build “remote-controlled” projects (LEDs, relays, menus), and how to avoid the most common problems: short range, random triggers, and noisy environments.

USB Power Supply 18650 Lithium Battery BMS for Arduino Tutorial: Safe Portable Power, 5V USB Output, 3V Rails, Charging, and Runtime Monitoring
USB Power Supply 18650 Lithium Battery BMS for Arduino Tutorial: Safe Portable Power, 5V USB Output, 3V Rails, Charging, and Runtime Monitoring
Tutorial Beginner
Arduino Power

This tutorial is a detailed, practical guide to using the USB Power Supply 18650 Lithium Battery BMS for Arduino (Leobot Product #1590) as a compact, rechargeable power source for Arduino and other microcontrollers. You’ll learn what this module actually is (charger + protection + boost + regulated outputs), how to wire an 18650 safely, how to use the Type-A USB 5V output and the 3V outputs, what the 0.5A charging spec implies for runtime, and how to add basic battery monitoring so your projects don’t die unexpectedly.

MG995 / MG996R Metal Servo Hub Horn Tutorial: 20mm Mounting, Correct Fitment, Centering, Anti-Slip Installation, and Reliable Robotics Motion
MG995 / MG996R Metal Servo Hub Horn Tutorial: 20mm Mounting, Correct Fitment, Centering, Anti-Slip Installation, and Reliable Robotics Motion
Tutorial Beginner
Motors Robotics

A servo horn is the mechanical adapter between the servo’s internal gear train and your project. It attaches to the servo’s output spline and provides holes/threads to mount your wheel, bracket, arm, or linkage. Metal hub horns are popular for MG995/MG996R because these servos are often used in higher-torque builds where plastic horns can flex or strip.