custom usb device

Discuss robotics applications using FlowStone here
Post Reply
flowax
Posts: 1
Joined: Tue Mar 14, 2017 9:26 pm

custom usb device

Post by flowax »

Is it possible to create my own custom usb device so i can use flowstone to create a UI to control it?
User avatar
Spogg
Posts: 3368
Joined: Thu Nov 20, 2014 4:24 pm
Location: Birmingham, England
Contact:

Re: custom usb device

Post by Spogg »

I don't know anything about the Robotics stuff but I would guess you would need to create a MIDI output driver.
Then you could use the MIDI Out prim to send all manner of messages to your USB device, which would then interpret them accordingly.
This was done in the old Synthmaker days and I've seen a few MIDI editors designed to control hardware synths. This was a very popular thing several years ago because hardware synths often had very limited front panel controls. The messages sent would normally be System Exclusive (Sysex) but in your own design you could use whatever protocols you wished.

Sounds like an interesting idea!

Cheers

Spogg
User avatar
DaveyBoy
Posts: 131
Joined: Wed May 11, 2016 9:18 pm
Location: Leeds UK

Re: custom usb device

Post by DaveyBoy »

Just use a cheap USB to serial converter.
This appears as a virtual com port, then just use the com port prim to send/receive whatever data you wish.

And yes, you can create fantastic GUIs with Flowstone :)
User avatar
aronb
Posts: 154
Joined: Sun Apr 17, 2011 3:08 am
Location: Florida, USA
Contact:

Re: custom usb device

Post by aronb »

Hi,

I use MicroElectronika PIC Compilers (C and BASIC) and the "StartUSB for PIC" development PCBs to get up and running with an idea. There are examples on the forum on doing this. And of course Flowstone makes AWESOME GUIs for the user ! ! !

See: https://shop.mikroe.com/development-boards/starter/startusb/pic

Good Luck - its really easy to do though ;)

Aron
User avatar
byronveF
Posts: 1
Joined: Wed May 01, 2019 1:54 am
Location: Norway
Contact:

custom usb device

Post by byronveF »

I could not get the ENTTEC unit working under Mavericks. Can anyone recommend an alternative USB DMX device?
Post Reply