How to Use ArduinoCommunicator - Kazjon/CatsCradle GitHub Wiki

General Introduction

ArduinoCommnicator.py is for sending commands to different motors from the high-level controller. There should be two instances of ArduinoCommnicator.py, one for sending commands to the Arduino Due (Motors for the body) and one for sending commands to Arudino Uno (Servos for the head).

Create a instance of ArduinoCommnicator.py

ArduinoCommnicator.py only takes one arguement port, which specifies the port of which the Arduino is connected to. To find the port:

Windows

Find the port number in Device Manager as shown below Or find it using Arduino IDE as shown below

Mac OS

Find the port number in Arduino IDE as shown below

Sending commands