Back to Projects
RoboticsIntermediateBlock CodingRoboticsIntermediate

Block Coding Robotics

Program a robot using drag-and-drop blocks

Overview

Use a block-based editor (mBlock / Blockly) to drive an ESP32 robot without typing code.

How It Works

Open mBlock 5 (or the Blockly extension for Arduino IDE). Connect the ESP32 over USB. Drag movement blocks — forward, turn, stop — onto the canvas, set motor speed and duration values, then upload the compiled sketch to the ESP32. The ESP32 sends signals to the L298N motor driver, which powers two DC motors to move the robot chassis.

What You Will Build

A complete, working block coding robotics using real ESP32 hardware, sensors, and motors. You will take it home once the course is complete.

Hardware Components

ESP32 Dev Module
L298N Motor Driver
DC Motor (with wheel)
Robot Chassis (2WD)
3.7V Li-ion Battery
Battery Holder
Breadboard (full size)
Jumper Wires (40-pcs set)

Project Details

CategoryRobotics
DifficultyIntermediate
Time2 Hours
Classes2 Classes

Full Build Guide

Wiring diagrams, step-by-step build instructions, full code, and troubleshooting — available after enrollment.

Book a DemoBook 30-min Consult