Interfacing BASIC STAMP w/ a PC
Crux
Posts: 74
I need some advice about how to manipulate the serial port in order to retrieve data from a·BSII.
I need·guides for my project and Im a complete novice about·these stuffs.
I am expecting on resources on programming·windows API in manipulating serial ports and·likewise with the BS2.
Help·will be really appreciated.·
I need·guides for my project and Im a complete novice about·these stuffs.
I am expecting on resources on programming·windows API in manipulating serial ports and·likewise with the BS2.
Help·will be really appreciated.·
Comments
Have you looked at Parallax's Toothpick?
I wasn't quite sure after I read the complete Toothpick online documentation so I posted a topic called Toothpick and VB·and received a reply from Parallax's Chris Savage.
You might want to take a look at it.
--Bill
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
You are what you write.
This will enable you to use the SerialPort object in .NET 2.0.
rs232com.Open();
rs232com.DataReceived += new SerialDataReceivedEventHandler(rs232com_DataReceived);
http://www.stampplot.com
-Martin
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Martin Hebel
StampPlot - Graphical Data Acquisition and Control
AppBee -·2.4GHz Wireless Adapters & transceivers·for the BASIC Stamp & Other controllers·
I am intrested by your info. I would like to know if what library did you use?
I am planning to implement a RFID project. Heres the logic:
e.g.·owner of Tag logs into the building then the PC checks his profile then·make a record for that day about him. BSII's work will be involved more on the opening and locking of the door. So its all about record tracking and security. In my own idea, I think I will not need eeproms or other stuffs to store ID numbers of the Tag. Its all gonna be in the computer. I just prefer to limit the records to reside in a computer and if hopefully it will work Ill be extending it to a database.
TAG --> READER --> BSII --> PC (Checks the Tag)
··· BSII(·Open door and lock·) <-- PC (Verify and send routine for BSII)
This info doesnt only goes to tj60647·but to anyone who would like to help.
Pls. help me on this one because I really need to make this project happen.
·
Do an advanced search at search.parallax.com, using keywords rfid & door, and forums.parallax.com for the domain.
You'll find several threads dealing with this.
Post Edited (Kevin Wood) : 11/22/2006 9:05:30 PM GMT
A full example is given here: http://msdn2.microsoft.com/en-us/library/system.io.ports.serialport.aspx