Shop OBEX P1 Docs P2 Docs Learn Events
Gyro and Basic Stamp — Parallax Forums

Gyro and Basic Stamp

ArchiverArchiver Posts: 46,084
edited 2000-09-30 02:57 in General Discussion
Boy! when you say scratch pad you really mean it !!

dakota wrote:
>
> > here is a link to the scratch pad I used
> >
> > http://www.inetport.com/~davisele/ROSWELL.JPG
> >
> >
> > richard
> >
> >
> >

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2000-09-26 16:05
    Hello,

    After days of pain in the the butt, I was finally able to complete my
    first minature robot. 1 in wide by 3 in high - not a very complex
    behavior at this point though - can sense light, take temp
    measurement, avoid obstacles and seek light.


    I'd like to know about a gyro. What it is and where can one use it in
    the areas of airplanes (probably r/c airplanes).

    Please throw in your comments. If you can point me to a web site with
    any info - that'll be really great too.

    Any help is much appreciated.

    thanks
    nagi
  • ArchiverArchiver Posts: 46,084
    edited 2000-09-26 16:40
    I know a fair amount about r/c and gyros
    what is your question?
    thanks

    richard



    Original Message
    From: <nags@c...>
    To: <basicstamps@egroups.com>
    Sent: Tuesday, September 26, 2000 10:05 AM
    Subject: [noparse][[/noparse]basicstamps] Gyro and Basic Stamp


    > Hello,
    >
    > After days of pain in the the butt, I was finally able to complete my
    > first minature robot. 1 in wide by 3 in high - not a very complex
    > behavior at this point though - can sense light, take temp
    > measurement, avoid obstacles and seek light.
    >
    >
    > I'd like to know about a gyro. What it is and where can one use it in
    > the areas of airplanes (probably r/c airplanes).
    >
    > Please throw in your comments. If you can point me to a web site with
    > any info - that'll be really great too.
    >
    > Any help is much appreciated.
    >
    > thanks
    > nagi
    >
    >
    >
    >
  • ArchiverArchiver Posts: 46,084
    edited 2000-09-26 16:57
    nags@c... wrote:
    [noparse][[/noparse]snip]
    > I'd like to know about a gyro. What it is and where can one use it in
    > the areas of airplanes (probably r/c airplanes).

    Hi Nagi ...

    Gyros are most often used with model helicopters to assist in
    maintaining a constant heading. They are connected between the
    receiver and the servo controlling the tail rotor. The gyro
    normally passes unchanged the pulse train from the receiver to
    the servo, but if it senses an uncommanded heading change it
    modifies the pulse train to bring the 'copter back to its
    original heading. Its sensitivity is adjustable to prevent
    "hunting". Typical cost is in the US$100 range.

    I haven't tried using one on a robot, but if you use a servo
    to control direction (as in an R/C car or boat) or a servo type
    pulse train to otherwise control direction a gyro would probably
    be a big help in maintaining direction after hitting a bump or
    while traversing rough terrain.

    Have fun,
    -Nick
  • ArchiverArchiver Posts: 46,084
    edited 2000-09-26 17:15
    RE: [noparse][[/noparse]basicstamps] Gyro and Basic Stamp

    Nick,
    Thanks for your comments and insight.

    Hi Rich,

    I'd like to build an autonomous flying machine - not necessarily an airplane or a copter. But, something that has four 6V motors mounted on the four corners of an "X" beam. Using BS-II, I'd like to have it hover around the house about a feet under the celing (possibly using some IR sensors) and avoid obstacles. I know I'm hoping for too much here with my limited knowledge in electronics and very strong programming skills.

    I do understand that I may need to use a gyro. But, how will I use one (or a few) in this application ? I do not know. Experts like you may have better ideas on this.

    I guess my question(s) is, how will I use gyro in this above application, and how will I be able to interact with the gyro with my BS-II. Any examples of harware and code related to BS-II and gyro will be a help that I will never forget in my lifetime [noparse]:)[/noparse]

    thx guys
    nagi






    Original Message

    From: dakota [noparse]/noparse][url=mailto:rfriedrich@ispchannel.com]mailto:rfriedrich@ispchannel.com[/url
    Sent: Tuesday, September 26, 2000 10:40 AM
    To: basicstamps@egroups.com
    Subject: Re: [noparse][[/noparse]basicstamps] Gyro and Basic Stamp


    I know a fair amount about r/c and gyros
    what is your question?
    thanks

    richard




    Original Message

    From: <nags@crosscity.com>
    To: <basicstamps@egroups.com>
    Sent: Tuesday, September 26, 2000 10:05 AM
    Subject: [noparse][[/noparse]basicstamps] Gyro and Basic Stamp


    > Hello,
    >
    > After days of pain in the the butt, I was finally able to complete my
    > first minature robot. 1 in wide by 3 in high - not a very complex
    > behavior at this point though - can sense light, take temp
    > measurement, avoid obstacles and seek light.
    >
    >
    > I'd like to know about a gyro. What it is and where can one use it in
    > the areas of airplanes (probably r/c airplanes).
    >
    > Please throw in your comments. If you can point me to a web site with
    > any info - that'll be really great too.
    >
    > Any help is much appreciated.
    >
    > thanks
    > nagi
    >
    >
    >
    >
  • ArchiverArchiver Posts: 46,084
    edited 2000-09-26 18:37
    Sounds like a great project! I just saw an ad for the worlds smallest
    tilt/motion sensor (csp). But I have no other info.
    Free samples at www.analog.com/ADXL202E

    Good luck, and keep us informed, Dan
  • ArchiverArchiver Posts: 46,084
    edited 2000-09-26 20:07
    RE: [noparse][[/noparse]basicstamps] Gyro and Basic Stamp
    For the flying X, check out
    http://www.draganfly.com/products_4key.html
    http://www.draganfly.com/products_4eh.html
    Seems a bit expensive, but it does already fly.

    Original Message
    From: Babu, Nagi -*Contractor
    To: 'basicstamps@egroups.com'
    Sent: Tuesday, September 26, 2000 11:15 AM
    Subject: RE: [noparse][[/noparse]basicstamps] Gyro and Basic Stamp

    Nick,
    Thanks for your comments and insight.

    Hi Rich,

    I'd like to build an autonomous flying machine - not necessarily an airplane or a copter. But, something that has four 6V motors mounted on the four corners of an "X" beam. Using BS-II, I'd like to have it hover around the house about a feet under the celing (possibly using some IR sensors) and avoid obstacles. I know I'm hoping for too much here with my limited knowledge in electronics and very strong programming skills.

    I do understand that I may need to use a gyro. But, how will I use one (or a few) in this application ? I do not know. Experts like you may have better ideas on this.

    I guess my question(s) is, how will I use gyro in this above application, and how will I be able to interact with the gyro with my BS-II. Any examples of harware and code related to BS-II and gyro will be a help that I will never forget in my lifetime [noparse]:)[/noparse]

    thx guys
    nagi






    Original Message

    From: dakota [noparse]/noparse][url=mailto:rfriedrich@ispchannel.com]mailto:rfriedrich@ispchannel.com[/url
    Sent: Tuesday, September 26, 2000 10:40 AM
    To: basicstamps@egroups.com
    Subject: Re: [noparse][[/noparse]basicstamps] Gyro and Basic Stamp


    I know a fair amount about r/c and gyros
    what is your question?
    thanks

    richard




    Original Message

    From: <nags@crosscity.com>
    To: <basicstamps@egroups.com>
    Sent: Tuesday, September 26, 2000 10:05 AM
    Subject: [noparse][[/noparse]basicstamps] Gyro and Basic Stamp


    > Hello,
    >
    > After days of pain in the the butt, I was finally able to complete my
    > first minature robot. 1 in wide by 3 in high - not a very complex
    > behavior at this point though - can sense light, take temp
    > measurement, avoid obstacles and seek light.
    >
    >
    > I'd like to know about a gyro. What it is and where can one use it in
    > the areas of airplanes (probably r/c airplanes).
    >
    > Please throw in your comments. If you can point me to a web site with
    > any info - that'll be really great too.
    >
    > Any help is much appreciated.
    >
    > thanks
    > nagi
    >
    >
    >
    >

  • ArchiverArchiver Posts: 46,084
    edited 2000-09-26 21:04
    I believe that you would have 4 pwm to control each fan - this is a
    different chip than the stamp itself - but the stamp would talk to the pwm
    and give it a string of commands like
    fan #1 run 50%
    fan # 2 run 50%
    fan #3 run 55%
    fan $4 run 55%

    then repeat

    this is a serial servo controller
    the stamp would output a serial string of commands to make the engines run
    at specified speed


    the gyro normally takes a signal from a rx on the way to a servo which is
    also a pwm signal and modifies it to correct for tilt

    for example 1 ms pulse train drives servo fully ccw and 1 ms pulse train
    drives fully cw
    1,5 ms pulse train centers the servo

    if the gyro is not tilted then it would let the pulse train go through
    unchanged - if the gyro is tilted say 3 degrees then the gyro changes the
    1.5 ms pulse train to say 1.45 ms or to 1.55 ms - whatever it takes to drive
    the machine and also the servo back to level.

    - use a device that is a speed controller for electric motors based on servo
    pulse train commands - bad news is that they cost about 20-30 dollars each


    A r/c radio receiver would need to be hooked up to the gyros to make them
    work and to pass controls into the machine (fly by r/c control)

    If this thing is fully autonomous then need to hook up a 1.5 ms ttl
    oscillator to signal input on the gyros to make them believe they are still
    hooked up to a system (or use different gyros - bound to be single chip
    silicon gyro by now right?)

    the machine would establish its own baseline via the gyros - the decision to
    fly forward would be made telling the fore motor to slow down slightly and
    speed up the aft motor in some manner that the total thrust does not change

    for example using a 8 bit word:
    to hover tell all motors to go to decimal 127

    to go forward tell front motor to go to speed 119 and rear motor to go to
    speed 135( for example)

    to land - stop all motion (don't know how to sense that right now) - then
    bring all motors to 110 (for example - stop all of them and drop like a
    rock) hopefully adjust motor speeds to descend at 6 inches per second

    my suggestion is to rig the thing up for initial r/c control and then find
    out what are reasonable values for take off, forward flight, landing etc.
    that way you could set up some limits for what controls the stamp issues to
    the speed controllers

    battery voltage drop would also need to accounted for (I believe) either
    that or use a regulator between the battery and the speed controller.

    this seems like a very ambitious project - keep me posted - I might want to
    build one. (I would still like to build the r/c only project - still a fair
    amount of work there - but you don't have to write the flight control
    software)


    I think about this some more - later


    richard


    Original Message
    From: "David Peterson" <robodave1@h...>
    To: <basicstamps@egroups.com>
    Sent: Tuesday, September 26, 2000 2:07 PM
    Subject: Re: [noparse][[/noparse]basicstamps] Gyro and Basic Stamp


    RE: [noparse][[/noparse]basicstamps] Gyro and Basic StampFor the flying X, check out
    http://www.draganfly.com/products_4key.html
    http://www.draganfly.com/products_4eh.html
    Seems a bit expensive, but it does already fly.
    Original Message
    From: Babu, Nagi -*Contractor
    To: 'basicstamps@egroups.com'
    Sent: Tuesday, September 26, 2000 11:15 AM
    Subject: RE: [noparse][[/noparse]basicstamps] Gyro and Basic Stamp


    Nick,
    Thanks for your comments and insight.

    Hi Rich,

    I'd like to build an autonomous flying machine - not necessarily an
    airplane or a copter. But, something that has four 6V motors mounted on the
    four corners of an "X" beam. Using BS-II, I'd like to have it hover around
    the house about a feet under the celing (possibly using some IR sensors) and
    avoid obstacles. I know I'm hoping for too much here with my limited
    knowledge in electronics and very strong programming skills.

    I do understand that I may need to use a gyro. But, how will I use one (or
    a few) in this application ? I do not know. Experts like you may have better
    ideas on this.

    I guess my question(s) is, how will I use gyro in this above application,
    and how will I be able to interact with the gyro with my BS-II. Any examples
    of harware and code related to BS-II and gyro will be a help that I will
    never forget in my lifetime [noparse]:)[/noparse]

    thx guys
    nagi






    Original Message
    From: dakota [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=I6iRa0hUrB-3j7WCevm1EEWePtD1XaWu0W8-tdVS5mXpXx9i8-AN2H8uGXra5bHV9uvW_JQMrmeO8GtTdn-SXjHy]rfriedrich@i...[/url
    Sent: Tuesday, September 26, 2000 10:40 AM
    To: basicstamps@egroups.com
    Subject: Re: [noparse][[/noparse]basicstamps] Gyro and Basic Stamp



    I know a fair amount about r/c and gyros
    what is your question?
    thanks

    richard




    Original Message
    From: <nags@c...>
    To: <basicstamps@egroups.com>
    Sent: Tuesday, September 26, 2000 10:05 AM
    Subject: [noparse][[/noparse]basicstamps] Gyro and Basic Stamp



    > Hello,
    >
    > After days of pain in the the butt, I was finally able to complete my
    > first minature robot. 1 in wide by 3 in high - not a very complex
    > behavior at this point though - can sense light, take temp
    > measurement, avoid obstacles and seek light.
    >
    >
    > I'd like to know about a gyro. What it is and where can one use it in
    > the areas of airplanes (probably r/c airplanes).
    >
    > Please throw in your comments. If you can point me to a web site with
    > any info - that'll be really great too.
    >
    > Any help is much appreciated.
    >
    > thanks
    > nagi
    >
    >
    >
    >
  • ArchiverArchiver Posts: 46,084
    edited 2000-09-26 21:27
    RE: [noparse][[/noparse]basicstamps] Gyro and Basic Stamp

    Thanks Rich. I shall keep you guys posted - not sure if I'll be successful - but, I'll know that I tried.


    thanks again for the input.

    One last thing - is there a "micro gyro" that one can buy from some place ?

    nagi




    Original Message

    From: dakota [noparse]/noparse][url=mailto:rfriedrich@ispchannel.com]mailto:rfriedrich@ispchannel.com[/url
    Sent: Tuesday, September 26, 2000 3:05 PM
    To: basicstamps@egroups.com
    Subject: Re: [noparse][[/noparse]basicstamps] Gyro and Basic Stamp


    I believe that you would have 4 pwm to control each fan - this is a
    different chip than the stamp itself - but the stamp would talk to the pwm
    and give it a string of commands like
    fan #1 run 50%
    fan # 2 run 50%
    fan #3 run 55%
    fan $4 run 55%

    then repeat

    this is a serial servo controller
    the· stamp would output a serial string of commands to make the engines run
    at specified speed


    the gyro normally takes a signal from a rx on the way to a servo which is
    also a pwm signal and modifies it to correct for tilt

    for example 1 ms pulse train drives servo fully ccw and 1 ms pulse train
    drives fully cw
    1,5 ms pulse train centers the servo

    if the gyro is not tilted then it would let the pulse train go through
    unchanged - if the gyro is tilted say 3 degrees then the gyro changes the
    1.5 ms pulse train to say 1.45 ms or to 1.55 ms - whatever it takes to drive
    the machine and also the servo back to level.

    - use a device that is a speed controller for electric motors based on servo
    pulse train commands - bad news is that they cost about 20-30 dollars each


    A r/c radio receiver would need to be hooked up to the gyros to make them
    work and to pass controls into the machine (fly by r/c control)

    If this thing is fully autonomous then need to hook up a 1.5 ms· ttl
    oscillator to signal input on the gyros to make them believe they are still
    hooked up to a system (or use different gyros - bound to be single chip
    silicon gyro by now right?)

    the machine would establish its own baseline via the gyros - the decision to
    fly forward would be made telling the fore motor to slow down slightly and
    speed up the aft motor in some manner that the total thrust does not change

    for example using a 8 bit word:
    to hover tell all motors to go to decimal 127

    to go forward tell front motor to go to speed 119 and rear motor to go to
    speed 135( for example)

    to land - stop all motion (don't know how to sense that right now) - then
    bring all motors to 110 (for example - stop all of them and drop like a
    rock) hopefully adjust motor speeds to descend at 6 inches per second

    my suggestion is to rig the thing up for initial r/c control and then find
    out what are reasonable values for take off, forward flight, landing etc.
    that way you could set up some limits for what controls the stamp issues to
    the speed controllers

    battery voltage drop would also need to accounted for (I believe) either
    that or use a regulator between the battery and the speed controller.

    this seems like a very ambitious project - keep me posted - I might want to
    build one. (I would still like to build the r/c only project - still a fair
    amount of work there - but you don't have to write the flight control
    software)


    I think about this some more - later


    richard



    Original Message

    From: "David Peterson" <robodave1@home.com>
    To: <basicstamps@egroups.com>
    Sent: Tuesday, September 26, 2000 2:07 PM
    Subject: Re: [noparse][[/noparse]basicstamps] Gyro and Basic Stamp


    RE: [noparse][[/noparse]basicstamps] Gyro and Basic StampFor the flying X, check out
    http://www.draganfly.com/products_4key.html
    http://www.draganfly.com/products_4eh.html
    Seems a bit expensive, but it does already fly.
    ·
    Original Message

    · From: Babu, Nagi -*Contractor
    · To: 'basicstamps@egroups.com'
    · Sent: Tuesday, September 26, 2000 11:15 AM
    · Subject: RE: [noparse][[/noparse]basicstamps] Gyro and Basic Stamp


    · Nick,
    · Thanks for your comments and insight.

    · Hi Rich,

    · I'd like to build an autonomous flying machine - not necessarily an
    airplane or a copter. But, something that has four 6V motors mounted on the
    four corners of an "X" beam. Using BS-II, I'd like to have it hover around
    the house about a feet under the celing (possibly using some IR sensors) and
    avoid obstacles. I know I'm hoping for too much here with my limited
    knowledge in electronics and very strong programming skills.

    · I do understand that I may need to use a gyro. But, how will I use one (or
    a few) in this application ? I do not know. Experts like you may have better
    ideas on this.

    · I guess my question(s) is, how will I use gyro in this above application,
    and how will I be able to interact with the gyro with my BS-II. Any examples
    of harware and code related to BS-II and gyro will be a help that I will
    never forget in my lifetime [noparse]:)[/noparse]

    · thx guys
    · nagi






    ·
    Original Message

    · From: dakota [noparse]/noparse][url=mailto:rfriedrich@ispchannel.com]mailto:rfriedrich@ispchannel.com[/url
    · Sent: Tuesday, September 26, 2000 10:40 AM
    · To: basicstamps@egroups.com
    · Subject: Re: [noparse][[/noparse]basicstamps] Gyro and Basic Stamp



    · I know a fair amount about r/c and gyros
    · what is your question?
    · thanks

    · richard




    ·
    Original Message

    · From: <nags@crosscity.com>
    · To: <basicstamps@egroups.com>
    · Sent: Tuesday, September 26, 2000 10:05 AM
    · Subject: [noparse][[/noparse]basicstamps] Gyro and Basic Stamp



    · > Hello,
    · >
    · > After days of pain in the the butt, I was finally able to complete my
    · > first minature robot. 1 in wide by 3 in high - not a very complex
    · > behavior at this point though - can sense light, take temp
    · > measurement, avoid obstacles and seek light.
    · >
    · >
    · > I'd like to know about a gyro. What it is and where can one use it in
    · > the areas of airplanes (probably r/c airplanes).
    · >
    · > Please throw in your comments. If you can point me to a web site with
    · > any info - that'll be really great too.
    · >
    · > Any help is much appreciated.
    · >
    · > thanks
    · > nagi
    · >
    · >
    · >
    · >
  • ArchiverArchiver Posts: 46,084
    edited 2000-09-26 21:32
    At 9/26/2000 -0500 03:27 PM, you wrote:
    Thanks Rich. I shall keep youguys posted - not sure if I'll be successful - but, I'll know that Itried.

    thanks again for the input.

    One last thing - is there a "micro gyro" that onecan buy from some place ?



    Check atwww.fmadirect.comand tell Fred I sent you <smile>.


    nagi



    Original Message

    From: dakota [noparse]/noparse][url=mailto:rfriedrich@ispchannel.com]mailto:rfriedrich@ispchannel.com[/url
    Sent: Tuesday, September 26, 2000 3:05 PM
    To: basicstamps@egroups.com
    Subject: Re: [noparse][[/noparse]basicstamps] Gyro and Basic Stamp

    I believe that you would have 4 pwm to control each fan - this is a
    different chip than the stamp itself - but the stamp would talk to the pwm
    and give it a string of commands like
    fan #1 run 50%
    fan # 2 run 50%
    fan #3 run 55%
    fan $4 run 55%

    then repeat

    this is a serial servo controller
    the· stamp would output a serial string of commands to make the engines run
    at specified speed

    the gyro normally takes a signal from a rx on the way to a servo which is
    also a pwm signal and modifies it to correct for tilt

    for example 1 ms pulse train drives servo fully ccw and 1 ms pulse train
    drives fully cw
    1,5 ms pulse train centers the servo

    if the gyro is not tilted then it would let the pulse train go through
    unchanged - if the gyro is tilted say 3 degrees then the gyro changes the
    1.5 ms pulse train to say 1.45 ms or to 1.55 ms - whatever it takes to drive
    the machine and also the servo back to level.

    - use a device that is a speed controller for electric motors based on servo
    pulse train commands - bad news is that they cost about 20-30 dollars each

    A r/c radio receiver would need to be hooked up to the gyros to make them
    work and to pass controls into the machine (fly by r/c control)

    If this thing is fully autonomous then need to hook up a 1.5 ms· ttl
    oscillator to signal input on the gyros to make them believe they are still
    hooked up to a system (or use different gyros - bound to be single chip
    silicon gyro by now right?)

    the machine would establish its own baseline via the gyros - the decision to
    fly forward would be made telling the fore motor to slow down slightly and
    speed up the aft motor in some manner that the total thrust does not change

    for example using a 8 bit word:
    to hover tell all motors to go to decimal 127

    to go forward tell front motor to go to speed 119 and rear motor to go to
    speed 135( for example)

    to land - stop all motion (don't know how to sense that right now) - then
    bring all motors to 110 (for example - stop all of them and drop like a
    rock) hopefully adjust motor speeds to descend at 6 inches per second

    my suggestion is to rig the thing up for initial r/c control and then find
    out what are reasonable values for take off, forward flight, landing etc.
    that way you could set up some limits for what controls the stamp issues to
    the speed controllers

    battery voltage drop would also need to accounted for (I believe) either
    that or use a regulator between the battery and the speed controller.

    this seems like a very ambitious project - keep me posted - I might want to
    build one. (I would still like to build the r/c only project - still a fair
    amount of work there - but you don't have to write the flight control
    software)

    I think about this some more - later

    richard


    Original Message

    From: "David Peterson" <robodave1@home.com>
    To: <basicstamps@egroups.com>
    Sent: Tuesday, September 26, 2000 2:07 PM
    Subject: Re: [noparse][[/noparse]basicstamps] Gyro and Basic Stamp

    RE: [noparse][[/noparse]basicstamps] Gyro and Basic StampFor the flying X, check out
    http://www.draganfly.com/products_4key.html
    http://www.draganfly.com/products_4eh.html
    Seems a bit expensive, but it does already fly.
    ·
    Original Message

    · From: Babu, Nagi -*Contractor
    · To: 'basicstamps@egroups.com'
    · Sent: Tuesday, September 26, 2000 11:15 AM
    · Subject: RE: [noparse][[/noparse]basicstamps] Gyro and Basic Stamp

    · Nick,
    · Thanks for your comments and insight.

    · Hi Rich,

    · I'd like to build an autonomous flying machine - not necessarily an
    airplane or a copter. But, something that has four 6V motors mounted on the
    four corners of an "X" beam. Using BS-II, I'd like to have it hover around
    the house about a feet under the celing (possibly using some IR sensors) and
    avoid obstacles. I know I'm hoping for too much here with my limited
    knowledge in electronics and very strong programming skills.

    · I do understand that I may need to use a gyro. But, how will I use one (or
    a few) in this application ? I do not know. Experts like you may have better
    ideas on this.

    · I guess my question(s) is, how will I use gyro in this above application,
    and how will I be able to interact with the gyro with my BS-II. Any examples
    of harware and code related to BS-II and gyro will be a help that I will
    never forget in my lifetime [noparse]:)[/noparse]

    · thx guys
    · nagi





    ·
    Original Message

    · From: dakota [noparse]/noparse][url=mailto:rfriedrich@ispchannel.com]mailto:rfriedrich@ispchannel.com[/url
    · Sent: Tuesday, September 26, 2000 10:40 AM
    · To: basicstamps@egroups.com
    · Subject: Re: [noparse][[/noparse]basicstamps] Gyro and Basic Stamp


    · I know a fair amount about r/c and gyros
    · what is your question?
    · thanks

    · richard



    ·
    Original Message

    · From: <nags@crosscity.com>
    · To: <basicstamps@egroups.com>
    · Sent: Tuesday, September 26, 2000 10:05 AM
    · Subject: [noparse][[/noparse]basicstamps] Gyro and Basic Stamp


    · > Hello,
    · >
    · > After days of pain in the the butt, I was finally able to complete my
    · > first minature robot. 1 in wide by 3 in high - not a very complex
    · > behavior at this point though - can sense light, take temp
    · > measurement, avoid obstacles and seek light.
    · >
    · >
    · > I'd like to know about a gyro. What it is and where can one use it in
    · > the areas of airplanes (probably r/c airplanes).
    · >
    · > Please throw in your comments. If you can point me to a web site with
    · > any info - that'll be really great too.
    · >
    · > Any help is much appreciated.
    · >
    · > thanks
    · > nagi
    · >
    · >
    · >
    · >




  • ArchiverArchiver Posts: 46,084
    edited 2000-09-26 21:40
    Try this.

    Micro Piezo Gyro
    Light weight at 0.57 oz.
    Low power consumption (30mA)
    Adjustable Gain and Neutral Settings
    Extremely reliable with no moving parts
    Wide 23° F - 140° F operating tempurature range
    http://www.acroname.com/robotics/parts/R40-MX-9100.html




    Original Message
    From: nags [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=JMQumFtD_eP3gfqUM6Wc5wJ-84lbPWWShUVPnmS6F02w66DLRGnwC0btOE8yZrl7ldKYgDCQUKHhDAH4]nags@c...[/url
    Sent: Tuesday, September 26, 2000 1:27 PM
    To: 'basicstamps@egroups.com'
    Subject: RE: [noparse][[/noparse]basicstamps] Gyro and Basic Stamp


    Thanks Rich. I shall keep you guys posted - not sure if I'll be successful -
    but, I'll know that I tried.


    thanks again for the input.
    One last thing - is there a "micro gyro" that one can buy from some place ?
    nagi



    Original Message
    From: dakota [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=STMfHgpWYlAKGDGv2XF0WJpZkpFhSt1mHYTfXMhkcUVlR5uC7sc5mGwZVY-KRR5NKpTbr-EMQjM9LU-Dc_iUJA]rfriedrich@i...[/url
    Sent: Tuesday, September 26, 2000 3:05 PM
    To: basicstamps@egroups.com
    Subject: Re: [noparse][[/noparse]basicstamps] Gyro and Basic Stamp


    I believe that you would have 4 pwm to control each fan - this is a
    different chip than the stamp itself - but the stamp would talk to the pwm
    and give it a string of commands like
    fan #1 run 50%
    fan # 2 run 50%
    fan #3 run 55%
    fan $4 run 55%
    then repeat
    this is a serial servo controller
    the stamp would output a serial string of commands to make the engines run
    at specified speed


    the gyro normally takes a signal from a rx on the way to a servo which is
    also a pwm signal and modifies it to correct for tilt
    for example 1 ms pulse train drives servo fully ccw and 1 ms pulse train
    drives fully cw
    1,5 ms pulse train centers the servo
    if the gyro is not tilted then it would let the pulse train go through
    unchanged - if the gyro is tilted say 3 degrees then the gyro changes the
    1.5 ms pulse train to say 1.45 ms or to 1.55 ms - whatever it takes to drive

    the machine and also the servo back to level.
    - use a device that is a speed controller for electric motors based on servo

    pulse train commands - bad news is that they cost about 20-30 dollars each


    A r/c radio receiver would need to be hooked up to the gyros to make them
    work and to pass controls into the machine (fly by r/c control)
    If this thing is fully autonomous then need to hook up a 1.5 ms ttl
    oscillator to signal input on the gyros to make them believe they are still
    hooked up to a system (or use different gyros - bound to be single chip
    silicon gyro by now right?)
    the machine would establish its own baseline via the gyros - the decision to

    fly forward would be made telling the fore motor to slow down slightly and
    speed up the aft motor in some manner that the total thrust does not change
    for example using a 8 bit word:
    to hover tell all motors to go to decimal 127
    to go forward tell front motor to go to speed 119 and rear motor to go to
    speed 135( for example)
    to land - stop all motion (don't know how to sense that right now) - then
    bring all motors to 110 (for example - stop all of them and drop like a
    rock) hopefully adjust motor speeds to descend at 6 inches per second
    my suggestion is to rig the thing up for initial r/c control and then find
    out what are reasonable values for take off, forward flight, landing etc.
    that way you could set up some limits for what controls the stamp issues to
    the speed controllers
    battery voltage drop would also need to accounted for (I believe) either
    that or use a regulator between the battery and the speed controller.
    this seems like a very ambitious project - keep me posted - I might want to
    build one. (I would still like to build the r/c only project - still a fair
    amount of work there - but you don't have to write the flight control
    software)


    I think about this some more - later


    richard


    Original Message
    From: "David Peterson" <robodave1@h...>
    To: <basicstamps@egroups.com>
    Sent: Tuesday, September 26, 2000 2:07 PM
    Subject: Re: [noparse][[/noparse]basicstamps] Gyro and Basic Stamp


    RE: [noparse][[/noparse]basicstamps] Gyro and Basic StampFor the flying X, check out
    http://www.draganfly.com/products_4key.html
    http://www.draganfly.com/products_4eh.html
    Seems a bit expensive, but it does already fly.
    Original Message
    From: Babu, Nagi -*Contractor
    To: 'basicstamps@egroups.com'
    Sent: Tuesday, September 26, 2000 11:15 AM
    Subject: RE: [noparse][[/noparse]basicstamps] Gyro and Basic Stamp


    Nick,
    Thanks for your comments and insight.
    Hi Rich,
    I'd like to build an autonomous flying machine - not necessarily an
    airplane or a copter. But, something that has four 6V motors mounted on the
    four corners of an "X" beam. Using BS-II, I'd like to have it hover around
    the house about a feet under the celing (possibly using some IR sensors) and

    avoid obstacles. I know I'm hoping for too much here with my limited
    knowledge in electronics and very strong programming skills.
    I do understand that I may need to use a gyro. But, how will I use one (or

    a few) in this application ? I do not know. Experts like you may have better

    ideas on this.
    I guess my question(s) is, how will I use gyro in this above application,
    and how will I be able to interact with the gyro with my BS-II. Any examples

    of harware and code related to BS-II and gyro will be a help that I will
    never forget in my lifetime [noparse]:)[/noparse]
    thx guys
    nagi






    Original Message
    From: dakota [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=STMfHgpWYlAKGDGv2XF0WJpZkpFhSt1mHYTfXMhkcUVlR5uC7sc5mGwZVY-KRR5NKpTbr-EMQjM9LU-Dc_iUJA]rfriedrich@i...[/url
    Sent: Tuesday, September 26, 2000 10:40 AM
    To: basicstamps@egroups.com
    Subject: Re: [noparse][[/noparse]basicstamps] Gyro and Basic Stamp



    I know a fair amount about r/c and gyros
    what is your question?
    thanks
    richard




    Original Message
    From: <nags@c...>
    To: <basicstamps@egroups.com>
    Sent: Tuesday, September 26, 2000 10:05 AM
    Subject: [noparse][[/noparse]basicstamps] Gyro and Basic Stamp



    > Hello,
    >
    > After days of pain in the the butt, I was finally able to complete my
    > first minature robot. 1 in wide by 3 in high - not a very complex
    > behavior at this point though - can sense light, take temp
    > measurement, avoid obstacles and seek light.
    >
    >
    > I'd like to know about a gyro. What it is and where can one use it in
    > the areas of airplanes (probably r/c airplanes).
    >
    > Please throw in your comments. If you can point me to a web site with
    > any info - that'll be really great too.
    >
    > Any help is much appreciated.
    >
    > thanks
    > nagi
    >
    >
    >
    >
  • ArchiverArchiver Posts: 46,084
    edited 2000-09-26 22:04
    > here is a link to the scratch pad I used
    >
    > http://www.inetport.com/~davisele/ROSWELL.JPG
    >
    >
    > richard
    >
    >
    >
  • ArchiverArchiver Posts: 46,084
    edited 2000-09-26 22:36
    RE: [noparse][[/noparse]basicstamps] Gyro and Basic Stamp

    For the speed control module, can I use an LM358 as a voltage follower and a digital resistor X9313TP to control the resistance. Basically use DR output as input to VFlwr and the output of VFlwr (pin3) to a motor. Will this work ? I will therefore have four pairs of these guys.




    Original Message

    From: LarryGaminde [noparse]/noparse][url=mailto:lgaminde@televar.com]mailto:lgaminde@televar.com[/url
    Sent: Sunday, September 24, 2000 12:42 PM
    To: basicstamps@egroups.com
    Subject: Re: [noparse][[/noparse]basicstamps] Gyro and Basic Stamp


    Boy! when you say scratch pad you really mean it !!

    dakota wrote:
    >
    > > here is a link to the scratch pad I used
    > >
    > > http://www.inetport.com/~davisele/ROSWELL.JPG
    > >
    > >
    > > richard
    > >
    > >
    > >
  • ArchiverArchiver Posts: 46,084
    edited 2000-09-26 22:39
    you get what you pay for



    ;-)


    richard





    Original Message
    From: "LarryGaminde" <lgaminde@t...>
    To: <basicstamps@egroups.com>
    Sent: Sunday, September 24, 2000 12:42 PM
    Subject: Re: [noparse][[/noparse]basicstamps] Gyro and Basic Stamp


    > Boy! when you say scratch pad you really mean it !!
    >
    > dakota wrote:
    > >
    > > > here is a link to the scratch pad I used
    > > >
    > > > http://www.inetport.com/~davisele/ROSWELL.JPG
    > > >
    > > >
    > > > richard
    > > >
    > > >
    > > >
    >
    >
    >
  • ArchiverArchiver Posts: 46,084
    edited 2000-09-27 16:29
    Reposting:


    Hi Rich,

    For the speed control module, can I use an LM358 as a voltage
    follower and a digital resistor X9313TP to control the resistance.
    Basically use DR output as input to VFlwr and the output of VFlwr
    (pin3) to a motor. Will this work ? I will therefore have four pairs
    of these guys. Will that be a logical route to take ?

    Thanks
    nags






    --- In basicstamps@egroups.com, nags <nags@c...> wrote:
    > For the speed control module, can I use an LM358 as a voltage
    follower and a
    > digital resistor X9313TP to control the resistance. Basically use
    DR output
    > as input to VFlwr and the output of VFlwr (pin3) to a motor. Will
    this work
    > ? I will therefore have four pairs of these guys.
    >
    >
    >
    >
    Original Message
    > From: LarryGaminde [noparse][[/noparse]mailto:lgaminde@t...]
    > Sent: Sunday, September 24, 2000 12:42 PM
    > To: basicstamps@egroups.com
    > Subject: Re: [noparse][[/noparse]basicstamps] Gyro and Basic Stamp
    >
    >
    > Boy! when you say scratch pad you really mean it !!
    >
    > dakota wrote:
    > >
    > > > here is a link to the scratch pad I used
    > > >
    > > > http://www.inetport.com/~davisele/ROSWELL.JPG
    > > >
    > > >
    > > > richard
    > > >
    > > >
    > > >
  • ArchiverArchiver Posts: 46,084
    edited 2000-09-27 17:09
    how about power mosfet IR511 family ?

    I suggest the speed controller and serial servo controller because I didnt
    want to write code for servicing the 4 outputs every 20 ms or whatever

    but if you are going to do the hardware from the ground up - have at it.


    richard




    Original Message
    From: <nags@c...>
    To: <basicstamps@egroups.com>
    Sent: Wednesday, September 27, 2000 10:29 AM
    Subject: [noparse][[/noparse]basicstamps] Re: Gyro and Basic Stamp


    > Reposting:
    >
    >
    > Hi Rich,
    >
    > For the speed control module, can I use an LM358 as a voltage
    > follower and a digital resistor X9313TP to control the resistance.
    > Basically use DR output as input to VFlwr and the output of VFlwr
    > (pin3) to a motor. Will this work ? I will therefore have four pairs
    > of these guys. Will that be a logical route to take ?
    >
    > Thanks
    > nags
    >
    >
    >
    >
    >
    >
    > --- In basicstamps@egroups.com, nags <nags@c...> wrote:
    > > For the speed control module, can I use an LM358 as a voltage
    > follower and a
    > > digital resistor X9313TP to control the resistance. Basically use
    > DR output
    > > as input to VFlwr and the output of VFlwr (pin3) to a motor. Will
    > this work
    > > ? I will therefore have four pairs of these guys.
    > >
    > >
    > >
    > >
    Original Message
    > > From: LarryGaminde [noparse][[/noparse]mailto:lgaminde@t...]
    > > Sent: Sunday, September 24, 2000 12:42 PM
    > > To: basicstamps@egroups.com
    > > Subject: Re: [noparse][[/noparse]basicstamps] Gyro and Basic Stamp
    > >
    > >
    > > Boy! when you say scratch pad you really mean it !!
    > >
    > > dakota wrote:
    > > >
    > > > > here is a link to the scratch pad I used
    > > > >
    > > > > http://www.inetport.com/~davisele/ROSWELL.JPG
    > > > >
    > > > >
    > > > > richard
    > > > >
    > > > >
    > > > >
    >
    >
    >
    >
  • ArchiverArchiver Posts: 46,084
    edited 2000-09-28 18:09
    RE: [noparse][[/noparse]basicstamps] Re: Gyro and Basic Stamp

    How does the IR511 work. I tried looking for more info on the web, but, could not find any. Is there a data sheet for this baby ?

    thx



    Original Message

    From: dakota [noparse]/noparse][url=mailto:rfriedrich@ispchannel.com]mailto:rfriedrich@ispchannel.com[/url
    Sent: Wednesday, September 27, 2000 11:10 AM
    To: basicstamps@egroups.com
    Subject: Re: [noparse][[/noparse]basicstamps] Re: Gyro and Basic Stamp


    how about power mosfet IR511 family ?

    I suggest the speed controller and serial servo controller because I didnt
    want to write code for servicing the· 4 outputs every 20 ms or whatever

    but if you are going to do the hardware from the ground up - have at it.


    richard





    Original Message

    From: <nags@crosscity.com>
    To: <basicstamps@egroups.com>
    Sent: Wednesday, September 27, 2000 10:29 AM
    Subject: [noparse][[/noparse]basicstamps] Re: Gyro and Basic Stamp


    > Reposting:
    >
    >
    > Hi Rich,
    >
    > For the speed control module, can I use an LM358 as a voltage
    > follower and a digital resistor X9313TP to control the resistance.
    > Basically use DR output as input to VFlwr and the output of VFlwr
    > (pin3) to a motor. Will this work ? I will therefore have four pairs
    > of these guys. Will that be a logical route to take ?
    >
    > Thanks
    > nags
    >
    >
    >
    >
    >
    >
    > --- In basicstamps@egroups.com, nags <nags@c...> wrote:
    > > For the speed control module, can I use an LM358 as a voltage
    > follower and a
    > > digital resistor X9313TP to control the resistance. Basically use
    > DR output
    > > as input to VFlwr and the output of VFlwr (pin3) to a motor. Will
    > this work
    > > ? I will therefore have four pairs of these guys.
    > >
    > >
    > >
    > >
    Original Message

    > > From: LarryGaminde [noparse][[/noparse][url=mailto:lgaminde@t]mailto:lgaminde@t[/url]...]
    > > Sent: Sunday, September 24, 2000 12:42 PM
    > > To: basicstamps@egroups.com
    > > Subject: Re: [noparse][[/noparse]basicstamps] Gyro and Basic Stamp
    > >
    > >
    > > Boy! when you say scratch pad you really mean it !!
    > >
    > > dakota wrote:
    > > >
    > > > > here is a link to the scratch pad I used
    > > > >
    > > > > http://www.inetport.com/~davisele/ROSWELL.JPG
    > > > >
    > > > >
    > > > > richard
    > > > >
    > > > >
    > > > >
    >
    >
    >
    >
  • ArchiverArchiver Posts: 46,084
    edited 2000-09-29 17:42
    RE: [noparse][[/noparse]basicstamps] Re: Gyro and Basic Stamp
    Reposting :


    How does the IR511 work? I tried looking for more info on the web, but, could not find any. Is there a data sheet for this baby ?

    thx··

    nagi







    ·
    Original Message
    From: Babu, Nagi -*Contractor [noparse][[/noparse]mailto:nags@crosscity.com]
    Sent: Thursday, September 28, 2000 12:10 PM
    To: 'basicstamps@egroups.com'
    Subject: RE: [noparse][[/noparse]basicstamps] Re: Gyro and Basic Stamp
    How does the IR511 work. I tried looking for more info on the web, but, could not find any. Is there a data sheet for this baby ?

    thx



    Original Message

    From: dakota [noparse]/noparse][url=mailto:rfriedrich@ispchannel.com]mailto:rfriedrich@ispchannel.com[/url
    Sent: Wednesday, September 27, 2000 11:10 AM
    To: basicstamps@egroups.com
    Subject: Re: [noparse][[/noparse]basicstamps] Re: Gyro and Basic Stamp


    how about power mosfet IR511 family ?

    I suggest the speed controller and serial servo controller because I didnt
    want to write code for servicing the· 4 outputs every 20 ms or whatever

    but if you are going to do the hardware from the ground up - have at it.


    richard





    Original Message

    From: <nags@crosscity.com>
    To: <basicstamps@egroups.com>
    Sent: Wednesday, September 27, 2000 10:29 AM
    Subject: [noparse][[/noparse]basicstamps] Re: Gyro and Basic Stamp


    > Reposting:
    >
    >
    > Hi Rich,
    >
    > For the speed control module, can I use an LM358 as a voltage
    > follower and a digital resistor X9313TP to control the resistance.
    > Basically use DR output as input to VFlwr and the output of VFlwr
    > (pin3) to a motor. Will this work ? I will therefore have four pairs
    > of these guys. Will that be a logical route to take ?
    >
    > Thanks
    > nags
    >
    >
    >
    >
    >
    >
    > --- In basicstamps@egroups.com, nags <nags@c...> wrote:
    > > For the speed control module, can I use an LM358 as a voltage
    > follower and a
    > > digital resistor X9313TP to control the resistance. Basically use
    > DR output
    > > as input to VFlwr and the output of VFlwr (pin3) to a motor. Will
    > this work
    > > ? I will therefore have four pairs of these guys.
    > >
    > >
    > >
    > >
    Original Message

    > > From: LarryGaminde [noparse][[/noparse][url=mailto:lgaminde@t]mailto:lgaminde@t[/url]...]
    > > Sent: Sunday, September 24, 2000 12:42 PM
    > > To: basicstamps@egroups.com
    > > Subject: Re: [noparse][[/noparse]basicstamps] Gyro and Basic Stamp
    > >
    > >
    > > Boy! when you say scratch pad you really mean it !!
    > >
    > > dakota wrote:
    > > >
    > > > > here is a link to the scratch pad I used
    > > > >
    > > > > http://www.inetport.com/~davisele/ROSWELL.JPG
    > > > >
    > > > >
    > > > > richard
    > > > >
    > > > >
    > > > >
    >
    >
    >
    >

  • ArchiverArchiver Posts: 46,084
    edited 2000-09-29 21:24
    Look on International Rectifier Page

    richard


    Original Message
    From: "Babu, Nagi -*Contractor" <nags@c...>
    To: <basicstamps@egroups.com>
    Sent: Friday, September 29, 2000 11:42 AM
    Subject: RE: [noparse][[/noparse]basicstamps] Re: Gyro and Basic Stamp


    > Reposting :
    >
    > How does the IR511 work? I tried looking for more info on the web, but,
    > could not find any. Is there a data sheet for this baby ?
    >
    > thx
    >
    > nagi
    >
    >
    >
    >
    >
    >
    >
    >
    Original Message
    > From: Babu, Nagi -*Contractor [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=BFWCxNGXZccMWbLeDv1-fq16Y6uGCU5gpDqYEyJLfrRZ9IbtLV535Gh3V9gJMHFz1l5RxNL1uPFklvSX]nags@c...[/url
    > Sent: Thursday, September 28, 2000 12:10 PM
    > To: 'basicstamps@egroups.com'
    > Subject: RE: [noparse][[/noparse]basicstamps] Re: Gyro and Basic Stamp
    >
    >
    >
    > How does the IR511 work. I tried looking for more info on the web, but,
    > could not find any. Is there a data sheet for this baby ?
    >
    > thx
    >
    >
    >
    Original Message
    > From: dakota [noparse][[/noparse] mailto:rfriedrich@i...
    > <mailto:rfriedrich@i...> ]
    > Sent: Wednesday, September 27, 2000 11:10 AM
    > To: basicstamps@egroups.com
    > Subject: Re: [noparse][[/noparse]basicstamps] Re: Gyro and Basic Stamp
    >
    >
    > how about power mosfet IR511 family ?
    >
    > I suggest the speed controller and serial servo controller because I didnt
    > want to write code for servicing the 4 outputs every 20 ms or whatever
    >
    > but if you are going to do the hardware from the ground up - have at it.
    >
    >
    > richard
    >
    >
    >
    >
    >
    Original Message
    > From: <nags@c...>
    > To: <basicstamps@egroups.com>
    > Sent: Wednesday, September 27, 2000 10:29 AM
    > Subject: [noparse][[/noparse]basicstamps] Re: Gyro and Basic Stamp
    >
    >
    > > Reposting:
    > >
    > >
    > > Hi Rich,
    > >
    > > For the speed control module, can I use an LM358 as a voltage
    > > follower and a digital resistor X9313TP to control the resistance.
    > > Basically use DR output as input to VFlwr and the output of VFlwr
    > > (pin3) to a motor. Will this work ? I will therefore have four pairs
    > > of these guys. Will that be a logical route to take ?
    > >
    > > Thanks
    > > nags
    > >
    > >
    > >
    > >
    > >
    > >
    > > --- In basicstamps@egroups.com, nags <nags@c...> wrote:
    > > > For the speed control module, can I use an LM358 as a voltage
    > > follower and a
    > > > digital resistor X9313TP to control the resistance. Basically use
    > > DR output
    > > > as input to VFlwr and the output of VFlwr (pin3) to a motor. Will
    > > this work
    > > > ? I will therefore have four pairs of these guys.
    > > >
    > > >
    > > >
    > > >
    Original Message
    > > > From: LarryGaminde [noparse][[/noparse] mailto:lgaminde@t <mailto:lgaminde@t> ...]
    > > > Sent: Sunday, September 24, 2000 12:42 PM
    > > > To: basicstamps@egroups.com
    > > > Subject: Re: [noparse][[/noparse]basicstamps] Gyro and Basic Stamp
    > > >
    > > >
    > > > Boy! when you say scratch pad you really mean it !!
    > > >
    > > > dakota wrote:
    > > > >
    > > > > > here is a link to the scratch pad I used
    > > > > >
    > > > > > http://www.inetport.com/~davisele/ROSWELL.JPG
    > <http://www.inetport.com/~davisele/ROSWELL.JPG>
    > > > > >
    > > > > >
    > > > > > richard
    > > > > >
    > > > > >
    > > > > >
    > >
    > >
    > >
    > >
    >
    >
    >
  • ArchiverArchiver Posts: 46,084
    edited 2000-09-30 02:57
    Babu:
    You are probably referring to an IRF511 mosfet. Their site is
    http://www.irf.com.
    I went there and they designate the IRF511 as not recommended, and suggest
    IRF510. www.digikey.com has an online catalog with IRF mosfets listed on
    page 260. I have used logic level IRL530 N-channel devices since they can
    be driven directly from a Stamp through a resistor. 100 volt, 15 amp, 0.11
    ohm on-resistance.

    Ray McArthur


    Original Message
    From: Babu, Nagi -*Contractor <nags@c...>
    To: <basicstamps@egroups.com>
    Sent: Friday, September 29, 2000 12:42 PM
    Subject: RE: [noparse][[/noparse]basicstamps] Re: Gyro and Basic Stamp


    > Reposting :
    >
    > How does the IR511 work? I tried looking for more info on the web, but,
    > could not find any. Is there a data sheet for this baby ?
Sign In or Register to comment.