.NET Library for I2C Motor Driver 1.3

Hello Seeed Forum,



I have a Grove – I2C Motor Driver V1.3 Board and I want to control a Stepper Motor with it. I use a Raspberry Pi 3 Board with Windows 10 IoT Core as OS and programming it with a .NET UWP App.



My Questions:

Is there any .NET NuGet package for controlling the Driver Board via I2C Bus.

Is there any possibility to detect, if the number of Steps, i send to the board, are finished or not? How did I now if the board is ready for the next number of steps?

Do you have a complete documentation of the I2C connection?



Thanks a lot.

Marco

Dear Customer:

All the information we can provide is in the wiki(<LINK_TEXT text=“http://wiki.seeedstudio.com/Grove-I2C_M … iver_V1.3/”>http://wiki.seeedstudio.com/Grove-I2C_Motor_Driver_V1.3/</LINK_TEXT>). I find there is no .NET NuGet package to provide for you.

Thanks, but I read all these documents bevor.



I have comunication with the board now. I can change the direction and the LEDs are switching like my command.

The Problem is, that I want to control a stepper motor and there is no voltage at the output pins.



Which commands must i send to rotate a stepper motor for 100 steps in one direction?



I tried:
[code]

_Motor1.SteperStepset(100)
_Motor1.StepperMotorEnable(0, 5)

Public Sub SteperStepset(stepnu As Byte)
    _i2cMotor.Write(New Byte() {STEPERNU, stepnu, &H1})
    Task.Delay(10).Wait()
End Sub

Public Sub StepperMotorEnable(Direction As Byte, Speed As Byte)
    _i2cMotor.Write(New Byte() {ENABLE_STEPPER, Direction, Speed})
    Task.Delay(10).Wait()
End Sub

Public Sub StepperMotorUnenable()
    _i2cMotor.Write(New Byte() {UNENABLE_STEPPER, &H1, &H1})
    Task.Delay(10).Wait()
End Sub

[/code]

but Nothing happend.

HI Marco



please use StepperRun(100); here is the cpp file <LINK_TEXT text=“https://github.com/Seeed-Studio/Grove_I … r.cpp#L149”>https://github.com/Seeed-Studio/Grove_I2C_Motor_Driver_v1_3/blob/master/Grove_I2C_Motor_Driver.cpp#L149</LINK_TEXT>. we tested it and it works well. please let us know if it still does not work. thanks.



Seeed techsupport team

Bill