Wiring Stepper Servo Motor

Hello,

I am trying to wire a UIM2040CM servo stepper motor to the arduino and the motor controller that comes with it.

Heres a link to some info and manual on this motor/motor controllor: NEMA#8 20mm All-in-one Subminiature Servo Stepper Smart Motor with Driver & Motion Controller-Smart Servo Stepper Motor-UNITED INTELLIGENCE ROBOTICS (ZHEJIANG) CO., LTD.-

I don't understand some of the wires like CANH and CANL. I don't know how I would wires this to the arduino in general.

On a side note, is there a way to control directly from the computer without the Arduino? I know this motor has a special software program called StepEva3 software but I am not able to download it as the link doesn't work.

Actually its a combination of both haha. If you click on the link I sent, you can see it's specs.

That's a nasty link, wants to install stuff on my Pc. That's No, No of course.
Reading the third page step/pulse is available some way.

Really? I opened the link just fine.

If you cant open the link can you please google this: UIM2040CM servo stepper motor

If you look at the product specification chart on the page you linked, the “C” in the part number indicates that it is controlled via a CAN bus. Other options are RS-232 and pulse/direction.

You will need a CAN bus module to use with your microcontroller or a micro controller with a native CAN bus.

1 Like

I appologize. A background task caused the download request, not Your link!
Reply #6 gives good advice.

Thank you. It actually came with a CAN bus module, I just didn't know that was the name until I searched it just now. Noe that I know the name I can easily search how to connect it with Arduino! Thanks for the help

So far I have made the following connections:


I was able to connect the Arduino to the CAN bus easily, however there are three input wires from the motor and I have no idea what each one does? I know I should connect them to digital pins on Arduino, but I don't know how to code this. Does each wire control something different like position, speed etc.

The reason why I ask is because this motor comes with an integrated motor controller and encoder. usually encoded motors have channel A and B....this just has 3 IN wires

You have some reading to do. From the link you posted by selecting the
‘User Manual” button:

Yes I did read that, but the wiring diagram used a CANBus gateway and I realized I might have to order that. I also didn't understand this diagram:


Mainly, the fact that they only used 4 wires from the servo stepper motor when there are 7.

I also don't know what this is:
image
Is that suppose to be the CAN bus? It doesn't look like it

The diagram shows a combination CAN bus and power distribution scheme. The green and grey wires are the CAN bus, the red and black are power for all devices on the bus. It shows two different motors and the gateway interface to the PC. The MCP2515 module you have replaces the PC gateway. It is a microcontroller gateway.

The manual describes how the digital I/O points on your motor are used, that was the point of my previous reply.

Edit:

That is an illustration of a terminal block. It is just a termination point between each motor and the CAN bus/power distribution and the individual motors.

Thanks for your help. So if I want to use a microcontroller gateway such as a Raspberry Pi/Arduino, am I still able to use their software linked here: Stepeva3 Control Panel & Debug Software-Downloads-UNITED INTELLIGENCE ROBOTICS (ZHEJIANG) CO., LTD.- or do I need to use a PC gateway?

I saw on the bottom right it says UIM creator, I'm wondering if I use this to send messages to the Arduino/Raspberry Pi instead of the traditional IDE. It wasn't clear from the manual.
Sorry for all the questions, i'm a complete beginner to this stuff and it's overwhelming.


So, I assume you use the UIM creator instead of the traditional IDE to send these messages:

The only issue is if I use the UIM creator how do I know which digital pins to connect the 3 IN wires to on the Raspberry Pi/Arduino? Or rather how do I tell the software this? I don't see an option on the UIM creator interface.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.