SpanglefishDMS Consulting | sitemap | log in

YS-CH341T Software and Hardware Installation



The YS-CH341T Dongle has drivers that allow it to run on a range of Windows operating systems. It has been tested on XP, XP-x64, W7, W7-x64, W8.1, W8.1-x64. W10 and W10-x64. Although the drivers run on both 32 and 64bit systems, the JNI libraries are only available for Java 32bit VMs. Although source code is available, Windows is currently the only OS supported.

Download Java

You will need to download a version of Java 8 and install it on your Windows machine.

Java Download and Install

Download Software

Next you need to download the software from SourceForge


Install Windows Drivers

Unzip the file into an appropiate folder.
To install the Windows drivers -
Select the I2C-Windows folder
Select the YS-CH341T folder
Select the Windows-Drivers folder
Select the appropiate driver (Usually 32 bit) and open the folder.
If Windows 8 or 10, right click on SETUP.exe and select properties
Select Compatability and tick Run this in compatability mode for Windows XP (Service Pack 3)
Continue by running Setup.exe
Select Install
It is quite likely you will get the message Driver Install Failure.
If run in compatability mode the driver seems install even with this message.

Test Install

Open a Comand Prompt Window and CD into this folder. Now CD into I2C-Windows. You will need to Edit Java-32.bat and/or Java-64.bat to point to where Java is installed. The line to change starts Path=

A basic test is to enter .\Java-32.bat i2c_tests.YSCH341TRWTest

YSCH341TRW Test Results


The I2C bus pins on the YS-CH341T dongle are clearly marked - GND, SDA and SLC.  Connect these carefully to your I2C circuit.

Simple I2C Circuit

There is a growing list of example I2C circuits in I2C Examples.
The first example is fairly straight forward.

Example Circuits


Ships and Harbours Image Library