menehune1
05-26-2005, 01:31 PM
Greetings everyone.
I have a project that I'm hoping to build with a Stamp. Unfortunately I've been away from Stamps for a long while (My pbasic is at ver 1.04 http://forums.parallax.com/images/smilies/smile.gif) I really need to do a refresher on programming over the summer.
I have a teaching laboratory with 16 seats. Each student has a trainer at their station and when they have completed their lab, they request the instructor to come and test them (by switching in errors on the trainer). The students currently raise their hand but the instructor may not see them and get them in the correct orderas he's walking around the lab.
Basically, something like a "now serving" sign, but with the capability to show the next five stations which are requesting service. I was figuring to wire the call buttons in an array like a 16 button phone pad and eventually have a light board which will illuminate numbers so the students and instructor can see who's next. I guess if I need to, I could just use a bell and a terminal window on a PC to keep running list of next stations. I don't know how I would add and remove numbers as they are serviced. It seems to me that I may be asking the stamp to do too much at once-wait for key presses; log and store at least five button presses; display on a tally board the current and next five stations; when serviced, remove the current number and move each number up a slot in the que.
I only have a BS2 from a BOE bot which only has 16 data lines. I'm hoping not to upgrade, but with serial out lines, keypad data lines and possibly 16 outputs, I think I will have a severe data line shortage. Is there a way to have the stamp output a serial code like hex and have an external decoder board display the data? Maybe a 1->16 demultiplexor? Or maybe even the reverse of a keypad encoder?
Post Edited (menehune1) : 5/26/2005 6:35:17 AM GMT
I have a project that I'm hoping to build with a Stamp. Unfortunately I've been away from Stamps for a long while (My pbasic is at ver 1.04 http://forums.parallax.com/images/smilies/smile.gif) I really need to do a refresher on programming over the summer.
I have a teaching laboratory with 16 seats. Each student has a trainer at their station and when they have completed their lab, they request the instructor to come and test them (by switching in errors on the trainer). The students currently raise their hand but the instructor may not see them and get them in the correct orderas he's walking around the lab.
Basically, something like a "now serving" sign, but with the capability to show the next five stations which are requesting service. I was figuring to wire the call buttons in an array like a 16 button phone pad and eventually have a light board which will illuminate numbers so the students and instructor can see who's next. I guess if I need to, I could just use a bell and a terminal window on a PC to keep running list of next stations. I don't know how I would add and remove numbers as they are serviced. It seems to me that I may be asking the stamp to do too much at once-wait for key presses; log and store at least five button presses; display on a tally board the current and next five stations; when serviced, remove the current number and move each number up a slot in the que.
I only have a BS2 from a BOE bot which only has 16 data lines. I'm hoping not to upgrade, but with serial out lines, keypad data lines and possibly 16 outputs, I think I will have a severe data line shortage. Is there a way to have the stamp output a serial code like hex and have an external decoder board display the data? Maybe a 1->16 demultiplexor? Or maybe even the reverse of a keypad encoder?
Post Edited (menehune1) : 5/26/2005 6:35:17 AM GMT