How to connect Dobot Arm V1.0 with peripherals? Like adding sensor, switch signal or any others?

Users can connect peripherals and sensors with another microcontroller to collect and process sensor data and make logical operation, and then set up a serial communication between microcontroller and Dobot controller.