Window Cleaning Robots: How They Stick to Glass
A window cleaning robot is a vacuum pump, a squeegee and a set of wheels, and the engineering lives in the details: sealing the suction against glass, stopping the robot walking off the pane, and paying out a tether without tangling it.
Holding on to glass with suction
Most window robots work by making the pressure under a rubber skirt lower than atmospheric. A small centrifugal blower evacuates the chamber, and the pressure difference across the skirt area produces the grip force. The force is the pressure difference multiplied by the skirt area, which is why a robot with a large skirt holds far better than a small one, and why a clean seal against the glass matters more than the power of the fan.
The same physics limits the design. A grip of 40 pascals across a skirt of 0.02 square metres is about 80 newtons, close to 8 kg of pull, and that force has to be carried by two small drive wheels while the robot drags a squeegee across the glass. Slip happens when the traction from the wheels times the friction coefficient is less than the drag from the squeegee, so the squeegee pressure has to be tuned rather than maximised.
The tether, the winch and the state machine
Window robots that work on tall facades are tethered by a power and data cable that pays out as the robot climbs. The winch has to control cable tension, because slack cable can fall across the glass and scratch it, while taut cable can pull the robot off the pane. That is a feedback problem: measure the cable position, compare it with the robot's own movement, and command the winch accordingly.
A safety tether adds a second layer. Real machines carry a backup line so that if the suction fails the robot hangs rather than falls. For a classroom build the honest minimum is a mechanical restraint, a blade that stops when the robot is detached from the glass, and an explicit stop condition in the sketch. A window robot that drops a spinning squeegee is a genuine hazard, not a school project inconvenience.
Step by step
-
Model the grip before you build
Calculate the pull force from the pressure difference and the skirt area, then work out how much friction the wheels can generate. If the numbers do not work, no amount of fan power will rescue the design.
-
Build the suction chamber
Make a shallow plenum with a rubber skirt and a blower outlet. Test the seal on a sheet of glass lying flat on a bench, and measure the mass the skirt holds before it slips.
-
Add the squeegee
Mount a soft blade on a pivot behind the drive wheels. Adjust the blade pressure until it leaves a clean streak, which turns out to be a surprisingly narrow range.
-
Drive and steer slowly
Two geared motors with an H-bridge give the traction, with steering from a small servo or a linkage. Keep the speed low, because grip loss happens at speed.
-
Build the tether winch
A small DC motor with a spool and a position sensor pays out cable as the robot moves. Log commanded and actual cable length and tune the loop until the difference stays within a few centimetres.
-
Write the safety state machine
Define states for attached, moving, paused and detached, and make the blade stop in every state except moving. Test the detach case by lifting the robot off the glass.
What you'll need
| Item | Qty | Why |
|---|---|---|
| Arduino Nano | 1 | Small enough to sit inside the chassis, with enough timer channels for the servos and the winch loop. |
| 12 V geared DC blower fan | 1 | Evacuates the chamber. A centrifugal blower holds pressure better at a small skirt opening than an axial fan does. |
| MG996R metal gear servo | 2 | Drives the squeegee arm and the steering linkage. Its 9 to 11 kg-cm is well above the load these need. |
| Rubber skirt and suction cup material | 1 set | The seal is what holds the robot, so this is the part to iterate on rather than the motor. |
| Small DC motor with spool for the winch | 1 | Pays out the tether cable under tension control. |
| 7.4 V LiPo battery with protection board | 1 | Runs the fan and the motors, with protection so a stalled servo does not flatten the pack. |
Practise it before you build it
Every step above has a matching circuit in the ThinkEdge Learn simulator. The simulator runs a real
Arduino sketch against a modified-nodal-analysis solver, so digitalWrite actually drives the
LED on screen and the readings change when you change the wiring — no hardware, no burnt components.
A real robot arm has at least 4 servos: base rotation, shoulder, elbow, and gripper. The Mega can drive all 4 from independent PWM pins (D9, D10, D11, D12) using the Servo.h library. Each servo is told an angle (0-180°) and the library generates the right PWM signal automatically. The four potentiometers (A0–A3) act as the RC controller — twist them and each servo follows in real time, just like a real robot arm teaching pendant.
A servo motor holds whatever angle you tell it. Inside the servo is a small DC motor, a gearbox, and a potentiometer that tells the servo's brain where it currently is. The Arduino sends a pulse 50 times per second; the pulse width (1ms to 2ms) tells the servo the target angle (0° to 180°). The Servo.h library handles all of this for you.
Real elevators use limit switches at the top and bottom of the shaft to detect when the car has reached the floor. A controller reads these switches and stops the motor. In this project, you'll build a 2-floor elevator model with a small DC motor. The motor lifts a cardboard "car" up and down a string. A pushbutton requests UP or DOWN. Two limit switches (or pushbuttons) at the top and bottom stop the motor when the car arrives. The same logic is used in 3D printers (end-stops), CNC machines, and garage door openers.
A real car reversing buzzer does NOT use a smooth `map()`. It beeps in zones: 1 slow beep when far, 1 medium beep closer, 2 beeps when close, 2 fast high-pitched beeps when very close. We can build the same with the Nano + HC-SR04 + a buzzer. The trick is a chain of `if (cm > X)` checks that picks one of four zones — each zone has its own number of beeps, frequency, and gap.
The HC-SR04 ultrasonic sensor measures distance by sending out a 40 kHz ping and timing how long the echo takes to come back. We trigger the ping with a digitalWrite, time the echo with pulseIn(), and convert the time to centimeters using the speed of sound. This is the same sensor used in car parking sensors and robot vacuums.
Common questions
How much does a window cleaning robot cost?
Consumer units that clean indoor glass from the inside sell for roughly $150 to $400, and the professional tethered machines that climb external facades are a different market entirely, quoted per job. A DIY build lands between $120 and $300: $40 to $90 for the chassis and blower, $15 to $30 for servos, $10 to $20 for the winch hardware, and $20 to $40 for the battery and protection.
How does a window cleaning robot stick to a window?
With a fan that lowers the air pressure under a rubber skirt, so the higher atmospheric pressure outside presses the robot against the glass. The holding force is that pressure difference multiplied by the skirt area. It also means the robot needs a smooth flat pane and a clean seal, and it will slip if the squeegee drags too hard.
Is a window cleaning robot safe to build as a school project?
With modifications, and only in a supervised lab. Run it on glass lying flat on a bench rather than on a vertical pane, lock out the blade for the early tests, add a mechanical restraint from the first working version, and write the detach stop logic before the robot ever reaches a window. Never let a school project run unclamped above head height.
Related guides
Try the full simulator with your class
103 guided circuit projects, 21 lessons and an in-browser Arduino simulator. The first 15 projects are free, no account needed. NCERT Science mapping on 47 projects, with Arabic and English copy in the regional builds.