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
 
Tools
Old 11th February 2004, 03:07 PM   #1
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  
Old 11th February 2004, 04:48 PM   #2
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  
Old 11th February 2004, 11:08 PM   #3
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

Tags
receive, signal, transmitter

Thread Tools
Display Modes




All times are GMT. The time now is 12:54 AM.


Electronic Circuits  |  Learning Electronics
eXTReMe Tracker