Go Down

Topic: Tutorial for hacking a CP2102 USB from ebay and uploading a sketch to an Atmega (Read 17 times) previous topic - next topic

CrossRoads

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Brad Burleson


you dont have to use the 6-pin header do you?


Nope. You can wire it up any way you choose.  I do use 6pin headers simply to keep with the standard FTDI pinout.

Note the included (very short) cable actually only has 5pins (you can see that in the picture that Lefty posted).

Quote

I mean treat this like any other FTDI cable..yes?


Sure, just get a couple of the 6pin female crimp housings (such as http://www.pololu.com/catalog/product/1905), remove the single pin plastic housing on each pin, and insert the pins in the correct order.  Or use whatever size header you want, as long as it matches your board.

I'd suggest testing the pinout first just in case :-)

Quote

as long as I run 5v+, GND, RX, TX to my chip.. Im good.. I can then use/tap the DTR pad from the bottom of the board to use on the DTR of the circuit Im uploading my sketch to....right?


You don't really need to pass 5v, but you've got the idea.  I was going to post a picture of a modified board but there isn't much to show - simply a cut trace and a jumper wire.  Takes 2 minutes and seems to work great.

Quote

also is there a driver for it?


Yup.  I think there is a link earlier in this thread.  If not, you can find the driver here http://www.kerrywong.com/2010/07/16/an-arduino-compatible-using-cp2102/

Hope this helps,

Brad.


msev


@msev,
a board like you describe is easy to make.


Are you willing to design it for me since you have a lot of experience (in Eagle)? With Dip atmega328.

CrossRoads

Sure - which parts do you want to keep, and how do want the connector?
Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Go Up