Inspect the design
Run the range-based avoidance controller around the obstacle scene.
Sweep combines a circular chassis, differential drive, a brush layout and range sensing. Explore the packaging and control of a compact vacuum concept with an ESP32-C3 and a working avoidance demonstration.
Includes assembly, starter wiring and executable virtual JavaScript.Round chassis, two drive wheels, a brush layout and range sensing. All 17 components and 32 starter connections remain editable in your own project.
Use the starting assembly to ask better questions about your design. Save a copy, change a parameter and compare what happens.
Run the range-based avoidance controller around the obstacle scene.
Inspect wheel, brush and fan placement within the circular footprint.
Compare power and mass when substituting components or adjusting the load.
function step(robot) {
robot.drive(0, 0);
if (robot.brownout || robot.battery.voltage < 6.25) { robot.display('🪫'); return; }
const range = robot.sensors.range;
if (!Number.isFinite(range)) { robot.display('⚠️'); return; }
const obstacle = range < 0.65;
robot.drive(obstacle ? -0.3 : 0.45, obstacle ? 0.35 : 0.45);
robot.display(obstacle ? '🤔' : '😊');
}
The full, editable starter script is included in the workbench.
Differential-drive obstacle avoidance and power/weight checks. Suction, dust pickup and brush/fluid dynamics are not modeled.
This is a virtual JavaScript environment. It does not emulate ESP-IDF, Arduino firmware or a manufacturer's exact hardware.
Compact face, display and expressive servo with 3.3 V GPIO aliases.
Open the template, inspect the wiring and run its first behavior.