owi-arm-dotnet 1.6.0

There is a newer version of this package available.
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
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="owi-arm-dotnet" Version="1.6.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add owi-arm-dotnet --version 1.6.0
#r "nuget: owi-arm-dotnet, 1.6.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// 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):

  1. Plug in the arm to the host system.
  2. Open Device Manager and locate the device.
  3. Select and hold (or right-click) the device and select Update driver software... from the context menu.
  4. In the wizard, select Browse my computer for driver software.
  5. Select Let me pick from a list of device drivers on my computer.
  6. From the list of device classes, select Universal Serial Bus devices.
  7. 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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • 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.

Version Downloads Last updated
1.6.1 376 12/30/2022
1.6.0 298 12/29/2022
1.5.1 2,107 4/24/2016
1.5.0 1,357 4/16/2016
1.0.0 1,107 3/13/2016

Migrated to .NET 6