USB serial host?
in Propeller 2
We don’t have this yet right?
Want to interface with gauge that has a usb serial output.
It also has an analog output, which may be backup plan, but usb serial would be better.
If it happens to be an ftdi chip inside, then might use vinculum until p2 driver exists…
Comments
I would like to see that too. somehow I imagined/hoped it would be in with the keyboard/mouse/joystick drivers on OBEX. though, I'd just been using UART (through RJ45) connections to external ardweeny sensor boards so far.
since I'd just been parsing out their common basic hello world driver examples that send out ASCII < labela >:value, < labelb >:value, < labelc >:value strings to be plotted in in arduino plot viewer. "Serial" often corresponds to UART-0.
but, imagine the convenience of plugging in a USB hub and jacking in a half dozen arduino with their included USB cables.
Though, I haven't looked at how to enumerate the multiple streams coming un USB. I imagine there is some identifier accessible. I'd been prepending the UART port ID from @"Stephen Moraco" multiport serial driver to the < label > of the data on the way through my 8-port "SerialBox"
Would open up using SCPI to control instruments like power supplies, Signal Generators, Spectrum Analyzers, etc. I could almost drop the OBC (Cough RaspberryPi) from my test systems.
Most new instruments have a USB interface that reads like a usb-serial converter.
Thinking got lucky... Shows up as FTDI.
Think means can use Vinculum out of the box...
Played around with that before, but was several years ago...
VDrive3 thing looks convenient... Think can reprogram with canned firmware to be USB serial using a flash drive..
Got this working. Had to modify VNC2 source code to match baud rate and port#, but now seems to work fine.
Was wondering if this is useful for anything else, but not seeing it yet.
Suppose could have opened up the gauge box, removed it's FTDI serial chip and just wired TTL to the USB output and connected to P2 as direct TTL, instead of USB.
But, this is nicer way...