Controlling an LB1946 via usb with an AVR

The LB1946 is a very nice chopper driver, the only downside is that it has a serial interface. So, for a project I need to control some steppers. I have a box full of printer boards, picked this one from and old epson inkjet because it had the same chips and also looks like I can chop it in half with a hacksaw and use them as they are.

The logic and the original power supply were toast so I used another I had at hand. To make some tests I hacked the PowerSwitch circuit from Objective Development to send raw commands and spin the motor with an usb interface.

At the end it doesn’t look quite like the original but it works. Still can’t get more than 1000 steps per second but I think that’s because of the supply. Now that I have the basic code working I’ll have to make a parallel interface so I can use them with EMC.

Sourcecode / References:

Pics:

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.