Home > other >  How to programmatically make USB port on the computer like a single-chip microcomputer by program ou
How to programmatically make USB port on the computer like a single-chip microcomputer by program ou

Time:10-04

How to programmatically make USB port on the computer like a single-chip microcomputer by program output high and low level?

CodePudding user response:

Feel no need to,,,,,,,,,,

CodePudding user response:

The software isn't everything!

CodePudding user response:

refer to the second floor zgl7903 response:
software isn't everything!
use ch340 can

CodePudding user response:

Can use USB to TTL?

CodePudding user response:

With CH3401 also no matter, for instance, USB to serial signal, you use a computer: 1 or 0, the output is a data frame on ch340: one high level start signal + 8 bits of data + 1 a low level to stop signal,
In this way, can't keep a ch340 pin clamp in a fixed level

CodePudding user response:

If you do not require a USB, you can use a computer on the RS232, is the sort of 9 pin interface, pick up the old display that kind of,
Write a small software control DTR or RTS pin height, it has a GND pin, it should be suitable for you,
If computer RS232 interface, can clean out treasure a USB to RS232, 15 or so,
Remember I just learn more than a decade ago when programming played with it destroy the LED light,

CodePudding user response:

Usb is a phy, data coding, not just don't let your output zero yards long 0 s and 1 s
  • Related