Jump to content
Sign in to follow this  
CHAFF

CH341 USB Project

Recommended Posts

CHAFF

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.