Pages: [1]   Go Down
Author Topic: Need Help Programming Bot  (Read 503 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Jr. Member
**
Karma: 1
Posts: 51
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi Everyone,

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. Oh, and I noticed that I placed the Ping Sensor on the wrong spot, it should be connected to the part of the leg which does not move. So 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 (3796.93 KB, 1440x900 - viewed 12 times.)
« Last Edit: August 19, 2012, 08:57:22 pm by roboticfan101 » Logged

California
Offline Offline
Faraday Member
**
Karma: 82
Posts: 3123
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

It sounds to me like you're asking for someone to write the code for you. If that's the case, you should post in the Gigs/Collaboration section.
Logged

Offline Offline
God Member
*****
Karma: 7
Posts: 647
"In this house, we obey the Laws of Thermodynamics" Homer J. Simpson
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Why does the robot have articulated legs? It is going to be very complicated to calculate what is going on and getting the thing to balance, plus you end up with a lot of weight.

Why not just have vertical air jets in the corners to raise the robot off the ground, then horizontal thrusters to move around.

There was a device called the "flying beadstead" it used one central jet engine for the main lift, I am not sure how they stabilised it.
Logged

Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 238
Posts: 24294
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
There was a device called the "flying beadstead" it used one central jet engine for the main lift, I am not sure how they stabilised it.
They had a device called "Neil Armstrong". It wasn't always successful.
Logged

"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

UK
Offline Offline
Shannon Member
****
Karma: 183
Posts: 11129
-
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Why not just have vertical air jets in the corners to raise the robot off the ground, then horizontal thrusters to move around.

I think the OP is saying the robot supports itself on legs powered by compressed air - it's not a flying vehicle. Compressed air is a very inefficient power supply for this type of thing because air is so compressible - the only way to drop the pressure is by throwing the energy away.

I don't understand the purpose of having a gyro on each leg. Wouldn't it be better to have a position sensor tell you the angle of each joint and use that as input to your position feedback system? If you're hoping to keep the body horizontal (rather than parallel to the ground) that's going to be quite hard to do and will involve the sort of gyro/accelerometer system used on flying vehicles. In that case it'd probably be best to seek help in forums relating to autonomous drones rather than try to develop it from scratch yourself.
Logged

I only provide help via the forum - please do not contact me for private consultancy.

Offline Offline
God Member
*****
Karma: 7
Posts: 647
"In this house, we obey the Laws of Thermodynamics" Homer J. Simpson
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

The design would be better suited to some kind of walking device.
This however is supposed to fly :
Quote
My robot hovers using compressed air from an on-board air tank

An air tank such as a diving cylinder certainly contains enough air at sufficient pressure to take off like a rocket. So in priciple you should be able to make something hover at least for a while. He has not specified what height the robot needs to hover at. By putting a skirt round the device you would get a hovercraft which could provide quite a bit of lift and would avoid the problems of keeping the thing stable.
Logged

UK
Offline Offline
Shannon Member
****
Karma: 183
Posts: 11129
-
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

This however is supposed to fly

Looking at the picture, I think you're right. The mention of legs threw me. Using the air tank to drive an air jet to support the weight of the vehicle seems even less practical than using it to drive pneumatic actuators, and the overall concept strikes me as absolutely bonkers. I love to see people make madcap ideas like this work! smiley
Logged

I only provide help via the forum - please do not contact me for private consultancy.

Offline Offline
God Member
*****
Karma: 7
Posts: 647
"In this house, we obey the Laws of Thermodynamics" Homer J. Simpson
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
I love to see people make madcap ideas like this work!

Yes, look at the "Curiosity" landing on Mars, no way was a daft automatic scheme of that complexity ever going to work.
I still cannot believe they pulled it off.
Logged

0
Offline Offline
Tesla Member
***
Karma: 114
Posts: 8894
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
My robot hovers using compressed air from an on-board air tank.

So how much of the mechanical part of this project have you already built and tested?
Logged

Consider the daffodil. And while you're doing that, I'll be over here, looking through your stuff.   smiley-cool

Pages: [1]   Go Up
Jump to: