Shop OBEX P1 Docs P2 Docs Learn Events
Motor Control — Parallax Forums

Motor Control

ArchiverArchiver Posts: 46,084
edited 2004-04-30 03:17 in General Discussion
Can anyone give me some tips on where I can find examples of how to wire and
control motors which require higher volts/amps than the stamp can accept?

Thanks,

Wayne Fulcher
wayne@d...

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2001-02-13 23:23
    If you will be more specific, i will show you directly..

    Regards,


    Roy Hall

    please see:

    http://home.fuse.net/leroy/resume.htm


    Wayne Fulcher wrote:
    >
    > Can anyone give me some tips on where I can find examples of how to wire and
    > control motors which require higher volts/amps than the stamp can accept?
    >
    > Thanks,
    >
    > Wayne Fulcher
    >
    >
    >
    > Name: winmail.dat
    > winmail.dat Type: application/ms-tnef
    > Encoding: base64

    --
    *******************************************************
    * Roy Hall, Senior N8VRC, CET *
    *******************************************************
    * Phone: (513) 697-7539 *
    * Email: leroy@f... *
    * URL: http://home.fuse.net/leroy/resume.htm *
    *******************************************************
    * Roy Hall *
    * 317 Cherokee Drive *
    * Loveland, Ohio - USA 45140-2404 *
    *******************************************************
  • ArchiverArchiver Posts: 46,084
    edited 2001-02-14 06:41
    Hi Wayne,

    Check out
    http://divelec.tripod.com/mc/digital_bs2.html for
    one way to do this and
    http://divelec.tripod.com/mc/pwm1mc6mtr.html for
    a sample BS2 program to try.

    Or try
    http://divelec.tripod.com/rcic/rc_interface_chip.h
    tm to control the motors by radio control.

    Carl
    Diverse Electronic Services


    ---- On Tue, 13 Feb 2001, Wayne Fulcher
    (wayne@d...) wrote:

    > Can anyone give me some tips on where I can
    find examples of how to wire
    > and
    > control motors which require higher volts/amps
    than the stamp can
    > accept?
    >
    > Thanks,
    >
    > Wayne Fulcher
    > wayne@d...
    >
    >
    >
    >
    >
    >
    >
    > ATTACHMENT 1: application/ms-tnef;
    name="winmail.dat"
    > DISPOSITION: attachment; filename="winmail.dat"
    >


    ________________________________________________
    Get your own "800" number
    Voicemail, fax, email, and a lot more
    http://www.ureach.com/reg/tag
  • ArchiverArchiver Posts: 46,084
    edited 2001-02-14 15:09
    Carl,
    First, thanks for the help.
    I noticed as I was browsing your web pages that you had sample code in
    PICBasic for chips like the PIC16F8##.
    I am a beginner at electronics and the only things I have ever accomplished
    was I have downloaded code (in hex) for chips like the PIC12C50# and burned
    them and used it for a specific application that the code was written for.
    Since I have discovered the Basic stamp, which I use because I can write my
    own code in Basic. I have a PIC burner but I have no idea how to write code
    (in basic) for PIC chips and burn. Do you have some sort of basic editor for
    these chips and is there some sort of manual like what comes with a stamp
    that tells you all the available commands and their syntax?
    Also I assume different chips have different features, where could I look to
    get specs on the many different chips out there?

    Thanks a lot for your help.

    Wayne Fulcher
    wayne@d...


    Original Message
    From: Carl A. Kollar [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=6AXHIh9NTD0LeYBu7eHA6VOfHo6rzhBj5zNSJuiXXWZsIkKjAdnmpe-gHROkCZPF-fmIQmsLNRFYqtQpDAKj]carlk3jml@b...[/url
    Sent: Wednesday, February 14, 2001 1:42 AM
    To: Wayne Fulcher
    Subject: Re: [noparse][[/noparse]basicstamps] Motor Control

    Hi Wayne,

    Check out
    http://divelec.tripod.com/mc/digital_bs2.html for
    one way to do this and
    http://divelec.tripod.com/mc/pwm1mc6mtr.html for
    a sample BS2 program to try.

    Or try
    http://divelec.tripod.com/rcic/rc_interface_chip.h
    tm to control the motors by radio control.

    Carl
    Diverse Electronic Services


    ---- On Tue, 13 Feb 2001, Wayne Fulcher
    (wayne@d...) wrote:

    > Can anyone give me some tips on where I can
    find examples of how to wire
    > and
    > control motors which require higher volts/amps
    than the stamp can
    > accept?
    >
    > Thanks,
    >
    > Wayne Fulcher
    > wayne@d...
    >
    >
    >
    >
    >
    >
    >
    > ATTACHMENT 1: application/ms-tnef;
    name="winmail.dat"
    > DISPOSITION: attachment; filename="winmail.dat"
    >


    ________________________________________________
    Get your own "800" number
    Voicemail, fax, email, and a lot more
    http://www.ureach.com/reg/tag
  • ArchiverArchiver Posts: 46,084
    edited 2001-02-15 04:35
    Hi Wayne,

    I'll email you off-list with answers to your
    questions since this is the stamp list and we'll
    be talking PIC (I use both).

    Carl
    Diverse Electronic Services


    ---- On Wed, 14 Feb 2001, Wayne Fulcher
    (wayne@d...) wrote:

    > Carl,
    > First, thanks for the help.
    > I noticed as I was browsing your web pages that
    you had sample code in
    > PICBasic for chips like the PIC16F8##.
    > I am a beginner at electronics and the only
    things I have ever
    > accomplished
    > was I have downloaded code (in hex) for chips
    like the PIC12C50# and
    > burned
    > them and used it for a specific application
    that the code was written
    > for.
    > Since I have discovered the Basic stamp, which
    I use because I can write
    > my
    > own code in Basic. I have a PIC burner but I
    have no idea how to write
    > code
    > (in basic) for PIC chips and burn. Do you have
    some sort of basic editor
    > for
    > these chips and is there some sort of manual
    like what comes with a
    > stamp
    > that tells you all the available commands and
    their syntax?
    > Also I assume different chips have different
    features, where could I
    > look to
    > get specs on the many different chips out there?
    >
    > Thanks a lot for your help.
    >
    > Wayne Fulcher
    > wayne@d...
    >
    >
    >
    Original Message
    > From: Carl A. Kollar
    [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=Qc_tDCySKcLYRt1b5I4F6Cn53GQhm5USjlqkDSFdV3pxLs91fCckPtsPdJaa89K0aeddWTo3vkCyTWELnb-T2Q]carlk3jml@b...[/url
    > Sent: Wednesday, February 14, 2001 1:42 AM
    > To: Wayne Fulcher
    > Subject: Re: [noparse][[/noparse]basicstamps] Motor Control
    >
    > Hi Wayne,
    >
    > Check out
    > http://divelec.tripod.com/mc/digital_bs2.html
    for
    > one way to do this and
    > http://divelec.tripod.com/mc/pwm1mc6mtr.html for
    > a sample BS2 program to try.
    >
    > Or try
    >
    http://divelec.tripod.com/rcic/rc_interface_chip.h
    > tm to control the motors by radio control.
    >
    > Carl
    > Diverse Electronic Services
    >
    >
    > ---- On Tue, 13 Feb 2001, Wayne Fulcher
    > (wayne@d...) wrote:
    >
    > > Can anyone give me some tips on where I can
    > find examples of how to wire
    > > and
    > > control motors which require higher volts/amps
    > than the stamp can
    > > accept?
    > >
    > > Thanks,
    > >
    > > Wayne Fulcher
    > > wayne@d...
    > >
    > >
    > >
    > >
    > >
    > >
    > >
    > > ATTACHMENT 1: application/ms-tnef;
    > name="winmail.dat"
    > > DISPOSITION: attachment;
    filename="winmail.dat"
    > >
    >
    >
    > ________________________________________________
    > Get your own "800" number
    > Voicemail, fax, email, and a lot more
    > http://www.ureach.com/reg/tag
    >
    >
    >
    >
    >
    >
    >
    >
    >


    ________________________________________________
    Get your own "800" number
    Voicemail, fax, email, and a lot more
    http://www.ureach.com/reg/tag
  • ArchiverArchiver Posts: 46,084
    edited 2001-02-25 15:04
    Hello stampers, I've been lurking and reading posts for a month or so, guess
    I could describe myself as a techno junkie so I find the innovation and
    experimentation incredibly appealing. Problem for me is, though, and I'm
    sure this is not unique, I have too many interests and a about at the point
    of deciding that taking on the stamp learning curve is just too much. I
    do, however, have a project in mind involving motor control for a specific
    application-I have a aluminum fabricating business and want to automate a
    cutoff saw. I have the hardware taken care of, steppers and drives,
    translators. I would like to come up with a controller other than a PC that
    would allow the entry of a dimension, then position the stop of saw
    according to that input. Single axis, couple of limit switches, but need a
    very basic input terminal, kind of like a digital tape measure.

    My question is this, and I ask your forgiveness in advance for posting a
    commercial request, is there anyone out there who would like to undertake
    the design of this project for $? I have more money than time and really do
    need to check in with the family from time to time. Or, if there is a
    solution someone is aware of I'd appreciate knowing about it. Thanks for
    your help and if this is an inappropriate post just let me know and I won't
    do it again. TIA, Chuck.
    Original Message
    From: <basicstamps@yahoogroups.com>
    To: <basicstamps@yahoogroups.com>
    Sent: Sunday, February 25, 2001 2:14 AM
    Subject: [noparse][[/noparse]basicstamps] Digest Number 494


    > There are 17 messages in this issue.
    >
    > Topics in this digest:
    >
    > 1. Re: opinions on which board to buy?
    > From: carl@g...
    > 2. RE: Connecting PocketPC to a BS2
    > From: "William E. Heacock" <wheacock@s...>
    > 3. serial question
    > From: oneuptick@e...
    > 4. Re: serial question
    > From: jonwms@a...
    > 5. bs2sx EEPROM question
    > From: sznavor23@h...
    > 6. TWS-434 and RWS-434 RF modules
    > From: "Brice D. Hornback" <bdh@c...>
    > 7. IRL530N mosfet with BS2
    > From: "techno masai" <plunkettm@e...>
    > 8. Robot finding of a charging base
    > From: Kerry Barlow <admin@m...>
    > 9. Re: Robot finding of a charging base
    > From: AC Jacques <acjacques@i...>
    > 10. Re: Connecting PocketPC to a BS2
    > From: "R. Michael O'Bannon" <mob@m...>
    > 11. Basic Stamp Editor Software
    > From: "Mike" <silo@c...>
    > 12. Re: Oops OK now re: IRL530N mosfet with BS2
    > From: "techno masai" <plunkettm@e...>
    > 13. Re: IRL530N mosfet with BS2
    > From: "Ray McArthur" <rjmca@u...>
    > 14. Re: Oops OK now re: IRL530N mosfet with BS2
    > From: "Ray McArthur" <rjmca@u...>
    > 15. Re: Oops OK now re: IRL530N mosfet with BS2
    > From: "techno masai" <plunkettm@e...>
    > 16. Re: [noparse][[/noparse]BS2 Interface w/ Voice Direct 364 from Sensory]
    > From: Alex McAlpine <alexmcalpine@u...>
    > 17. Re: Connecting PocketPC to a BS2
    > From: tunatunup2000@y...
    >
    >
    > ________________________________________________________________________
    > ________________________________________________________________________
    >
    > Message: 1
    > Date: Sat, 24 Feb 2001 06:29:37 -0500 (EST)
    > From: carl@g...
    > Subject: Re: opinions on which board to buy?
    >
    > >Where do I find the NX-1000 and what makes it a good board?
    > >
    >
    > Page 12 of the 2001 Parallax catalog. Their part #28135. $149.
    >
    >
    >
    >
    > ________________________________________________________________________
    > ________________________________________________________________________
    >
    > Message: 2
    > Date: Sat, 24 Feb 2001 08:14:53 -0500
    > From: "William E. Heacock" <wheacock@s...>
    > Subject: RE: Connecting PocketPC to a BS2
    >
    > I'm using a freeware program called Pocket Terra Term written by T.
    > Teranishi. Then use the capture buffer.
    > This is for a Win CE device. I happen to use the Casio E-125...
    > I simply spew out data out of the Stamp at 9600 baud adding commas between
    > data words. I can then import as comma delimited to a spreadsheet.
    > It works fine.
    > Bill
    >
    >
    Original Message
    > From: tunatunup2000@y... [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=PfIzm-65q1i1RkG3LthyUeaKEBI39xihSgbOoJviZjrnlbtHsdxluODMD5Jbo-fgdFPlWWqmfR4EgKDvcFYTDic]tunatunup2000@y...[/url
    > Sent: Saturday, February 24, 2001 2:06 AM
    > To: basicstamps@yahoogroups.com
    > Subject: [noparse][[/noparse]basicstamps] Connecting PocketPC to a BS2
    >
    >
    > Connecting PocketPC to a BS2
    >
    > Hi everyone. I have been quietly lurking in this Egroup for about 3
    > weeks, ever since I bought my Wedge, (an OEM BS2) and I have been
    > having a blast reading the posts here and experimenting with the BS2.
    >
    > I would like to use the BS2 and my PocketPC for data acquisition.
    > After following through the excellent series of articles by Jared
    > Hoylman "Understanding and using Visual Basic" at
    > http://rentron.com/VisualBasic.htm I tried connecting my PocketPC to
    > the BS2 but ran into a few problems.
    >
    > Has anyone connected a BS2 to a PocketPC for data acquisition? If so
    > is there a web site where I can get more information on this? I'm
    > testing the design using a simple circuit to send pulses to a pin(15)
    > and using the BS2's Count and Serout function.
    >
    > Cycles VAR WORD
    >
    > Loop:
    > Count 15,250,Cycles
    > Serout 16,16780,[noparse][[/noparse]DEC Cycles]
    > GoTo Loop
    >
    > Simple enough and works just how I expect it to and I'm able to
    > read
    > it just fine with the MSComm control but not with the PocketPC's
    > Comm
    > control.
    >
    > I'm getting an error when I try to open port 2 using the comm
    > control. Port 1 opens fine but port 2 generates a "port
    > unavailable"
    > error on the PocketPC.
    >
    > 'Select Comm Port
    > If Option1.Value = True Then Comm1.CommPort = 1
    > If Option2.Value = True Then Comm1.CommPort = 2
    >
    > 'Settings = 2400 baud, no parity, 8 data bits, 1 stop bit
    > Comm1.Settings = "2400,N,8,1"
    >
    > 'Generate the OnComm event with every bit received
    > Comm1.RThreshold = 1
    > Comm1.SThreshold = 1
    >
    > ' Open the port
    > Comm1.PortOpen = True
    >
    > Any help, comments or suggestions would be appreciated....
    >
    >
    >
    >
    >
    >
    >
    >
    >
    >
    > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
    >
    >
    >
    >
    >
    > ________________________________________________________________________
    > ________________________________________________________________________
    >
    > Message: 3
    > Date: Sat, 24 Feb 2001 15:11:31 -0000
    > From: oneuptick@e...
    > Subject: serial question
    >
    > Does anyone have any code or example I can see on communication
    > from your PC to your BS2.
    > I want to send a small text file from my PC to my BS2 and save
    > that text file to my eeprom of my BS2.
    > Any help would be great!!!
    > Thanks..
    >
    >
    >
    > ________________________________________________________________________
    > ________________________________________________________________________
    >
    > Message: 4
    > Date: Sat, 24 Feb 2001 10:31:48 EST
    > From: jonwms@a...
    > Subject: Re: serial question
    >
    > In a message dated 2/24/01 9:20:08 AM Central Standard Time,
    > oneuptick@e... writes:
    >
    >
    > > Does anyone have any code or example I can see on communication
    > > from your PC to your BS2.
    > > I want to send a small text file from my PC to my BS2 and save
    > > that text file to my eeprom of my BS2.
    > >
    >
    > In the StampWorks experiments there is a project that shows how to use a
    > terminal (or DEBUG window) to modify text that is stored in the Stamp's
    > EEPROM. This works because the Stamp is fast enough to deal with a human
    > typing characters.
    >
    > If you're going to do it automatically, one possible way to do it would be
    to
    > have your PC program send one character at a time with a delay between
    them.
    > The delay will give the Stamp time to receive the char, write it to EE and
    > then go back to the SERIN statement to wait for the next character.
    You'll
    > need to define an end character so the Stamp knows when to break out of
    the
    > receive loop.
    >
    > The project is called POLLSTMP.BS2 and can be downloaded (with the other
    > experiments) from the StampWorks page at Parallax.
    >
    > -- Jon Williams
    > -- Dallas, TX
    >
    >
    > [noparse][[/noparse]This message contained attachments]
    >
    >
    >
    > ________________________________________________________________________
    > ________________________________________________________________________
    >
    > Message: 5
    > Date: Sat, 24 Feb 2001 17:58:23 -0000
    > From: sznavor23@h...
    > Subject: bs2sx EEPROM question
    >
    > hello,
    > on the BS2SX there are 8 banks of 2k of memory, can you write to say
    > the 3rd bank of memory (EEPROM) and read it later?
    >
    > I know i can do this if i just have a one file program...but i am
    > doing a multiple file program and say for example in the 4th file i
    > want to write to eeprom and then later on after the data is collected
    > be able to read the data. can i do this? please help!
    >
    > Also if i was using the PAK2 how do i store a number like 9.876 into
    > eeprom easily (it would be already stored in the paks registers 0-
    > 23) I know of the highbyte...lowbyte stuff but when i do that i get a
    > different number out than what i put in!!!
    >
    > thanks
    > steve
    >
    >
    >
    > ________________________________________________________________________
    > ________________________________________________________________________
    >
    > Message: 6
    > Date: Sat, 24 Feb 2001 17:18:57 -0500
    > From: "Brice D. Hornback" <bdh@c...>
    > Subject: TWS-434 and RWS-434 RF modules
    >
    > Hello everyone! I'm trying to use the TWS-434 and RWS-434 RF modules.
    I'm
    > trying to send sensor data from my robot (BS2SX) back to the receiver (BS2
    > w/ LCD) to display the data. (It may be be as great as something NASA
    puts
    > on Mars or Eros...but it's still really cool!)
    >
    > Anyway, It works using the "digital output" on the RWS-434, but NOT with
    the
    > "linear output". I've tried both a 22k ohm resistor and a 47k ohm
    resistor
    > for the pull-down resistor. I simply can't receive anything on the linear
    > output.
    >
    > Has anyone experienced this? Any suggestions? It works (most of the
    time),
    > but since the digital output pulses continuously, between readings it also
    > shows 255, 0, and some other strange values. Again... nothing at all on
    the
    > linear output line which is where it "should" work better directly
    > interfaced to the Stamp (according to Reynolds Electronics -
    > http://www.rentron.com).
    >
    > I have everything connected as shown in the drawings here:
    > http://www.rentron.com/Stamp_RF.htm except I'm using a BS2SX with the
    > transmitter instead of a BS1. I'm also using the TWS-ANT 433MHz
    > stud-mount - whip style antennas which bumped the total price up to $28
    > instead of $13 for just the transmitter and receiver...but I didn't want
    to
    > worry about the antenna part of the system. If I can get this to work
    > reliably, it'll be the BEST $28 I've ever spent on any Stamp project!
    >
    > Also, is it possible to string together the bytes to construct word length
    > values? Or can I transmit more data at a time? I'm not too sure how
    Serin
    > and Serout really work with the TWS-434 and RWS-434 RF modules. Am I
    > limited to transmitting a single byte at a time?
    >
    > Here's the test code I'm using:
    >
    > *****************************************
    > TRANSMITTER:
    > *****************************************
    >
    > '{$Stamp BS2SX}
    > ' pin 7 - TWS-434 RF Transmitter
    >
    > x var word
    > N2400 con 1021' N2400 baud on BS2SX
    > RFdata var byte ' byte of data to transmit via RF
    > sync con "A"
    > junk con 126
    >
    > DIRS = %0110111111100000 ' Configure Pins 0=input 1=output
    > OUTS = %0000000000000000 ' Configure State 0=low 1=high
    >
    > MAIN:
    > for x = 0 to 255
    > RFdata=x
    > serout 7,N2400,[noparse][[/noparse]junk,sync,RFdata]
    > pause 50 'Shorter Pause and it Does NOT work
    > next
    > goto MAIN
    >
    > *****************************************
    > RECEIVER:
    > *****************************************
    >
    > '{$Stamp BS2}
    > ' pin 0 - RWS-434 RF receiver (Linear Output)
    > ' pin 15 - LCD Display
    >
    > sync con "A" 'RF Synchronization Byte
    > dat var byte 'RF Data Storage Variable
    > N2400 con 16780 'N2400 baud (MAX)
    >
    > N9600 con $4054 ' Baudmode for 9600 bps inverted for BS2
    > I con 254 ' LCD Instruction prefix value
    > CLR con 1 ' LCD clear-screen instruction
    > LINE2 con 192 ' LCD Address of 1st char of 2nd line
    > L1_C7 con 135 ' LCD Address of line 1, character 7
    >
    > DIRS = %100000000000001 ' Configure Pins 0=input 1=output
    >
    > MAIN:
    > serin 0,N2400,[noparse][[/noparse]WAIT(sync),dat]
    > serout 15,N9600,[noparse][[/noparse]I,CLR] ' Clear the LCD screen
    > pause 1
    > serout 15,N9600,[noparse][[/noparse]"Data: ",DEC dat] ' Print message
    > goto MAIN
    >
    > END
    > *****************************************
    >
    > Thanks for any help I can get on this...
    > - Brice
    >
    >
    >
    > ________________________________________________________________________
    > ________________________________________________________________________
    >
    > Message: 7
    > Date: Sat, 24 Feb 2001 14:23:39 -0800
    > From: "techno masai" <plunkettm@e...>
    > Subject: IRL530N mosfet with BS2
    >
    > Hi All,
    >
    > Sitting here wondering why I can't get this logic level IRL530N mosfet to
    > work with my BS2.
    >
    > Trying to control a small relay, I know this can be done with a transistor
    > but just wanted to see how these mosfets worked too.
    >
    > Anyway I have the Gate pin 1 on the IRL530 hooked up to P0 on the BS2, got
    > the Drain pin 2 going to the relay, got the source pin 3 hooked up to
    > ground.
    >
    > The program on the BS2 flashed an LED no problem but when I hook it up to
    > the Gate nothing happens. I took the LED out to in case it was fouling
    > things up. I also reversed the drain and source connections too to see if
    > that would make it work, this last try just made the relay stay on.
    >
    > Anyone got any hints??
    >
    > TIA,
    >
    > Mark
    >
    >
    >
    > ________________________________________________________________________
    > ________________________________________________________________________
    >
    > Message: 8
    > Date: Sat, 24 Feb 2001 17:50:26 -0500
    > From: Kerry Barlow <admin@m...>
    > Subject: Robot finding of a charging base
    >
    > hello everyone: I want my robot to monitor battery status, and when low,
    > find a charging station and recharge. I know this has been down hundreds
    of
    > times by others, but I can not ever find complete details [noparse]:([/noparse] I use the
    > basic stamp II, I know Mux in Europe has done it on the remote lawn mower,
    > but the english language pages are here, or not translated.
    > Could somebody point me to complete details on how this is done?
    > Currently my robot has IR sensors to detect walls on left and right. DO I
    > detect and follow an IR source somehow?
    > a dependable battery low monitor is also needed as well.
    > Sincerely
    > Kerry
    > Admin@M...
    > WWW server hosting [url=Http://mntnweb.com]Http://mntnweb.com[/url]
    > Kerry Barlow
    > p.o. box 21
    > kirkwood ny
    > 13795
    >
    >
    >
    >
    >
    > ________________________________________________________________________
    > ________________________________________________________________________
    >
    > Message: 9
    > Date: Sat, 24 Feb 2001 20:48:46 -0300
    > From: AC Jacques <acjacques@i...>
    > Subject: Re: Robot finding of a charging base
    >
    > Since treshold limit of pin state is about 1.4V a simple low battery
    > monitor could be done with a resistor divider network. And sensing
    > periodically the state of the pin.
    > ACJacques
    >
    > Kerry Barlow wrote:
    > >
    > > hello everyone: I want my robot to monitor battery status, and when low,
    > > find a charging station and recharge. I know this has been down hundreds
    of
    > > times by others, but I can not ever find complete details [noparse]:([/noparse] I use the
    > > basic stamp II, I know Mux in Europe has done it on the remote lawn
    mower,
    > > but the english language pages are here, or not translated.
    > > Could somebody point me to complete details on how this is done?
    > > Currently my robot has IR sensors to detect walls on left and right. DO
    I
    > > detect and follow an IR source somehow?
    > > a dependable battery low monitor is also needed as well.
    > > Sincerely
    > > Kerry
    > > Admin@M...
    > > WWW server hosting [url=Http://mntnweb.com]Http://mntnweb.com[/url]
    > > Kerry Barlow
    > > p.o. box 21
    > > kirkwood ny
    > > 13795
    > >
    > >
    > >
    > > Your use of Yahoo! Groups is subject to
    http://docs.yahoo.com/info/terms/
    >
    >
    > ________________________________________________________________________
    > ________________________________________________________________________
    >
    > Message: 10
    > Date: Sat, 24 Feb 2001 22:39:25 -0500
    > From: "R. Michael O'Bannon" <mob@m...>
    > Subject: Re: Connecting PocketPC to a BS2
    >
    > > Has anyone connected a BS2 to a PocketPC for data acquisition? If
    > so
    > > is there a web site where I can get more information on this? I'm
    > > testing the design using a simple circuit to send pulses to a
    > pin(15)
    > > and using the BS2's Count and Serout function.
    >
    > I have been using PocketC on an iPaq to receive data from a Basic
    > Stamp and from a PIC16F877 programmed with PBP. Both work well at
    > 9600 baud. If you are interested in using PocketC, try their
    > website at www.orbworks.com. They supply some code snippets for
    > serial interfacing. I'll also be happy to send you a short snippet
    > that works for me.
    >
    > Best regards,
    > Michael
    >
    >
    >
    >
    > ________________________________________________________________________
    > ________________________________________________________________________
    >
    > Message: 11
    > Date: Sun, 25 Feb 2001 05:34:08 -0000
    > From: "Mike" <silo@c...>
    > Subject: Basic Stamp Editor Software
    >
    > Hi all,
    >
    > I have been trying to use the Windows editor for the BS 2. The
    > problem I am having with it is that the DEBUG window crashes, and the
    > program freezes, all from
    >
    > '{$STAMP BS2}
    > DEBUG "hello world"
    >
    > anyone know why it crashes on windows 2000?
    >
    > secondly, when i try using the DOS version of the editor it says it
    > can't find the hardware. I tried changing ports however the windows
    > version can find the port the BS 2 is on, but the dos version can't
    >
    > why ?
    >
    >
    >
    > ________________________________________________________________________
    > ________________________________________________________________________
    >
    > Message: 12
    > Date: Sat, 24 Feb 2001 21:51:46 -0800
    > From: "techno masai" <plunkettm@e...>
    > Subject: Re: Oops OK now re: IRL530N mosfet with BS2
    >
    > Hi all,
    >
    > Got the mosfet to work, must have burned it out, there wasn't any smoke,
    > fire or anything else out of the ordinary.
    >
    > Guess these mosfets are a little more fragile than transistors.
    >
    > Anyway, I put in a new one and am back up to speed.
    >
    > Happy Stamper
    >
    >
    Original Message
    > From: techno masai <plunkettm@e...>
    > To: basicstamps@yahoogroups.com <basicstamps@yahoogroups.com>
    > Date: Saturday, February 24, 2001 2:26 PM
    > Subject: [noparse][[/noparse]basicstamps] IRL530N mosfet with BS2
    >
    >
    > :Hi All,
    > :
    > :Sitting here wondering why I can't get this logic level IRL530N mosfet to
    > :work with my BS2.
    > :
    > :Trying to control a small relay, I know this can be done with a
    transistor
    > :but just wanted to see how these mosfets worked too.
    > :
    > :Anyway I have the Gate pin 1 on the IRL530 hooked up to P0 on the BS2,
    got
    > :the Drain pin 2 going to the relay, got the source pin 3 hooked up to
    > :ground.
    > :
    > :The program on the BS2 flashed an LED no problem but when I hook it up to
    > :the Gate nothing happens. I took the LED out to in case it was fouling
    > :things up. I also reversed the drain and source connections too to see if
    > :that would make it work, this last try just made the relay stay on.
    > :
    > :Anyone got any hints??
    > :
    > :TIA,
    > :
    > :Mark
    > :
    > :
    > :
    > :
    > :Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
    > :
    > :
    > :
    >
    >
    >
    > ________________________________________________________________________
    > ________________________________________________________________________
    >
    > Message: 13
    > Date: Sun, 25 Feb 2001 01:11:49 -0500
    > From: "Ray McArthur" <rjmca@u...>
    > Subject: Re: IRL530N mosfet with BS2
    >
    > Hi Mark,
    >
    > Your circuit sounds OK. I like to add a 1k resistor between the Stamp pin
    > and gate to prevent FET oscillations. The IRL530 should operate from
    Stamp
    > output. Your relay should be connected from a positive supply to the
    drain.
    > A suppressor diode is needed to protect the FET when it turns off. When
    the
    > Stamp pin goes high, the relay should close. Make sure the relay power
    > supply negative is connected to the Stamp supply gnd. If you ground the
    FET
    > drain with a jumper, the relay should close. If not, something is wrong
    > with your wiring or relay supply.
    >
    > A few suggestions,
    > Ray McArthur
    >
    >
    Original Message
    > From: techno masai <plunkettm@e...>
    > To: <basicstamps@yahoogroups.com>
    > Sent: Saturday, February 24, 2001 5:23 PM
    > Subject: [noparse][[/noparse]basicstamps] IRL530N mosfet with BS2
    >
    >
    > > Hi All,
    > >
    > > Sitting here wondering why I can't get this logic level IRL530N mosfet
    to
    > > work with my BS2.
    > >
    > > Trying to control a small relay, I know this can be done with a
    transistor
    > > but just wanted to see how these mosfets worked too.
    > >
    > > Anyway I have the Gate pin 1 on the IRL530 hooked up to P0 on the BS2,
    got
    > > the Drain pin 2 going to the relay, got the source pin 3 hooked up to
    > > ground.
    > >
    > > The program on the BS2 flashed an LED no problem but when I hook it up
    to
    > > the Gate nothing happens. I took the LED out to in case it was fouling
    > > things up. I also reversed the drain and source connections too to see
    if
    > > that would make it work, this last try just made the relay stay on.
    >
    >
    >
    >
    > ________________________________________________________________________
    > ________________________________________________________________________
    >
    > Message: 14
    > Date: Sun, 25 Feb 2001 01:16:14 -0500
    > From: "Ray McArthur" <rjmca@u...>
    > Subject: Re: Oops OK now re: IRL530N mosfet with BS2
    >
    > Hi again, Mark,
    >
    > Just read your 2nd message. FETs are more rugged than bipolar
    transistors,
    > *EXCEPT* for the gate. It is easily damaged by ESD, so ground yourself
    > before handling a FET. Once it's in circuit, you're safe.
    >
    > Ray McArthur
    >
    >
    Original Message
    > From: techno masai <plunkettm@e...>
    > To: <basicstamps@yahoogroups.com>
    > Sent: Sunday, February 25, 2001 12:51 AM
    > Subject: Re: [noparse][[/noparse]basicstamps] Oops OK now re: IRL530N mosfet with BS2
    >
    >
    > > Hi all,
    > >
    > > Got the mosfet to work, must have burned it out, there wasn't any smoke,
    > > fire or anything else out of the ordinary.
    > >
    > > Guess these mosfets are a little more fragile than transistors.
    > >
    > > Anyway, I put in a new one and am back up to speed.
    > >
    > > Happy Stamper
    > >
    > >
    Original Message
    > > From: techno masai <plunkettm@e...>
    > > To: basicstamps@yahoogroups.com <basicstamps@yahoogroups.com>
    > > Date: Saturday, February 24, 2001 2:26 PM
    > > Subject: [noparse][[/noparse]basicstamps] IRL530N mosfet with BS2
    > >
    > >
    > > :Hi All,
    > > :
    > > :Sitting here wondering why I can't get this logic level IRL530N mosfet
    to
    > > :work with my BS2.
    > > :
    > > :Trying to control a small relay, I know this can be done with a
    > transistor
    > > :but just wanted to see how these mosfets worked too.
    > > :
    > > :Anyway I have the Gate pin 1 on the IRL530 hooked up to P0 on the BS2,
    > got
    > > :the Drain pin 2 going to the relay, got the source pin 3 hooked up to
    > > :ground.
    > > :
    > > :The program on the BS2 flashed an LED no problem but when I hook it up
    to
    > > :the Gate nothing happens. I took the LED out to in case it was fouling
    > > :things up. I also reversed the drain and source connections too to see
    if
    > > :that would make it work, this last try just made the relay stay on.
    > > :
    > > :Anyone got any hints??
    > > :
    > > :TIA,
    > > :
    > > :Mark
    > > :
    > > :
    > > :
    > > :
    > > :Your use of Yahoo! Groups is subject to
    http://docs.yahoo.com/info/terms/
    > > :
    > > :
    > > :
    > >
    > >
    > >
    > >
    > > Your use of Yahoo! Groups is subject to
    http://docs.yahoo.com/info/terms/
    > >
    > >
    >
    >
    >
    > ________________________________________________________________________
    > ________________________________________________________________________
    >
    > Message: 15
    > Date: Sat, 24 Feb 2001 22:43:45 -0800
    > From: "techno masai" <plunkettm@e...>
    > Subject: Re: Oops OK now re: IRL530N mosfet with BS2
    >
    > Hi Ray!
    >
    > I had dug out your original post on this matter back on 8/22, that was an
    > interesting one.
    >
    > Now I'm trying to run the '530 from an OMRON photo interrupter, you know
    > break the beam and the relay turns off.
    >
    > Trouble is now the '530 won't go off.
    >
    > I put a 150k pot in series with a 100 ohm on the emitter side to try to
    > crank down the beam a little, but '530 still won't turn off relay.
    >
    > The 150k pot maxed out makes the OMRON give out a 3.5v signal, but then
    when
    > I break the beam the signal goes back up to 5v?!?!?
    >
    > Strange about the ESD, its raining here now, somehow I always thought ESD
    > was mainly a concern in dry weather.
    >
    > Good to here from you again Ray.
    >
    > Seen those new MCP3201 one channel 12 bit serial ADC's? Little over 4
    bucks
    > each. Seems like a real winner for the BS2.
    >
    > Thanks,
    >
    > Mark
    >
    >
    Original Message
    > From: Ray McArthur <rjmca@u...>
    > To: basicstamps@yahoogroups.com <basicstamps@yahoogroups.com>
    > Date: Saturday, February 24, 2001 10:17 PM
    > Subject: Re: [noparse][[/noparse]basicstamps] Oops OK now re: IRL530N mosfet with BS2
    >
    >
    > :Hi again, Mark,
    > :
    > :Just read your 2nd message. FETs are more rugged than bipolar
    transistors,
    > :*EXCEPT* for the gate. It is easily damaged by ESD, so ground yourself
    > :before handling a FET. Once it's in circuit, you're safe.
    > :
    > :Ray McArthur
    > :
    > :
    Original Message
    > :From: techno masai <plunkettm@e...>
    > :To: <basicstamps@yahoogroups.com>
    > :Sent: Sunday, February 25, 2001 12:51 AM
    > :Subject: Re: [noparse][[/noparse]basicstamps] Oops OK now re: IRL530N mosfet with BS2
    > :
    > :
    > :> Hi all,
    > :>
    > :> Got the mosfet to work, must have burned it out, there wasn't any
    smoke,
    > :> fire or anything else out of the ordinary.
    > :>
    > :> Guess these mosfets are a little more fragile than transistors.
    > :>
    > :> Anyway, I put in a new one and am back up to speed.
    > :>
    > :> Happy Stamper
    > :>
    > :>
    Original Message
    > :> From: techno masai <plunkettm@e...>
    > :> To: basicstamps@yahoogroups.com <basicstamps@yahoogroups.com>
    > :> Date: Saturday, February 24, 2001 2:26 PM
    > :> Subject: [noparse][[/noparse]basicstamps] IRL530N mosfet with BS2
    > :>
    > :>
    > :> :Hi All,
    > :> :
    > :> :Sitting here wondering why I can't get this logic level IRL530N mosfet
    > to
    > :> :work with my BS2.
    > :> :
    > :> :Trying to control a small relay, I know this can be done with a
    > :transistor
    > :> :but just wanted to see how these mosfets worked too.
    > :> :
    > :> :Anyway I have the Gate pin 1 on the IRL530 hooked up to P0 on the BS2,
    > :got
    > :> :the Drain pin 2 going to the relay, got the source pin 3 hooked up to
    > :> :ground.
    > :> :
    > :> :The program on the BS2 flashed an LED no problem but when I hook it up
    > to
    > :> :the Gate nothing happens. I took the LED out to in case it was fouling
    > :> :things up. I also reversed the drain and source connections too to see
    > if
    > :> :that would make it work, this last try just made the relay stay on.
    > :> :
    > :> :Anyone got any hints??
    > :> :
    > :> :TIA,
    > :> :
    > :> :Mark
    > :> :
    > :> :
    > :> :
    > :> :
    > :> :Your use of Yahoo! Groups is subject to
    > http://docs.yahoo.com/info/terms/
    > :> :
    > :> :
    > :> :
    > :>
    > :>
    > :>
    > :>
    > :> Your use of Yahoo! Groups is subject to
    http://docs.yahoo.com/info/terms/
    > :>
    > :>
    > :
    > :
    > :
    > :
    > :Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
    > :
    > :
    > :
    >
    >
    >
    > ________________________________________________________________________
    > ________________________________________________________________________
    >
    > Message: 16
    > Date: 24 Feb 2001 23:57:14 MST
    > From: Alex McAlpine <alexmcalpine@u...>
    > Subject: Re: [noparse][[/noparse]BS2 Interface w/ Voice Direct 364 from Sensory]
    >
    > Bryan Smith <bsmith@w...> wrote:
    > Has anyone done voice recognition using the Voice Direct 364 from
    Sensory?
    >
    > My friend and I are just getting started with Stamps, and have some
    > questions
    > as to the best way to send it commands. The documentation says that it
    uses
    > three wires ( Host, Slave, and Data ). It makes reference to using Shift
    > Registers;
    > but does not specificly mention anything in regards to the BS2.
    >
    > Can we use SERIN and SEROUT instead of the SHIFTIN and SHIFTOUT commands?
    >
    > Any help would be appreciated.
    >
    > Bryan Smith
    >
    > we just used "If pin"X" = high
    > with 7 diffrent pins " 7 diffrent voice commands"
    > or use the "pot" and 1k ohm resistor 364 pinout1 2k ohm res. pinout2
    > and so on.
    >
    >
    >
    > ____________________________________________________________________
    > Get free email and a permanent address at http://www.netaddress.com/?N=1
    >
    >
    > ________________________________________________________________________
    > ________________________________________________________________________
    >
    > Message: 17
    > Date: Sun, 25 Feb 2001 07:12:50 -0000
    > From: tunatunup2000@y...
    > Subject: Re: Connecting PocketPC to a BS2
    >
    > Connecting PocketPC to a BS2
    >
    > It appears that I can open port 1 but not port 2 on the PocketPC. Are
    > you using port 1 or port 2 on your PocketPC?
    >
    > My PocketPC has a 9-pin serial connector with cable so I'm using a
    > male to male connector (3 bucks at Fry's) to connect it directly to
    > the BS2. How did you connect your BS2 to the PocketPC?
    >
    > Also, I'm using the Visual Basic MSComm control for the desktop and
    > the Comm control for PocketPC's. Both are similar COM/ActiveX
    > controls that are fairly easy to use for reading the serial buffer.
    > The desktop control (MSComm) works just like I expect but the
    > PocketPC control (Comm) didn't.
    >
    > If and when I figure this out I guess I should write a web page
    > describing how it was done so others can do it. Using the BS2 and
    > PocketPC's for data acquisition is such a natural progression for
    > both devices.
    >
    >
    >
    >
    > ________________________________________________________________________
    > ________________________________________________________________________
    >
    >
    >
    > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
    >
    >
  • ArchiverArchiver Posts: 46,084
    edited 2001-02-25 15:05
    Hello stampers, I've been lurking and reading posts for a month or so, guess
    I could describe myself as a techno junkie so I find the innovation and
    experimentation incredibly appealing.· Problem for me is, though, and I'm
    sure this is not unique, I have too many interests and a about at the point
    of deciding that taking on· the stamp learning curve is just too much.· I
    do, however, have a project in mind involving motor control for a specific
    application-I have a aluminum fabricating business and want to automate a
    cutoff saw.· I have the hardware taken care of, steppers and drives,
    translators.· I would like to come up with a controller other than a PC that
    would allow the entry of a dimension, then position the stop of saw
    according to that input.· Single axis, couple of limit switches, but need a
    very basic input terminal, kind of like a digital tape measure.

    My question is this, and I ask your forgiveness in advance for posting a
    commercial request, is there anyone out there who would like to undertake
    the design of this project for $?· I have more money than time and really do
    need to check in with the family from time to time.· Or, if there is a
    solution someone is aware of I'd appreciate knowing about it.· Thanks for
    your help and if this is an inappropriate post just let me know and I won't
    do it again.· TIA, Chuck.
  • ArchiverArchiver Posts: 46,084
    edited 2001-02-25 15:07
    This may do what you what with a little tweaking.
    http://www.miclog.com/frog/

    Tim
    [noparse][[/noparse]Denver, CO]


    > Hello stampers, I've been lurking and reading posts for a month
    > or so, guess
    > I could describe myself as a techno junkie so I find the innovation and
    > experimentation incredibly appealing. Problem for me is, though, and I'm
    > sure this is not unique, I have too many interests and a about at
    > the point
    > of deciding that taking on the stamp learning curve is just too much. I
    > do, however, have a project in mind involving motor control for a specific
    > application-I have a aluminum fabricating business and want to automate a
    > cutoff saw. I have the hardware taken care of, steppers and drives,
    > translators. I would like to come up with a controller other
    > than a PC that
    > would allow the entry of a dimension, then position the stop of saw
    > according to that input. Single axis, couple of limit switches,
    > but need a
    > very basic input terminal, kind of like a digital tape measure.
    >
    > My question is this, and I ask your forgiveness in advance for posting a
    > commercial request, is there anyone out there who would like to undertake
    > the design of this project for $? I have more money than time
    > and really do
    > need to check in with the family from time to time. Or, if there is a
    > solution someone is aware of I'd appreciate knowing about it. Thanks for
    > your help and if this is an inappropriate post just let me know
    > and I won't
    > do it again. TIA, Chuck.
    >
    Original Message
    > From: <basicstamps@yahoogroups.com>
    > To: <basicstamps@yahoogroups.com>
    > Sent: Sunday, February 25, 2001 2:14 AM
    > Subject: [noparse][[/noparse]basicstamps] Digest Number 494
    >
    >
    > > There are 17 messages in this issue.
    > >
    > > Topics in this digest:
    > >
    > > 1. Re: opinions on which board to buy?
    > > From: carl@g...
    > > 2. RE: Connecting PocketPC to a BS2
    > > From: "William E. Heacock" <wheacock@s...>
    > > 3. serial question
    > > From: oneuptick@e...
    > > 4. Re: serial question
    > > From: jonwms@a...
    > > 5. bs2sx EEPROM question
    > > From: sznavor23@h...
    > > 6. TWS-434 and RWS-434 RF modules
    > > From: "Brice D. Hornback" <bdh@c...>
    > > 7. IRL530N mosfet with BS2
    > > From: "techno masai" <plunkettm@e...>
    > > 8. Robot finding of a charging base
    > > From: Kerry Barlow <admin@m...>
    > > 9. Re: Robot finding of a charging base
    > > From: AC Jacques <acjacques@i...>
    > > 10. Re: Connecting PocketPC to a BS2
    > > From: "R. Michael O'Bannon" <mob@m...>
    > > 11. Basic Stamp Editor Software
    > > From: "Mike" <silo@c...>
    > > 12. Re: Oops OK now re: IRL530N mosfet with BS2
    > > From: "techno masai" <plunkettm@e...>
    > > 13. Re: IRL530N mosfet with BS2
    > > From: "Ray McArthur" <rjmca@u...>
    > > 14. Re: Oops OK now re: IRL530N mosfet with BS2
    > > From: "Ray McArthur" <rjmca@u...>
    > > 15. Re: Oops OK now re: IRL530N mosfet with BS2
    > > From: "techno masai" <plunkettm@e...>
    > > 16. Re: [noparse][[/noparse]BS2 Interface w/ Voice Direct 364 from Sensory]
    > > From: Alex McAlpine <alexmcalpine@u...>
    > > 17. Re: Connecting PocketPC to a BS2
    > > From: tunatunup2000@y...
    > >
    > >
    > > ________________________________________________________________________
    > > ________________________________________________________________________
    > >
    > > Message: 1
    > > Date: Sat, 24 Feb 2001 06:29:37 -0500 (EST)
    > > From: carl@g...
    > > Subject: Re: opinions on which board to buy?
    > >
    > > >Where do I find the NX-1000 and what makes it a good board?
    > > >
    > >
    > > Page 12 of the 2001 Parallax catalog. Their part #28135. $149.
    > >
    > >
    > >
    > >
    > > ________________________________________________________________________
    > > ________________________________________________________________________
    > >
    > > Message: 2
    > > Date: Sat, 24 Feb 2001 08:14:53 -0500
    > > From: "William E. Heacock" <wheacock@s...>
    > > Subject: RE: Connecting PocketPC to a BS2
    > >
    > > I'm using a freeware program called Pocket Terra Term written by T.
    > > Teranishi. Then use the capture buffer.
    > > This is for a Win CE device. I happen to use the Casio E-125...
    > > I simply spew out data out of the Stamp at 9600 baud adding
    > commas between
    > > data words. I can then import as comma delimited to a spreadsheet.
    > > It works fine.
    > > Bill
    > >
    > >
    Original Message
    > > From: tunatunup2000@y... [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=N-gcpjMN9ZPHeXns8Wgnzd9T6Htg9D-z3Nvba4HCHV67K5xaeAzn4kHlo0DnI63NaOaitHyejjFmuRKCZ9yX_g]tunatunup2000@y...[/url
    > > Sent: Saturday, February 24, 2001 2:06 AM
    > > To: basicstamps@yahoogroups.com
    > > Subject: [noparse][[/noparse]basicstamps] Connecting PocketPC to a BS2
    > >
    > >
    > > Connecting PocketPC to a BS2
    > >
    > > Hi everyone. I have been quietly lurking in this Egroup for about 3
    > > weeks, ever since I bought my Wedge, (an OEM BS2) and I have been
    > > having a blast reading the posts here and experimenting with the BS2.
    > >
    > > I would like to use the BS2 and my PocketPC for data acquisition.
    > > After following through the excellent series of articles by Jared
    > > Hoylman "Understanding and using Visual Basic" at
    > > http://rentron.com/VisualBasic.htm I tried connecting my PocketPC to
    > > the BS2 but ran into a few problems.
    > >
    > > Has anyone connected a BS2 to a PocketPC for data acquisition? If so
    > > is there a web site where I can get more information on this? I'm
    > > testing the design using a simple circuit to send pulses to a pin(15)
    > > and using the BS2's Count and Serout function.
    > >
    > > Cycles VAR WORD
    > >
    > > Loop:
    > > Count 15,250,Cycles
    > > Serout 16,16780,[noparse][[/noparse]DEC Cycles]
    > > GoTo Loop
    > >
    > > Simple enough and works just how I expect it to and I'm able to
    > > read
    > > it just fine with the MSComm control but not with the PocketPC's
    > > Comm
    > > control.
    > >
    > > I'm getting an error when I try to open port 2 using the comm
    > > control. Port 1 opens fine but port 2 generates a "port
    > > unavailable"
    > > error on the PocketPC.
    > >
    > > 'Select Comm Port
    > > If Option1.Value = True Then Comm1.CommPort = 1
    > > If Option2.Value = True Then Comm1.CommPort = 2
    > >
    > > 'Settings = 2400 baud, no parity, 8 data bits, 1 stop bit
    > > Comm1.Settings = "2400,N,8,1"
    > >
    > > 'Generate the OnComm event with every bit received
    > > Comm1.RThreshold = 1
    > > Comm1.SThreshold = 1
    > >
    > > ' Open the port
    > > Comm1.PortOpen = True
    > >
    > > Any help, comments or suggestions would be appreciated....
    > >
    > >
    > >
    > >
    > >
    > >
    > >
    > >
    > >
    > >
    > > Your use of Yahoo! Groups is subject to
    > http://docs.yahoo.com/info/terms/
    > >
    > >
    > >
    > >
    > >
    > > ________________________________________________________________________
    > > ________________________________________________________________________
    > >
    > > Message: 3
    > > Date: Sat, 24 Feb 2001 15:11:31 -0000
    > > From: oneuptick@e...
    > > Subject: serial question
    > >
    > > Does anyone have any code or example I can see on communication
    > > from your PC to your BS2.
    > > I want to send a small text file from my PC to my BS2 and save
    > > that text file to my eeprom of my BS2.
    > > Any help would be great!!!
    > > Thanks..
    > >
    > >
    > >
    > > ________________________________________________________________________
    > > ________________________________________________________________________
    > >
    > > Message: 4
    > > Date: Sat, 24 Feb 2001 10:31:48 EST
    > > From: jonwms@a...
    > > Subject: Re: serial question
    > >
    > > In a message dated 2/24/01 9:20:08 AM Central Standard Time,
    > > oneuptick@e... writes:
    > >
    > >
    > > > Does anyone have any code or example I can see on communication
    > > > from your PC to your BS2.
    > > > I want to send a small text file from my PC to my BS2 and save
    > > > that text file to my eeprom of my BS2.
    > > >
    > >
    > > In the StampWorks experiments there is a project that shows how to use a
    > > terminal (or DEBUG window) to modify text that is stored in the Stamp's
    > > EEPROM. This works because the Stamp is fast enough to deal
    > with a human
    > > typing characters.
    > >
    > > If you're going to do it automatically, one possible way to do
    > it would be
    > to
    > > have your PC program send one character at a time with a delay between
    > them.
    > > The delay will give the Stamp time to receive the char, write
    > it to EE and
    > > then go back to the SERIN statement to wait for the next character.
    > You'll
    > > need to define an end character so the Stamp knows when to break out of
    > the
    > > receive loop.
    > >
    > > The project is called POLLSTMP.BS2 and can be downloaded (with the other
    > > experiments) from the StampWorks page at Parallax.
    > >
    > > -- Jon Williams
    > > -- Dallas, TX
    > >
    > >
    > > [noparse][[/noparse]This message contained attachments]
    > >
    > >
    > >
    > > ________________________________________________________________________
    > > ________________________________________________________________________
    > >
    > > Message: 5
    > > Date: Sat, 24 Feb 2001 17:58:23 -0000
    > > From: sznavor23@h...
    > > Subject: bs2sx EEPROM question
    > >
    > > hello,
    > > on the BS2SX there are 8 banks of 2k of memory, can you write to say
    > > the 3rd bank of memory (EEPROM) and read it later?
    > >
    > > I know i can do this if i just have a one file program...but i am
    > > doing a multiple file program and say for example in the 4th file i
    > > want to write to eeprom and then later on after the data is collected
    > > be able to read the data. can i do this? please help!
    > >
    > > Also if i was using the PAK2 how do i store a number like 9.876 into
    > > eeprom easily (it would be already stored in the paks registers 0-
    > > 23) I know of the highbyte...lowbyte stuff but when i do that i get a
    > > different number out than what i put in!!!
    > >
    > > thanks
    > > steve
    > >
    > >
    > >
    > > ________________________________________________________________________
    > > ________________________________________________________________________
    > >
    > > Message: 6
    > > Date: Sat, 24 Feb 2001 17:18:57 -0500
    > > From: "Brice D. Hornback" <bdh@c...>
    > > Subject: TWS-434 and RWS-434 RF modules
    > >
    > > Hello everyone! I'm trying to use the TWS-434 and RWS-434 RF modules.
    > I'm
    > > trying to send sensor data from my robot (BS2SX) back to the
    > receiver (BS2
    > > w/ LCD) to display the data. (It may be be as great as something NASA
    > puts
    > > on Mars or Eros...but it's still really cool!)
    > >
    > > Anyway, It works using the "digital output" on the RWS-434, but NOT with
    > the
    > > "linear output". I've tried both a 22k ohm resistor and a 47k ohm
    > resistor
    > > for the pull-down resistor. I simply can't receive anything on
    > the linear
    > > output.
    > >
    > > Has anyone experienced this? Any suggestions? It works (most of the
    > time),
    > > but since the digital output pulses continuously, between
    > readings it also
    > > shows 255, 0, and some other strange values. Again... nothing at all on
    > the
    > > linear output line which is where it "should" work better directly
    > > interfaced to the Stamp (according to Reynolds Electronics -
    > > http://www.rentron.com).
    > >
    > > I have everything connected as shown in the drawings here:
    > > http://www.rentron.com/Stamp_RF.htm except I'm using a BS2SX with the
    > > transmitter instead of a BS1. I'm also using the TWS-ANT 433MHz
    > > stud-mount - whip style antennas which bumped the total price up to $28
    > > instead of $13 for just the transmitter and receiver...but I didn't want
    > to
    > > worry about the antenna part of the system. If I can get this to work
    > > reliably, it'll be the BEST $28 I've ever spent on any Stamp project!
    > >
    > > Also, is it possible to string together the bytes to construct
    > word length
    > > values? Or can I transmit more data at a time? I'm not too sure how
    > Serin
    > > and Serout really work with the TWS-434 and RWS-434 RF modules. Am I
    > > limited to transmitting a single byte at a time?
    > >
    > > Here's the test code I'm using:
    > >
    > > *****************************************
    > > TRANSMITTER:
    > > *****************************************
    > >
    > > '{$Stamp BS2SX}
    > > ' pin 7 - TWS-434 RF Transmitter
    > >
    > > x var word
    > > N2400 con 1021' N2400 baud on BS2SX
    > > RFdata var byte ' byte of data to transmit via RF
    > > sync con "A"
    > > junk con 126
    > >
    > > DIRS = %0110111111100000 ' Configure Pins 0=input 1=output
    > > OUTS = %0000000000000000 ' Configure State 0=low 1=high
    > >
    > > MAIN:
    > > for x = 0 to 255
    > > RFdata=x
    > > serout 7,N2400,[noparse][[/noparse]junk,sync,RFdata]
    > > pause 50 'Shorter Pause and it Does NOT work
    > > next
    > > goto MAIN
    > >
    > > *****************************************
    > > RECEIVER:
    > > *****************************************
    > >
    > > '{$Stamp BS2}
    > > ' pin 0 - RWS-434 RF receiver (Linear Output)
    > > ' pin 15 - LCD Display
    > >
    > > sync con "A" 'RF Synchronization Byte
    > > dat var byte 'RF Data Storage Variable
    > > N2400 con 16780 'N2400 baud (MAX)
    > >
    > > N9600 con $4054 ' Baudmode for 9600 bps inverted for BS2
    > > I con 254 ' LCD Instruction prefix value
    > > CLR con 1 ' LCD clear-screen instruction
    > > LINE2 con 192 ' LCD Address of 1st char of 2nd line
    > > L1_C7 con 135 ' LCD Address of line 1, character 7
    > >
    > > DIRS = %100000000000001 ' Configure Pins 0=input 1=output
    > >
    > > MAIN:
    > > serin 0,N2400,[noparse][[/noparse]WAIT(sync),dat]
    > > serout 15,N9600,[noparse][[/noparse]I,CLR] ' Clear the LCD screen
    > > pause 1
    > > serout 15,N9600,[noparse][[/noparse]"Data: ",DEC dat] ' Print message
    > > goto MAIN
    > >
    > > END
    > > *****************************************
    > >
    > > Thanks for any help I can get on this...
    > > - Brice
    > >
    > >
    > >
    > > ________________________________________________________________________
    > > ________________________________________________________________________
    > >
    > > Message: 7
    > > Date: Sat, 24 Feb 2001 14:23:39 -0800
    > > From: "techno masai" <plunkettm@e...>
    > > Subject: IRL530N mosfet with BS2
    > >
    > > Hi All,
    > >
    > > Sitting here wondering why I can't get this logic level IRL530N
    > mosfet to
    > > work with my BS2.
    > >
    > > Trying to control a small relay, I know this can be done with a
    > transistor
    > > but just wanted to see how these mosfets worked too.
    > >
    > > Anyway I have the Gate pin 1 on the IRL530 hooked up to P0 on
    > the BS2, got
    > > the Drain pin 2 going to the relay, got the source pin 3 hooked up to
    > > ground.
    > >
    > > The program on the BS2 flashed an LED no problem but when I
    > hook it up to
    > > the Gate nothing happens. I took the LED out to in case it was fouling
    > > things up. I also reversed the drain and source connections too
    > to see if
    > > that would make it work, this last try just made the relay stay on.
    > >
    > > Anyone got any hints??
    > >
    > > TIA,
    > >
    > > Mark
    > >
    > >
    > >
    > > ________________________________________________________________________
    > > ________________________________________________________________________
    > >
    > > Message: 8
    > > Date: Sat, 24 Feb 2001 17:50:26 -0500
    > > From: Kerry Barlow <admin@m...>
    > > Subject: Robot finding of a charging base
    > >
    > > hello everyone: I want my robot to monitor battery status, and when low,
    > > find a charging station and recharge. I know this has been down hundreds
    > of
    > > times by others, but I can not ever find complete details [noparse]:([/noparse] I use the
    > > basic stamp II, I know Mux in Europe has done it on the remote
    > lawn mower,
    > > but the english language pages are here, or not translated.
    > > Could somebody point me to complete details on how this is done?
    > > Currently my robot has IR sensors to detect walls on left and
    > right. DO I
    > > detect and follow an IR source somehow?
    > > a dependable battery low monitor is also needed as well.
    > > Sincerely
    > > Kerry
    > > Admin@M...
    > > WWW server hosting [url=Http://mntnweb.com]Http://mntnweb.com[/url]
    > > Kerry Barlow
    > > p.o. box 21
    > > kirkwood ny
    > > 13795
    > >
    > >
    > >
    > >
    > >
    > > ________________________________________________________________________
    > > ________________________________________________________________________
    > >
    > > Message: 9
    > > Date: Sat, 24 Feb 2001 20:48:46 -0300
    > > From: AC Jacques <acjacques@i...>
    > > Subject: Re: Robot finding of a charging base
    > >
    > > Since treshold limit of pin state is about 1.4V a simple low battery
    > > monitor could be done with a resistor divider network. And sensing
    > > periodically the state of the pin.
    > > ACJacques
    > >
    > > Kerry Barlow wrote:
    > > >
    > > > hello everyone: I want my robot to monitor battery status,
    > and when low,
    > > > find a charging station and recharge. I know this has been
    > down hundreds
    > of
    > > > times by others, but I can not ever find complete details [noparse]:([/noparse]
    > I use the
    > > > basic stamp II, I know Mux in Europe has done it on the remote lawn
    > mower,
    > > > but the english language pages are here, or not translated.
    > > > Could somebody point me to complete details on how this is done?
    > > > Currently my robot has IR sensors to detect walls on left
    > and right. DO
    > I
    > > > detect and follow an IR source somehow?
    > > > a dependable battery low monitor is also needed as well.
    > > > Sincerely
    > > > Kerry
    > > > Admin@M...
    > > > WWW server hosting [url=Http://mntnweb.com]Http://mntnweb.com[/url]
    > > > Kerry Barlow
    > > > p.o. box 21
    > > > kirkwood ny
    > > > 13795
    > > >
    > > >
    > > >
    > > > Your use of Yahoo! Groups is subject to
    > http://docs.yahoo.com/info/terms/
    > >
    > >
    > > ________________________________________________________________________
    > > ________________________________________________________________________
    > >
    > > Message: 10
    > > Date: Sat, 24 Feb 2001 22:39:25 -0500
    > > From: "R. Michael O'Bannon" <mob@m...>
    > > Subject: Re: Connecting PocketPC to a BS2
    > >
    > > > Has anyone connected a BS2 to a PocketPC for data acquisition? If
    > > so
    > > > is there a web site where I can get more information on this? I'm
    > > > testing the design using a simple circuit to send pulses to a
    > > pin(15)
    > > > and using the BS2's Count and Serout function.
    > >
    > > I have been using PocketC on an iPaq to receive data from a Basic
    > > Stamp and from a PIC16F877 programmed with PBP. Both work well at
    > > 9600 baud. If you are interested in using PocketC, try their
    > > website at www.orbworks.com. They supply some code snippets for
    > > serial interfacing. I'll also be happy to send you a short snippet
    > > that works for me.
    > >
    > > Best regards,
    > > Michael
    > >
    > >
    > >
    > >
    > > ________________________________________________________________________
    > > ________________________________________________________________________
    > >
    > > Message: 11
    > > Date: Sun, 25 Feb 2001 05:34:08 -0000
    > > From: "Mike" <silo@c...>
    > > Subject: Basic Stamp Editor Software
    > >
    > > Hi all,
    > >
    > > I have been trying to use the Windows editor for the BS 2. The
    > > problem I am having with it is that the DEBUG window crashes, and the
    > > program freezes, all from
    > >
    > > '{$STAMP BS2}
    > > DEBUG "hello world"
    > >
    > > anyone know why it crashes on windows 2000?
    > >
    > > secondly, when i try using the DOS version of the editor it says it
    > > can't find the hardware. I tried changing ports however the windows
    > > version can find the port the BS 2 is on, but the dos version can't
    > >
    > > why ?
    > >
    > >
    > >
    > > ________________________________________________________________________
    > > ________________________________________________________________________
    > >
    > > Message: 12
    > > Date: Sat, 24 Feb 2001 21:51:46 -0800
    > > From: "techno masai" <plunkettm@e...>
    > > Subject: Re: Oops OK now re: IRL530N mosfet with BS2
    > >
    > > Hi all,
    > >
    > > Got the mosfet to work, must have burned it out, there wasn't any smoke,
    > > fire or anything else out of the ordinary.
    > >
    > > Guess these mosfets are a little more fragile than transistors.
    > >
    > > Anyway, I put in a new one and am back up to speed.
    > >
    > > Happy Stamper
    > >
    > >
    Original Message
    > > From: techno masai <plunkettm@e...>
    > > To: basicstamps@yahoogroups.com <basicstamps@yahoogroups.com>
    > > Date: Saturday, February 24, 2001 2:26 PM
    > > Subject: [noparse][[/noparse]basicstamps] IRL530N mosfet with BS2
    > >
    > >
    > > :Hi All,
    > > :
    > > :Sitting here wondering why I can't get this logic level
    > IRL530N mosfet to
    > > :work with my BS2.
    > > :
    > > :Trying to control a small relay, I know this can be done with a
    > transistor
    > > :but just wanted to see how these mosfets worked too.
    > > :
    > > :Anyway I have the Gate pin 1 on the IRL530 hooked up to P0 on the BS2,
    > got
    > > :the Drain pin 2 going to the relay, got the source pin 3 hooked up to
    > > :ground.
    > > :
    > > :The program on the BS2 flashed an LED no problem but when I
    > hook it up to
    > > :the Gate nothing happens. I took the LED out to in case it was fouling
    > > :things up. I also reversed the drain and source connections
    > too to see if
    > > :that would make it work, this last try just made the relay stay on.
    > > :
    > > :Anyone got any hints??
    > > :
    > > :TIA,
    > > :
    > > :Mark
    > > :
    > > :
    > > :
    > > :
    > > :Your use of Yahoo! Groups is subject to
    > http://docs.yahoo.com/info/terms/
    > > :
    > > :
    > > :
    > >
    > >
    > >
    > > ________________________________________________________________________
    > > ________________________________________________________________________
    > >
    > > Message: 13
    > > Date: Sun, 25 Feb 2001 01:11:49 -0500
    > > From: "Ray McArthur" <rjmca@u...>
    > > Subject: Re: IRL530N mosfet with BS2
    > >
    > > Hi Mark,
    > >
    > > Your circuit sounds OK. I like to add a 1k resistor between
    > the Stamp pin
    > > and gate to prevent FET oscillations. The IRL530 should operate from
    > Stamp
    > > output. Your relay should be connected from a positive supply to the
    > drain.
    > > A suppressor diode is needed to protect the FET when it turns off. When
    > the
    > > Stamp pin goes high, the relay should close. Make sure the relay power
    > > supply negative is connected to the Stamp supply gnd. If you ground the
    > FET
    > > drain with a jumper, the relay should close. If not, something is wrong
    > > with your wiring or relay supply.
    > >
    > > A few suggestions,
    > > Ray McArthur
    > >
    > >
    Original Message
    > > From: techno masai <plunkettm@e...>
    > > To: <basicstamps@yahoogroups.com>
    > > Sent: Saturday, February 24, 2001 5:23 PM
    > > Subject: [noparse][[/noparse]basicstamps] IRL530N mosfet with BS2
    > >
    > >
    > > > Hi All,
    > > >
    > > > Sitting here wondering why I can't get this logic level IRL530N mosfet
    > to
    > > > work with my BS2.
    > > >
    > > > Trying to control a small relay, I know this can be done with a
    > transistor
    > > > but just wanted to see how these mosfets worked too.
    > > >
    > > > Anyway I have the Gate pin 1 on the IRL530 hooked up to P0 on the BS2,
    > got
    > > > the Drain pin 2 going to the relay, got the source pin 3 hooked up to
    > > > ground.
    > > >
    > > > The program on the BS2 flashed an LED no problem but when I hook it up
    > to
    > > > the Gate nothing happens. I took the LED out to in case it was fouling
    > > > things up. I also reversed the drain and source connections too to see
    > if
    > > > that would make it work, this last try just made the relay stay on.
    > >
    > >
    > >
    > >
    > > ________________________________________________________________________
    > > ________________________________________________________________________
    > >
    > > Message: 14
    > > Date: Sun, 25 Feb 2001 01:16:14 -0500
    > > From: "Ray McArthur" <rjmca@u...>
    > > Subject: Re: Oops OK now re: IRL530N mosfet with BS2
    > >
    > > Hi again, Mark,
    > >
    > > Just read your 2nd message. FETs are more rugged than bipolar
    > transistors,
    > > *EXCEPT* for the gate. It is easily damaged by ESD, so ground yourself
    > > before handling a FET. Once it's in circuit, you're safe.
    > >
    > > Ray McArthur
    > >
    > >
    Original Message
    > > From: techno masai <plunkettm@e...>
    > > To: <basicstamps@yahoogroups.com>
    > > Sent: Sunday, February 25, 2001 12:51 AM
    > > Subject: Re: [noparse][[/noparse]basicstamps] Oops OK now re: IRL530N mosfet with BS2
    > >
    > >
    > > > Hi all,
    > > >
    > > > Got the mosfet to work, must have burned it out, there wasn't
    > any smoke,
    > > > fire or anything else out of the ordinary.
    > > >
    > > > Guess these mosfets are a little more fragile than transistors.
    > > >
    > > > Anyway, I put in a new one and am back up to speed.
    > > >
    > > > Happy Stamper
    > > >
    > > >
    Original Message
    > > > From: techno masai <plunkettm@e...>
    > > > To: basicstamps@yahoogroups.com <basicstamps@yahoogroups.com>
    > > > Date: Saturday, February 24, 2001 2:26 PM
    > > > Subject: [noparse][[/noparse]basicstamps] IRL530N mosfet with BS2
    > > >
    > > >
    > > > :Hi All,
    > > > :
    > > > :Sitting here wondering why I can't get this logic level
    > IRL530N mosfet
    > to
    > > > :work with my BS2.
    > > > :
    > > > :Trying to control a small relay, I know this can be done with a
    > > transistor
    > > > :but just wanted to see how these mosfets worked too.
    > > > :
    > > > :Anyway I have the Gate pin 1 on the IRL530 hooked up to P0
    > on the BS2,
    > > got
    > > > :the Drain pin 2 going to the relay, got the source pin 3 hooked up to
    > > > :ground.
    > > > :
    > > > :The program on the BS2 flashed an LED no problem but when I
    > hook it up
    > to
    > > > :the Gate nothing happens. I took the LED out to in case it
    > was fouling
    > > > :things up. I also reversed the drain and source connections
    > too to see
    > if
    > > > :that would make it work, this last try just made the relay stay on.
    > > > :
    > > > :Anyone got any hints??
    > > > :
    > > > :TIA,
    > > > :
    > > > :Mark
    > > > :
    > > > :
    > > > :
    > > > :
    > > > :Your use of Yahoo! Groups is subject to
    > http://docs.yahoo.com/info/terms/
    > > > :
    > > > :
    > > > :
    > > >
    > > >
    > > >
    > > >
    > > > Your use of Yahoo! Groups is subject to
    > http://docs.yahoo.com/info/terms/
    > > >
    > > >
    > >
    > >
    > >
    > > ________________________________________________________________________
    > > ________________________________________________________________________
    > >
    > > Message: 15
    > > Date: Sat, 24 Feb 2001 22:43:45 -0800
    > > From: "techno masai" <plunkettm@e...>
    > > Subject: Re: Oops OK now re: IRL530N mosfet with BS2
    > >
    > > Hi Ray!
    > >
    > > I had dug out your original post on this matter back on 8/22,
    > that was an
    > > interesting one.
    > >
    > > Now I'm trying to run the '530 from an OMRON photo interrupter, you know
    > > break the beam and the relay turns off.
    > >
    > > Trouble is now the '530 won't go off.
    > >
    > > I put a 150k pot in series with a 100 ohm on the emitter side to try to
    > > crank down the beam a little, but '530 still won't turn off relay.
    > >
    > > The 150k pot maxed out makes the OMRON give out a 3.5v signal, but then
    > when
    > > I break the beam the signal goes back up to 5v?!?!?
    > >
    > > Strange about the ESD, its raining here now, somehow I always
    > thought ESD
    > > was mainly a concern in dry weather.
    > >
    > > Good to here from you again Ray.
    > >
    > > Seen those new MCP3201 one channel 12 bit serial ADC's? Little over 4
    > bucks
    > > each. Seems like a real winner for the BS2.
    > >
    > > Thanks,
    > >
    > > Mark
    > >
    > >
    Original Message
    > > From: Ray McArthur <rjmca@u...>
    > > To: basicstamps@yahoogroups.com <basicstamps@yahoogroups.com>
    > > Date: Saturday, February 24, 2001 10:17 PM
    > > Subject: Re: [noparse][[/noparse]basicstamps] Oops OK now re: IRL530N mosfet with BS2
    > >
    > >
    > > :Hi again, Mark,
    > > :
    > > :Just read your 2nd message. FETs are more rugged than bipolar
    > transistors,
    > > :*EXCEPT* for the gate. It is easily damaged by ESD, so ground yourself
    > > :before handling a FET. Once it's in circuit, you're safe.
    > > :
    > > :Ray McArthur
    > > :
    > > :
    Original Message
    > > :From: techno masai <plunkettm@e...>
    > > :To: <basicstamps@yahoogroups.com>
    > > :Sent: Sunday, February 25, 2001 12:51 AM
    > > :Subject: Re: [noparse][[/noparse]basicstamps] Oops OK now re: IRL530N mosfet with BS2
    > > :
    > > :
    > > :> Hi all,
    > > :>
    > > :> Got the mosfet to work, must have burned it out, there wasn't any
    > smoke,
    > > :> fire or anything else out of the ordinary.
    > > :>
    > > :> Guess these mosfets are a little more fragile than transistors.
    > > :>
    > > :> Anyway, I put in a new one and am back up to speed.
    > > :>
    > > :> Happy Stamper
    > > :>
    > > :>
    Original Message
    > > :> From: techno masai <plunkettm@e...>
    > > :> To: basicstamps@yahoogroups.com <basicstamps@yahoogroups.com>
    > > :> Date: Saturday, February 24, 2001 2:26 PM
    > > :> Subject: [noparse][[/noparse]basicstamps] IRL530N mosfet with BS2
    > > :>
    > > :>
    > > :> :Hi All,
    > > :> :
    > > :> :Sitting here wondering why I can't get this logic level
    > IRL530N mosfet
    > > to
    > > :> :work with my BS2.
    > > :> :
    > > :> :Trying to control a small relay, I know this can be done with a
    > > :transistor
    > > :> :but just wanted to see how these mosfets worked too.
    > > :> :
    > > :> :Anyway I have the Gate pin 1 on the IRL530 hooked up to P0
    > on the BS2,
    > > :got
    > > :> :the Drain pin 2 going to the relay, got the source pin 3
    > hooked up to
    > > :> :ground.
    > > :> :
    > > :> :The program on the BS2 flashed an LED no problem but when I
    > hook it up
    > > to
    > > :> :the Gate nothing happens. I took the LED out to in case it
    > was fouling
    > > :> :things up. I also reversed the drain and source connections
    > too to see
    > > if
    > > :> :that would make it work, this last try just made the relay stay on.
    > > :> :
    > > :> :Anyone got any hints??
    > > :> :
    > > :> :TIA,
    > > :> :
    > > :> :Mark
    > > :> :
    > > :> :
    > > :> :
    > > :> :
    > > :> :Your use of Yahoo! Groups is subject to
    > > http://docs.yahoo.com/info/terms/
    > > :> :
    > > :> :
    > > :> :
    > > :>
    > > :>
    > > :>
    > > :>
    > > :> Your use of Yahoo! Groups is subject to
    > http://docs.yahoo.com/info/terms/
    > > :>
    > > :>
    > > :
    > > :
    > > :
    > > :
    > > :Your use of Yahoo! Groups is subject to
    > http://docs.yahoo.com/info/terms/
    > > :
    > > :
    > > :
    > >
    > >
    > >
    > > ________________________________________________________________________
    > > ________________________________________________________________________
    > >
    > > Message: 16
    > > Date: 24 Feb 2001 23:57:14 MST
    > > From: Alex McAlpine <alexmcalpine@u...>
    > > Subject: Re: [noparse][[/noparse]BS2 Interface w/ Voice Direct 364 from Sensory]
    > >
    > > Bryan Smith <bsmith@w...> wrote:
    > > Has anyone done voice recognition using the Voice Direct 364 from
    > Sensory?
    > >
    > > My friend and I are just getting started with Stamps, and have some
    > > questions
    > > as to the best way to send it commands. The documentation says that it
    > uses
    > > three wires ( Host, Slave, and Data ). It makes reference to
    > using Shift
    > > Registers;
    > > but does not specificly mention anything in regards to the BS2.
    > >
    > > Can we use SERIN and SEROUT instead of the SHIFTIN and SHIFTOUT
    > commands?
    > >
    > > Any help would be appreciated.
    > >
    > > Bryan Smith
    > >
    > > we just used "If pin"X" = high
    > > with 7 diffrent pins " 7 diffrent voice commands"
    > > or use the "pot" and 1k ohm resistor 364 pinout1 2k ohm res. pinout2
    > > and so on.
    > >
    > >
    > >
    > > ____________________________________________________________________
    > > Get free email and a permanent address at http://www.netaddress.com/?N=1
    > >
    > >
    > > ________________________________________________________________________
    > > ________________________________________________________________________
    > >
    > > Message: 17
    > > Date: Sun, 25 Feb 2001 07:12:50 -0000
    > > From: tunatunup2000@y...
    > > Subject: Re: Connecting PocketPC to a BS2
    > >
    > > Connecting PocketPC to a BS2
    > >
    > > It appears that I can open port 1 but not port 2 on the PocketPC. Are
    > > you using port 1 or port 2 on your PocketPC?
    > >
    > > My PocketPC has a 9-pin serial connector with cable so I'm using a
    > > male to male connector (3 bucks at Fry's) to connect it directly to
    > > the BS2. How did you connect your BS2 to the PocketPC?
    > >
    > > Also, I'm using the Visual Basic MSComm control for the desktop and
    > > the Comm control for PocketPC's. Both are similar COM/ActiveX
    > > controls that are fairly easy to use for reading the serial buffer.
    > > The desktop control (MSComm) works just like I expect but the
    > > PocketPC control (Comm) didn't.
    > >
    > > If and when I figure this out I guess I should write a web page
    > > describing how it was done so others can do it. Using the BS2 and
    > > PocketPC's for data acquisition is such a natural progression for
    > > both devices.
    > >
    > >
    > >
    > >
    > > ________________________________________________________________________
    > > ________________________________________________________________________
    > >
    > >
    > >
    > > Your use of Yahoo! Groups is subject to
    http://docs.yahoo.com/info/terms/
    >
    >




    Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
  • ArchiverArchiver Posts: 46,084
    edited 2001-03-12 16:20
    I am another newbie. I have built a few easy projects with my basicstamp 2 on a breadboard.
    I am finding it a little difficult to understand motor control.
    Assume my circuit can run off a 9 volt battery then
    What is the easiest way to control a motor that will run off a 9 voltbattery?
    How do you control a motor that requires, say, 12 VDC, 2 to 4 amps?
    ·
    ·
    ·
    Thanks,
    Wayne Fulcher
    wayne@ddinet.com
    ·
  • ArchiverArchiver Posts: 46,084
    edited 2001-03-12 16:54
    Do you want to control the speed, or just on / off and direction? This would
    make alot of difference.

    Original Message

    > I am another newbie. I have built a few easy projects with my basic stamp
    2
    > on a breadboard.
    > I am finding it a little difficult to understand motor control.
    > Assume my circuit can run off a 9 volt battery then
    > What is the easiest way to control a motor that will run off a 9 volt
    > battery?
    > How do you control a motor that requires, say, 12 VDC, 2 to 4 amps?
  • ArchiverArchiver Posts: 46,084
    edited 2001-03-12 16:56
    You can find the answer to this -- and many other questions in the FAQ at
    http://www.al-williams.com/wd5gnr/stampfaq.htm

    The basic idea is that you will need a transistor (probably a FET) that
    switches at logic levels, but can handle 12V at 4A. You can also use a
    relay, and that will probably require a small transistor as well.

    If you want to control the motor's speed, consider PWM (either the Stamp's
    PWM command or an external controller like a PAK-V). To control direction
    you need an H-bridge (4 transistors or switches).

    Regards,

    Al Williams
    AWC
    * 8 channels of PWM: http://www.al-williams.com/awce/pak5.htm

    Original Message
    From: Wayne Fulcher [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=88R0SjDyka8UX8Hr1_gP6d2o1tSLNTbI_5j-jiY5gLFC2iZVmISzD1sY_aKPgHet9rV9NkKmyw]wayne@d...[/url
    Sent: Monday, March 12, 2001 10:20 AM
    To: Basic Stamp
    Subject: [noparse][[/noparse]basicstamps] Motor Control


    I am another newbie. I have built a few easy projects with my basic stamp 2
    on a breadboard.
    I am finding it a little difficult to understand motor control.
    Assume my circuit can run off a 9 volt battery then
    What is the easiest way to control a motor that will run off a 9 volt
    battery?
    How do you control a motor that requires, say, 12 VDC, 2 to 4 amps?



    Thanks,
    Wayne Fulcher
    wayne@d...


    Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
  • ArchiverArchiver Posts: 46,084
    edited 2001-03-12 17:03
    At 3/12/2001 Monday 11:20 AM, Wayne Fulcher wrote:

    >I am another newbie. I have built a few easy projects with my basic stamp
    >2 on a breadboard.
    >
    >I am finding it a little difficult to understand motor control.
    >
    >Assume my circuit can run off a 9 volt battery then
    >
    >What is the easiest way to control a motor that will run off a 9 volt battery?
    >
    >How do you control a motor that requires, say, 12 VDC, 2 to 4 amps?
    Hi Wayne -

    Welcome to the world of Basic Stamps. For a 12 volt system you may want to
    check here::
    [noparse][[/noparse] http://divelec.tripod.com/ ] The MC-6 is an excellent board, and
    instructions and schematics are shown for various methods of controlling
    it from a Basic STAMP. I have used these boards, and have found them
    exceptional.

    The capacity of these boards may be a bit more than you need, but the
    flexibility and the features CAN NOT
    be beat. The designer of these boards, Carl Kollar, can also of assistance
    if you have any problems. Besides that,
    he's a great guy !!

    >Hope that helps.

    Regards,

    Bruce Bates
  • ArchiverArchiver Posts: 46,084
    edited 2001-03-12 17:17
    This brings up an interesting thing I discovered about the MotorMind B
    modules. With a BS2sx they seem to be a bit random in returning confirmation
    that they received the command properly.

    While this would not be a problem with one motor, this is an issue with two
    motors. The 'bot may start up straight or may turn as much as 90 degrees
    before it takes off. This is with using the duty cycle or count feature. I
    suspect the BS2sx is a bit fast and misses the reply.

    What I wound up doing is using the brake until both modules receive the
    command, then releasing the brake to make it take off straight. Not elegant,
    but it works.

    Anyone else run into this and have a work-around? Do these modules Bruce
    mentioned work better?

    Original Message

    > >I am another newbie. I have built a few easy projects with my basic stamp
    > >2 on a breadboard.
    > >
    > >I am finding it a little difficult to understand motor control.
    > >
    > >Assume my circuit can run off a 9 volt battery then
    > >
    > >What is the easiest way to control a motor that will run off a 9 volt
    battery?
    > >
    > >How do you control a motor that requires, say, 12 VDC, 2 to 4 amps?
    > Hi Wayne -
    >
    > Welcome to the world of Basic Stamps. For a 12 volt system you may want
    to
    > check here::
    > [noparse][[/noparse] http://divelec.tripod.com/ ] The MC-6 is an excellent board, and
    > instructions and schematics are shown for various methods of controlling
    > it from a Basic STAMP. I have used these boards, and have found them
    > exceptional.
    >
    > The capacity of these boards may be a bit more than you need, but the
    > flexibility and the features CAN NOT
    > be beat. The designer of these boards, Carl Kollar, can also of assistance
    > if you have any problems. Besides that,
    > he's a great guy !!
  • ArchiverArchiver Posts: 46,084
    edited 2001-03-12 17:39
    [font=arial,helvetica]Below is some BS2 pbasic code for motor control that uses the Melexis
    MLX10402 chip (melexis.com). This might help you do better control on your
    motor. The chip can only handle 700ma and has diodes built in for reverse
    over voltage inputs.

    Chuck

    'setup for a Melexis MLX10402 motor switcher
    'and Lego 9v motor
    '5/1/00

    b1=9 'stamp pins 9 and 10 connected to Melexis inputs
    b2=10
    aa: 'speed increase in one direction and
    low b1 'speed increase in reverse direction
    low b2
    for b0=50 to 250
    pwm b1,b0,100
    pause 5
    next
    pause 5000
    if b1=9 then cc
    b1=9:b2=10
    goto aa
    cc:
    b1=10:b2=9
    goto aa[/font]
  • ArchiverArchiver Posts: 46,084
    edited 2001-03-12 18:33
    [font=arial,helvetica]Take a look at a fet like HARRIS RFP3055. The gate pin can be connected to
    the stamp pin and with the pbasic "pulsout" command the motor speed can be
    controlled. The fet can handle up to 12amps. Another possibility would be to
    use a reed switch relay, like Radio Shack p/n 275-232.
    Chuck[/font]
  • ArchiverArchiver Posts: 46,084
    edited 2001-03-12 19:52
    > I am another newbie. I have built a few easy projects with my basic stamp
    > 2 on a breadboard. I am finding it a little difficult to understand motor
    > control. Assume my circuit can run off a 9 volt battery then What is the
    > easiest way to control a motor that will run off a 9 volt battery? How do
    > you control a motor that requires, say, 12 VDC, 2 to 4 amps?

    Have a look at :http://www.hvwtech.com/motorcontroller.htm

    The L298 kit is an inexpensive little board that will let you safely
    control 2 motors (forward and reverse) up to 2 amps each. It
    completely isolates the Stamp so there is no risk of damaging it.


    Mark Hillier, VE6HVW
    President, HVW Technologies Inc.
    Canadian Distributors of Parallax Products and other Neat Stuff
    Tel: +403-730-8603 Fax: +403-730-8903
    See our NEW BASIC Stamp Prototyping tools !
    http://www.hvwtech.com/stampstack.htm
  • ArchiverArchiver Posts: 46,084
    edited 2001-11-14 21:07
    Stampers,

    I've got a motor being drivin by a custom designed H-bridge. The H-bridge
    consists of some mosfets. The controller and FET's work fine to drive LED's
    both "forward" and in "reverse." However, once I hook the motor up (instead
    of LED's) and begin to draw real current (5 Amps) the FET's have a difficult
    time shutting the motor off. If the motor avoids the high side, the
    low-side FET does shut it off properly. If the motor avoids the low-side
    FET, the high side shuts off the motor properly. This and monitoring the
    controller brings me to two possible problems.

    1) I've got a noise issue with the looping wires on my breadboard (I really
    think this is the problem.)

    2) The motor is acting like an inductor and the current is wanting to stay
    "flowing." (This doesn't make alot of sense.)

    If any of you stampers have a clue as to why this might be happening, I'd
    greatly appreciate it! I really think the controller gets confused and
    doesn't take a pin low. Once the pin does go low either by human switch or
    electronic switch, the FET's do work and shut off the motor. I'll try
    eliminating the noise tomorrow!

    David Fixemer
    Fixemerd@a...
    402-472-8239
  • ArchiverArchiver Posts: 46,084
    edited 2001-12-05 15:31
    I have a robot that has two wiper motors as the drive and is radio
    control using a R/C system. The servo output from the RC receiver is
    connected to two pins of the BS1 which controls the wiper motors of
    the robot. I am looking for a program to connect my BS2sx to the BS1
    pins rather than the R/C receiver. I run the BS2sx servo connections
    P12 and P13 (which is program to run two servos) to P6 and P7 of the
    BS1. Can anyone help me with the a program for the BS2sx to make
    this work?
  • ArchiverArchiver Posts: 46,084
    edited 2002-01-02 11:20
    Any ideas on how to use the BS2 to control the speed and direction of a 12V @
    3 - 4 amps DC motor? I need the BS2 to control the acceleration rate if the
    driver "floors" the joystick so as not to damage the motor or injure someone.
    Should pulse modulation to a few power transistors or SCR's do the trick? But
    then what about directional control?

    - Chris
  • ArchiverArchiver Posts: 46,084
    edited 2002-01-02 12:46
    At 03:20 AM 1/2/2002 -0800, you wrote:
    >Any ideas on how to use the BS2 to control the speed and direction of a 12V @
    >3 - 4 amps DC motor? I need the BS2 to control the acceleration rate if the
    >driver "floors" the joystick so as not to damage the motor or injure someone.
    >Should pulse modulation to a few power transistors or SCR's do the trick? But
    >then what about directional control?
    >
    >- Chris
    Chris -

    Take a look at the motor controllers here: http://divelec.tripod.com/id1.html

    They have always worked well for me.

    Regards,

    Bruce Bates
  • ArchiverArchiver Posts: 46,084
    edited 2003-01-25 17:46
    If your using the typical brushless dc fan used in
    computer power supplies and CPU cooler, these cannot be
    controlled via the typical means. These motors have
    their own internal switching which occurs based on fan
    position. The position in turn is based on input
    voltage. More voltage more speed, less voltage less
    speed.

    You could PWM the power into a filter to return the
    electricity to pure DC with the PWM controlling the
    voltage, raw unfiltered PWM will not work well with
    these motors. Because the load is based on the fan
    voltage will be speed, no need to really have a
    feedback loop.

    Ron

    *******************************************************
    *********************


    > Message: 2
    > Date: Fri, 24 Jan 2003 22:47:37 +0800
    > From: "Chris Shuster" <cpuman3@h...>
    > Subject: Controlling 12V DC Fans
    >
    > I've been working on a project now to create a fan
    controller for my computer using the BS2. While I have
    figure out how to read the tach with the stamp, speed
    control has alluded me. I tried PWM, using one of Al
    William's Pak coprocessors and was able to control the
    fan's speed but failed to get tach feedback, which in
    it's place I would get a count of the current pulse
    rate. I also heard that PWM causes interference... is
    this true? I've considered trying linear control but
    have failed to get that to work and from what I
    understand linear produces excess heat. Any
    suggestions on how I might best control the fan's speed
    and if possible be able to read the tach output as
    well?
    >
    > BTW the fans I'm interested in controlling are mainly
    those standard 80mm X 80mm case fans, which typically
    run at 12VDC and usually consume less then 3 watts of
    power.
    >
    > Also I noticed that on the PWM Pak that there is two
    PWM modes. From the scope screen shots on Al's web
    site I see the difference between the two, but I don't
    understand in which situation each would be most
    appropriate, could someone elaborate this for me?
    >
    > Any help is much appreciated!
    >
    > Thanks,
    > Chris
  • ArchiverArchiver Posts: 46,084
    edited 2004-03-02 03:39
    Hello..

    Does anyone know
    the steps / "code" "where I can find info needed to have a Basic
    stamp "BS2"

    DO

    1... use a photoresistor to sense solar radiation.

    "set max value " "lux" something units of neasure/.. I guess..

    { then } , (make desison) when set value is violated.

    (then) read last servo position in memory.

    (then) add 0002 to stored servo position.
    (then) cause servo to pulse to that position.

    Thats it...
    thanks


    DAVE...
  • ArchiverArchiver Posts: 46,084
    edited 2004-03-02 22:43
    MyVal VAR WORD ' General variable
    LastVal VAR WORD ' Store last reading
    MaxVal VAR WORD
    MinDelta CON 10 ' Move if outside boundary
    SunVal VAR WORD
    PulseVal VAR WORD ' Last Servo Value
    LastDir VAR BIT ' 0 = left, 1 = right

    LastDir = 0
    PulseVal = 750 ' 750 * 2 = 1.5 mSec, center servo
    MyVal = 20 ' Start with 20 CdS value

    MAIN:
    LastVal = MyVal
    PULSOUT MyCdsPin, xxxx ' Goal, charge Capacitor
    RCTIME MyCdSPin, xxx, MyVal ' Goal, determine CdS Resistance
    IF MyVal > (LastVal + MinDelta) FoundGreater
    IF MyVal < (LastVal - MinDelta) FoundLess
    Default:
    GOSUB RefreshServo
    GOTO Main ' Else, Value within Delta. Do nothing

    FoundGreater:
    ' Current reading > LastReading. We are moving
    ' the servo in the right direction. Add the
    ' appropriate amount to 'PulseVal' based on
    ' LastDir.
    GOTO Default

    FoundLess:
    ' Current reading < LastReading. We are moving
    ' the servo in the wrong direction. Set 'LastDir'
    ' to the other direction, and change 'PulseVal' as
    ' needed to step that way.
    GOTO Default

    RefreshServo:
    PULSOUT ServoPin, 1, PulseVal
    PAUSE 20 ' Pause 20 mSec so don't over-refresh servo
    RETURN

    --- In basicstamps@yahoogroups.com, "crazyidagain"
    <crazyidagain@y...> wrote:
    > Hello..
    >
    > Does anyone know
    > the steps / "code" "where I can find info needed to have a Basic
    > stamp "BS2"
    >
    > DO
    >
    > 1... use a photoresistor to sense solar radiation.
    >
    > "set max value " "lux" something units of neasure/.. I guess..
    >
    > { then } , (make desison) when set value is violated.
    >
    > (then) read last servo position in memory.
    >
    > (then) add 0002 to stored servo position.
    > (then) cause servo to pulse to that position.
    >
    > Thats it...
    > thanks
    >
    >
    > DAVE...
  • ArchiverArchiver Posts: 46,084
    edited 2004-04-29 07:09
    this maybe a dumb questin but how do get the bs2 board of education
    to control a motor more powerful than a servo.
  • ArchiverArchiver Posts: 46,084
    edited 2004-04-29 16:40
    Hello,

    You can use DC motors with motor controllers for this project. Here is
    a link for more information:
    http://www.parallax.com/html_pages/products/motorcontrol/motor_control.a
    sp . If you have any more questions please feel free to e-mail us.

    Thanks,

    Dave

    Dave Andreae
    Tech Support
    PH. 916-624-8333
    Stamp Support/ stamptech@p...
    Javelin Support/ javelinsupport@p...
    SX-Support/ sxtech@p...
    websites
    parallax.com
    stampsinclass.com

    Original Message
    From: fromarmy2eet [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=TB0PBeLbwwT0jJnGP9e_8X4C6nYPU_b3Ipbng-GnbyrWX5KiP6-XZxxU9JiULScgDjG3Hmdm7fRAq_3B0PRmnA]fromarmy2eet@y...[/url
    Sent: Wednesday, April 28, 2004 11:10 PM
    To: basicstamps@yahoogroups.com
    Subject: [noparse][[/noparse]basicstamps] motor control

    this maybe a dumb questin but how do get the bs2 board of education
    to control a motor more powerful than a servo.




    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.

    Yahoo! Groups Links







    This message has been scanned by WebShield. Please report SPAM to
    abuse@p....
  • ArchiverArchiver Posts: 46,084
    edited 2004-04-29 16:55
    Hello,
    At this link there is a doc that might help you will want to
    download the article 23.
    http://www.parallax.com/html_pages/downloads/nvcolumns/Nuts_Volts_Downlo
    ad_V1.asp

    Stephen Swanson
    Technical Support Manager
    Parallax, Inc.
    599 Menlo Drive, #100
    Rocklin, CA 95765

    Phone (916) 624-8333
    E-mail ..... sswanson@p...
    Main site...... www.parallax.com
    Educational site.... www.parallax.com/sic
    Javelin Stamp... www.parallax.com/javelin


    Original Message
    From: fromarmy2eet [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=KY9skMb9fozJC_mLwQU5480yfckyPPq2Me3qSEC2fPJSpKignGLf_3ybDsSL9SnkbQiVjUr-bXdvACUs]fromarmy2eet@y...[/url
    Sent: Wednesday, April 28, 2004 11:10 PM
    To: basicstamps@yahoogroups.com
    Subject: [noparse][[/noparse]basicstamps] motor control

    this maybe a dumb questin but how do get the bs2 board of education
    to control a motor more powerful than a servo.




    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.

    Yahoo! Groups Links







    This message has been scanned by WebShield. Please report SPAM to
    abuse@p....
  • ArchiverArchiver Posts: 46,084
    edited 2004-04-29 18:48
    http://www.google.com/search?hl=en&ie=UTF-8&oe=UTF-8&q=motor+control+bs2


    fromarmy2eet <fromarmy2eet@y...> wrote:
    this maybe a dumb questin but how do get the bs2 board of education
    to control a motor more powerful than a servo.




    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.

    Yahoo! Groups Links






    Do you Yahoo!?
    Win a $20,000 Career Makeover at Yahoo! HotJobs

    [noparse][[/noparse]Non-text portions of this message have been removed]
  • ArchiverArchiver Posts: 46,084
    edited 2004-04-29 19:24
    to control devices requiring more current/voltage than supplied, you need to
    add some additional circuitry. Check out this web site for schematics and
    examples etc.
    jim
    http://www.geocities.com/jimforkin2003/


    Original Message
    From: fromarmy2eet [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=J9qRn480uzGgjRQn8eDqxvm2VynTBWsxXCAUJyqKBVwXfYG5P7hTgkRtBjDNlqVzLsVNUYBOQfseSkPj2_wK_A]fromarmy2eet@y...[/url
    Sent: Thursday, April 29, 2004 2:10 AM
    To: basicstamps@yahoogroups.com
    Subject: [noparse][[/noparse]basicstamps] motor control


    this maybe a dumb questin but how do get the bs2 board of education
    to control a motor more powerful than a servo.




    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.

    Yahoo! Groups Links
  • ArchiverArchiver Posts: 46,084
    edited 2004-04-30 03:17
    --- In basicstamps@yahoogroups.com, "fromarmy2eet"
    <fromarmy2eet@y...> wrote:
    > this maybe a dumb questin but how do get the bs2 board of education
    > to control a motor more powerful than a servo.


    What type of motors ?

    Stepper motors are easily contorlled by a Stepper Motor DRIVER. A
    circut that takes the high voltage high current and receives signals
    from the Stepper Motor CONTROLLER ie : the Stamp.

    The contoller sends out it's TTL or low voltage signals and the
    DRIVER takes 70 volts, 7 amps (or what ever ) and send that to the
    motor.

    Search for things like the little-step-u


    For a servo of high power, 100 volts, 10 amps ? you can make an H-
    Bridge if you want to run it full speed, or you can PWM it to run at
    slower speeds.

    Again the controller, the Stamp only needs to send TTL or low voltage
    signals.

    search for H-Bridge


    If you are looking to run one of those 10,000 hp electric train
    motors, you would need what is called SwitchGear that is rated for
    the motor. it will have a coil that is an electromagnet that engages
    the contactors that carry the 1,000 amps.

    the coil will be fed a power signal that can come from a relay, that
    relay can be controlled by a darlingon that can be controlled by the
    Stamp.

    contact a locomotive engineer. don't ry this at home.

    Dave
Sign In or Register to comment.