Cannot control China Mega 2560 CH340 via USB port

Hi all,

Could you please help me out? I got this board and I have already controlled the GPIO of this board by uploading code to it.

But now I would need to control it by Python. I used pyfirmata library but I cannot control it. Please note I can control the other Uno board that I purchased from UK. So the problem I think not come from my Python codes.

I searched on Google and saw that I have to upload codes to make it work, but I could not find any instruction in Internet.

Thanks in advance,
Hoang

No idea about python

But if you can upload and the code does what you expect, your computer is able to communicate with the Mega. There should not be any need to install anything extra.

Does your python application use the correct port?

I searched on Google and saw that I have to upload codes to make it work, but I could not find any instruction in Internet.

Give some links of what you found so it can be verified if it's applicable. It probably isn't (see above).

Thank Sterretje so much, it has worked :slight_smile:

-Hoang

What was the solution?