# Arduino Uno interface with the UR5

**URL:** https://forum.universal-robots.com/t/arduino-uno-interface-with-the-ur5/22904
**Category:** Technical Questions
**Created:** [July 26, 2022, 5:35am UTC](https://forum.universal-robots.com/t/arduino-uno-interface-with-the-ur5/22904 "2022-07-26T05:35:31Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![anon89426278](https://avatars.discourse-cdn.com/v4/letter/a/ec9cab/32.png) [@anon89426278](https://forum.universal-robots.com/u/anon89426278)
#### Post date: [July 26, 2022, 5:35am UTC](https://forum.universal-robots.com/t/arduino-uno-interface-with-the-ur5/22904/1 "2022-07-26T05:35:31Z")

</div>

Hello, I m very new here and with the UR5. I made my custom gripper with a servo motor(12V), is there a way I can use the Arduino with the UR5 to control the servo motor in my gripper? Any assistance will be much appreciated. Thank you.

---

<div class="post-metadata">

### Author: ![SynchMaster](https://avatars.discourse-cdn.com/v4/letter/s/35a633/32.png) [@SynchMaster](https://forum.universal-robots.com/u/SynchMaster)
#### Post date: [July 26, 2022, 6:10am UTC](https://forum.universal-robots.com/t/arduino-uno-interface-with-the-ur5/22904/2 "2022-07-26T06:10:42Z")

</div>

Maybe you can use the Arduino as Modbus slave and the UR as master.

A very simple way would be connecting a digital output from the UR to the Ardunio?

---

<div class="post-metadata">

### Author: ![cags](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/cags/32/6304_2.png) [@cags](https://forum.universal-robots.com/u/cags)
#### Post date: [July 26, 2022, 6:16am UTC](https://forum.universal-robots.com/t/arduino-uno-interface-with-the-ur5/22904/3 "2022-07-26T06:16:08Z")

</div>

You need an electrical interface or a shield between the UR5 and your Arduino.  
A good fit would be a 12V Modbus shield, because that would work as power adapter for powering the Arduino too. I have never found a 12V Modbus shield myself, but I know there is a 24V, like the [MKR 485 shield](https://store-usa.arduino.cc/products/arduino-mkr-485-shield).  
In terms of software, there are more than 1 Modbus and RS485 libraries. What I would do is to search for a Modbus Arduino project and use their same library and shield.

---

<div class="post-metadata">

### Author: ![anon89426278](https://avatars.discourse-cdn.com/v4/letter/a/ec9cab/32.png) [@anon89426278](https://forum.universal-robots.com/u/anon89426278)
#### Post date: [July 26, 2022, 9:36am UTC](https://forum.universal-robots.com/t/arduino-uno-interface-with-the-ur5/22904/4 "2022-07-26T09:36:00Z")

</div>

Hi, Thanks for the quick reply, just wondering if u have seen any projects where I can interface a Dyanmixel Motor RS485 communication with the UR5? Thank You
