Troubleshooting and Overcoming Challenges with Chinese Arduino CH340 Boards

Troubleshooting and Overcoming Challenges with Chinese Arduino CH340 Boards


3 min read

๐Ÿค” Why I am making a post about this particular model? because I've entered the world of arduino recently and I already got a lot of problems with this model. As I noticed with the few lectures I made, the arduino uno ch340 is a fake one (chinese copy) which has a few issues with being detected by the computer, so after saying this I'm going to make a short guide on how I managed to make it work (at least in linux, sorry windows users).

โ˜‘๏ธ Validate that our model is the correct one

  • First of all make sure your model is the CH340G which looks something like this ->


  • Once we confirmed our model is the correct we are going to continue!

โฌ‡๏ธ Download the IDEs

  • We are heading to the arduino documentation to download both of the IDEs (I'll explain now why we need both)

  • First we get the older one which is the 1.8.x you can get it -> HERE

Now we need to extract the .tar.xz file we got. We can do it with the next command ->

tar -xf <arduino-file>

That will create a folder, we cd into it

๐Ÿƒโ€ Running the scripts

  • Now inside the folder we may have the following files ->


  • Next we are going to execute the file called with your username here is an example ->

chmod +x ./
./ <username>
  • It may ask us to do it with sudo permissions, if so run it again with administrator privs

  • Is going to ask us for our password

sudo !!
  • After this our used is added to the dialout group and has the neccesary privileges

๐Ÿ’พ Installing the latest IDE

  • Now is time to download the latest IDE from

  • Is going to be an AppImage so we need to give permissions to it.

chmod +x ./<file>
# Then we run it

You can also create an alias in your .bashrc (or anything you are using, in my case zshrc) something like this ->

vim .zshrc
# Add this line
alias arduino="Path to AppImage"
# Then we source it
source .zshrc
# And run it with our newest alias

After all of this we aren't sure yet is our arduino board is going to be working or not in the IDE, so is time to test it!

๐Ÿ˜Š Run your first program

  • The first time you open the IDE is going to look like this ->


Now we want to click where it says Select Board and there we are going to find the following things

  • Arduino Uno

  • USB Serial Port

It should look something like this ->


Then we click OK to save it

  • Next thing is going to be that we wrote our code! I'll leave it a simple example of Hello World in another file in this gist, so copy it from there and paste it there.

Then we have something like this ->


We click the two icons which are to compile and upload and we should get something like this ->


And for the last thing we have to click in the Serial Monitor icon which is in the top right corner (The right one of the two)


Then we got something like this in our console! ->


And there it is! Our hello world is there, enjoy our chinese arduino!

Did you find this article valuable?

Support Jonathan by becoming a sponsor. Any amount is appreciated!