Go Down

Topic: Cannot control China Mega 2560 CH340 via USB port  (Read 173 times) previous topic - next topic

vhoang

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

sterretje

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?

Quote
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).
If you understand an example, use it.
If you don't understand an example, don't use it.

Electronics engineer by trade, software engineer by profession. Trying to get back into electronics after 15 years absence.

vhoang

Thank Sterretje so much, it has worked :)

-Hoang

sterretje

If you understand an example, use it.
If you don't understand an example, don't use it.

Electronics engineer by trade, software engineer by profession. Trying to get back into electronics after 15 years absence.

Go Up