Searching \ for 'Two pins joined: One input, other output' 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/ios.htm?key=input
Search entire site for: 'Two pins joined: One input, other output'.

Truncated match.
PICList Thread
'Two pins joined: One input, other output'
1999\05\17@114840 by Gabriel Caffese

picon face
part 0 1826 bytes
<META content=text/html;charset=iso-8859-1 http-equiv=Content-Type>
<META content='"MSHTML 4.72.3110.7"' name=GENERATOR>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT color=#000000 size=2>Hi all!</FONT></DIV>
<DIV><FONT color=#000000 size=2></FONT>&nbsp;</DIV>
<DIV><FONT color=#000000 size=2>&nbsp;&nbsp;&nbsp; I have a question for all of
you:</FONT></DIV>
<DIV><FONT color=#000000 size=2></FONT>&nbsp;</DIV>
<DIV><FONT color=#000000 size=2>&nbsp;&nbsp;&nbsp; I have to connect one 16F84
to a line of an external circuit, wich is waiting for receiving 255 bits from
the 16F84. When this is done, the external circuit will reply to the 16F84 with
information, and then begins the loop begins again and again.</FONT></DIV>
<DIV><FONT color=#000000 size=2>&nbsp;&nbsp;&nbsp; May I connect two lines of
the 16F84 (eg.: RB0 as int, and RA0) one being configured as otuput and the
other as input ?</FONT></DIV>
<DIV><FONT color=#000000 size=2>&nbsp;&nbsp;&nbsp; Would the Pic get burned
?</FONT></DIV>
<DIV><FONT color=#000000 size=2></FONT>&nbsp;</DIV>
<DIV><FONT color=#000000 size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Thank
yopu very much, and bye!</FONT></DIV>
<DIV><FONT color=#000000 size=2></FONT>&nbsp;</DIV>
<DIV><FONT color=#000000
size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Gabriel.-</FONT></DIV></BODY></HTML>

</x-html>

1999\05\17@130430 by engelec

picon face
Gabriel ,

before I forget will be nice if you can turn off the HTML send text
only.


Gabriel Caffese wrote:

{Quote hidden}

1999\05\17@193156 by paulb

flavicon
face
> Gabriel Caffese wrote:

>     May I connect two lines of the 16F84 (eg.: RB0 as int, and RA0)
> one being configured as otuput and the other as input?
>     Would the Pic get burned ?

 *Probably* not, but there's no reason to do it and it conflicts with
the prime objective of embedded programming; to use all the pins to best
advantage.

 If you wish to use RB0 as interrupt, fine.  What's good about the PIC
is that when you need an output, you TRIS that same pin into an output,
and TRIS it back to an input when you're finished.

 You will find the code *much* simpler to manage that way.
--
 Cheers,
       Paul B.

1999\05\18@070326 by Caisson

flavicon
face
Van: Gabriel Caffese <spam_OUTgabrielsdiTakeThisOuTspamINAME.COM>
Aan: .....PICLISTKILLspamspam@spam@MITVMA.MIT.EDU
Onderwerp: Two pins joined: One input, other output
Datum: maandag 17 mei 1999 17:45

> Hi all!

Hello Gabriel,

>    I have a question for all of you:

>   I have to connect one 16F84 to a line of an external circuit, wich is
waiting for
> receiving 255 bits from the 16F84. When this is done, the external
circuit will reply
> to the 16F84 with information, and then begins the loop begins again and
again.

>    May I connect two lines of the 16F84 (eg.: RB0 as int, and RA0) one
being
> configured as otuput and the other as input ?

Yes.  No problem. Oki-Dokie.

>    Would the Pic get burned ?

No. Nope. No way.

One thing though ... I suspect that that line RB0-RA0 will be the line that
goes to the other device ?  It's, I hope, not used as a bi-directional line
?  Otherwise you will have the output of the other device linked to the
output of you PIC, and that's not allowed ...

By the way:  Why would you want to generate a interrupt from a signal you
are creating yourself (RA0 -> RB0) ?

Greetz,
 Rudy Wieser

1999\05\18@072007 by Michael Rigby-Jones

flavicon
face
{Quote hidden}

It sounds to me as though Gabriel wants to perform half duplex comms over a
1 wire link.

Thats OK, but when transmitting, you will have to disable interupts, and
when receiving, you will have to tri-state your transmit pin (RA0).

Regards

Mike Rigby-Jones

1999\05\19@063858 by Caisson

flavicon
face
> Van: Michael Rigby-Jones <mrjonesspamKILLspamNORTELNETWORKS.COM>
> Aan: .....PICLISTKILLspamspam.....MITVMA.MIT.EDU
> Onderwerp: Re: Two pins joined: One input, other output
> Datum: dinsdag 18 mei 1999 13:17
>
> > > Hi all!
> >
> > Hello Gabriel,
> >
> > >    I have a question for all of you:
> >
> > >   I have to connect one 16F84 to a line of an external circuit, wich
is
> > waiting for
> > > receiving 255 bits from the 16F84. When this is done, the external
> > circuit will reply
> > > to the 16F84 with information, and then begins the loop begins again
and
> > again.
> >
> > >    May I connect two lines of the 16F84 (eg.: RB0 as int, and RA0)
one
{Quote hidden}

you
{Quote hidden}

Hello Mike,

 What you are describing is what I was thinking. But I wanted to let
Gabriel answer the question, resulting in a more serious question, namely
"Is it allowed to connect two _outputs_ to each other".  Wich You / I /
Someone could have pointed out to him as being hazardous ...  As you have
done :-)

Next question could be : "Why connect two I/O -pins of the same device to
each other, when one pin can be switched between In and Output" ....

Greetz,
 Rudy Wiesr

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