Hello.
I’ve just customized a gripper using STM32F103 and servo MG995. Can I use the Digital Ouput port of UR5 control box to control the servo with STM32? Thank you so much
It seems like an advanced board the STM32F103. If you set it up to run a single speed by a Digital Input, then yes, it will work. The UR does not support PWM, though, for speed adjusting.
You can maybe use the Analog Outputs to write a 0-10V or 4-20mA signal, but you’ll have to read up on that on the board’s documentation.
If you only need a single speed and a Digital Output, then you must have a relay inbetween. The UR must control the 24V relay, and you will have 5V and NO back to the board here.
I do a quick research and figure out that I can use modbus tcp for arduino and ur5 communication. Can I use it with UR5 and STM32f103 also ?
Arduino Uno interface with the UR5 - Technical Questions - Universal Robots Forum
If your STM32F103 supports Modbus TCP, then yes. But it’s up to you to figure out how to configure that part.
You can find articles about Modbus and UR here: Articles | Support site | Universal Robots