Loading...
Pages: 1 2 3 [4]   Go Down
Author Topic: Tutorial for hacking a CP2102 USB from ebay and uploading a sketch to an Atmega  (Read 6214 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
God Member
*****
Karma: 6
Posts: 918
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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!  smiley
Logged


Offline Offline
Sr. Member
****
Karma: 0
Posts: 275
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Salem, Oregon
Offline Offline
Full Member
***
Karma: 0
Posts: 175
Arduino rocks but sometimes it rolls
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Global Moderator
Boston area, metrowest
Online Online
Brattain Member
*****
Karma: 242
Posts: 16507
Available for Design & Build services
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Looks beautiful!
Logged

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

Offline Offline
Newbie
*
Karma: 0
Posts: 4
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Leeds, England
Offline Offline
Full Member
***
Karma: 6
Posts: 186
Quick, chuck it in the bin before the boss finds out...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.

Logged

0
Offline Offline
God Member
*****
Karma: 6
Posts: 918
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.

Logged


Leeds, England
Offline Offline
Full Member
***
Karma: 6
Posts: 186
Quick, chuck it in the bin before the boss finds out...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Global Moderator
Boston area, metrowest
Online Online
Brattain Member
*****
Karma: 242
Posts: 16507
Available for Design & Build services
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Yep, you got screwed.
Next purchase, try the ask question option to confirm you're getting the one with pads.
Logged

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

Offline Offline
Sr. Member
****
Karma: 0
Posts: 275
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Pages: 1 2 3 [4]   Go Up
Print
 
Jump to: