Shop OBEX P1 Docs P2 Docs Learn Events
left and right turning — Parallax Forums

left and right turning

JaundiceJaundice Posts: 11
edited 2007-07-29 16:15 in BASIC Stamp
I'm going to be launching a kind of model rocket soon and I want to write a program that will make the servo turn both left and right, in order to get to a target(GPS coordinate) after getting its heading.· Anyone have any suggestions on how I could go about doing this. I don't need detailed instructions, I'm just looking for any ideas to help point me in the right direction.

Thanks

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2007-07-27 22:06
    Start with the Parallax tutorials on the BoeBot that you can download from the website. They explain how servos work, how to calibrate them, and how to position things using them. The conventional servos move to a position specified by the width of a control pulse. The continuous rotation servos use the same control pulse to specify speed and direction.
  • floodhoundfloodhound Posts: 45
    edited 2007-07-27 23:26
    Hum sounds fun. Have you considered the size of the rocket? I use to build and fly them when I was younger and I can say that all the typical ones would not be able to fly with a payload like a servo and electronics including a battery.

    Have you considered this? I am becoming interested in how you might approach the obstacle I know it can be done just wanted to know.


    Electronics are going to be easiest I think, I can help you with that. I just don know how to steer a rocket. i guess i need more information as o how you inten on steering this rocket.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    My web site -- > www.floodhound.com <-- take a look if you like
  • sasukesasuke Posts: 9
    edited 2007-07-27 23:36
    floodhound,

    he might try and steer it by atching the fins to the servos at least thats how i would do it

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    The human whose name is written in this note shall die.
    -Death note
  • W9GFOW9GFO Posts: 4,010
    edited 2007-07-28 00:36
    Before you go too far you may want to look into the legality of flying a guided rocket. If it's a boost glider that's one thing but a guided rocket... I don't think that'll fly.

    Rich H (Tripoli Level II)
  • JaundiceJaundice Posts: 11
    edited 2007-07-28 01:43
    First W9GFO, thanks for the concern but this is actually an official event so legality isn't a problem.· That brings me to my next point floodhound the event is called the CanSat project for Can Satellite basically the rocket has to be about the size of a soda can.
  • JaundiceJaundice Posts: 11
    edited 2007-07-28 01:45
    Oh and by the way we've got someone else on the physics side of things I was wondering more how you would approach some sort of turning algorithm in the PBASIC language.
  • JaundiceJaundice Posts: 11
    edited 2007-07-28 01:48
    I keep forgetting to explain myself clearly, I have my own idea for the turning algorithm, I'm just interested to hear how others might approach the problem, there's more than one way to skin a cat as they say.
  • skylightskylight Posts: 1,915
    edited 2007-07-28 04:36
    I'm not up with rockets(sorry for the pun) but a servo operating a gyroscope in the nose cone·should do the trick, not sure how big the rocket would need to be to carry the extra weight though.

    Post Edited (skylight) : 7/28/2007 4:40:53 AM GMT
  • W9GFOW9GFO Posts: 4,010
    edited 2007-07-29 16:15
    I briefly looked over the CanSat info. It sounds like a lot of fun. I didn't see anything though that allowed for guided rockets. As far as I can tell the rocket must carry a payload to altitude, eject that payload and then the payload (CanSat) can then deploy instruments, control surfaces, or whatever to provide for control.

    My first inclination would be to have a steerable parachute(parafoil).

    What is the objective for next year's competition? On www.cansatcompetition.com they say that the launch was last month, I don't see any info on what the objective is for 2008.
Sign In or Register to comment.