Firmware and software for a modular arm project