Jump to content

CH341 USB Project


CHAFF
 Share

Recommended Posts

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

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...