refactor arduino params