Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > Electronic Projects Design/Ideas/Reviews


Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution.

Reply
 
Thread Tools Display Modes
Old 11th February 2004, 02:07 PM   (permalink)
Default receive signal from transmitter.....

Hi guys ,
I need your help on this...... i'm trying to build a coin sorter, and i use IR sensor to sense my coins. So, to count the coins, i need a program to do it. I'm thinking of using MSComm control to program it, but i'm new to it.
Will my PC receive data if I connect it to the receive sensor ? Also, what programming codes to receive data from my receive sensor?
(I'm using VB)

Thanks !!!
zerowing is offline   Reply With Quote
Old 11th February 2004, 03:47 PM   (permalink)
Default

NO you cannot directly connect your sensor to serial port. You need some device which will convert your sensor data into UART bit-stream. A small microcontroller would be best solution.
__________________
"There is no way to peace, peace is the way!"
kinjalgp is offline   Reply With Quote
Old 11th February 2004, 10:08 PM   (permalink)
Exo
Default

Depends, if you're using the IR sensor as a switch only (0 = no coin, 1 = a coin) then you can connect the sensor's output to a handshaking line (CTS for example) and poll the line's state with the MSCOMM command CTSHolding...

(more info about MSCOMM on MSDN
Exo is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes




All times are GMT. The time now is 09:16 PM.


Electronic Circuits  |  Electronics Wiki
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.