Self balancing Robot

0

Posted by MessySachu | Posted in | Posted on 9:02 AM

Its a robot powered by arduino. It dose not use a Acclerometer or a Gyro.. All it has is a LDR and an LED fixed perpendicular to the ground. When the robot is powered up it has to be held perpendicular manually and a calibrate switch has to be pressed. This takes the value from the LDR and stores it as reference for further calculations, later on the output from the LDR tells the arduino whether its falling towards the front or back.. This value when taken seriously also tells whats angle the bot is making and this is related to the PWM of the wheels which rotate in the counter direction to compensate the fall.