+ Reply to Thread
Results 1 to 21 of 21

Thread: Down and dirty way to use a SMD PIC with a DIP programmer?

  1. #1
    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

  2. #2
    Join Date
    Mar 2003
    Location
    Commerce Michigan USA
    Posts
    536

    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,

  3. #3
    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

  4. #4

    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

  5. #5
    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

  6. #6
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,108

    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 Attached Thumbnails Click image for larger version

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

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

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

  8. #8
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,108

    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.
    Last edited by mister_e; - 31st December 2005 at 09:31.
    Steve

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

  9. #9
    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

  10. #10
    Zeke Guest

    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!

  11. #11
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,108

    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]

  12. #12
    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

  13. #13
    Join Date
    Jul 2003
    Location
    California
    Posts
    3,879

    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

  14. #14
    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 ?

  15. #15
    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

  16. #16
    Join Date
    Jul 2003
    Location
    California
    Posts
    3,879

    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

  17. #17
    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 04:49.

  18. #18
    Join Date
    Jul 2003
    Location
    California
    Posts
    3,879

    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

  19. #19
    Join Date
    Nov 2004
    Location
    Saskatchewan Canada
    Posts
    189

    Default

    To be lucky to have such a store here!

    Bart

  20. #20
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,108

    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]

  21. #21
    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

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts