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.
Re: IS IT POSSIBLE IN I2C USING 1 MC AS MASTER AND 2 MCS AS
Hi All,
Thanks for your reply, please explain how to write the code. i know how to write code for master. but i don't know how to write for slave. my project is to display some value in two lcd display. it is not poassible to use one pic16f877 to control two lcd display, that why i go for one pic16f877 as master and two pic16f689 (as slave) to control the lcd.
Please refer attachment:
master PIC read some inputs and store the information in EEPROM using i2c and then tranfer the data to slave to display in LCD. please help me and give some idea . realy i need your help. thanks
Re: IS IT POSSIBLE IN I2C USING 1 MC AS MASTER AND 2 MCS AS
It is possible to control two or more LCD's using one 16F877. You don't need 3 microcontrollers to do this job. Just connect enable pins of each LCD to different GPIO pin. Rest all pins can be on same ports for both of them.
Re: IS IT POSSIBLE IN I2C USING 1 MC AS MASTER AND 2 MCS AS
Hi rajtech,
You can connect how many LCD you want to the uC if you fave enough I/O pins. For LCD using HD44780 you can connect toghether all data pins (all 8 or 4) depend how your software is working and also the control pins RS, RW. Only for the pin EN is used diferent pins for each display. The data that you will send to the LCD will be display it only to the LCD that will receive also the EN "command". In this case the hw will be simplified and you don't need more uC and I2C communication.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.