3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

My Top Ten Most Useful Breadboard Tips and Tricks

Step 7For my fellow PIC-heads: Breadboard with built in ICSP

For my fellow PIC-heads: Breadboard with built in ICSP
«
  • Breadboard tips (20).jpg
  • Breadboard tips (21).jpg
  • Breadboard tips (22).jpg
  • Breadboard tips (23).jpg
  • pics.jpg
Microcontrollers are being incorporated in a growing number of DIY projects. During the development process, a chip may have to be reprogrammed many times.

I don't know if the same thing applies to AVR's, but most every 8 and 14-pin PIC (as well as many of the 20 pin ones) share the same pinout for the programming lines. So I have dedicated a breadboard just for development of these PIC's.

The technique here is the same as that used to connect the power/ground buses. After peeling away some of the backing, you can permanently wire your programming connections and port them out to a standard header. You can also connect your power and ground pins to the appropriate rails and add a chip capacitor while you're in there.

You'll also notice some extra circuitry next to the programming header. Well, the same pins that are used for ICSP can also be used by the micro as normal input/output pins or other functions. If you are using those pins in your project, then you may very well have to connect/disconnect your programming cable each and every time you change and update your code. I have found, for instance, that the PICKit2 programmer holds the programming lines low when the programmer is inactive. Rather than put up with this, I have connected the data and clock lines through signal relays which are only closed when the programmer supplies power to the Vdd rail. The power goes through a rectifier diode so that when only external power is used the relays remain open. The HVP line doesn't get a relay to itself. Instead it is simply diode rectified, so that when it is not active it does not pull the MCLR line low. There is also a programming button at the top left of the board. This simple Instructable shows how I did that: http://www.instructables.com/id/PICKIT2-programming-button-mod/

*Edit: Since publishing this, I've been informed and have also personally confirmed that the Vpp line on a PICKit2 becomes high impedance when inactive, so it does not actually need to be diode-rectified for circuit-isolation; all I have achieved is to remove the ability of the programmer to do a hardware reset of the MCLR line (which hasn't bothered me so far). Oh, well.. I needed a jumper for my pcb, anyway, and the diode was the perfect size. :P

**update: wow, that method of clock/data isolation is sooo last year. Check out the latest pic.

« Previous StepDownload PDFView All StepsNext Step »

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
80
Followers
32
Author:klee27x