Tag archives for PIC to PIC Communication

PIC Microcontroller Communication with I2C Bus – MikroC

image-348
The I2C or Inter-Integrated Circuit is a serial communication and allows multiple devices to communicate with a micocontroller(s) over only two wires. The devices don't have to be identical as long as they support I²C protocol. Communication takes place from the master (PIC) to the individual selected slave only as shown in this illustration, the master sends data to the slave address 2 only. I²C with MikroC Pro for PIC

PIC Microcontroller Communication with SPI Bus – MikroC

image-350
The SPI or Serial Peripheral Interface is a synchronous serial communication and allows multiple devices to communicate with a micocontroller(s). There are many devices that support the SPI protocol and can easily communicate with a microcontroller via SPI: A/D converters, D/A converters, SD Cards, DS1306 Real Time Clocks, MAX7219 serial display drivers, 25LC256 Serial EEPROM, etc. The devices dont have to be identical as long as they support SPI protocol. MikroC Pro for PIC