Pages: [1]   Go Down
Author Topic: Robot ball  (Read 1095 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 11
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Goodday, i'm tadzioizdat and i'm new to the forum. I'm making a robot-shaped robot like the one in this instructables, but I have some trouble. It will be almost the same as the one I show here, but with some minor variations, like that the motor (a brushless one throug an ESC) and the servo (for steering) are controlled with an arduino mega and my phone, with a bluetooth shield.

My problem comes with the gyro, I have no damn idea about how to use it. In the instructables it just says "add a gyro for stability" but I don't know how I would do that with the arduino, nor what code i would use for it to create the stability. My gyro is a mystery (it's the brand), bought at dealextreme very cheap, about 20 bucks, and hopefully good enough for this little project.


PD: any ideas for the project would be appreciated too  smiley-mr-green
Logged

Seattle, WA USA
Online Online
Brattain Member
*****
Karma: 610
Posts: 49016
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

You posted in Programming, where we expect to see code, not pictures. Where is your code?

Quote
I have no damn idea about how to use it.
What a shame.

Quote
In the instructables it just says "add a gyro for stability"
Do you have stability problems? Do you know what a gyroscope does?

This really belongs in Project Guidance.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 11
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Sorry about that, it's definetly better here.

Quote
I have no damn idea about how to use it.
What a shame.

I don't think I would be asking if I knew how to use it. It's my first time using one, and hell, making a robot by myself (not from a kit) so i'm a little lost.

And yes, I know what a gyro is, thanks for asking. I need it because the ball is uncontrollable without one, it wobbles too much.
« Last Edit: May 11, 2012, 12:55:55 am by tadzioizdat » Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 11
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Nothing? Please guys, I just need some advice on how to use the gyro's readings to stabilize the whole ball. smiley-cry
Logged

Gosport, UK
Offline Offline
Faraday Member
**
Karma: 21
Posts: 3113
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Is that a three dimensional gyro, or is it (given that it has the heli picture) just a heading-hold tail-rotor gyro?
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 11
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

It's a heading-hold-tail one. The type you usually see on rc helis.
Logged

Gosport, UK
Offline Offline
Faraday Member
**
Karma: 21
Posts: 3113
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Then I would presume that you just install it as you would in a heli. In line with the steering servo.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 11
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Ok, I'll try that, thank you very much.
Logged

Seattle, WA USA
Online Online
Brattain Member
*****
Karma: 610
Posts: 49016
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
I don't think I would be asking if I knew how to use it. It's my first time using one, and hell, making a robot by myself (not from a kit) so i'm a little lost.
If you have no idea how it should be used, then why did you buy one? Specifically, why did you buy that one?

If I were doing your project, and was at the point where I thought I needed to add a gyro, I'd have asked here first if one was necessary, and, if so, for recommendations on what kind to use.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 11
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
I don't think I would be asking if I knew how to use it. It's my first time using one, and hell, making a robot by myself (not from a kit) so i'm a little lost.
If you have no idea how it should be used, then why did you buy one? Specifically, why did you buy that one?

If I were doing your project, and was at the point where I thought I needed to add a gyro, I'd have asked here first if one was necessary, and, if so, for recommendations on what kind to use.

Have you read the instructables? It clearly says there that if you don't add a gyro the ball will wobble too much and be incontrollable. And I bought that model because first, it was cheap, and second, on the comments he speaks of a "scavenged one from a helicopter".

Yes, I could have asked here first, but at the beginning of the project I didn't even think of using an arduino. It was going to be all controlled by a mini-itx board (because it will do other stuff than just roll around) but it did draw too much power, so I switched to use an arduino for the contrlling part and a raspberry pi for the other stuff.
Logged

Pages: [1]   Go Up
Jump to: