My robot hovers using compressed air from an on-board air tank. I need help programming my moster of a robot. I’m making it one leg at a time. It has a total of four legs. Each leg will have 1 Ping Sensor, 1 Gyro, 1 Motor Sheild, 1 Arduino Uno and 3 Servos. The pictures that are attached don’t show the motor shield and the gyro is not shown either since its on the arduino. Also, none of the wiring from the Arduino is shown so its is easier to see everything else. The air comes from the tank and stops and the valve to be regulated. The valve is controlled by a servo. The servo works together with a Ping Sensor to regulate the amount of air that comes out. I want it so that the servo keeps the leg of the bot at a certain height all the time. Then the air goes out the end where it is directed by the other two servos. I need those to work with the gyro to keep the robot level. If you thing I should use the gyro or Ping Sensor to do something else please tell me. I need help programming everything so can you guys help me get this project running? Ask me any questions that will help you write the best code. Thank you so much, I know I can do this if we work together.
Project1PIC.bmp (3.71 MB)