Advice on I2C driver for unipolar stepper motor

Hi there

I have been looking for a simple driver interface with a controller on it that has its own address and uses i2c for coms. Have looked at various options like the easy driver but trying to cut down on the amount of wires needed for comms to and from the main arduino MCU.

Stepper motor used is nema 23 with 1 home switch there will be various sensors on the i2c bus so i need to be able to assign a address to the driver ..

Any suggestions



Stepper motor used is nema 23

NEMA 23 is a standard that defines the mounting pattern for the motor. It tells us nothing about the motor itself.

How many motors or controllers are you expecting to have? The EasyDriver that you mention takes only two wires and is far easier to deal with.

Hi Paul

The stepper motor details - 6 wires (japan motor co- kp56LM2-097- UNIPOLAR) I would be having two of those steppers each with a optical switch for "home position" connected via I2C. Ideally be able to adjust the address Master controller - Mega 2560 connected via I2C Slave controller - Arm LPC2478 Dev Board with Ethernet and 7" TFT Touch Screen via I2C Thats all i plan to be having on the wire bus for now .

Hope that helped

If your making your own PCB’s, the NXP PCA9629 is a possible solution. I’ve used this in the past and it worked well.

Hi Tanky

do you have a diagram it would be nice to see what you have put together i dont plan to go the way of making my own as its all Smd i suppose and im limited in that sense ..

Paul would i be able to get this controller bu just ommiting the centre taps of the coils and connecting the " outsides " of each pair of coils ?

Hi Sam,

Given that your not going to be making a PCB, I dont think the NXP ic will be a good choice.

Heres my circuit anyways. I used the L6506 as a constant current driver.

Thanks Tanky

That diagram will work well for me !! you saved the day ... :-)

You're welcome! Ensure that phases are wired correctly. I believe I had an issue with the way the phases were output.