Go Down

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

xl97

awesome.. its "clean".. so to speak.


is the cap even needed if your circuit has one already? (ie: an Arduino compatible pcb with DTR breakout already...etc).. then only a 'jumper' yes?

nice one!.. (Im going to something similar on my other one now)

thanks!  :)

RandallR

I use mine for breadboarding so I always need the cap.  I've tested it of course and it works well for me.  I may place a dot of hot glue under the cap the next time I have my hot glue gun out.

Brad Burleson


is the cap even needed if your circuit has one already? (ie: an Arduino compatible pcb with DTR breakout already...etc).. then only a 'jumper' yes?


It's actually mention earlier in this thread by CrossRoads that if you add a cap on the CP2102 as well as have one on the board the results may be undesirable. 

So no, it's not needed and yes, just a jumper.

Brad
KF7FER

CrossRoads

Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.


Quote
That one in the ebay link looks a bit different than the one the guys are hacking...Does this one also require hacking?

Yes, but it may be very difficult to hack as I don't see a DTR signal pad to attach to. The DTR signal is avalibe on the CP2101 chip, but it's very difficult to solder anything to those small spaced chip pins. Doesn't mean it can't be used but you may not be able to get it to utilize the auto-reset function and will have to use a well timed manual push button reset on the arduino board prior/during uploading.

Lefty


first post here, just to mention i just succeeded to upload sketch using a cp2101 and a rbbb after having read about the 'well timed manual reset'

Thanks!

61bert

dannable

My latest CP2102 based device from eBay has arrived, and whilst the image looked like the one in this article it was of a slightly different design which means this mod cannot be effected.

So if you are buying one it might be worth checking with the seller that it is exactly as illustrated.

Beginners guide to using the Seeedstudio SIM900 GPRS/GSM Shield

xl97

How about some more info?

like a link to the ebay auction you DID purchase from?  (and ebay seller name)

and also maybe a pic of the hardware/device you DID get?

if I was bait-n-switched... I would have gotten a refund.


dannable

Well, this is what I thought I'd bought..

http://www.ebay.co.uk/itm/110760144325?ssPageName=STRK:MEWNX:IT&_trksid=p3984.m1497.l2649

But this is what arrived (taken at random, just to illustrate)

http://www.ebay.co.uk/itm/USB-2-0-to-TTL-UART-6PIN-CP2102-Module-Serial-Converter-K-/130772178661?pt=UK_Computing_Parallel_Serial_PS_2&hash=item1e72a116e5

But it does "what it says on the tin", so no grounds to return it. Plus it would probably cost more in carriage costs than it cost to start with.
Beginners guide to using the Seeedstudio SIM900 GPRS/GSM Shield

CrossRoads

Yep, you got screwed.
Next purchase, try the ask question option to confirm you're getting the one with pads.
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

RandallR


Well, this is what I thought I'd bought..

http://www.ebay.co.uk/itm/110760144325?ssPageName=STRK:MEWNX:IT&_trksid=p3984.m1497.l2649

But this is what arrived (taken at random, just to illustrate)

http://www.ebay.co.uk/itm/USB-2-0-to-TTL-UART-6PIN-CP2102-Module-Serial-Converter-K-/130772178661?pt=UK_Computing_Parallel_Serial_PS_2&hash=item1e72a116e5

But it does "what it says on the tin", so no grounds to return it. Plus it would probably cost more in carriage costs than it cost to start with.


This happened to me one time.  I simply wrote the seller with a picture of what I received, and pointed out that the picture differed from what was advertised.  The seller posted a replacement of the right type.

eBay sellers usually dislike negative feedback.  If what they sent does not match what was advertised then that is cause for negative feedback.

On the other hand if you ordered the wrong one because you did not inspect the photos, or there where no photos to inspect, then the fault is yours.  On the bright side, you should not have spent more that a morning cup of coffee on the board.

I know that most people complain about the quality of parts from China, and they are right.  However, for the savings, I am usually willing to put up with the lower quality to save some money.  I do this as a hobby, I enjoy playing with these things.  If I where making a production quality product, with my name on it, I would source my part with greater care.  But I'm not, and I don't.

kanurys


Got my two as well..

$2.95 shipped...

took a few weeks of course..

but came, and look fine.

work fine too (after you install drivers of course)..

I mo'd mine as well....

I cut off the last header.. and and attached 'two',, one in the same place.. and one that hangs over the side a bit.. then I jumpered this to the DTR pin.

I probably didnt need to keep the RESET pin..  but whatever..



tested and programmed a custom Arduino board with it.. for $3.00 I cant complain!




What drivers did you end up using for this device? I'm about to buy one from ebay but I want to make sure I can support it for windows 7. -thanks

CrossRoads

The Bate units often come with a mini CD that have the CP2102 driver.
Or Win7 might have it already, or can do an autosearch & find it.

I just cut the reset trace and added the wire from the DTR hole to the pin.
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

xl97

I tried to look see if I still had the file..

I found a couple, 9maybe searching fro these names will give you more info)

CP210x_VCP_Win_XP_S2K3_Vista_7.exe
an335sw.zip

I believe it to be the top one... (but its been a while)  :)


Go Up