HELP!
Archiver
Posts: 46,084
Hi Dave,
Well, it should be fairly easy to sense the inputs in a loop and use SEROUT
to send to the PC. Something like:
top:
if in0=0 then send0
if in1=0 then send1
if in2=0 then send2
goto top
send0:
serout 16,84,[noparse][[/noparse]"0"] ' assuming this will give me good enough debounce
delay
wait0:
if in0=0 then wait0
goto top
etc.
I know Stanford University CS247A used Basic Stamps with Director one
semester (because we supplied them with ASP-IIs for the class). You might
find some useful info at http://www.stanford.edu/class/cs247a/links.htm
Regards,
Al Williams
AWC
* 8 channels of pulse input: http://www.al-williams.com/awce/pak7.htm
>
Original Message
> From: Dave Clough [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=E4iUCSa64DbXTuyWbRlIKU4rRYBfZpgcFq0fNuQDz8JXpADJCgJLwOmwRCYa6B0uhsTPhulry3i-rxrQYdS5wQ]d.s.clough@u...[/url
> Sent: Wednesday, April 26, 2000 10:38 AM
> To: basicstamps@egroups.com
> Subject: [noparse][[/noparse]basicstamps] HELP!
>
>
> Hello
> New to the list and a complete electronic ignoramus, I am on my
> knees begging for help. Here goes
>
> BASIC STAMP II
> 3 pressure pads wired to the stamp unit's P0, P1 & P2. The unit
> then connected by 9-pin serial to a PC running .avi files from within
> Director 6. The idea is that each pressure pad, when pressed, will
> activate one of three short animations.
> Sounds simple. Problem is, I do not have a clue about how to
> program in BASIC so any help/pointers in this direction will see
> you firmly ensconced on my Christmas card list.
>
> Please help by mailing me privately at
>
> d.s.clough@u...
>
> Thanks (in anticipation)
>
> Dave
>
>
Well, it should be fairly easy to sense the inputs in a loop and use SEROUT
to send to the PC. Something like:
top:
if in0=0 then send0
if in1=0 then send1
if in2=0 then send2
goto top
send0:
serout 16,84,[noparse][[/noparse]"0"] ' assuming this will give me good enough debounce
delay
wait0:
if in0=0 then wait0
goto top
etc.
I know Stanford University CS247A used Basic Stamps with Director one
semester (because we supplied them with ASP-IIs for the class). You might
find some useful info at http://www.stanford.edu/class/cs247a/links.htm
Regards,
Al Williams
AWC
* 8 channels of pulse input: http://www.al-williams.com/awce/pak7.htm
>
Original Message
> From: Dave Clough [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=E4iUCSa64DbXTuyWbRlIKU4rRYBfZpgcFq0fNuQDz8JXpADJCgJLwOmwRCYa6B0uhsTPhulry3i-rxrQYdS5wQ]d.s.clough@u...[/url
> Sent: Wednesday, April 26, 2000 10:38 AM
> To: basicstamps@egroups.com
> Subject: [noparse][[/noparse]basicstamps] HELP!
>
>
> Hello
> New to the list and a complete electronic ignoramus, I am on my
> knees begging for help. Here goes
>
> BASIC STAMP II
> 3 pressure pads wired to the stamp unit's P0, P1 & P2. The unit
> then connected by 9-pin serial to a PC running .avi files from within
> Director 6. The idea is that each pressure pad, when pressed, will
> activate one of three short animations.
> Sounds simple. Problem is, I do not have a clue about how to
> program in BASIC so any help/pointers in this direction will see
> you firmly ensconced on my Christmas card list.
>
> Please help by mailing me privately at
>
> d.s.clough@u...
>
> Thanks (in anticipation)
>
> Dave
>
>
Comments
New to the list and a complete electronic ignoramus, I am on my
knees begging for help. Here goes
BASIC STAMP II
3 pressure pads wired to the stamp unit's P0, P1 & P2. The unit
then connected by 9-pin serial to a PC running .avi files from within
Director 6. The idea is that each pressure pad, when pressed, will
activate one of three short animations.
Sounds simple. Problem is, I do not have a clue about how to
program in BASIC so any help/pointers in this direction will see
you firmly ensconced on my Christmas card list.
Please help by mailing me privately at
d.s.clough@u...
Thanks (in anticipation)
Dave
I wrote a program for the BS2 but compiled it in the
BS1 editor by a foolish mistake. I did the necessary
changes and ran it on the BS2 editor but I get an
error in the Symbol section. The editor generates the
error; Expected ':' or end-of-line. Does anyone know
what I'm doing wrong?
Thanks in advance,
Carlos P.
__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/
Chris
Original Message
From: Carlos P.Rodriguez <charleebrownskin@y...>
To: <basicstamps@yahoogroups.com>
Sent: Monday, April 16, 2001 4:50 PM
Subject: [noparse][[/noparse]basicstamps] Help!
> Hello Club,
> I wrote a program for the BS2 but compiled it in the
> BS1 editor by a foolish mistake. I did the necessary
> changes and ran it on the BS2 editor but I get an
> error in the Symbol section. The editor generates the
> error; Expected ':' or end-of-line. Does anyone know
> what I'm doing wrong?
>
> Thanks in advance,
> Carlos P.
>
> __________________________________________________
> Do You Yahoo!?
> Get email at your own domain with Yahoo! Mail.
> http://personal.mail.yahoo.com/
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
retry con 10 ' set retry to constant 10
xyz var word ' set xyz to be a word variable
abc var xyz ' set abc to be the same as xyz
The BS2 will auto allocate registers for you
If you really want to do your own, you can say:
xyz var w1
i var b9
etc.
But don't mix the two styles. Either pick your own variables or let the BS2
editor do it for you.
Al Williams
AWC
* Expand your Stamp I/O: http://www.al-williams.com/awce/pak3.htm
>
Original Message
> From: Carlos P.Rodriguez [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=MSFNjmGmE50Gl5EIIs79tekMXzosicI2A3K1jrhpxEQe1iw_9U-6o1k7IP7BzBA7NYEAa9OjIAlqCG-5qubn-Ok]charleebrownskin@y...[/url
> Sent: Monday, April 16, 2001 3:51 AM
> To: basicstamps@yahoogroups.com
> Subject: [noparse][[/noparse]basicstamps] Help!
>
>
> Hello Club,
> I wrote a program for the BS2 but compiled it in the
> BS1 editor by a foolish mistake. I did the necessary
> changes and ran it on the BS2 editor but I get an
> error in the Symbol section. The editor generates the
> error; Expected ':' or end-of-line. Does anyone know
> what I'm doing wrong?
>
> Thanks in advance,
> Carlos P.
>
> __________________________________________________
> Do You Yahoo!?
> Get email at your own domain with Yahoo! Mail.
> http://personal.mail.yahoo.com/
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
I got got my Basic Stamp activity board ( the one with the four buttons,
LED's, phone RJ-11 jack)
and the BS2SX chip.
I plugged in the power supply that I got from them, the green LED lights up.
I notice that the BS2SX does get warm to the touch...
Anyway, I plugged in my DB9 serial cable to COM 1, and
ran a couple programs that I could find on the included CD, but can't get
any
evidence of communication.
1) Do I need to rewire my serial cable?
2) What "windows" program in which subdirectory should I be using with Win
98'
to communicate with the board?
Thanks!!!
Art
through cable. In particular the DB9 pins 2, 3, 4, and 5 should be
connected. The software also requires a cross on pins 6 and 7 but the
board should be doing that for you (as long as the cable makes
connections on pin 6 and 7).
Are you using the latest Windows program from Parallax? Are you
including the correct directive at the top of the file for the BS2SX
(use the directive menu command to do it automatically)?
A few things to watch:
1) Beware of 25 pin to 9 pin adapters.
2) Be sure you don't have palm pilot, CE, Fax, or other serial software
holding the port that you have the Stamp plugged into.
3) If you are using COM1 or 3 for anything you usually can't use the
other port (ditto for 2 and 4). In other words, on most PCs if COM1 is
tied up it effectively ties up COM3 also.
That's all I can think of for the moment. Seems like there is a FAQ
article at http://www.al-williams.com/wd5gnr/stampfaq.htm if I'm not
mistaken.
Al Williams
AWC
* Easy RS-232 Prototyping
http://www.al-williams.com/awce/rs1.htm
>
Original Message
> From: Art Burke [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=gpFPZIebPk9kbHwcA6ZO3f8Wf9N6q52POSqlwMUGTQuo-lkP4KIa73vvgTt3UUBux0GG119PNOc_RZAx_xRO3g]pianomanab@s...[/url
> Sent: Thursday, November 29, 2001 3:14 PM
> To: basicstamps@yahoogroups.com
> Subject: [noparse][[/noparse]basicstamps] HELP!
>
>
> Hi Guys:
>
> I got got my Basic Stamp activity board ( the one with the
> four buttons, LED's, phone RJ-11 jack) and the BS2SX chip. I
> plugged in the power supply that I got from them, the green
> LED lights up. I notice that the BS2SX does get warm to the
> touch... Anyway, I plugged in my DB9 serial cable to COM 1,
> and ran a couple programs that I could find on the included
> CD, but can't get any evidence of communication.
> 1) Do I need to rewire my serial cable?
> 2) What "windows" program in which subdirectory should I be
> using with Win 98' to communicate with the board?
>
> Thanks!!!
>
> Art
>
>
> To UNSUBSCRIBE, just send mail to:
> basicstamps-unsubscribe@yahoogroups.com
> from the same email address that you subscribed. Text in the
> Subject and Body of the message will be ignored.
>
>
> Your use of Yahoo! Groups is subject to
> http://docs.yahoo.com/info/terms/
>
I got it working after downloading the software for windows from the
Parallax
website...
Now the fun part begins.
Is there a site that has a bunch of programs for the BS2SX and the Basic
Stamp Activity Board (The one with the 4 pushbuttons, led's, and the pot?
Thanks,
Art
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com