Does anybody know of a company that sells a USB cable for a normal non-IoT windows 10 PC that can converts a USB to all of the following buses on 40 pin Raspberry pi like header? Example: USB->GPIO,I2C,SPI,UART, etc..
The closest thing I can find is a:
Digital Discovery Logic Analyser from digilentinc.com
This works to convert PC USB into GPIO/I2C/SPI etc... except I was looking for something smaller with less wires...having only a 40 pin header or less...similar raspberry pi 40-pin Header except being driven from a USB connected to a PC instead... Has anybody seen this type of product for sale that can convert from PC-USB to 40-pin header with all the listed buses?
Also, I want to be able to program this USB convert device through Windows UWP using the "Windows.Devices" Api instead of proprietary driver DLL API... haven't really found that yet... Example:
// C# Program GPIO connected to USB dongle of regular PC...
using Windows.Devices.GPIO;
...
private void InitGPIO()
{
var gpio_ctrl = GpioController.GetDefault();
// Check GPIO state
if (gpio_ctrl == null)
{
this.pin = null;
this.status.Text = "ERROR: No GPIO controller found!";
return;
}
// Setup the GPIO pin
this.pin = gpio_ctrl.OpenPin(LED_PIN);
// Check to see that pin is Ok
if (pin == null)
{
this.status.Text = "ERROR: Can't get pin!";
return;
}
this.pin.SetDriveMode(GpioPinDriveMode.Output);
this.pinValue = GpioPinValue.Low; // turn off
this.pin.Write(this.pinValue);
this.status.Text = "Good to go!";
}
I know I can do something similar with Windows IoT core running on a raspberry pi, however, i wanted to use my regular laptop instead.