BS2 to serial port question
Borna
Posts: 36
Hi,
I have a basic stamp 2 board of education development board USB version.
On my PC, I have a program that is sending characters to the PC serial port.
What I want to do is to connect my basic stamp 2 board of education to my PC si it can recognize the characters that are sent through serial port and display that on the LED screen connected to basic stamp.
Here what I'm kind of lost.
1.My PC doesn't have a serial port. Is that means I need to buy a serial port card or can I use the USB port?
2.How do I connect the cable from my pc serial port to my basic stamp? Am I suppose to connect it to the USB port of the basic stamp 2 board of education that is used for programming or I need to get some external module?
Is there any diagrams somewhere that show to the connections should be?
Thanks
Borna
I have a basic stamp 2 board of education development board USB version.
On my PC, I have a program that is sending characters to the PC serial port.
What I want to do is to connect my basic stamp 2 board of education to my PC si it can recognize the characters that are sent through serial port and display that on the LED screen connected to basic stamp.
Here what I'm kind of lost.
1.My PC doesn't have a serial port. Is that means I need to buy a serial port card or can I use the USB port?
2.How do I connect the cable from my pc serial port to my basic stamp? Am I suppose to connect it to the USB port of the basic stamp 2 board of education that is used for programming or I need to get some external module?
Is there any diagrams somewhere that show to the connections should be?
Thanks
Borna
Comments
See SERIN and SEROUT commands in the help file for information on sending and receiving serial data. The STAMP uses pin 16 to communicate with a PC.
and their board plugs right into the DB9. It also has 2 handshaking LED's that give some visible feedback with whats happening with your project. I use the commands just as Mike G. had outlined above. I can provide programming samples and or pics.