Searching \ for 'RS-232' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/io/serials.htm?key=rs%2D232
Search entire site for: 'RS-232'.

Truncated match.
PICList Thread
'RS-232'
1997\02\07@111101 by Nishant Deshpande

flavicon
picon face
hi pic'ers,

quick question - i'm using a MAX202CPE to interface a 74 with
my PC through RS-232 :

where can i get the RS-232 protocols?

cheers,

nishant

1997\02\07@115408 by Bob Fehrenbach

picon face
Nishant Deshpande <spam_OUTnd4TakeThisOuTspamDOC.IC.AC.UK> wrote:
>where can i get the RS-232 protocols?

Nishant:
  RS-232 is a hardware spec.  The concept of a protocol does
  not apply.

  There are a number of protocols in use which use RS-232 hardware,
  for example, a start bit, 8 data bits (LSB first) and a stop bit.
  Some applications stick a parity bit between the end of the data
  and the stop bit.  Bit rate must be defined for the application.


--
Bob Fehrenbach    Wauwatosa, WI     .....bfehrenbKILLspamspam@spam@execpc.com

1997\02\07@121914 by Brad Pousland

flavicon
face
At 03:41 PM 2/7/97 +0000, you wrote:
>hi pic'ers,
>
>quick question - i'm using a MAX202CPE to interface a 74 with
>my PC through RS-232 :
>
>where can i get the RS-232 protocols?

Check out the AN510 app note on Microchips WWW.  It shows how to implement
rs-232 on a non-uart pic.

Brad

1997\02\10@025041 by jattievdl

flavicon
face
Subject:
       Re: Application Note
 Date:
       Tue, 23 Jul 1996 08:35:40 +0000
 From:
       "Paul Boeing" <pboeingspamKILLspamrs232.bb-elec.com>
   To:
       Jattie van der Linde <.....jattievdlKILLspamspam.....iscorltd.co.za>


I put this file in a private directory on our ftp site. To get it
just connect to our Web site at "http://www.bb-elec.com" then click
to the ftp site.   When you get to the ftp site there will be three
directories:  literature, software and private.  Go to the "private"
directory and then the subdirectory "pboeing".  The application note
will be in this subdirectory and you can download it.


'RS-232'
1999\01\29@100217 by Howard
flavicon
face
Thanks to those who answered my question a few days ago.
I now have data (not quite correct.... yet ) on the  Hyperterminal
screen.
However! (there's always one)
The data will not appear on the screen unless the mouse is moving!
Yep!  That's what I said!
Stop the mouse, the data flow stops.  Move the mouse - the data flow
starts, and continues as long as the mouse is kept moving!
The mouse is on a motherboard port, which has been "cmos'd" to comm3 (or
comm4, I forget) and a serial card has been "cmos'd" to comm1 and
comm2.  (Stamp basic will only look at comm 1 and 2, hence to use the
card with stamps (so I don;t blow up the motherboard) I had to change
things.  Whether this has something to do with it, I don't know.

Any ideas? Regards Howard.

1999\01\29@132729 by Tomas Kapostas

flavicon
face
com 1 & 3 (2 & 4) use the same interrupt - 4 (3) - that is the big
problem!!!!
You can't (can - but you must know, how...) use com ports on the same
interrupt in the same time... :-))))
TOM.



{Quote hidden}

1999\01\29@140239 by Andy Kunz

flavicon
face
At 07:18 PM 1/29/99 +0100, you wrote:
>com 1 & 3 (2 & 4) use the same interrupt - 4 (3) - that is the big
>problem!!!!
>You can't (can - but you must know, how...) use com ports on the same
>interrupt in the same time... :-))))

Use a driver which is smart enough to control both devices.  It's a
software issue.

Andy

  \-----------------/
   \     /---\     /
    \    |   |    /          Andy Kunz
     \   /---\   /           Montana Design
/---------+   +---------\     http://www.montanadesign.com
| /  |----|___|----|  \ |
\/___|      *      |___\/     Go fast, turn right,
                              and keep the wet side down!

1999\01\29@163042 by Andy Stephenson

flavicon
face
What a let down Andy!

I expect at least one line of humour in a mail from you these days...

Please keep up the good work.

Rgds...

...Andy (another one)

At 14:00 29/01/99 -0500, you wrote:
{Quote hidden}

1999\01\30@055042 by paulb

flavicon
face
Andy Stephenson wrote:

> What a let down Andy!
> I expect at least one line of humour in a mail from you these days...

 You evidently missed the very tongue-in-cheek humour!
--
 Cheers,
       Paul B.

1999\01\30@081241 by Howard

flavicon
face
My appreciation to all (too many to mention) who replied to my problem
with RS232

The interrupt problem was fixed by getting a new PS/2 mouse.  (I
suspected such, but wasn't sure how to fix, or could be fixed) I
originally had a PS/2 rat, but it died some months ago, and I just
replaced it with an old serial one I had on hand.

Fixing the interrpupt problem enabled Hyperterminal to work.  I got it
to work with a Stamp first.  At least the Stamp knew what it was doing
when sending serial stuff!!

A comment was made about exiting Hyperterminal before changes would
work. I found that: alter the properties, (baud rate etc), disconnect,
save, then connect again was OK.

A had a rather silly mistake in my PIC routine.  "register,0" is the
least significant bit , not "register,1"  Amazing how one can read the
same mistake over and over and not see it!  Consequently a wrong string
of bits was sent. (I could not have done this without a CRO!  I dips me
lid to those who can!)

In all the plugging and unplugging, I seem to have had enormous success
in rendering both serial ports on my little I/O card inoperative!  I
didn't notice any smoke escaping though.  I ended up using the
motherboard port to get going, but I will get another I/O card later.

I suspect that plugging and unplugging a null modem plug into ports with
the machine switched on may be the cause of the destruction.  Perhaps a
particular configuration of pins contacted in an order that was
detrimental.

Thanks again.
Regards Howard


'RS-232'
1999\02\01@050559 by Dr. Imre Bartfai
flavicon
face
Hi,
maybe what I'm going to say seems to be obsolete but I think is is good
also for now:

in normal cases, COM2 and COM4 share IRQ3, furthermore, COM1 and COM3
share IRQ4. Such way, if you use e. g. COM1 and your mouse is on COM3, the
situation you described is understandeable. I see, the thinnest bottleneck
for nowadays PC is the number of IRQ's. Try to move the mouse's IRQ in the
hardware setup to a free one (if it is possible at all) or change the COM
port you are using to the opposite of that of the mouse.

Hope this helps.

Imre


On Sat, 30 Jan 1999, Howard wrote:

{Quote hidden}

1999\02\03@054541 by paulb

flavicon
face
Dr. Imre Bartfai wrote:

> I see, the thinnest bottleneck for nowadays PC is the number of IRQ's.

 You«re dead right there!

> Try to move the mouse's IRQ in the hardware setup to a free one (if it
> is possible at all) or ...

 Talking about Win95 (and we mostly are FWIW), there«s the trick.  Due
to it«s "The User would never need to know about that" design, it is
absolutely *not* possible to move a mouse IRQ.  Either it connects to
a stock-standard COM1 (I«m not sure, it *might* find one on COM2) or it
uses a PS/2 mouse on IRQ12.

 Actually, since COM1 has a lower IRQ priority than COM2, you should by
preference put the mouse on COM1 and modem on COM2.  Or the modem on
IRQ10 which has the *highest* priority.
--
 Cheers,
       Paul B.

1999\02\04@073426 by Howard

flavicon
face
Thanks to all who helped with my rs-232 and IRQ problems.  It's working,
and all is resolved!
'nuther subject.
Has anyone done anything with a PIC as a bandpass filter?
I was thinking that perhaps if a "gate" was open for a fixed and certain
time, and a number of incoming pulses were counted before the "gate"
closed, anything other than the correct count would be off frequency.
Trouble is, how does one open and close the "gate"?

1999\02\05@100257 by dave vanhorn

flavicon
face
>  Talking about Win95 (and we mostly are FWIW), there«s the trick.  Due
>to it«s "The User would never need to know about that" design, it is
>absolutely *not* possible to move a mouse IRQ.  Either it connects to
>a stock-standard COM1 (I«m not sure, it *might* find one on COM2) or it
>uses a PS/2 mouse on IRQ12.

Or it uses a USB port..

1999\02\05@112148 by Andy Kunz

flavicon
face
At 10:01 AM 2/5/99 -0500, you wrote:
>>  Talking about Win95 (and we mostly are FWIW), there«s the trick.  Due
>>to it«s "The User would never need to know about that" design, it is
>>absolutely *not* possible to move a mouse IRQ.  Either it connects to
>>a stock-standard COM1 (I«m not sure, it *might* find one on COM2) or it
>>uses a PS/2 mouse on IRQ12.

It works on COM1 through COM4 on OSR2 using the port definitions you set
for the ports.

Andy


  \-----------------/        
   \     /---\     /        
    \    |   |    /          Andy Kunz
     \   /---\   /           Montana Design
/---------+   +---------\     http://www.montanadesign.com
| /  |----|___|----|  \ |    
\/___|      *      |___\/     Go fast, turn right,
                              and keep the wet side down!

1999\02\05@185559 by paulb

flavicon
face
Andy Kunz (and others) wrote:

> It works on COM1 through COM4 on OSR2 using the port definitions you
> set for the ports.

 OK, I'll believe that.

 Dave Vanhorn <@spam@dvanhornKILLspamspamCEDAR.NET> mentioned that not only a PS/2 mouse
but USB was another option.
--
 Cheers,
       Paul B.


'RS-232'
1999\04\23@091935 by Aidi Moubhij
flavicon
face
Hi,
I'm new to PIC and I'm trying to use a PIC that will direct the RS-232
communication between the PC and 4 units. The PIC will use command "UNIT1"
to establish communication between the PC and unit 1. When the PIC receives
the "UNIT2" command, it switches the communication to unit 2. And so on.
Has anyone done anything like this?
I'd appreciate any help that you can give me.

Thanks.
aidi
Aidi Moubhij

617-972-8144 fax 617-924-3814
mj research
590 Lincoln st
waltham ma 02451
KILLspamaidiKILLspamspammjr.com
    __  __
   //  \\// \\
  //\   \\   /\\
_// \\_//\\_// \\_

1999\04\23@164059 by Jay Mielke

flavicon
face
Aidi,

I am currently working on a project that is somewhat similiar in nature to
this.  Check out Application Note 547, it has a few recommendations on
demultiplexing your ports.

Jason Mielke
Chief Engineer
Bliss Communications
RemoveMEjayTakeThisOuTspamticon.net

> {Original Message removed}

More... (looser matching)
- Last day of these posts
- In 1999 , 2000 only
- Today
- New search...