• CH340 Terminal 1
  • CH340 Terminal 2
  • CH340 Terminal 3
  • CH340 Terminal 4

CH340 Terminal

This application enables user to send commands to USC-16 servo controller and other devices using CH340 USB to serial chip. Plug in the device using USB OTG cable and the application will start automatically. Set positions and speed using seekbars. Position range is 500-2500 μs. You can move three groups of servos at the same time. Speed is inversely proportional to time, time can be set from 100 ms to 1000 ms. Your Android device must have USB OTG feature and must be able to power the slave device. When your Android device is networked, you can send commands to it using UDP, for example:

send:
echo "#1P1500T100" > /dev/udp/192.168.0.164/6000
echo "#1P600#2P900#8P2500T100" > /dev/udp/192.168.0.164/6000
echo "#1GC2" > /dev/udp/192.168.0.164/6000
echo "#1G#3G#1GC2" > /dev/udp/192.168.0.164/6000

receive:
netcat -ul 6000

For Samsung Galaxy S3 Neo (GT-I9301I) you can turn on power to the slave device using "Power to USB" feature.

The app uses CH34xUARTDriver which can be downloaded here:
http://www.wch.cn/download/CH341SER_ANDROID_ZIP.html

Category : Tools

Related searches