Shop OBEX P1 Docs P2 Docs Learn Events
Programming — Parallax Forums

Programming

ArchiverArchiver Posts: 46,084
edited 2002-02-13 01:05 in General Discussion
Can anyone help me, I'm getting real desperate now. You see its all to do with programming. I have a BSII connected to a Polariod 6500 module and a PAK VIII which is connected to the Stamp and two servo's. Now I have programmes for running each piece of kit individually, but I have no idea how to get them to work together, I've tried reading through the Basic Stamp manual, and from them I can pretty much work out how each programme works, but I can't figure out how they work together. Here's what I'm trying to do :-
Switch on Robot
Robot uses Polariod Sensor to detected objects
If objects are close by it sends a command to the PAK VIII to change direction
it keeps doing this until there are no objects in its path.
When path is clear of any close object (i.e any objects within 30cm) it takes another reading from the sensor to judge how much the path is clear. Lets say the distance is 100cm then the BSII sends instructions to the PAK VIII to move the robot forward 90 cm or until the sensor detects an object 10cm in front of it.
It then repeats the programme.

I know this requires a lot of programming, as I say I can control each circuit individually, I just can't seem to tie them together. I'm pretty sure someone out there has a similar set-up, if so please help, I've spent a lot of time and money for something that whizzes around making clicking noises and well just bangs into things.
Many, many thanks in advance to all that can help
John

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2000-12-04 10:38
    At 09:13 AM Monday 12/4/2000 +0000, you wrote:
    John -

    >Can anyone help me, I'm getting real desperate now.

    I'm not sure : (

    >You see its all to do with programming.

    I'm NOT SURE that is true ! I suspect it has MORE to do with the
    capabilities (or lack thereof) of the Polaroid 6500 board !

    > I have a BSII connected to a Polariod 6500 module and a PAK VIII which
    > is connected to the Stamp and two servo's. Now I have programmes for
    > running each piece of kit individually, but I have no idea how to get
    > them to work together, I've tried reading through the Basic Stamp manual,
    > and from them I can pretty much work out how each programme works, but I
    > can't figure out how they work together.

    IF they work properly apart, that SHOULD be all that you need. It ALMOST
    sounds as though there is a problem passing data internal to the program.
    E.g. You are "reading" binary, and presuming it is ASCII, or something of
    that nature.

    >Here's what I'm trying to do :-

    >Switch on Robot
    >Robot uses Polariod Sensor to detected objects
    >If objects are close by it sends a command to the PAK VIII to change direction
    >it keeps doing this until there are no objects in its path.

    This MAY BE never, if the objects in question are too close OR too far away.
    There are TWO opportunities for NO ECHO within the time frame. One occurs
    when the echo is TOO LATE, and the other occurs when the echo is TOO EARLY.
    The 6500 Board documentation says " Accurate Sonar Ranging from 6" to 35 FT
    ". Add to that what you will find below regarding ringing time, and this
    may not be as accurate a method as you may suspect. There is also a
    question as to how you are using the board - it has more than one mode of
    operation.

    >When path is clear of any close object (i.e any objects within 30cm) it
    >takes another reading from the sensor to judge how much the path is clear.
    >Lets say the distance is 100cm then the BSII sends instructions to the PAK
    >VIII to move the robot forward 90 cm or until the sensor detects an object
    >10cm in front of it.
    >It then repeats the programme.

    IMHO, that would take accuracy and repeatability greater then the Polaroid
    6500 board has, when you consider delays in the software - which we
    presently DON'T SEE. Just by way of reference, the ARobot documentation on
    the Arrick Robot web site
    [noparse]/noparse][url=http://www.robotics.com/arobot]http://www.robotics.com/arobot[/url shows a 9 second ringing period which must
    be considered on that platform (excerpted from the ARobot Sonar Documentation):

    QUOTE
    sonar:
    high init ' hit transducer.
    pause 1 ' pause for ringing.
    high binh ' raise inhibit.
    rctime echo,0,dist ' wait for echo.
    dist=dist/73+9 ' dist has number of inches.
    ' offset for ringing is 9 inches.
    ' sound travels 1 inch in 73us.
    ' rctime increments 2us.
    pause 40 ' give it a rest.
    low init ' reset sonar pins.
    low binh
    return ' done.
    END QUOTE
    >
    >I know this requires a lot of programming, as I say I can control each
    >circuit individually, I just can't seem to tie them together. I'm pretty
    >sure someone out there has a similar set-up, if so please help, I've spent
    >a lot of time and money for something that whizzes around making clicking
    >noises and well just bangs into things.

    A copy of your present program would SURELY help.

    >Many, many thanks in advance to all that can help
    >John

    We keep trying : )

    Regards,

    Bruce Bates
  • ArchiverArchiver Posts: 46,084
    edited 2000-12-04 11:14
    At 01:03 PM Monday 12/4/2000 +0000, you wrote:
    >Thanks Bruce for your reply, I've glanced over it very quickly as I've just
    >come of nightshift, and will look over it properly once I've had a good
    >sleep. As for sending you the programmes I have, well there are two of them
    >and they are quite long, I don't mind spending time typing them in, if you
    >don't mind downloading seriously long emails.

    Long emails are NO problem, but why type them ? Use cut-and-paste into an
    email, or zip the programs and send them as an attachment. FAR F A
    R easier then typing them !


    >Thanks again for your help and time Sure !
    >John
  • ArchiverArchiver Posts: 46,084
    edited 2000-12-04 13:03
    Thanks Bruce for your reply, I've glanced over it very quickly as I've just
    come of nightshift, and will look over it properly once I've had a good
    sleep. As for sending you the programmes I have, well there are two of them
    and they are quite long, I don't mind spending time typing them in, if you
    don't mind downloading seriously long emails.
    Thanks again for your help and time
    John
    Original Message
    From: Bruce Bates <bvbates@u...>
    To: <basicstamps@egroups.com>
    Sent: Monday, December 04, 2000 10:38 AM
    Subject: Re: [noparse][[/noparse]basicstamps] Programming


    > At 09:13 AM Monday 12/4/2000 +0000, you wrote:
    > John -
    >
    > >Can anyone help me, I'm getting real desperate now.
    >
    > I'm not sure : (
    >
    > >You see its all to do with programming.
    >
    > I'm NOT SURE that is true ! I suspect it has MORE to do with the
    > capabilities (or lack thereof) of the Polaroid 6500 board !
    >
    > > I have a BSII connected to a Polariod 6500 module and a PAK VIII which
    > > is connected to the Stamp and two servo's. Now I have programmes for
    > > running each piece of kit individually, but I have no idea how to get
    > > them to work together, I've tried reading through the Basic Stamp
    manual,
    > > and from them I can pretty much work out how each programme works, but I
    > > can't figure out how they work together.
    >
    > IF they work properly apart, that SHOULD be all that you need. It ALMOST
    > sounds as though there is a problem passing data internal to the program.
    > E.g. You are "reading" binary, and presuming it is ASCII, or something of
    > that nature.
    >
    > >Here's what I'm trying to do :-
    >
    > >Switch on Robot
    > >Robot uses Polariod Sensor to detected objects
    > >If objects are close by it sends a command to the PAK VIII to change
    direction
    > >it keeps doing this until there are no objects in its path.
    >
    > This MAY BE never, if the objects in question are too close OR too far
    away.
    > There are TWO opportunities for NO ECHO within the time frame. One occurs
    > when the echo is TOO LATE, and the other occurs when the echo is TOO
    EARLY.
    > The 6500 Board documentation says " Accurate Sonar Ranging from 6" to 35
    FT
    > ". Add to that what you will find below regarding ringing time, and this
    > may not be as accurate a method as you may suspect. There is also a
    > question as to how you are using the board - it has more than one mode of
    > operation.
    >
    > >When path is clear of any close object (i.e any objects within 30cm) it
    > >takes another reading from the sensor to judge how much the path is
    clear.
    > >Lets say the distance is 100cm then the BSII sends instructions to the
    PAK
    > >VIII to move the robot forward 90 cm or until the sensor detects an
    object
    > >10cm in front of it.
    > >It then repeats the programme.
    >
    > IMHO, that would take accuracy and repeatability greater then the Polaroid
    > 6500 board has, when you consider delays in the software - which we
    > presently DON'T SEE. Just by way of reference, the ARobot documentation on
    > the Arrick Robot web site
    > [noparse]/noparse][url=http://www.robotics.com/arobot]http://www.robotics.com/arobot[/url shows a 9 second ringing period which
    must
    > be considered on that platform (excerpted from the ARobot Sonar
    Documentation):
    >
    > QUOTE
    > sonar:
    > high init ' hit transducer.
    > pause 1 ' pause for ringing.
    > high binh ' raise inhibit.
    > rctime echo,0,dist ' wait for echo.
    > dist=dist/73+9 ' dist has number of inches.
    > ' offset for ringing is 9
    inches.
    > ' sound travels 1 inch in 73us.
    > ' rctime increments 2us.
    > pause 40 ' give it a rest.
    > low init ' reset sonar pins.
    > low binh
    > return ' done.
    > END QUOTE
    > >
    > >I know this requires a lot of programming, as I say I can control each
    > >circuit individually, I just can't seem to tie them together. I'm pretty
    > >sure someone out there has a similar set-up, if so please help, I've
    spent
    > >a lot of time and money for something that whizzes around making clicking
    > >noises and well just bangs into things.
    >
    > A copy of your present program would SURELY help.
    >
    > >Many, many thanks in advance to all that can help
    > >John
    >
    > We keep trying : )
    >
    > Regards,
    >
    > Bruce Bates
    >
    >
    >
    >
    >
  • ArchiverArchiver Posts: 46,084
    edited 2000-12-04 22:48
    Hi Everyone,

    I am having a similar problem. I am designing a robot that appears to
    move within its program ok, but it won't access the navigation routines.
    The robot uses standard DC motors attatched to a home-made motor controll
    circuit. Would some kind person please take a look and tell me what is
    wrong. The program is designed to take user input and let the pilot steer
    untill the robot hits something then the robot executes an evasion routine
    except when the "special modes" are active. Heres the program.

    DIRS = %0000000000001111

    front_left_whisker var in4
    front_right_whisker var in5
    rear_left_whisker var in6
    rear_right_whisker var in7
    forward_march var in8
    march_left var in9
    march_right var in10
    backward_march var in11
    manual_only var in12
    auto_only var in13

    ' forward_march var in8
    ' march_left var in9
    ' march_right var in10
    ' backward_march var in11
    ' manual_only var in12 This overides the whiskers
    ' auto_only var in13 This ovverides the pilot to
    let the robot wander forward
    ' these variables all are attatched to normally closed buttons and are
    activated when
    ' they = 0
    ' all the whisker variables when their switches close = 1


    main:

    debug "main",cr
    if manual_only=0 then manual_control
    if auto_only=0 then auto_forward
    goto scan

    '---- the evade functions are named for where the object is relative to the
    robot --

    scan:

    debug "scan",cr
    if front_left_whisker=1 & front_right_whisker=1 then u_turn
    if rear_left_whisker=1 & rear_right_whisker=1 then forward
    if front_left_whisker=1 then evade_forward_left
    if front_right_whisker=1 then evade_forward_right
    if rear_left_whisker=1 then evade_reverse_left
    if rear_right_whisker=1 then evade_reverse_right
    if auto_only=0 then auto_forward
    goto manual_control


    auto_forward:

    debug "auto forward",cr
    gosub forward
    if auto_only=0 then scan
    goto main


    '---- this detects the pilots
    orders


    manual_control:

    debug "manual control",cr
    if forward_march=0 then manual_forward
    if march_right=0 then manual_turn_right
    if march_left=0 then manual_turn_left
    if backward_march=0 then manual_backward
    goto main


    '---- navigation functions and
    subroutines

    evade_forward_left:

    debug "EFL",cr
    gosub backward
    gosub turn_right
    goto scan

    evade_forward_right:

    debug "EFR",cr
    gosub backward
    gosub turn_left
    goto scan

    evade_reverse_left:

    debug "ERL" ,cr
    gosub forward
    gosub turn_left
    goto scan

    evade_reverse_right:

    debug "ERR",cr
    gosub forward
    gosub turn_right
    goto scan

    u_turn:

    debug "u-turn",cr
    gosub backward
    gosub turn_right
    goto scan

    '---- these are the evasion
    subroutines
    '---- the bits go as
    follows
    '---- forward left motor, forward right motor, reverse left motor, reverse
    right motor-
    forward:

    outs = %1100
    pause 2500
    outs = %0000
    return

    backward:

    outs = %0011
    pause 5000
    outs = %0000
    return

    turn_right:

    outs = %1001
    pause 2500
    outs = %0000
    return

    turn_left:

    outs = %0110
    pause 2500
    outs = %0000
    return

    manual_forward:

    outs = %1100
    pause 1000
    outs = %0000
    return

    manual_backward:

    outs = %0011
    pause 1000
    outs = %0000
    return

    manual_turn_right:

    outs = %1001
    pause 1000
    outs = %0000
    return

    manual_turn_left:

    outs = %0110
    pause 1000
    outs = %0000
    return

    '---- the
    end



    Original Message
    From: "Bruce Bates" <bvbates@u...>
    To: <basicstamps@egroups.com>
    Sent: Monday, December 04, 2000 4:38 AM
    Subject: Re: [noparse][[/noparse]basicstamps] Programming


    > At 09:13 AM Monday 12/4/2000 +0000, you wrote:
    > John -
    >
    > >Can anyone help me, I'm getting real desperate now.
    >
    > I'm not sure : (
    >
    > >You see its all to do with programming.
    >
    > I'm NOT SURE that is true ! I suspect it has MORE to do with the
    > capabilities (or lack thereof) of the Polaroid 6500 board !
    >
    > > I have a BSII connected to a Polariod 6500 module and a PAK VIII which
    > > is connected to the Stamp and two servo's. Now I have programmes for
    > > running each piece of kit individually, but I have no idea how to get
    > > them to work together, I've tried reading through the Basic Stamp
    manual,
    > > and from them I can pretty much work out how each programme works, but I
    > > can't figure out how they work together.
    >
    > IF they work properly apart, that SHOULD be all that you need. It ALMOST
    > sounds as though there is a problem passing data internal to the program.
    > E.g. You are "reading" binary, and presuming it is ASCII, or something of
    > that nature.
    >
    > >Here's what I'm trying to do :-
    >
    > >Switch on Robot
    > >Robot uses Polariod Sensor to detected objects
    > >If objects are close by it sends a command to the PAK VIII to change
    direction
    > >it keeps doing this until there are no objects in its path.
    >
    > This MAY BE never, if the objects in question are too close OR too far
    away.
    > There are TWO opportunities for NO ECHO within the time frame. One occurs
    > when the echo is TOO LATE, and the other occurs when the echo is TOO
    EARLY.
    > The 6500 Board documentation says " Accurate Sonar Ranging from 6" to 35
    FT
    > ". Add to that what you will find below regarding ringing time, and this
    > may not be as accurate a method as you may suspect. There is also a
    > question as to how you are using the board - it has more than one mode of
    > operation.
    >
    > >When path is clear of any close object (i.e any objects within 30cm) it
    > >takes another reading from the sensor to judge how much the path is
    clear.
    > >Lets say the distance is 100cm then the BSII sends instructions to the
    PAK
    > >VIII to move the robot forward 90 cm or until the sensor detects an
    object
    > >10cm in front of it.
    > >It then repeats the programme.
    >
    > IMHO, that would take accuracy and repeatability greater then the Polaroid
    > 6500 board has, when you consider delays in the software - which we
    > presently DON'T SEE. Just by way of reference, the ARobot documentation on
    > the Arrick Robot web site
    > [noparse]/noparse][url=http://www.robotics.com/arobot]http://www.robotics.com/arobot[/url shows a 9 second ringing period which
    must
    > be considered on that platform (excerpted from the ARobot Sonar
    Documentation):
    >
    > QUOTE
    > sonar:
    > high init ' hit transducer.
    > pause 1 ' pause for ringing.
    > high binh ' raise inhibit.
    > rctime echo,0,dist ' wait for echo.
    > dist=dist/73+9 ' dist has number of inches.
    > ' offset for ringing is 9
    inches.
    > ' sound travels 1 inch in 73us.
    > ' rctime increments 2us.
    > pause 40 ' give it a rest.
    > low init ' reset sonar pins.
    > low binh
    > return ' done.
    > END QUOTE
    > >
    > >I know this requires a lot of programming, as I say I can control each
    > >circuit individually, I just can't seem to tie them together. I'm pretty
    > >sure someone out there has a similar set-up, if so please help, I've
    spent
    > >a lot of time and money for something that whizzes around making clicking
    > >noises and well just bangs into things.
    >
    > A copy of your present program would SURELY help.
    >
    > >Many, many thanks in advance to all that can help
    > >John
    >
    > We keep trying : )
    >
    > Regards,
    >
    > Bruce Bates
    >
    >
    >
    >
    >
  • ArchiverArchiver Posts: 46,084
    edited 2000-12-04 22:49
    Sorry forgot to say I have a BS2 board of education.
    Original Message
    From: "Kevin Johnson" <kevrjohn@h...>
    To: <basicstamps@egroups.com>
    Sent: Monday, December 04, 2000 4:48 PM
    Subject: Re: [noparse][[/noparse]basicstamps] Programming


    > Hi Everyone,
    >
    > I am having a similar problem. I am designing a robot that appears to
    > move within its program ok, but it won't access the navigation routines.
    > The robot uses standard DC motors attatched to a home-made motor controll
    > circuit. Would some kind person please take a look and tell me what is
    > wrong. The program is designed to take user input and let the pilot steer
    > untill the robot hits something then the robot executes an evasion routine
    > except when the "special modes" are active. Heres the program.
    >
    > DIRS = %0000000000001111
    >
    > front_left_whisker var in4
    > front_right_whisker var in5
    > rear_left_whisker var in6
    > rear_right_whisker var in7
    > forward_march var in8
    > march_left var in9
    > march_right var in10
    > backward_march var in11
    > manual_only var in12
    > auto_only var in13
    >
    > ' forward_march var in8
    > ' march_left var in9
    > ' march_right var in10
    > ' backward_march var in11
    > ' manual_only var in12 This overides the whiskers
    > ' auto_only var in13 This ovverides the pilot to
    > let the robot wander forward
    > ' these variables all are attatched to normally closed buttons and are
    > activated when
    > ' they = 0
    > ' all the whisker variables when their switches close = 1
    >
    >
    > main:
    >
    > debug "main",cr
    > if manual_only=0 then manual_control
    > if auto_only=0 then auto_forward
    > goto scan
    >
    > '---- the evade functions are named for where the object is relative to
    the
    > robot --
    >
    > scan:
    >
    > debug "scan",cr
    > if front_left_whisker=1 & front_right_whisker=1 then u_turn
    > if rear_left_whisker=1 & rear_right_whisker=1 then forward
    > if front_left_whisker=1 then evade_forward_left
    > if front_right_whisker=1 then evade_forward_right
    > if rear_left_whisker=1 then evade_reverse_left
    > if rear_right_whisker=1 then evade_reverse_right
    > if auto_only=0 then auto_forward
    > goto manual_control
    >
    >
    > auto_forward:
    >
    > debug "auto forward",cr
    > gosub forward
    > if auto_only=0 then scan
    > goto main
    >
    >
    > '---- this detects the pilots
    > orders
    >
    >
    > manual_control:
    >
    > debug "manual control",cr
    > if forward_march=0 then manual_forward
    > if march_right=0 then manual_turn_right
    > if march_left=0 then manual_turn_left
    > if backward_march=0 then manual_backward
    > goto main
    >
    >
    > '---- navigation functions and
    > subroutines
    >
    > evade_forward_left:
    >
    > debug "EFL",cr
    > gosub backward
    > gosub turn_right
    > goto scan
    >
    > evade_forward_right:
    >
    > debug "EFR",cr
    > gosub backward
    > gosub turn_left
    > goto scan
    >
    > evade_reverse_left:
    >
    > debug "ERL" ,cr
    > gosub forward
    > gosub turn_left
    > goto scan
    >
    > evade_reverse_right:
    >
    > debug "ERR",cr
    > gosub forward
    > gosub turn_right
    > goto scan
    >
    > u_turn:
    >
    > debug "u-turn",cr
    > gosub backward
    > gosub turn_right
    > goto scan
    >
    > '---- these are the evasion
    > subroutines
    > '---- the bits go as
    > follows
    > '---- forward left motor, forward right motor, reverse left motor, reverse
    > right motor-
    > forward:
    >
    > outs = %1100
    > pause 2500
    > outs = %0000
    > return
    >
    > backward:
    >
    > outs = %0011
    > pause 5000
    > outs = %0000
    > return
    >
    > turn_right:
    >
    > outs = %1001
    > pause 2500
    > outs = %0000
    > return
    >
    > turn_left:
    >
    > outs = %0110
    > pause 2500
    > outs = %0000
    > return
    >
    > manual_forward:
    >
    > outs = %1100
    > pause 1000
    > outs = %0000
    > return
    >
    > manual_backward:
    >
    > outs = %0011
    > pause 1000
    > outs = %0000
    > return
    >
    > manual_turn_right:
    >
    > outs = %1001
    > pause 1000
    > outs = %0000
    > return
    >
    > manual_turn_left:
    >
    > outs = %0110
    > pause 1000
    > outs = %0000
    > return
    >
    > '---- the
    >
    end
    >
    >
    >
    >
    Original Message
    > From: "Bruce Bates" <bvbates@u...>
    > To: <basicstamps@egroups.com>
    > Sent: Monday, December 04, 2000 4:38 AM
    > Subject: Re: [noparse][[/noparse]basicstamps] Programming
    >
    >
    > > At 09:13 AM Monday 12/4/2000 +0000, you wrote:
    > > John -
    > >
    > > >Can anyone help me, I'm getting real desperate now.
    > >
    > > I'm not sure : (
    > >
    > > >You see its all to do with programming.
    > >
    > > I'm NOT SURE that is true ! I suspect it has MORE to do with the
    > > capabilities (or lack thereof) of the Polaroid 6500 board !
    > >
    > > > I have a BSII connected to a Polariod 6500 module and a PAK VIII
    which
    > > > is connected to the Stamp and two servo's. Now I have programmes for
    > > > running each piece of kit individually, but I have no idea how to get
    > > > them to work together, I've tried reading through the Basic Stamp
    > manual,
    > > > and from them I can pretty much work out how each programme works, but
    I
    > > > can't figure out how they work together.
    > >
    > > IF they work properly apart, that SHOULD be all that you need. It ALMOST
    > > sounds as though there is a problem passing data internal to the
    program.
    > > E.g. You are "reading" binary, and presuming it is ASCII, or something
    of
    > > that nature.
    > >
    > > >Here's what I'm trying to do :-
    > >
    > > >Switch on Robot
    > > >Robot uses Polariod Sensor to detected objects
    > > >If objects are close by it sends a command to the PAK VIII to change
    > direction
    > > >it keeps doing this until there are no objects in its path.
    > >
    > > This MAY BE never, if the objects in question are too close OR too far
    > away.
    > > There are TWO opportunities for NO ECHO within the time frame. One
    occurs
    > > when the echo is TOO LATE, and the other occurs when the echo is TOO
    > EARLY.
    > > The 6500 Board documentation says " Accurate Sonar Ranging from 6" to 35
    > FT
    > > ". Add to that what you will find below regarding ringing time, and this
    > > may not be as accurate a method as you may suspect. There is also a
    > > question as to how you are using the board - it has more than one mode
    of
    > > operation.
    > >
    > > >When path is clear of any close object (i.e any objects within 30cm) it
    > > >takes another reading from the sensor to judge how much the path is
    > clear.
    > > >Lets say the distance is 100cm then the BSII sends instructions to the
    > PAK
    > > >VIII to move the robot forward 90 cm or until the sensor detects an
    > object
    > > >10cm in front of it.
    > > >It then repeats the programme.
    > >
    > > IMHO, that would take accuracy and repeatability greater then the
    Polaroid
    > > 6500 board has, when you consider delays in the software - which we
    > > presently DON'T SEE. Just by way of reference, the ARobot documentation
    on
    > > the Arrick Robot web site
    > > [noparse]/noparse][url=http://www.robotics.com/arobot]http://www.robotics.com/arobot[/url shows a 9 second ringing period which
    > must
    > > be considered on that platform (excerpted from the ARobot Sonar
    > Documentation):
    > >
    > > QUOTE
    > > sonar:
    > > high init ' hit transducer.
    > > pause 1 ' pause for ringing.
    > > high binh ' raise inhibit.
    > > rctime echo,0,dist ' wait for echo.
    > > dist=dist/73+9 ' dist has number of inches.
    > > ' offset for ringing is 9
    > inches.
    > > ' sound travels 1 inch in
    73us.
    > > ' rctime increments 2us.
    > > pause 40 ' give it a rest.
    > > low init ' reset sonar pins.
    > > low binh
    > > return ' done.
    > > END QUOTE
    > > >
    > > >I know this requires a lot of programming, as I say I can control each
    > > >circuit individually, I just can't seem to tie them together. I'm
    pretty
    > > >sure someone out there has a similar set-up, if so please help, I've
    > spent
    > > >a lot of time and money for something that whizzes around making
    clicking
    > > >noises and well just bangs into things.
    > >
    > > A copy of your present program would SURELY help.
    > >
    > > >Many, many thanks in advance to all that can help
    > > >John
    > >
    > > We keep trying : )
    > >
    > > Regards,
    > >
    > > Bruce Bates
    > >
    > >
    > >
    > >
    > >
    >
  • ArchiverArchiver Posts: 46,084
    edited 2001-01-06 18:05
    If i want to program the Basic Stamp II, is there a pretty good reference
    book out there if i'm not familiar with BASIC that can let me know how to
    go about it?
    my code is simple (if - then - else statements)
    i have BASIC Stamp by Claus Kuhnel and Klaus Zahnert
    i was wondering if anyone could recommend anything else?

    - thanks :-)
    LaQuida
  • ArchiverArchiver Posts: 46,084
    edited 2001-01-06 18:27
    At 1/6/2001 Saturday 01:05 PM -0500, La Quida Brown wrote:

    >If i want to program the Basic Stamp II, is there a pretty good reference
    >book out there if i'm not familiar with BASIC that can let me know how to
    >go about it?
    >my code is simple (if - then - else statements)
    >i have BASIC Stamp by Claus Kuhnel and Klaus Zahnert
    >i was wondering if anyone could recommend anything else?
    >
    >- thanks :-)
    >LaQuida

    Hi LaQuida -

    The Parallax web site has a number of fine books, right on the first
    page of their web site. The Parallax web site can be found here

    [noparse][[/noparse] http://www,parallaxinc.com ].

    Any of the books they show will do nicely, based on what your
    specific needs should be. Some are for beginners, others are
    for more advanced users. Each is so labelled, as you will see.

    The book you have, is excellent, although I'm not sure it was intended
    for beginners. The books indicated on the web site may be available from
    their authors as well. Many of them frequent this list, as you may soon see.

    Hope this gets you started, and hope you enjoy Stamping

    Regards,

    Bruce Bates
  • ArchiverArchiver Posts: 46,084
    edited 2001-01-07 01:56
    Scott Edwards electronics have a great first timer book called "Counterfeit"
    which explains the basics of the bs1 and gives heaps of sample code, circuit
    diagrams etc.
    Chris


    Original Message
    From: La Quida Brown <sunset97@S...>
    To: <basicstamps@egroups.com>
    Sent: Sunday, January 07, 2001 2:05 AM
    Subject: [noparse][[/noparse]basicstamps] programming


    >
    > If i want to program the Basic Stamp II, is there a pretty good reference
    > book out there if i'm not familiar with BASIC that can let me know how to
    > go about it?
    > my code is simple (if - then - else statements)
    > i have BASIC Stamp by Claus Kuhnel and Klaus Zahnert
    > i was wondering if anyone could recommend anything else?
    >
    > - thanks :-)
    > LaQuida
    >
    >
    >
    >
    >
  • ArchiverArchiver Posts: 46,084
    edited 2001-01-07 12:48
    La Quida,

    Scott Edwards has in his book "Programming and Customizing the Basic Stamp"
    two chapters called "Basic Stamp Boot Camp" that are *excellent*. I have
    been programming for lots of years, in lots of languages, and those chapters
    are among the best I've seen. Not only is the language introduced, but also
    the electronic interfacing.

    Tom O'Brien
  • ArchiverArchiver Posts: 46,084
    edited 2001-01-09 17:58
    hi im just want to know how to do wrote to the parallax guys??
    It would help if you give me there emial.
    thank you.

    >From: "Chris Anderson" <fes@g...>
    >Reply-To: basicstamps@egroups.com
    >To: <basicstamps@egroups.com>
    >Subject: Re: [noparse][[/noparse]basicstamps] programming
    >Date: Sun, 7 Jan 2001 09:56:19 +0800
    >
    >Scott Edwards electronics have a great first timer book called
    >"Counterfeit"
    >which explains the basics of the bs1 and gives heaps of sample code,
    >circuit
    >diagrams etc.
    >Chris
    >
    >
    >
    Original Message
    >From: La Quida Brown <sunset97@S...>
    >To: <basicstamps@egroups.com>
    >Sent: Sunday, January 07, 2001 2:05 AM
    >Subject: [noparse][[/noparse]basicstamps] programming
    >
    >
    > >
    > > If i want to program the Basic Stamp II, is there a pretty good
    >reference
    > > book out there if i'm not familiar with BASIC that can let me know how
    >to
    > > go about it?
    > > my code is simple (if - then - else statements)
    > > i have BASIC Stamp by Claus Kuhnel and Klaus Zahnert
    > > i was wondering if anyone could recommend anything else?
    > >
    > > - thanks :-)
    > > LaQuida
    > >
    > >
    > >
    > >
    > >
    >
    >
    >
    >

    _________________________________________________________________________
    Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
  • ArchiverArchiver Posts: 46,084
    edited 2001-01-09 18:18
    [font=arial,helvetica]In a message dated 1/9/01 12:06:35 PM Central Standard Time,
    mercuryhg7@hotmail.com writes:


    hi im just want to know how to do wrote to the parallax guys



    You can contact the Parallax support staff by writing to:
    stamptech@parallaxinc.com[/font]
  • ArchiverArchiver Posts: 46,084
    edited 2001-01-09 22:56
    go to their website http://www.parallaxinc.com
    All of their contact details are on their website
    Chris
    Original Message
    From: che guevara <mercuryhg7@h...>
    To: <basicstamps@egroups.com>
    Sent: Wednesday, January 10, 2001 1:58 AM
    Subject: Re: [noparse][[/noparse]basicstamps] programming


    >
    > hi im just want to know how to do wrote to the parallax guys??
    > It would help if you give me there emial.
    > thank you.
    >
    > >From: "Chris Anderson" <fes@g...>
    > >Reply-To: basicstamps@egroups.com
    > >To: <basicstamps@egroups.com>
    > >Subject: Re: [noparse][[/noparse]basicstamps] programming
    > >Date: Sun, 7 Jan 2001 09:56:19 +0800
    > >
    > >Scott Edwards electronics have a great first timer book called
    > >"Counterfeit"
    > >which explains the basics of the bs1 and gives heaps of sample code,
    > >circuit
    > >diagrams etc.
    > >Chris
    > >
    > >
    > >
    Original Message
    > >From: La Quida Brown <sunset97@S...>
    > >To: <basicstamps@egroups.com>
    > >Sent: Sunday, January 07, 2001 2:05 AM
    > >Subject: [noparse][[/noparse]basicstamps] programming
    > >
    > >
    > > >
    > > > If i want to program the Basic Stamp II, is there a pretty good
    > >reference
    > > > book out there if i'm not familiar with BASIC that can let me know how
    > >to
    > > > go about it?
    > > > my code is simple (if - then - else statements)
    > > > i have BASIC Stamp by Claus Kuhnel and Klaus Zahnert
    > > > i was wondering if anyone could recommend anything else?
    > > >
    > > > - thanks :-)
    > > > LaQuida
    > > >
    > > >
    > > >
    > > >
    > > >
    > >
    > >
    > >
    > >
    >
    > _________________________________________________________________________
    > Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
    >
    >
    >
    >
  • ArchiverArchiver Posts: 46,084
    edited 2002-02-12 05:56
    i just spent 2 years learning c, c++, and basic
    i'm very interested in programming microcontrollers and embedded
    programming but i dont know a thing about electronics i've read alot
    of books but i just cant get it well what i'm asking is this required
    for for microcontrollers or should i give up on this field
  • ArchiverArchiver Posts: 46,084
    edited 2002-02-12 11:57
    I don't feel that being an expert in electronics is needed (although it does
    help a lot).
    You can learn a lot in a short while using
    the www.parallaxinc.com BasicStamps.
    You should get one of their board kits, such as the BOE (Board of Education)
    Starter kits,
    or maybe the more sophisticated StampWorks kit or NS-1000 board itself.
    In any case they have pretty much all their manuals and software online, so
    you can
    use the manuals and run through all their experiments and lessons and build
    up
    experience and knowledge with the Basic Stamp MCU's.


    Original Message
    From: mozzart22 [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=5QP65YAz7jjOYOTQPFbZKuZU1GQBrPYocSWg-7Hp7O_s8SYVEKHUtR6x5eTbM-5rnPqphWXJRU9Mjgg]mozzart22@y...[/url
    Sent: Monday, February 11, 2002 11:56 PM
    To: basicstamps@yahoogroups.com
    Subject: [noparse][[/noparse]basicstamps] programming


    i just spent 2 years learning c, c++, and basic
    i'm very interested in programming microcontrollers and embedded
    programming but i dont know a thing about electronics i've read alot
    of books but i just cant get it well what i'm asking is this required
    for for microcontrollers or should i give up on this field


    To UNSUBSCRIBE, just send mail to:
    basicstamps-unsubscribe@yahoogroups.com
    from the same email address that you subscribed. Text in the Subject and
    Body of the message will be ignored.


    Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
  • ArchiverArchiver Posts: 46,084
    edited 2002-02-12 19:18

    Original Message
    From: Chris Loiacono [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=TP-qfrmXtdbOsywoeoAFb33EnO4SY-_rInEekPELZcU1-GHHIcd4SbFGOKCRt___8iU0ibJZDyge3w]chris@m...[/url
    Sent: Tuesday, February 12, 2002 11:18 AM
    To: 'basicstamps@yahoogroups.com'
    Subject: RE: [noparse][[/noparse]basicstamps] programming


    Don't give up. Embedded controllers is one of the few related fields that
    actually has a future. Try the previous suggestion and get into the Stamps
    In Class Curriculum at the Parallax Inc. web site, purchase one of the
    kits...(You've already invested in 2 yrs worth of education, a few more
    rubles will enable you to actually use it for something good)
    Just jump in with no fear and start trying. All of a sudden it will make
    sense. Read all the most basic material you can find on the subject. You
    might also try Scott Edwards' book "Programming and Customizing the Basic
    Stamp Computer" - it starts out with sections on all the related and
    necessary hardware and electronics in a way that you are sure to understand.
    And be patient - requirement number 1, IMHO...

    I introduced my daughter to Stamps 3 or 4 years ago, and when she put her
    formal programming training together with them, she went on to do great
    things with all kinds of microcontrollers and makes super $$, often hiring
    fellow students to help out because there's so much demand.

    The Parallax Stamps are a great place to start, I think the best -
    reliable, well documented, and has this list associated with it, where you
    will get lots of help just for politely asking....

    Chris

    Original Message
    From: mozzart22 [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=-h_cufo0HyVrtfsyE5m0XeJCYxf8y8k4D3Ddnono_76SfUJtUhHFdiy-JM7zSGWTdnBA2SqSMpaFFkY6uQ]mozzart22@y...[/url
    Sent: Monday, February 11, 2002 9:56 PM
    To: basicstamps@yahoogroups.com
    Subject: [noparse][[/noparse]basicstamps] programming


    i just spent 2 years learning c, c++, and basic
    i'm very interested in programming microcontrollers and embedded
    programming but i dont know a thing about electronics i've read alot
    of books but i just cant get it well what i'm asking is this required
    for for microcontrollers or should i give up on this field


    To UNSUBSCRIBE, just send mail to:
    basicstamps-unsubscribe@yahoogroups.com
    from the same email address that you subscribed. Text in the Subject and
    Body of the message will be ignored.


    Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
  • ArchiverArchiver Posts: 46,084
    edited 2002-02-12 21:00
    I echo Chris's comments,

    I think the Stamps in Class is excellent tutorial - also this list never
    discourages questions from pure beginners.

    I bet you'll have more fun learning to program a stamp than you ever did
    learning C :-)

    Regards,

    Tony Wells

    Original Message
    From: "Chris Loiacono (E-mail)" <chris01@t...>
    To: "Basicstamps Group (E-mail)" <basicstamps@yahoogroups.com>
    Sent: Tuesday, February 12, 2002 7:18 PM
    Subject: FW: [noparse][[/noparse]basicstamps] programming


    >
    >
    >
    Original Message
    > From: Chris Loiacono [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=XAvys95T25HMsuVsOKROK96emYM-mby2IVWoHY6wY6doJSry8r0xmQ1KqU2k6jHioyU7GEU-wIAScYkkdQ]chris@m...[/url
    > Sent: Tuesday, February 12, 2002 11:18 AM
    > To: 'basicstamps@yahoogroups.com'
    > Subject: RE: [noparse][[/noparse]basicstamps] programming
    >
    >
    > Don't give up. Embedded controllers is one of the few related fields that
    > actually has a future. Try the previous suggestion and get into the Stamps
    > In Class Curriculum at the Parallax Inc. web site, purchase one of the
    > kits...(You've already invested in 2 yrs worth of education, a few more
    > rubles will enable you to actually use it for something good)
    > Just jump in with no fear and start trying. All of a sudden it will make
    > sense. Read all the most basic material you can find on the subject. You
    > might also try Scott Edwards' book "Programming and Customizing the Basic
    > Stamp Computer" - it starts out with sections on all the related and
    > necessary hardware and electronics in a way that you are sure to
    understand.
    > And be patient - requirement number 1, IMHO...
    >
    > I introduced my daughter to Stamps 3 or 4 years ago, and when she put her
    > formal programming training together with them, she went on to do great
    > things with all kinds of microcontrollers and makes super $$, often hiring
    > fellow students to help out because there's so much demand.
    >
    > The Parallax Stamps are a great place to start, I think the best -
    > reliable, well documented, and has this list associated with it, where you
    > will get lots of help just for politely asking....
    >
    > Chris
    >
    >
    Original Message
    > From: mozzart22 [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=ISmtaU8TiC4xGoqGNWmupqA7ORjVIfMOTceK59ZeWUnmsiNO33h9eIprmIwyRwRVRw-FpC2oKkhktA]mozzart22@y...[/url
    > Sent: Monday, February 11, 2002 9:56 PM
    > To: basicstamps@yahoogroups.com
    > Subject: [noparse][[/noparse]basicstamps] programming
    >
    >
    > i just spent 2 years learning c, c++, and basic
    > i'm very interested in programming microcontrollers and embedded
    > programming but i dont know a thing about electronics i've read alot
    > of books but i just cant get it well what i'm asking is this required
    > for for microcontrollers or should i give up on this field
    >
    >
    > To UNSUBSCRIBE, just send mail to:
    > basicstamps-unsubscribe@yahoogroups.com
    > from the same email address that you subscribed. Text in the Subject and
    > Body of the message will be ignored.
    >
    >
    > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
    >
    >
    >
    > To UNSUBSCRIBE, just send mail to:
    > basicstamps-unsubscribe@yahoogroups.com
    > from the same email address that you subscribed. Text in the Subject and
    Body of the message will be ignored.
    >
    >
    > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
    >
    >
    >
  • ArchiverArchiver Posts: 46,084
    edited 2002-02-13 00:54
    I was in your shoes about 9 months ago. I had to do a sr. project to
    graduate from my university. Like you, I have an interest in
    programming microcontrollers and I didn't know where to start. I knew
    C/C++ and very little assembly. At first I focused on 8051s b/c there
    was a book on it in the library. I shopped around and after 20-30
    calls ordered an evaluation board. When I got it, I was very upset
    and decided to make the switch to the Basic Stamp.

    Everyone is saying that Basic Stamps are a good place to start. I say
    they are the "BEST" place to start. If you want to learn on your own,
    I highly recommend purchase of the Stampworks or Boebot depending or
    your application/project. My project was a radio controlled talking
    clock so I purchased Stampworks. I know you may be thinking it's too
    expensive. I felt that way too when I bought it but it really helped
    me get up to speed fast b/c I "learned by doing".

    This site is for Stampworks:
    http://www.parallaxinc.com/html_files/products/BS_Kits/stampworks.asp

    The site has a PDF on Manual as well as source code for experiments.
    Jon Williams did a good job in the authoring of the book.

    I highly recommend Stampworks. If u can shell out the bucks, it is
    worth it.

    RP




    --- In basicstamps@y..., "mozzart22" <mozzart22@y...> wrote:
    > i just spent 2 years learning c, c++, and basic
    > i'm very interested in programming microcontrollers and embedded
    > programming but i dont know a thing about electronics i've read
    alot
    > of books but i just cant get it well what i'm asking is this
    required
    > for for microcontrollers or should i give up on this field
  • ArchiverArchiver Posts: 46,084
    edited 2002-02-13 01:01
    Actually Basic Stamp is a good palce to start microcontroller. A look of
    tutorial is released in the Stamp web site. You may need a breadboard for
    simple experiment, sometimes soldering a little bit. Since you are in Basic
    Stamp interest grp I suppose you are trying out STAMP, right?


    Original Message
    From: "mozzart22" <mozzart22@y...>
    To: <basicstamps@yahoogroups.com>
    Sent: Monday, February 11, 2002 9:56 PM
    Subject: [noparse][[/noparse]basicstamps] programming


    > i just spent 2 years learning c, c++, and basic
    > i'm very interested in programming microcontrollers and embedded
    > programming but i dont know a thing about electronics i've read alot
    > of books but i just cant get it well what i'm asking is this required
    > for for microcontrollers or should i give up on this field
    >
    >
    > To UNSUBSCRIBE, just send mail to:
    > basicstamps-unsubscribe@yahoogroups.com
    > from the same email address that you subscribed. Text in the Subject and
    Body of the message will be ignored.
    >
    >
    > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
    >
    >
  • ArchiverArchiver Posts: 46,084
    edited 2002-02-13 01:05
    I would strongly suggest that you pick up the stamps in class packets ; it
    helped me a lot in understanding the whole thing. It's aimed at a
    high-school level, but I found it very useful, even having gotten a degree
    in computer science (and, in fact, taken undergraduate-level electronics
    classes. I passed, but I ended up with almost no pragmatic experience.)

    On Wed, 13 Feb 2002, rpsu279 wrote:

    > I was in your shoes about 9 months ago. I had to do a sr. project to
    > graduate from my university. Like you, I have an interest in
    > programming microcontrollers and I didn't know where to start. I knew
    > C/C++ and very little assembly. At first I focused on 8051s b/c there
    > was a book on it in the library. I shopped around and after 20-30
    > calls ordered an evaluation board. When I got it, I was very upset
    > and decided to make the switch to the Basic Stamp.
    >
    > Everyone is saying that Basic Stamps are a good place to start. I say
    > they are the "BEST" place to start. If you want to learn on your own,
    > I highly recommend purchase of the Stampworks or Boebot depending or
    > your application/project. My project was a radio controlled talking
    > clock so I purchased Stampworks. I know you may be thinking it's too
    > expensive. I felt that way too when I bought it but it really helped
    > me get up to speed fast b/c I "learned by doing".
    >
    > This site is for Stampworks:
    > http://www.parallaxinc.com/html_files/products/BS_Kits/stampworks.asp
    >
    > The site has a PDF on Manual as well as source code for experiments.
    > Jon Williams did a good job in the authoring of the book.
    >
    > I highly recommend Stampworks. If u can shell out the bucks, it is
    > worth it.
    >
    > RP
    >
    >
    >
    >
    > --- In basicstamps@y..., "mozzart22" <mozzart22@y...> wrote:
    > > i just spent 2 years learning c, c++, and basic
    > > i'm very interested in programming microcontrollers and embedded
    > > programming but i dont know a thing about electronics i've read
    > alot
    > > of books but i just cant get it well what i'm asking is this
    > required
    > > for for microcontrollers or should i give up on this field
    >
    >
    > To UNSUBSCRIBE, just send mail to:
    > basicstamps-unsubscribe@yahoogroups.com
    > from the same email address that you subscribed. Text in the Subject and Body
    of the message will be ignored.
    >
    >
    > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
    >
    >
    >

    Sean T. Lamont, CTO / Chief NetNerd, Abstract Software, Inc. (ServNet)
    Seattle - Bellingham - Vancouver - Portland - Everett - Tacoma - Bremerton
    email: lamont@a... WWW: http://www.serv.net
    "...There's no moral, it's just a lot of stuff that happens". - H. Simpson
Sign In or Register to comment.