A template of Arduino with firmware and circuit