mirror of
https://github.com/mik3y/usb-serial-for-android
synced 2025-06-09 17:06:21 +00:00
control lines
parent
d15d31d455
commit
dae45a8361
@ -37,6 +37,21 @@ The Raspi needs a level shifter because it is not 5V tolerant. I used a 74HC21 w
|
||||
|
||||
The *Arduino Pro Micro* has to be programmed with [arduino_leonardo_bridge.ino](https://github.com/mik3y/usb-serial-for-android/blob/master/test/arduino_leonardo_bridge/arduino_leonardo_bridge.ino)
|
||||
|
||||
For testing of control lines, each device has a 2-to-N decoder 74LS42/74LS138/74LS139 attached to control input lines with own output lines.
|
||||
|
||||
| 2-to-N decoder | serial device | other |
|
||||
| -------------- | ------------- | ----- |
|
||||
| input A | RTS | |
|
||||
| input B | DTR | |
|
||||
| input C, ... | | GND |
|
||||
| input ENABLE | | connected to GND or open to always enable |
|
||||
| output 0 | CD | |
|
||||
| output 1 | DSR | |
|
||||
| output 2 | CTS | |
|
||||
| output 3 | RI | |
|
||||
|
||||
If only RTS is active (low) then related CTS is active. If only DTR is active then related DSR is active. If both are active then CD is active. If none are active then RI is active.
|
||||
|
||||
# Test execution
|
||||
|
||||
* Start ``rfc2217_server.py`` on your Windows/Linux host
|
||||
|
Loading…
x
Reference in New Issue
Block a user