Searching \ for 'Looking for RS232 library.' 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=rs232
Search entire site for: 'Looking for RS232 library.'.

Truncated match.
PICList Thread
'Looking for RS232 library.'
1997\10\09@181536 by Eric van Es

flavicon
face
Hi Guys

I'm looking for the c lirary for RS232 transmit and receive. Any idea
where I shoiuld look or what the exact name if the library is?

Thanks!

--
Eric van Es               | Cape Town, South Africa
spam_OUTvanesTakeThisOuTspamilink.nis.za | http://www.nis.za/~vanes
LOOKING FOR TEMPORARY / HOLIDAY ACCOMODATION?
http://www.nis.za/~vanes/accom.htm

1997\10\09@190745 by Rob Zitka

flavicon
face
I was looking for the same thing.  You didn't say whether it was for a PC
based C or a PIC based C.  I was looking for something for a DOS
environment.  Greenleaf makes one.  I have seen others advertised in a C
magazine, but minimum cost is 75 bucks.

I wanted to use it in a program to talk to my PIC that is far away right now.

Rob

P.S. I might just try writing a library myself if I can't find a cheapo one.



At 12:14 AM 10/10/97 +0200, you wrote:
{Quote hidden}

1997\10\09@191918 by Sean Breheny

face picon face
At 07:06 PM 10/9/97 -0400, you wrote:
{Quote hidden}

I have a simple C RS232 library for the PC which I wrote. It is free to
anyone who wants it, but I must warn you that it is not fully documented
and might still contain errors or incompatibilities that I don't know
about. I have been using it in my own programs for about 4 years now (as
well as several of my friends who have used for about 3 years) and it has
worked every time. Email me if you want a copy and I will email one back to
you or I could upload it to my website if you wish. I also have one for
PICs with built in USART but I have not used that one as much so it is much
more likely to have errors.

BTW I find it hard to believe that there are no decent public domain serial
libraries out there. I just wrote mine for the challenge.



Sean
Sean Breheny,KA3YXM
Electrical Engineering Student

1997\10\09@200850 by LHewitt104

picon face
Hello Eric,
              Have a look at the RS232 library written by a PhD student named
Edward Cheung at Imperial College. The URL is:
http://www.doc.ic.ac.uk/~ih/doc/pic/piclib-0.21. There is also various other routines
in this library including IR tranceive etc.

I hope that this help you: Lee Hewitt (Manchester ENGLAND)



===================================================
Lee Hewitt
Manchester ENGLAND

Home      E-Mail:  .....LHewitt104KILLspamspam.....aol.com
University E-Mail:  EraseMEL.Hewittspam_OUTspamTakeThisOuTeee.salford.ac.uk
===================================================

1997\10\10@105209 by Matt Bonner
flavicon
face
Rob Zitka wrote:
>
> I was looking for the same thing.  You didn't say whether it was for a PC
> based C or a PIC based C.  I was looking for something for a DOS
> environment.  Greenleaf makes one.  I have seen others advertised in a C
> magazine, but minimum cost is 75 bucks.
>
> >I'm looking for the c lirary for RS232 transmit and receive. Any idea
> >where I shoiuld look or what the exact name if the library is?
> >
> >Eric van Es               | Cape Town, South Africa
Rob and Eric,
If it's for the PC, try at
       http://www.nordtechresearch.com/async.htm
Years ago, I wrote a DOS program to communicate with my data acquisition
system (now based upon a PIC).  When the world went to Win95, my program
wouldn't communicate reliably from a DOS window because my serial
routines weren't interrupt-driven.  The library I found at the URL above
worked fine - I had a few problems rebuilding it for MSC 5.1 (the MSC
version was written for 6.0) but it now works great.  The shareware
version is small model only, but registration is only about US$40.  I
believe it supports Borland as well as MS and it also has modem routines
and support for 4 port rs232 boards.
--Matt

1997\10\12@115312 by Tom Handley

picon face
  Matt, I just started writing some Win95/DOS 32-Bit 4GW routines to
communicate with my PIC-based weather station via the serial port at
9600 baud. The weather station sends 493 Bytes per day and I have'nt had
any problems with the serial port. I'm using the Watcom C/C++ compiler and
I'm accessing the serial port directly, not through BIOS. The program uses
the _pg_chart functions to display a variety of graphs. So far it's working
fine and I don't use interrupts. I intend to move the code to Win 95.

  - Tom

At 08:43 AM 10/10/97 -0600, you wrote:
{Quote hidden}

1997\10\12@170436 by Eric van Es

flavicon
face
Hi again guys.

Thanks for the replies so far. I now find myself facing another dilemma: I now
have to learn C as in VERY quick due to balls-up in my study pre-requisites.
The new lecturer (old one's in Germany now) wants to interface the PIC with the
lab PC's and display something on the monitors. Written in C of course :-(|

Very nice idea, BUT we will be using RS232.

Now - do I need a library for the PIC or the PC? I think the PIC since the
compiler will use the library for the PIC.

Thanks a million

--
Eric van Es               | Cape Town, South Africa
vanesspamspam_OUTilink.nis.za | http://www.nis.za/~vanes
LOOKING FOR TEMPORARY / HOLIDAY ACCOMODATION?
http://www.nis.za/~vanes/accom.htm

1997\10\13@025011 by Mike Smith

flavicon
face
-----Original Message-----
From: Tom Handley <@spam@thandleyKILLspamspamTELEPORT.COM>
To: KILLspamPICLISTKILLspamspamMITVMA.MIT.EDU <RemoveMEPICLISTTakeThisOuTspamMITVMA.MIT.EDU>
Date: Monday, 13 October 1997 1:27
Subject: Re: Looking for RS232 library.


{Quote hidden}

There's a rather easy to use OCX control that comes with MSVC 5 that makes
comms on Windows an absolute breeze.  (Assuming, that is, you don't have to
go the TAPI route)  A word of warning - the slightly 'older' version was
constipated - it wouldn't pass zeros as legitimate data - which stuffs
binary comms.  If you're interested, I'll check the distribution license.

MikeS
<spamBeGonemikesmith_ozspamBeGonespamrelaymail.net>

1997\10\13@090638 by terogers

flavicon
face
Eric:

Learn C (enough to do the job) in 3 or 4 days by getting Power C (for $20!) from
Mix Software in Texas (214 783 6001) and, if you can afford it, the Trace C
debugger (also $20), which will make it unbelievably easy to step through and
understand how all that C syntax works.

I still occasionally load this DOS debugger with a snippit of code, just to step
through and verify some odd construct (I suffer from terminal laziness) (or
efficiency, if you prefer). The Power C manual is one of the better C references
available, well worth the $20 itself.

--Tom Rogers  VP-R&D  Time Tech Inc.

1997\10\13@175400 by Andy Kunz

flavicon
face
>Learn C (enough to do the job) in 3 or 4 days by getting Power C (for
$20!) from
>Mix Software in Texas (214 783 6001) and, if you can afford it, the Trace C

Wow, are they still around?!?!  They go _way_ back!  I remember all the
neat little tools they had for learning language cheap and GOOD!

Andy

==================================================================
Andy Kunz - Montana Design - 409 S 6th St - Phillipsburg, NJ 08865
         Hardware & Software for Industry & R/C Hobbies
       "Go fast, turn right, and keep the wet side down!"
==================================================================

1997\10\14@111139 by Matt Bonner

flavicon
face
Tom Handley wrote:
>
>    Matt, I just started writing some Win95/DOS 32-Bit 4GW routines to
> communicate with my PIC-based weather station via the serial port at
> 9600 baud. The weather station sends 493 Bytes per day and I have'nt had
> any problems with the serial port. I'm using the Watcom C/C++ compiler and
> I'm accessing the serial port directly, not through BIOS. The program uses
> the _pg_chart functions to display a variety of graphs. So far it's working
> fine and I don't use interrupts. I intend to move the code to Win 95.
>
Tom,
I wouldn't expect many problems when you're only transmitting a small
block of data.  The only time I encountered any Win95/DOS window
problems (with non-interrupt driven IO) was when I was doing a large
data dump from my device to the PC.  It would get through a couple of k
of data before excessive data errors occurred.  Just be aware that the
*potential* for a problem is still there.  (Note that before I went with
interrupts, comm problems only occurred under a DOS *window*.)
--Matt

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