I already know hot to program a PIC MCU to have a keyboard, LCD display, PWM, timers, comparators, ADCs, digital I/O, SPI EEPROM, I2C EEPROM, RS232. But I wonder how will 1 MCU be enough to automate the whole house. With the keyboard I can make maybe 40 combinations with only 7 pins, will this be enough? Should I use logical elements to address "256" devices with 8 pins on 1 port, should I use more MCUs and setup some communication with them? I also want to add sooner or later an external "28J60" wi-fi adapter or an MCU with an internal "J60" adapter like "PIC18F97J60", "PIC18F87J60". Can someone tell me what is the general practice?