Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

i2c communication of PIC'S

Status
Not open for further replies.

volkan

Newbie level 6
Joined
Dec 29, 2004
Messages
14
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,281
Activity points
151
Hi all,

We are dealing with a project and using 6 uc's in it.Maximum length of the distance between 2 uc's is 2 meter. We thought that the best way of communicating each uc (1master 5 slave) is i2c. Can it cause a problem such these distances using i2c or do you recommend another protocol?

And if anybody made a project like communicating 2 uc's(not with eeprom because i always see this kind of communication in samples) pls send it. I have some problems while i was trying to communicate 2 16f877( one of them master one of them slave of course) but it didnt work on proteus.

I will be happy if you send any C codes about this.

Best wishes...
 

ive heard that its not benficial to use I2C if there isnt a requirement for it. you can use the UART instead of I2C. so only use I2C when there is no other option like if you have a sensor that has an I2C interface. but if I2C isnt a requirement, a serial interface is easier to implement.

go to http://www.winpicprog.co.uk and check the tutorials on that site. you can get assembly codes from there. and also check out the PICList http://www.piclist.com
 

i have the same problem with proteus. it runs crazy when simulating multiple micros.
 

    volkan

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top