This will be the first of a series of two articles about peripheral automation (writing about home automation would take considerably more time). The aim here will be to explain how would be possible to control objects that could be automated through power line, anything that can be connected directly in the wall, that cutting the power and turning it on again would be enough to stop and start working again (for example a lampshade, a lamp, a fan, etc). There is still the possibility to automate infrared, a.k.a. remote control, controlled devices (tv, cable boxes, air conditioner, stereo systems, etc). All controlled by cellphone, from anywhere there is internet access.
Everybody who owns an Arduino (Uno and Mega mostly, however other models also fit this require), should have notice those set of pins he never had used and think would never will (at least I thought that), until I had to store another Arduino’s bootloader or even, for any other reason, need to program another Arduino through a working Arduino ( Arduino as a programmer ) .
The String class, not the char arrays, but that ones declared as |String str = “some text”|, are really poisonous to an Arduino program.