Shop OBEX P1 Docs P2 Docs Learn Events
Serial I/O and the Stamp1 — Parallax Forums

Serial I/O and the Stamp1

Buck RogersBuck Rogers Posts: 2,189
edited 2007-11-29 04:13 in BASIC Stamp
Hello!
I have a small problem. I've built a circuit that makes use of four bits of data to assist a PAL device, (Programmed Array Logic), in producing an output. Then the chip provides a serial stream of data to a display device.

In this case the serial stream is supposed to be constructed as a standard RS232 managed one. It's delivered to a Palm Pilot posing as an Orbital Matrix LCD display. (See http://palmorb.sf.net for further details. )

The problem is that I want the Stamp to supply those four bits of data, and even assist the serial mechanism in doing its job. The other problem is that I haven't a clew as to how to write the code that the stamp is supposed to run. hop.gif Am I asking too much of the Stamp1, which means I'd need to update my design to say a member of the Stamp2 family.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Buck Rogers

www.gregg.levine.name

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2007-11-29 03:34
    It all depends on the details ... of what those 4 bits are, how they're supplied, what the PAL does with them, etc. Keep in mind that the Stamp 1 is relatively slow at about 2000 interpretive instructions a second. That means maybe 500 to 2000 typical statements a second.

    Start with some of Parallax's tutorials like the "What's a Microcontroller?" one. All of them are downloadable from the website.
  • Buck RogersBuck Rogers Posts: 2,189
    edited 2007-11-29 03:47
    mgreen said...
    It all depends on the details ... of what those 4 bits are, how they're supplied, what the PAL does with them, etc. Keep in mind that the Stamp 1 is relatively slow at about 2000 interpretive instructions a second. That means maybe 500 to 2000 typical statements a second.

    Start with some of Parallax's tutorials like the "What's a Microcontroller?" one. All of them are downloadable from the website.

    Hello!
    I did at one point look at the WAM book, also the remaining ones. And yes I am aware of the speed of the device. But yes you've given me good advice so far.

    The other problem is that this PAL happens to be a "pull". It was removed so to speak from something that probably was a memory board for a PC sometime ago.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Buck Rogers

    www.gregg.levine.name
  • Mike GreenMike Green Posts: 23,101
    edited 2007-11-29 04:02
    If you want a less general answer, you really have to ask a less general question ... and supply more details.

    The process of organizing the details to present can also sometimes give you the answer or the framework you
    need to do it yourself.
  • Buck RogersBuck Rogers Posts: 2,189
    edited 2007-11-29 04:13
    Mike Green said...
    If you want a less general answer, you really have to ask a less general question ... and supply more details.

    The process of organizing the details to present can also sometimes give you the answer or the framework you
    need to do it yourself.
    Hello!
    I agree. I was also told to provide all of the information for a question, without any editorialization as well. But, I decided to add the tidbit concerning the part in the reply.
    ·
    Of course I am still exploring options. Of course, I am inclined to agree with you as well.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Buck Rogers

    www.gregg.levine.name
Sign In or Register to comment.