Shop OBEX P1 Docs P2 Docs Learn Events
Serial Port Standard question — Parallax Forums

Serial Port Standard question

nondemnondem Posts: 15
edited 2007-12-19 19:07 in BASIC Stamp
I'm finding that the Board of Education's Serial port(not the USB version) doesn't adhere to the RS-232 standard. In fact - it appears most gadgets don't.

My Bluetooth to DB9 serial adapter sure does and won't work with the BOE - at least not without some effort. I can jumper PINS and get it to work but I have to get the bluetooth connection going BEFORE I plug the adapter into the BOE.

I'm thinking I might be able to wire my own DB9 connector to the BOE and possibly get it to work with my adapter reliably. Maybe·with some minor circuit construction to get all the pins happy.

Can someone confirm this is possible?

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2007-12-19 16:45
    The BOE's serial port does not quite adhere to the RS-232 standard as you've noticed, but it does work with most RS-232 serial ports.

    The problem you're getting into has little to do with RS-232 and mostly has to do with timing. The Stamp programming process (and the programming process for other Parallax controllers) is timing sensitive and wireless serial adapters just are not fast enough to satisfy the requirements of the downloading process. You can use the programming serial port for data transfers between your Stamp programs and a PC for example, but just not for programming downloads.
  • steve_bsteve_b Posts: 1,563
    edited 2007-12-19 19:07
    Also remember that you must have the appropriate pins connect on the stamp.
    You need to have both RxD and TxD connected as the stamps rs232 circuit steals power from it's RxD line (hope I got that right!).
    You also need the ground and I think pin 4 has to be held high (this is the ATN reset pin on the stamp).

    Another side affect of the TxD of the stamp is that it echo's on both lines. Your Bluetooth dongle may not like this...

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    <FONT>Steve



    What's the best thing to do in a lightning storm? "take a one iron out the bag and hold it straight up above your head, even God cant hit a one iron!"
    Lee Travino after the second time being hit by lightning!
Sign In or Register to comment.