Sign in to follow this  
Followers 0
CHAFF

CH341 USB Project

1 post in this topic

Hi Everyone,

Just thought I'd post:

I was looking to learn more about how to communicate through the USB bus. I found this piece of hardware on EBay and decided to order it:

item: 380149028191

My link

When I got it, it was fairly straight forward but had some issues trying to use AutoIt with it. So I found a datasheet on this chip on a German website and was able to write some functions to read and write to it directly to/through the driver.

The CH341A is actually quite an interesting chip. It has different modes yet natively understands USB protocol. Here we basically use it in a simple I/O type of mode to read from 4 buttons or to light up 8 on board LEDs'.

post-51513-12551296782998_thumb.jpg

driver.zip

EasyUSB.au3

compiled EXE:

EasyUSB.zip

Share this post


Link to post
Share on other sites



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0