PDA

View Full Version : seriout to computer



filip911
02-10-2010, 03:15 PM
hi i connect my bs2 to computer and serin works well, but now i want to have duplex communication. how to get serout works. i read somewhere that connecting wire is not enought and i need max232. is it true and how to make that serout works

thx

Filip

dandreae
02-10-2010, 09:27 PM
You can use the programming cable to communicate back the to the PC using SEROUT/SERIN by using pin 16 in the command line.· Pin 16 represents physical pins 1 and 2 on the stamp which are the TX and RX lines.

Dave

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Dave Andreae

Parallax Tech Support·

upand_at_them
02-11-2010, 12:10 AM
Filip, what you are seeing is that the computer can't understand the voltage levels that the stamp is sending. Some computers can, most can't. The solution is to use the standard levels, which is what the MAX232 produces...it converts chip voltages to RS232 communication voltages.

I would recommend always using a MAX232 to convert both TX and RX lines. They are very easy to use. Some require only a few capacitors and some even have them built in.

Verify my connections, but it should be like this:
PC TXD line --> MAX232 R1in -- R1out --> Stamp
PC RXD line <-- MAX232 T1out -- T1in <-- Stamp

Mike

filip911
02-11-2010, 03:03 AM
thx to both

filip911
02-11-2010, 10:43 PM
is there and Nuts & Volts column for this??

filip911
02-11-2010, 10:59 PM
i found. if someone need. there is link

http://www.parallax.com/dl/docs/cols/nv/vol3/col/nv89.pdf