🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: sci.electronics.design
Article #2742

Re: help on serial port comm (jinu)

#2742
From: Robert Baer
Date: Tue, 22 Oct 2002 18:54
28 lines
2527 bytes
jinu john wrote:
> 
> hi,
> we need to interface a photo sensor to the serial com port.we r new to
> this area so we have no idea!
> 1) IS it possible to send an external pulse of say 6V directly on the
> comm port?
> or do we need to design ckts for it.
>   i was told that no external signal are fed to comp as that will
> damage the motherboard.and was asked to design a ckt that will switch
> one signal from one port of RS232 say TD to RD itself.and write a DOS
> based PRogram to detect it.
> i want to get interrupt from this sensor which will call a EXE in VB.
> as RS232 reqiures both negative and +ve V (-3 to -15)as 1 and
> (3to15)as 0 how do generate this pulses.please help me in the ckt
> diagram.and also tell me what precautions do ineed to take before it
> is safe to connect to pc.
> where can i get details to write the DOS programs or drivers?
> thank u
> jinu

  Look at the software for standard COMM support, then at the specs for
the registers.
  This way you will know what can (and cannot) set the IRQ flag.
  This will guide you as to which pin(s) you need to activate, as well
as what software will be needed to handle the result.
  BTW, RS232 signals are at minimum +3V for logic low (false or zero),
-3V for logic high (true or one).
Technical Details
Message-ID: <3DB59EF9.EE99BC6@earthlink.net>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!headwall.stanford.edu!newsfeed.news2me.com!newsfeed2.earthlink.net!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!newsread2.prod.itd.earthlink.net.POSTED!not-for-mail
References: <412f9958.0210220628.3df4e985@posting.google.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 112d1e,edfcf2bca40b45b
X-Google-Attributes: gid112d1e,public
X-Google-Thread: 110f98,edfcf2bca40b45b
X-Google-Attributes: gid110f98,public
X-Google-ArrivalTime: 2002-10-22 11:54:16 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!headwall.stanford.edu!newsfeed.news2me.com!newsfeed2.earthlink.net!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!newsread2.prod.itd.earthlink.net.POSTED!not-for-mail
Message-ID: <3DB59EF9.EE99BC6@earthlink.net>
From: Robert Baer <robertbaer@earthlink.net>
X-Mailer: Mozilla 4.75 [en] (Win98; U)
X-Accept-Language: en,pdf
MIME-Version: 1.0
Newsgroups: sci.electronics.design,computer42.admin
Subject: Re: help on serial port comm (jinu)
References: <412f9958.0210220628.3df4e985@posting.google.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 28
Date: Tue, 22 Oct 2002 18:54:19 GMT
NNTP-Posting-Host: 216.26.62.207
X-Complaints-To: abuse@earthlink.net
X-Trace: newsread2.prod.itd.earthlink.net 1035312859 216.26.62.207 (Tue, 22 Oct 2002 11:54:19 PDT)
NNTP-Posting-Date: Tue, 22 Oct 2002 11:54:19 PDT
Organization: EarthLink Inc. -- http://www.EarthLink.net