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 15383 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Edison Member
*
Karma: 7
Posts: 1229
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: 1
Posts: 320
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
Sr. Member
****
Karma: 7
Posts: 307
Friends don't let friends use Strings
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
Offline Offline
Brattain Member
*****
Karma: 518
Posts: 26322
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
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.
Arduino for Teens available at Amazon.com.

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
God Member
*****
Karma: 14
Posts: 586
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

Beginners guide to using the Seeedstudio SIM900 GPRS/GSM Shield

0
Offline Offline
Edison Member
*
Karma: 7
Posts: 1229
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
God Member
*****
Karma: 14
Posts: 586
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

Beginners guide to using the Seeedstudio SIM900 GPRS/GSM Shield

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 518
Posts: 26322
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
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.
Arduino for Teens available at Amazon.com.

Offline Offline
Sr. Member
****
Karma: 1
Posts: 320
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

Offline Offline
Jr. Member
**
Karma: 0
Posts: 61
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 518
Posts: 26322
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
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.
Arduino for Teens available at Amazon.com.

0
Offline Offline
Edison Member
*
Karma: 7
Posts: 1229
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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


Offline Offline
Jr. Member
**
Karma: 0
Posts: 61
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

10-4, thanks guys.
Logged

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