Arduino code for brewing automation