Automating tasks with Arduino