View Full Version : Serial Communication with PC

04-19-2007, 07:30 AM
Btw, how to make the BS2 send the data logged (temperature values) using its serial port to PC?

Please advise. Thanks in advanced.


04-19-2007, 08:29 AM
More info please. You use serout or debug to communicate to the PC. What is it exactly that you are trying to accomplish?

- Stephen

04-19-2007, 10:12 AM
BS2 sense the temperature and log the value in its eeprom. I want to send these value to PC through BS2 serial port, so the program on PC, can record and follow up these data. Can I do it? or have to use one of BS2 port as a "serial port", for using with SEROUT command?


Mike Green
04-19-2007, 10:29 AM
You can use the DEBUG statement or SEROUT statement with pin #16 to send data over the programming port. There are some restrictions: 1) The Baud is limited to 9600; 2) Anything sent from the PC is echoed back to the PC; 3) When the serial port (from the PC) is opened, the DTR line is set true. This resets the Stamp. It's part of the programming process.

Have a look at Stamp Plot Pro (www.selmaware.com (http://www.selmaware.com)) as an example of a program that can be used on the PC side to log information from the Stamp (and graph and analyze it if you wish).