Cleaning is achieved by horizontal movement of a sponge attached to the lower end of the horizontal aluminium frame of the robot. The vertical and horizontal frames consist of vacuum cups which hold the robot against the glass surface. Ultrasonic sensors detect the distance between the glass and the sensor. If the distance is within the limits, the relay circuit is signalled to actuate the solenoid valves which extend/retract the pneumatic cylinders that facilitate the motion of the robot. All the actions of the robot are controlled by ATMEGA328P microcontroller.