USB input

Just starting out? Need help? Post your questions and find answers here.
dna
User
User
Posts: 83
Joined: Wed Aug 30, 2006 12:07 am

USB input

Post by dna »

Hello.

I was looking for resources that can help me code a routine that receives input from the USB ports.
Any help is appreciated.

Thanks
Julian
Enthusiast
Enthusiast
Posts: 276
Joined: Tue May 24, 2011 1:36 pm

Re: USB input

Post by Julian »

infratec
Always Here
Always Here
Posts: 6817
Joined: Sun Sep 07, 2008 12:45 pm
Location: Germany

Re: USB input

Post by infratec »

Or do you mean a serial to USB adapter?

Then you can use the normal serial port stuff.

Bernd
dna
User
User
Posts: 83
Joined: Wed Aug 30, 2006 12:07 am

Re: USB input

Post by dna »

I meant the normal USB 3.0 ports.
User_Russian
Addict
Addict
Posts: 1443
Joined: Wed Nov 12, 2008 5:01 pm
Location: Russia

Re: USB input

Post by User_Russian »

OS does not provide access to applications to the USB ports. This is only available for the USB driver.
You need to work with the USB device through its driver.
technopol
User
User
Posts: 20
Joined: Thu Mar 24, 2011 11:00 pm

Re: USB input

Post by technopol »

infratec wrote: Mon May 11, 2015 8:17 am Or do you mean a serial to USB adapter?

Then you can use the normal serial port stuff.

Bernd
Is it possible to specify baud rates faster than 115200 with OpenSerialPort?

technopol
infratec
Always Here
Always Here
Posts: 6817
Joined: Sun Sep 07, 2008 12:45 pm
Location: Germany

Re: USB input

Post by infratec »

Yes.
technopol
User
User
Posts: 20
Joined: Thu Mar 24, 2011 11:00 pm

Re: USB input

Post by technopol »

infratec wrote: Sun Oct 02, 2022 7:42 pmYes.
Thanks for quick reply!

Is there a list of valid baud rates? I aim at 100 000 000 baud (and higher eventually).

technopol
TassyJim
Enthusiast
Enthusiast
Posts: 151
Joined: Sun Jun 16, 2013 6:27 am
Location: Tasmania (Australia)

Re: USB input

Post by TassyJim »

If you are referring to Linux, this thread may help.
viewtopic.php?t=78721

Most adapters will work with that method.

For Windows, each adapter type has it's own limits.

Jim
infratec
Always Here
Always Here
Posts: 6817
Joined: Sun Sep 07, 2008 12:45 pm
Location: Germany

Re: USB input

Post by infratec »

As you can read more, clear informations are needed:

Which OS,
which device,
which driver.

I thought you are using windows with an USB device which uses its own driver.
Post Reply