owi-arm-dotnet
1.6.0
See the version list below for details.
dotnet add package owi-arm-dotnet --version 1.6.0
NuGet\Install-Package owi-arm-dotnet -Version 1.6.0
<PackageReference Include="owi-arm-dotnet" Version="1.6.0" />
paket add owi-arm-dotnet --version 1.6.0
#r "nuget: owi-arm-dotnet, 1.6.0"
// Install owi-arm-dotnet as a Cake Addin #addin nuget:?package=owi-arm-dotnet&version=1.6.0 // Install owi-arm-dotnet as a Cake Tool #tool nuget:?package=owi-arm-dotnet&version=1.6.0
owi-arm-dotnet
A .NET 6 library that implements the OWI-007 Robotic Arm parallel port protocol. Tested on Windows 10 using USB Controlled Robotic Arm Kit
Installing the robotic arm USB driver, under Windows
Before operating the arm, ensure that you have the correct USB driver installed, as follows (based on WinUSB (Winusb.sys) installation for developers):
- Plug in the arm to the host system.
- Open Device Manager and locate the device.
- Select and hold (or right-click) the device and select Update driver software... from the context menu.
- In the wizard, select Browse my computer for driver software.
- Select Let me pick from a list of device drivers on my computer.
- From the list of device classes, select Universal Serial Bus devices.
- The wizard displays WinUsb Device. Select ADB Device to load the driver.
Code snippet
The following code example demonstrates the API. It will rotate the base clockwise, move the shoulder up and turn on the LED. After 2 seconds all movement is stopped and the LED is turned off.
IOwiFactory factory = new OwiFactory();
IOwiArm arm = factory.CreateArm(new LibUsbOwiConnection());
await arm.ConnectAsync();
IOwiCommand command = factory.CreateCommand().BaseRotateClockwise().ShoulderUp().LedOn();
await arm.SendCommandAsync(command);
Thread.Sleep(2000);
await arm.SendCommandAsync(command.StopAllMovements().LedOff());
await arm.DisconnectAsync();
Nuget Package(s)
The library is available on nuget - owi-arm-dotnet.
For a Windows desktop usb implementation, refer to the sister package - owi-arm-dotnet-usb.
Sample application
The sample application can be used to access all of the robotic arm features via a basic user interface.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net6.0
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on owi-arm-dotnet:
Package | Downloads |
---|---|
owi-arm-dotnet-usb
Provides a Windows desktop usb interface implementation for owi-arm-dotnet |
GitHub repositories
This package is not used by any popular GitHub repositories.
Migrated to .NET 6