electronics forum

Rules | Recent posts | topic RSS | Search | Register  | Log in

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


Post new topic  Reply to topic    EDAboard.com Forum Index -> PC Programming and Interfacing -> serial port- 1Hz frequency from pin's of com port
Author Message
muhammedan



Joined: 18 Feb 2009
Posts: 5


Post28 Feb 2009 13:34   

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?
Back to top
maheshkuruganti



Joined: 18 May 2007
Posts: 108
Helped: 3


Post07 Mar 2009 7:25   

serial port


It can be done very easily. What language are you using ??
Back to top
saubhik



Joined: 27 Apr 2007
Posts: 141
Helped: 8
Location: India


Post10 Mar 2009 5:07   

Re: serial port


muhammedan wrote:
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 .....[Smile]
Back to top
Google
AdSense
Google Adsense




Post10 Mar 2009 5:07   

Ads




Back to top
muhammedan



Joined: 18 Feb 2009
Posts: 5


Post12 Mar 2009 14:35   

Re: serial port


I am using c++ language.
Back to top
mezo



Joined: 16 Jul 2007
Posts: 82
Helped: 4
Location: Egypt


Post17 Mar 2009 17:50   

serial port


This is good you see that link:

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

http://www.edaboard.com/viewtopic.php?t=317207&highlight=
Back to top
abo_obayd



Joined: 03 May 2009
Posts: 4
Location: Egypt


Post03 May 2009 16:09   

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.Very Happy
Back to top
Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
Post new topic  Reply to topic    EDAboard.com Forum Index -> PC Programming and Interfacing -> serial port- 1Hz frequency from pin's of com port
Page 1 of 1 All times are GMT + 1 Hour
Similar topics:
computer serial com port (2)
Serial Com Port -> DAC (3)
COM serial port output (6)
virtual serial com port on ethernet? (2)
How to receive a very large data Serial COM Port ? (1)
how i take the data from com port in vb2005 (1)
A dll file for interface Serial port and parallel port (1)
89s51, 89s52 ISP through serial port or USB port (9)
Parallel Port / Serial port control thru matlab (1)
interfacing the usb port to serial port programmer (4)


Abuse || Administrator || Moderators || Support us || sitemap
topic RSS