Setup for I2C Communicating Using PIC18F4550 to the LCD2041?
Posted: Mon Feb 26, 2007 12:27 am
I was wondering how to hardwire and LCD2041 to the PIC18F4550 to communicate using I2C. I know the pins 1(VDD) and 4(GROUND) will go on the breadboard to VDD and Ground. And the pins 2(SCL) and 3(SDA) will go into the PIC's SDA and SCL lines. I also know that i will be using RA3 and RA4 as my inputs. But i dont know what to do next? Do i need 220 omhs and 10K pullup resistors to connect to SDA and SCL lines? What else do i need to do so that when i program my pic with the I2C commands, it will communicate successfully with the display? I am not sure how to setup rest of the circuit to communicate successfully using I2C with the PIC18F4550(Master) to the LCD2041-WB(Slave). I would really appreciate if someone could help me with this issue.