piclist 1995\12\08\202512a >
Thread: Direct RS-232 Connect
picon face BY : Henry Carl Ott email (remove spam text)

Lee Jones <spamBeGoneleeRemoveMEspamspamBeGoneFRUMBLE.CLAREMONT.EDU> wrote:

{Quote hidden}

If you need that negative voltage...

 I slapped together a 16c54 based data logger that would download recorded
data to a PC over the RS-232 port. I wanted to be able to to talk to the
logger with a standard terminal program to set the current date/time and
also to instruct it to do a data dump. I also wanted it small (final design
with an eeprom, I2C RTC, and battery was the size of a match box).
 Data was bi-directional but half duplex. I used the standard current
limiting resister trick for the pc to pic link (with a diode) but then I
used the pc tx line as a negative voltage source for the pic to pc link
(with a resister and a npn transistor). Minor note: anything the pc sends
the pic is echoed back through the bias resister. The circuit worked fine,
(even with the pic running on a 3volt lithium cell) but as mentioned earlier
this is definitely a mickey mouse solution. I would not trust it in
production designs.

Hope this helps a bit.....


Henry Carl Ott   N2RVQ   | talk/chat  carlott@
spamBeGonecarlottEraseMEspaminterport.net    | http://www.interport.net/~carlott/
"On justice and on friendship, there is no price,
but there are established credit limits."

See also: www.piclist.com/techref/io/serials.htm?key=rs%2D232
Reply You must be a member of the piclist mailing list (not only a www.piclist.com member) to post to the piclist. This form requires JavaScript and a browser/email client that can handle form mailto: posts.
Subject (change) Direct RS-232 Connect

month overview.

new search...