18 Pin PIC Development Board

Introduction: 18 Pin PIC Development Board

I have long been playing with Microchip PICs but have always made do without some form of development board. To that end I have designed a basic board that I was hoping to get some input for. I haven't yet made this board as I am waiting for some kit to turn up to finish it off and make it, however I thought others may be in a position to use or modify it.

Step 1: Project Requirements

The requirements for me were to have 8 LEDs and switches that were not tied to a port or pin, but had jumpers to allow full selection of which port/pin to connect to. Optional use of an external crystal, so the option of using a PICs internal RC oscillator was possible. Finally a ICSP header so that the PIC wouldn't need removal to be programmed.

The board needed to be single sided as I don't have the facilities or patience to go double!

The ICSP header circuit was used from Best Microcontroller Projects.

Step 2: Design Files, Parts List, Construction Guide

I have attached the Eagle files for the design.

With the board, to be able to maintain a single side, there are seven wire links. I have tried to keep them short so you should be able to use wasted legs from the resistors etc.

The parts list:

R1-R8 150R (based on 2V forward voltage and 20mA)
R9-R16 1k
R25-28 10k

C1,C2 20pF Ceramic
C3,C4 10uF 16v Electrolitic

D1,D2 1N4148
IC1 PIC 16F62(7/8) (in DIL Socket)
IC2 7805

SW1-SW9 Push to make switch (RS part 378-6729)

SV5,7,8 are pin headers, the rest are female to allow single core wire to be inserted for linking.

Construction should be reasonably simple should you have experience soldering. I think there are guides on here to help you with that if you haven't. Starting with the smaller components work up to the larger ones. I would start with the links, R26-28, D1 & 2, then the switches & DIL socket, remaining resistors, crystal, capacitors, LEDs (noting polarity), SV headers and sockets, IC2 and the DC Jack.

Once built, before adding the PIC, plug in a 9-12v power supply and check that you have 5v on output of IC2 and on pin 14 on IC1 socket and nothing on any other pin. If you haven't got 5v check soldering for dry joints on the DC Jack, IC2 and IC1. If you have 5v on any other pin on IC1 check for soldering linking tracks or poor etching where tracks are still connected.

Step 3: Usage

The basic use is so that if you wanted (for example) LED1 on RB3 and SW3 on RA2, you would put a jumper cable on SV3 pin4 (SV3/4) to SV4 pin1 (SV4/1) and SV2/3 to SV6/3.

The RA/RB Port sockets are set so that Pin1 is Rx0, Pin2 is Rx1 and so on. The same is true of the LEDs and switches, Pin1 is the first LED/Switch and Pin8 is the last.

To use the crystal a link needs to be made between SV1/1 to SV2/7 and SV1/3 to SV2/8.

SW9 allows the reset of the circuit.

SV8 pin layout, the ICSP header, is:
1 - VPP/MCLR
2 - VDD -> Not used
3 - GND
4 - PGD
5 - PGC
6 - PGM -> Not used

If you notice anything wrong with the circuit or something that could be changed for the better let me know.

I hope this is of some help to people, once I have made it I will update this with a picture guide to constructing and using it.

Be the First to Share

    Recommendations

    • Game Design: Student Design Challenge

      Game Design: Student Design Challenge
    • Big and Small Contest

      Big and Small Contest
    • For the Home Contest

      For the Home Contest

    9 Comments

    0
    smartroad
    smartroad

    Reply 9 years ago on Introduction

    There is no code for this. I orignally developed this to help with creating code, although I have since moved over to the arduino as it was simpler than programming PICs.

    Basically this is a 'dumb' board to program the chips with an icsp and help check IO operations with the buttons and leds.

    0
    robot1398
    robot1398

    11 years ago on Introduction

    do i just copy paste the code to the programming software

    0
    tony54
    tony54

    13 years ago on Introduction

    Would you change the schematic so that when I click on it it zooms in enough to be able to read the pin numbers or add a much larger copy of the schematic so that I can read the pin numbers or add it to another page ?

    Can you tell me what program created the files & what program is needed to view them ?

    I don't have a program that can view SCH or BRD files and I don't know what program uses those extensions. I've heard there are several different ones that use SCH but ORCAD is the only one I know for sure and it's over $1000 program. Is there a freeware viewer for these files that can be printed or at lease viewed and I'll copy & paste it to a program to print it out.

    Can you add it in a GIF or PDF format so I can view it & print it ?

    0
    tmwaddel
    tmwaddel

    13 years ago on Step 2

    I was just looking for RS part 378-6729 and wasn't able to find it. Does RS stand for Radio Shack or is it another electronic supply store? Thanks.

    0
    tony54
    tony54

    13 years ago on Introduction

    Main,BRD Main.SCH don't download the right file, it downloads a TMP file instead. Please fix it or add a GIF of the PCB & schematics. Thanks for posting this project.

    0
    smartroad
    smartroad

    Reply 13 years ago on Introduction

    Just need to change the TMP extension to either BRD to SCH depending on which you have downloaded. It seems to be something to do with the way Instructables stores files. I'll look into a more permanent fix :)

    0
    roadieflip
    roadieflip

    13 years ago on Introduction

    This is a cracking idea... I received my arduino a couple of weeks back, and i think I'll make a button/pot/led shield with jumpers to select them instead of using breadboards... I'll post something when I'm done. Thanks for the inspiration.