ronydc
Full Member level 3
communication between two 89c51+pdf
HELOO friends,
i am stuck at a project situation.
the requirement is:
using 89c51 microcontroller(Atmel)i need to provide
the following.
1> with 16 switches 16 relays are to be operated.
2> with same controller ckt, i need to provide I2C interface ( 24c04)
3> with same controller ckt, i need to provide serial communication.
the problem is:
i dont get any extra pins on 89c51 MCU after satisfying the first
requirement of 16 switchaes and 16 relays ....!!
how to add I2C interface ( 2 pins needed )
serial interface( 2 pins needed)
so total i need more 4 pins after providing the 16 switches
and 16 relays as the maximum i/o pins available on this 40 pin device is 32
i am stuck... wht to do.
please advise... and send me if any ckt dia and extra coding required.
please note: i am known to the coding for i2c and serial comm. so thts not the problem.
thanks in avance.
rony.
HELOO friends,
i am stuck at a project situation.
the requirement is:
using 89c51 microcontroller(Atmel)i need to provide
the following.
1> with 16 switches 16 relays are to be operated.
2> with same controller ckt, i need to provide I2C interface ( 24c04)
3> with same controller ckt, i need to provide serial communication.
the problem is:
i dont get any extra pins on 89c51 MCU after satisfying the first
requirement of 16 switchaes and 16 relays ....!!
how to add I2C interface ( 2 pins needed )
serial interface( 2 pins needed)
so total i need more 4 pins after providing the 16 switches
and 16 relays as the maximum i/o pins available on this 40 pin device is 32
i am stuck... wht to do.
please advise... and send me if any ckt dia and extra coding required.
please note: i am known to the coding for i2c and serial comm. so thts not the problem.
thanks in avance.
rony.