MEL PICBASIC Forum  

Go Back   MEL PICBASIC Forum > PICBASIC.co.uk > General

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old - 30th December 2005, 21:56
bartman bartman is offline
Registered User
 
Join Date: Nov 2004
Location: Saskatchewan Canada
Posts: 189
Default Down and dirty way to use a SMD PIC with a DIP programmer?

I want to use a couple SMD PICS for a small project.

I don't think I want to learn the ins-and-outs of in-circuit programming at this time to do this, but I do only have space for the SMD size of a 12F629.

I am wondering if this would be possible.

http://arieselec.com/products/18010.pdf

Take this adapter and temporarily stick the SMD PIC on it then put it in my programmer.

Any problems with this? Like I say, I would only be doing a couple of these as normally I can use the DIP versions for what I do.

Doable?

Thanks.

Bart
Reply With Quote
  #2  
Old - 30th December 2005, 23:20
Dave's Avatar
Dave Dave is offline
Registered User
 
Join Date: Mar 2003
Location: Commerce Michigan USA
Posts: 491
Default

bartman, What I have done in the past is use a machined pin dip socket and solder a piece of ribbon cable to it (5 wires) and then on the other end use an inline connector which goes to the pcb I have the surface mounted processor on. this is usually the final product and I only use the "interum" cable to load a bootload hex file into the target processor. After which time I use the bootloader software to load the application and any serial activity thru an RS-232 port. No need to buy an expensive smd to dip adapter just for testing. If you have a look at the data sheet for the device you are trying to program it will show you the proper connections for ICSP. It's very easy...

Dave Purola,
Reply With Quote
  #3  
Old - 30th December 2005, 23:31
bartman bartman is offline
Registered User
 
Join Date: Nov 2004
Location: Saskatchewan Canada
Posts: 189
Default

Thanks, but I would have to classify this as the "not something I want to get into" reason.

It all sounds so simple if you know what you're doing, and I don't think I can be accused of that, but I need to design around this tempoary connection, understand what the heck you're talking about with bootloading and buy those connectors so I don't know if I am really saving any time or money.

I'm still a newbie here and probably in over my head half the time too!

Bart
Reply With Quote
  #4  
Old - 31st December 2005, 00:26
Bruce Bruce is offline
Registered User
 
Join Date: Jul 2003
Posts: 1,875
Default

It's very do-able. I've programmed hundreds of 8-pin SOIC parts using a similar adapter in our programmers ZIF socket.

I press & hold the part on the adapter with a vacume pencil then click program. Real easy & super fast.
__________________
Regards,

-Bruce
tech at rentron.com
http://www.rentron.com
Reply With Quote
  #5  
Old - 31st December 2005, 02:45
bartman bartman is offline
Registered User
 
Join Date: Nov 2004
Location: Saskatchewan Canada
Posts: 189
Default

That's perfect then. I should be able to hold one for 30 seconds!

Thanks.

Bart
Reply With Quote
  #6  
Old - 31st December 2005, 03:12
mister_e's Avatar
mister_e mister_e is offline
Registered User
 
Join Date: Sep 2004
Location: montreal, canada
Posts: 6,105
Default

you can even use a clip on adapter then solder each wire to a regular dip socket.

Now you just have to clip your PIC in the adapter then press program. I do it every day when i want to read EEPROM dump in my radio decode purpose.

I talk about that kind of adapter... 3M do some great. Even you can found some in overstock places.


ICSP is another way to go when design permit. No big money adapter needed. Only 4 testpoint on your target PCB. Then you use 4 wires from your programmer to your target PCB.
Attached Thumbnails
Click image for larger version

Name:	SOIC_16.jpg
Views:	605
Size:	168.9 KB
ID:	689  
__________________
Steve

Please use code tag when you post a code here.
[code] paste your code here [/code]
Reply With Quote
  #7  
Old - 31st December 2005, 03:55
bartman bartman is offline
Registered User
 
Join Date: Nov 2004
Location: Saskatchewan Canada
Posts: 189
Default

That's a cool looking... thing. Would it also work on the clothes line?? :-)

Bart
Reply With Quote
  #8  
Old - 31st December 2005, 10:28
mister_e's Avatar
mister_e mister_e is offline
Registered User
 
Join Date: Sep 2004
Location: montreal, canada
Posts: 6,105
Default

Quote:
Originally Posted by Bartman
Would it also work on the clothes line?? :-)
Sure a bit expensive but could work. You know, i use some obsolete or 'too old' PIC on my pin board now... so why not using a test clip on a clothes line

3M do good one, but there's few other brand. Look digikey catalog or local supplier. I really like this method and, as i said, i use it daily to read/write from/to radio EEPROM when there's no testpoint on the PCB OR when the design do not permit to clip over them to read/write to them.
__________________
Steve

Please use code tag when you post a code here.
[code] paste your code here [/code]

Last edited by mister_e; - 31st December 2005 at 10:31.
Reply With Quote
  #9  
Old - 31st December 2005, 17:59
bartman bartman is offline
Registered User
 
Join Date: Nov 2004
Location: Saskatchewan Canada
Posts: 189
Default

I found the clip in the Digi-Key catalog. It's about twice the money of the adapter.

Are you saying that I would just build my circuit with the SMD PIC in place then clamp this on and program that way?

I would solder the ribbon cable from each pin on the clip to the corresponding pins on a DIP socket, no other parts required?

What if I have not so great solder connections on my board and the clip doesn't fit well? Odds are they are not going to be fantastic joints with a tiny amount of solder. I don't have the proper equipment to make such a nice joint on something so small.

Bart
Reply With Quote
  #10  
Old - 4th January 2006, 22:55
Zeke
Guest
 
Posts: n/a
Default

I've done this with a 12F629 also. I just used the adapter that you show (or similar) that I picked up at Digi-key for about $8 CDN and held it down with a pencil while programming. I did end up soldering it to the adapter so that I could set it up in a prototype board which made it easier to re-program (over and over again!). When I was done, I just de-soldered it and put it in to my final circuit.

Good Luck!
Reply With Quote
  #11  
Old - 5th January 2006, 01:35
mister_e's Avatar
mister_e mister_e is offline
Registered User
 
Join Date: Sep 2004
Location: montreal, canada
Posts: 6,105
Default

Well i was talking about to use that clip to program your PIC while not on the PCB ... to program before soldering on the PCB for the final step....but it could work... maybe not for the reason you said.

SO you can even leave some testpoint (or programming points... ) on the PCB, then solder few wire wich will goes directly to your programmer. That's more than feasable and allow to update your program if it needs to... one day or another.
__________________
Steve

Please use code tag when you post a code here.
[code] paste your code here [/code]
Reply With Quote
  #12  
Old - 5th January 2006, 23:53
bartman bartman is offline
Registered User
 
Join Date: Nov 2004
Location: Saskatchewan Canada
Posts: 189
Default

Okay, but if I didn't have room for the programming points would this clip work to program something right on the board or does that kind of in-circuit programing require extra hardware in the cable to work properly?

IF it is just a matter of going pin to pin from the programmer to the clip and it is somewhat forgiving on the soldering this may be a good idea for me instead of the adapter.

BUT if it takes a bunch of extra parts to make it work other than the clip then the adapter is still my best bet.

Bart
Reply With Quote
  #13  
Old - 6th January 2006, 01:33
Darrel Taylor's Avatar
Darrel Taylor Darrel Taylor is offline
Asst_Admin
 
Join Date: Jul 2003
Location: California
Posts: 3,545
Default

Steve's picture looked familiar. So I thought I'd show my programming cable for 12F629/675/683 etc.
The molex end plugs into my EPIC programmer

You can just stick the chip in it directly.

Or clip it on a chip on a PC board.

Works great.

__________________
DT
Reply With Quote
  #14  
Old - 6th January 2006, 01:50
bbarney bbarney is offline
Registered User
 
Join Date: Nov 2004
Posts: 107
Default

Now you guy's got me wanting one too.So what would be the best size clip to get to cover most every chip.A 16 pin Clip ?
Reply With Quote
  #15  
Old - 6th January 2006, 02:03
bartman bartman is offline
Registered User
 
Join Date: Nov 2004
Location: Saskatchewan Canada
Posts: 189
Default

Okay, so no extra parts and I can do this right on my board without affecting anything on that board like buzzers or LED's, etc.?

Just clip and go.

I like that.

Bart
Reply With Quote
  #16  
Old - 6th January 2006, 05:26
Darrel Taylor's Avatar
Darrel Taylor Darrel Taylor is offline
Asst_Admin
 
Join Date: Jul 2003
Location: California
Posts: 3,545
Default

bartman,

Well, it's almost that easy. But, the circuit still has to be designed to not interfere with the ICSP signals. In the third picture, behind the clip, you can almost see a 3 position dip switch. With all switches open, the ICSP pins are disconnected from the rest of the circuit. Then during normal operation, the switches serve as Mode Select inputs.

That's just one way, though. You can do it without switches, as long as there are good sized resistors inbetween the pins and the rest of the circuit, and not much capacitance.



bbarney,

Good question ...


__________________
DT
Reply With Quote
  #17  
Old - 6th January 2006, 05:44
bartman bartman is offline
Registered User
 
Join Date: Nov 2004
Location: Saskatchewan Canada
Posts: 189
Default

Thanks. I won't have room for any kind of switch, but then got to thinking the clip might still be best for me anyway. I can program it then plug the DIP into my breadboard to ensure the program works before soldering the PIC into place and finding out it was having issues then. Future projects will probably have more space to do it properly.

Bart

Last edited by bartman; - 6th January 2006 at 05:49.
Reply With Quote
  #18  
Old - 6th January 2006, 07:08
Darrel Taylor's Avatar
Darrel Taylor Darrel Taylor is offline
Asst_Admin
 
Join Date: Jul 2003
Location: California
Posts: 3,545
Default

Perfect! I think that's what Steve had in mind too. Post #6



P.S. I found that clip in a junk bin at the local electronics store. They wanted $2.00 for it.
Decisions that easy, don't come along very often.

__________________
DT
Reply With Quote
  #19  
Old - 6th January 2006, 14:52
bartman bartman is offline
Registered User
 
Join Date: Nov 2004
Location: Saskatchewan Canada
Posts: 189
Default

To be lucky to have such a store here!

Bart
Reply With Quote
  #20  
Old - 6th January 2006, 21:50
mister_e's Avatar
mister_e mister_e is offline
Registered User
 
Join Date: Sep 2004
Location: montreal, canada
Posts: 6,105
Default

Quote:
Originally Posted by bbarney
Now you guy's got me wanting one too.So what would be the best size clip to get to cover most every chip.A 16 pin Clip ?
I have one for each model. Not cheap but decrease the chance to do mistake. BUT the ICSP connector or 'test-point' is still the cheapest way.
__________________
Steve

Please use code tag when you post a code here.
[code] paste your code here [/code]
Reply With Quote
  #21  
Old - 7th January 2006, 00:07
bbarney bbarney is offline
Registered User
 
Join Date: Nov 2004
Posts: 107
Default

thank's Mister E
Bart here'a a good pdf on smd part sizes,might help you out
Attached Files
File Type: pdf smdman.pdf (131.6 KB, 118 views)
Reply With Quote
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On



All times are GMT +1. The time now is 04:12.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Copyright © Crownhill Associates Limited 2009 . All Rights Reserved