Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

serial port- 1Hz frequency from pin's of com port

Status
Not open for further replies.

muhammedan

Newbie level 4
Joined
Feb 18, 2009
Messages
5
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,309
serial port

hello everybody.I want catch directly 1Hz frequency from pin's of com port (in other word if i connect one led directly to the serial port it regularly on and off).Is it operative and how?
 

serial port

It can be done very easily. What language are you using ??
 

Re: serial port

muhammedan said:
hello everybody.I want catch directly 1Hz frequency from pin's of com port (in other word if i connect one led directly to the serial port it regularly on and off).Is it operative and how?
Man ....
U r using which type of serial comm RS232 .... then to check that ur serial port is working or not just short pin nos 2 & 3 with any metal body and open Hyperterm of the PC and check that whatever you are writing is getting back to u or not .....
if it is then the comm lines are healthy ....else it is faulty .....[:)]
 

Re: serial port

I am using c++ language.
 

serial port

This is good you see that link:

i have made this type of interface with microcontroller
AT89c52 connected with LEDs.
 

Re: serial port

Hi There!,

I think in your case u need to use the RTS pin.
The EscapeCommFunction API enables u to do so.
u can find it here:
http://msdn.microsoft.com/en-us/library/aa363254(VS.85).aspx

just use the RTS setting function and and sleep function.

I hope that helped.:D
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top