gnupic: 16F877 I/O


Previous by date: 9 Mar 2004 09:41:28 -0000 Re: Pista 0.32a released, Gabor Kiss [Bitman]
Next by date: 9 Mar 2004 09:41:28 -0000 Re: gpal fork, pic00
Previous in thread: 9 Mar 2004 09:41:28 -0000 Re: 16F877 I/O, Franz Holzinger
Next in thread: 9 Mar 2004 09:41:28 -0000 Re: 16F877 I/O, Scott Dattalo

Subject: Re: 16F877 I/O
From: ####@####.####
Date: 9 Mar 2004 09:41:28 -0000
Message-Id:

HI Franz Holzinger,

> > > I'm trying to implement serial rs232 communication for the PIC16F877 by
> > > software instead of using the built-in UART (dedicated to other task). What
> > > resources (links, lectures, source code, etc) would you recomend me for this
> > > task.
> > 
> > I'd recommend dedicating TMR2. If you only need to transmit from the F877 
> > then you can program TMR2 to generate an interrupt equal to the time for a 
> > single bit. If you have to receive as well, then you're going to want to 
> > poll at least 3 times faster and use a majority weighting to determine the 
> > sampled bit. You may wish to search piclist.com (before you do this, 
> > you'll have to turn on cookies in your browser...) for an example.
> > 
> Maybe the program NONAME.A16 is useful to you. 
> It is commented in German
> however. Look for the item 'SERIELL'. It is developed as a bar code
> reader. It is part of my software you can download at
> http://fholzinger.com/Diplomarbeit.zip . 
> To get the password you have to send me an extra email.

I want to simulate a mouse, which AFAIK transmits at 9600 Baud
 with 3 bytes for each action ?
The "interrupt equal to the time for a single bit" seems the best way.
The minimal PIC [which I guess is 16c84] should do it.
This whole 'updating PIC towards an ARM' seems as rediculous to
me as updating a wheel-barrow to a Ferari.
Wheelbarrows are marvelous for their application.

Thanks for any pointers/passwords. 
No I don't enable cookies !


== Chris Glur.


Previous by date: 9 Mar 2004 09:41:28 -0000 Re: Pista 0.32a released, Gabor Kiss [Bitman]
Next by date: 9 Mar 2004 09:41:28 -0000 Re: gpal fork, pic00
Previous in thread: 9 Mar 2004 09:41:28 -0000 Re: 16F877 I/O, Franz Holzinger
Next in thread: 9 Mar 2004 09:41:28 -0000 Re: 16F877 I/O, Scott Dattalo


Powered by ezmlm-browse 0.20.