Serial communication question
electromanj
Posts: 270
Hello, For a homebuilt bs2 board what do you recomend for serial interface. I've heard to use a max232 chip. There are a lot of different models out there. Is there a specific model number that is recommended. Also, I assembled an oem bs2 kit and I didn't see a max232 chip on that board, just transistors and resistor networks and caps. I'd like to keep this as simple as possible. Any help would be greatly appriciated!
Thanks!
P.S. Does this thing have a spell check?
me spalling no is so pretty guud.
Thanks!
P.S. Does this thing have a spell check?
me spalling no is so pretty guud.
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Stephen
Also, if level shifting is desired for distance or other reasons, the Max233 version does it all without external caps.
Cheers
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Tom Sisk
http://www.siskconsult.com
·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
You do need a 'straight through' DB-9 cable, of course (NOT a "null-modem" cable).
You can talk to the programming port from the BS2 with a "SEROUT 16, 16468, [noparse][[/noparse]"Hi there!", 13]" if you need to test.
Oh, and the "hand-shake" RS-232 signals mentioned above refer to the RTS/CTS, DTR/DCD signals.· Modems use these signals with a Terminal device to indicate what's going on -- if it's Ready To Send, Clear To Send for example.
These days, Modems can use the TX and RX line to send messages indicating status, so you don't HAVE to use these so-called "hardware hand-shake" signals any more.· In any event, the BS2 programming port doesn't support them.