Is it possible to control many microcontrollers using a single microcontroller/microprocessor?


I am presently working on Home Automation Projects, having no of home appliances. I would like to know the ways that I can control many micro-controllers using a central micro-controller/micro-processor(wired/wireless)?

Best Answer

Attention - this answer is not correct.

I2C is a protocol that applies for a distributed system INSIDE THE SAME BOARD, no distributed in a house.

The old (incorrect) answer:

One of the basics and proved method is the \$I^2C\$ protocol. Many microcontrollers implements it and this protocol is designed for velocity and few lines of transmission (only needs 2 lines).

To implement this protocol, you should define a device as master (the main microcontroller) and the rest of the devices as slaves (auxiliary microcontrollers).