Connecting StartUSB for PIC to multiple I2C devices

Here you can find latest news on mikroElektronika products.
Post Reply
Author
Message
User avatar
anikolic
mikroElektronika team
Posts: 1775
Joined: 17 Aug 2009 16:51
Location: Belgrade
Contact:

Connecting StartUSB for PIC to multiple I2C devices

#1 Post by anikolic » 10 May 2011 17:25

Connecting StartUSB for PIC to multiple I2C devices

Image

I2C is one of the most popular serial communication protocols in embedded world.
Hundreds of I2C compatible devices are available in the form of EEPROM, SRAM, I/O expander,
Temperature sensor, LED driver, etc.

While mikroElektronika provides library routines for both software and hardware I2C communication
with its compilers, the basic knowledge of I2C protocol and its device addressing scheme
always helps in its implementation. Embedded Lab has just posted a new tutorial that describes
how you can connect multiple I2C devices on a common bus without any address conflict.

In this experiment, our StartUSB for PIC board is used, to which they connected
two serial EEPROMs (24LC512) and one temperature sensor (DS1631) simultaneously
on a common I2C bus. The whole technique has been implemented with mikroC PRO for PIC compiler.

Yours sincerely,
mikroElektronika
Web Department Manager

Post Reply

Return to “Product Announcements”