![]() the blink sketch! Connect the USB and the board as described in the above step. I tested the contraption by uploading good old HELLO WORLD! Of microcontrollers i.e. Rx > Rx of Arduino mega core Tx> Tx of Arduino mega core (This might or might not be an issue with you, it might be a manufacturer specific thing) To solve problem number 2 i had to cut the female end of a DuPont hookup wire and solder it to the dtr pin on the chip itself (PIN NUMBER 13 of ch340 chip) AND then i was able to connect the other end to the dtr pin of the Arduino and done! Now you'll be able to communicate and upload the program the board without any problems! ![]() To solve problem number 1, i simply reverses the rx and tx connections so. There is no dtr breakout pin on the board. Rx and Tx pin silk screen is printed reversed. > ground pin Dtr > dtr pin But there are some problems with ch340 module: 1. For programming, one need to connect the board as follows (left side of the arrow is usb to serial module and right side is the mega 2560 board) Rx pin. To be able to program the board using ch340, i needed to perform a small hack on the ch340 module. I ALSO TRIED USING ANOTHER CHEAP USB TO SERIAL MODULE CALLD PL2303 (You might see it somewhere in the images in later steps) BUT NEVER GOT IT WORKING. Writing this instructable so if someone wants to use the same board for their projects. A little bit of an hack was required to get it working. A great ftdi alternative and this chip(ch340) is very common in Arduino clones and many esp8266 boards. What i do own is a ch340g usb to serial converter. I don't own an ftdi module and couldn't order one due to covid19 lockdown.and also it is unnecessarily expensive here in India. So i need to figure out how to program the board and use it to shrink down some of my projects which requires Arduino mega. There was one problem though! It doesn't include usb connectivity and there isn't a lot of information available online too. It's a smaller version of Arduino mega 2560 and it's apparently called Arduino mega core. I found this great small form factor Arduino mega board on ebay.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |