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
.NET Library for I2C Motor Driver 1.3
Moderators: lily.li, violet, salmanfarisvp
-
- Staff
- Posts: 200
- Joined: Tue Apr 17, 2018 11:03 am
Re: .NET Library for I2C Motor Driver 1.3
Dear Customer:
All the information we can provide is in the wiki(http://wiki.seeedstudio.com/Grove-I2C_M ... iver_V1.3/). I find there is no .NET NuGet package to provide for you.
All the information we can provide is in the wiki(http://wiki.seeedstudio.com/Grove-I2C_M ... iver_V1.3/). I find there is no .NET NuGet package to provide for you.
Re: .NET Library for I2C Motor Driver 1.3
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:
but Nothing happend.
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: Select all
_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
-
- Staff
- Posts: 200
- Joined: Tue Apr 17, 2018 11:03 am
Re: .NET Library for I2C Motor Driver 1.3
HI Marco
please use StepperRun(100); here is the cpp file https://github.com/Seeed-Studio/Grove_I ... r.cpp#L149. we tested it and it works well. please let us know if it still does not work. thanks.
Seeed techsupport team
Bill
please use StepperRun(100); here is the cpp file https://github.com/Seeed-Studio/Grove_I ... r.cpp#L149. we tested it and it works well. please let us know if it still does not work. thanks.
Seeed techsupport team
Bill