Shop OBEX P1 Docs P2 Docs Learn Events
Digest Number 437 — Parallax Forums

Digest Number 437

ArchiverArchiver Posts: 46,084
edited 2001-01-23 19:36 in General Discussion
Jeremiah sez:

>From: miah_99@b...
>Subject: HELP!! SENIOR PROJECT!!

>What I am wondering is if one of the stamp kits have the capability
>of running a task while maintaining the capability to read
>information
>Example: Using a sensor (motion/heat) as the trigger for the
>switch. Running a motor off of a direct power source, which upon
>tripping the sensor would be shut down, and another motor would be
>started, using the same direct power source the initial motor was
>using.
>Are any of the Basic Stamps capable of this type of
>programmability?? If so, which?

Hi there:

Either the BS-1 or BS-2 should have the capabilities of doing this. My
preference would be to use the BS2.

First thing to do is determine all your components in the system so you can
then determine how many inputs and outputs you will need. If it is more than
8, you will need to use the BS2. Keep in mind as well future growth. I know
you can network stamps together if your needs grow but if your design finds
you with 20 - 25% spare I/O pins for future, that is your best compromise in
terms of needing less hardware and then system reprogramming to look at
those other I/O.

Once you have your I/O determined, you can then flowchart or write a full
description of your program from start to finish. From there you can
determine the best way to structure your program so the sequencing gives you
a continuous mode of operation. Using the toggle functions and subroutines
should give you what you are looking for. Sounds like you're doing something
neat and interesting with the stamp. Good luck with it and let me know if
you need any further help.

Regards,

Gerry Shand
gwshand@c...
res@c...
Sign In or Register to comment.