Searching \ for 'What's the easiest I2C PIC (Master) <-> PC Slave?' 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/i2cs.htm?key=i2c
Search entire site for: 'What's the easiest I2C PIC (Master) <-> PC Slave?'.

Truncated match.
PICList Thread
'What's the easiest I2C PIC (Master) <-> PC Slave?'
1999\04\26@174826 by Dan Winker

flavicon
face
Hello,

I want to use IC2 to communicate from a PIC to a PC.  Because of
timing constraints RS-232 is very difficult.  IC2 would be easy to
use because I could have the PIC software do communication during
background.  I have located datasheets and app notes for the PCF8584
I2C Bus Controller and building a circuit card centered on this chip
and plugging into a PC parallel port seems possible - but a lot of
work.

Has anyone ever seen a project such as this in an electronics
magazine or anything?  How about just buying a IC2 card for a PC, is
there such a thing?

tia,
Dan

1999\04\26@181950 by Gerhard Fiedler

picon face
At 16:38 04/26/99 -0500, Dan Winker wrote:
>I want to use IC2 to communicate from a PIC to a PC.  Because of
>timing constraints RS-232 is very difficult.  IC2 would be easy to
>use because I could have the PIC software do communication during
>background.  I have located datasheets and app notes for the PCF8584
>I2C Bus Controller and building a circuit card centered on this chip
>and plugging into a PC parallel port seems possible - but a lot of
>work.

another (rather easy to implement) possibility may be to use a pic as a
(possibly application-smart) i2c communicator, which receives i2c from the
pic in your application, maybe pre-processes the data and sends async
serial to the pc. might be worth a thought (it's probably easier to
implement than the 8584 on the parallel port, depending on what you need
from the data).

>Has anyone ever seen a project such as this in an electronics
>magazine or anything?  How about just buying a IC2 card for a PC, is
>there such a thing?

there are a few, you see them in circuit cellar, for example, or through a
net search. if you don't find any, i can browse my archives... i2c slave is
not going to be a cheap thing (there are cheap solutions for the pc being
master), but i've seen boards (one board at least :) with the philips
controller.

ge

1999\04\26@183226 by Richard Martin

picon face
>Has anyone ever seen a project such as this in an electronics
>magazine or anything?  How about just buying a IC2 card for a PC, is
>there such a thing?

ELEKTOR Electronics USA , a european (or Brit?) mag.
available for a while in the U.S. has Feb. 1992 "I2C Interface
for PC's" using the Philips PC8584. They provide ISA board
layout (and boards for purchase). Some follow-on articles
used other Philips I2C parts on a DIN-6 daisychain bus.

I have the article, but it's pretty simple: 74HCT688 + dipsw. for
address decode and a couple of the 'usual suspect' TTL glue
chips for ISA bus interface. Checkout the Philips website
for part descr. and maybe app note.

I started to sell a PIC based ISA card a while back. There are
other vendors (check Web) including maybe even VB drivers.

R.Martin

1999\04\27@091346 by Barry King

flavicon
face
Dan,

> I want to use IC2 to communicate from a PIC to a PC.  Because of
> timing constraints RS-232 is very difficult.
Come again?  Why do you think that I2C is EASIER than RS-232??????

I am using I2C because its multi-master, but for point to point, why
would you go to I2C?

If you want to buy a ready made solution, there is a company called
Micro Computer Control (MCC) that does I2C/SMBus stuff, try them at
http://www.mcc-us.com  Look at their MIIC-201 hardware and software.  They
make good stuff; I have one of their MIIC-101 Bus analyzers. Its easy
to use and makes debugging I2C problems possible.  Without one, its
like debugging clocked logic without a 'scope.

------------
Barry King
Engineering Manager
NRG Systems "Measuring the Wind's Energy"
spam_OUTbarryTakeThisOuTspamnrgsystems.com
Phone: 802-482-2255
FAX:   802-482-2272

1999\04\27@093219 by Benjamin Petersen

flavicon
face
> -----Original Message-----
> From: pic microcontroller discussion list
> [.....PICLISTKILLspamspam@spam@MITVMA.MIT.EDU]On Behalf Of Barry King
> Sent: Tuesday, April 27, 1999 3:50 PM
> To: PICLISTspamKILLspamMITVMA.MIT.EDU
> Subject: Re: What's the easiest I2C PIC (Master) <-> PC Slave?
>
>
> Dan,
>
> > I want to use IC2 to communicate from a PIC to a PC.  Because of
> > timing constraints RS-232 is very difficult.
> Come again?  Why do you think that I2C is EASIER than RS-232??????
>
> I am using I2C because its multi-master, but for point to point, why
> would you go to I2C?
>
> If you want to buy a ready made solution, there is a company called
> Micro Computer Control (MCC) that does I2C/SMBus stuff

Or you can try the language called JAL. It has i2c (and many others)
support.
Here is a link : http://www.xs4all.nl/~wf/wouter/pic/jal

Regards
Benjamin Petersen

1999\04\27@094905 by Michael Rigby-Jones

flavicon
face
Using I2C as a Master device is much more forgiving from a timing point of
view.  With asynchronous comms performed through software, you can't afford
to have too much going on at the same time.  The I2C bus runs all the way
down to DC so you can break off in the middle of a transaction to service an
interupt etc.

OTOH implementing an I2C slave in software is very difficult, although not
impossible and requires lots of processor overhead.  However, if a hardware
solution is being considered for the PC side that won't be an issue.

Regards

Mike Rigby-Jones

{Quote hidden}

1999\04\27@122722 by w. v. ooijen / f. hanneman

picon face
> > If you want to buy a ready made solution, there is a company called
> > Micro Computer Control (MCC) that does I2C/SMBus stuff
>
> Or you can try the language called JAL. It has i2c (and many others)
> support.

But note that the library supports i2c single-master only: i2c slave and
multi-master is much more complex.

Wouter.

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