I not shure how to conect this drive, i think the drive is not optoisolate. In the schematic i atach, i see the transistor before the pin, and ground to the 5vdc supply and i think is a wrong conection.