Home automation system based on Arduino