PIC Series minimum system board



A. INTRODUCTION

        First time I learn the PIC series microcontroller is the PIC16F84 type. Then as time goes by the generation follow, PIC16F84A, then PIC16F628 and the last PIC16F628A type. Usually, I made a board for any purpose depends on the project, and never used a universal one. This time I will introduce the minimum system board to experiment with any project. This project board base on my experiment before and from any reference books and from the net. First time I programmed the chip using a board as a book bonus called El-Cheapo programmer, made by : Myke Predko. The link also can be found at rentron site. This board programmer used LPT printer parallel port interface. Using it is very-very nice. But the PIC chip must be put on and remove many times, besides that I only use 18 pin socket only. The other socket are useless. May be for the next project. Many computer design lately, already omitted this parallel interface, but for serial interface, it still there. This project board use serial interface.

B. SCHEMATIC
 
        As usual I start my design from my experience design before, and from the book that I learned. This schematic follow the schematic design by Martin Penev and others experiment out there. Interface using serial port only connected to 3 lines (5 lines infact) of PIC, ie: RB-6 as clock line, RB-7 as data line, and MCLR as Vpp line (this called ICSP programming). So another output are free from connecting. It took 2x6 headers to change over the jumpers when the state in programming mode or in running mode. Also add a push button to reset the board when using in running mode.



Here is the schematic board (pic_min_sys_S.sch, pic_min_sys_schematic.pdf)

D. PCB LAYOUT

        Because the circuitry do not much have devices, PCB for this minimum system board could be done with size 5.5x6.5 cm. Small enough for the experimenter board. The layout could be drawn using hand drawing also or you can use toner transfer paper. My own prototype made using a hand drawing.





Here are the PCB design and the PCB layout (pic_min_sys_P.pcb, pic_min_sys_layout.pdf, pic_min_sys_artwork.pdf)

E. PART LISTS

        Part list for this ISP minimum system board are :

   1. Resistors :
      R1 = 10 kOhm ............................................................ 1 pcs
      R2~R4 = 4.7 kOhm......................................................... 3 pcs
   2. Capasitors :
      C1,C2 = 22 pF ........................................................... 2 pcs
      C3 = 100 nf ............................................................. 1 pcs
      C4, C5 = 100 uF/16 V .................................................... 2 pcs
   3. Semiconductors :
      IC1 = PIC16F84/A (PIC Microcontroller) .................................. 1 pcs
      IC2 = 7805 (Variabel Regulator) ......................................... 1 pcs
      BD = 4 x 1N4007 (silicon diode) ......................................... 4 pcs
   4. Others :
      Optional IC socket for 18-pins .......................................... 1 pcs
      SIP connector, 8-pins ................................................... 2 pcs
      SIP connector, 5-pins (ISP cable) ....................................... 1 pcs
      SIP connector, 2-pins (power supply) .................................... 1 pcs
      Miniature push button  .................................................. 1 pcs
      Header 2x6 connector with jumpers ....................................... 1 pcs
      X'tal = 4 MHz ........................................................... 1 pcs
      DB-9 connector type (male) with housing ................................. 1 pcs
      Single layer PCB, size about 5.5cm x 6.5cm .............................. 1 pcs
      Transformer P=220V, S=9~12V/0.5A (Adaptor) .............................. 1 pcs

F. SOFTWARE

        Software available for this ICSP programming :

  1. PIC-Prog software (175.155 Bytes), made by : Martin Penev, last update could be found at : PIC-Prog programmer site. But I think this never been update anymore.
     
  2. IC-Prog software (582.447 Bytes), ver 1.06B (went I bump in to), made by : Bonny Gijzen. Very good software, thanks to him. It can also accepted LPT parallel version programmer, last update could be found at : IC-Prog programmer site.

G. ICSP CABLE

        ICSP cable is a self made type, using serial connection cable. The 3 resistors were put inside the connector, to simplyfied the PCB layout and to reduce the wiring option. By doing this, only 3 wires needed include 1 shielded for grounding. Besides that, every board can save these 3 resistors. The connection layout like this :






H. PROTOTYPE

        My prototype board has size of about (5.5 x 6.5) cm single side PCB. This is a small possible size that make it comfortable to use and making it using a hand drawing layout. All it takes are a small PCB with 14-pins PIC series microcontroller, a DIY parallel cable, and a wallwart small power supply type. PIC16F677/A type needs a bigger PCB layout, and the ISP connection pin also different with the others. Refer to the data book! All I/O connections using 8-pins SIP connectors. And also watch out the 6 jumpers in the center, each 3 jumpers correspond to write position or run position. Please mark it! It takes worth to experiment with this type of microcontroller anyway. The complete package can be obtain here.









I. APPLICATION

  1. This is a sample program how to use this PIC microcontroller board. Simple program how to output a sound to a small speaker. Speaker tied to PA-4, and +5V - Vcc. Just to experiment with. 




No comments:

Post a Comment

Labels

PROJECTS 8086 PIN CONFIGURATION 80X86 PROCESSORS TRANSDUCERS 8086 – ARCHITECTURE Hall-Effect Transducers INTEL 8085 OPTICAL MATERIALS BIPOLAR TRANSISTORS INTEL 8255 Optoelectronic Devices Thermistors thevenin's theorem MAXIMUM MODE CONFIGURATION OF 8086 SYSTEM ASSEMBLY LANGUAGE PROGRAMME OF 80X86 PROCESSORS POWER PLANT ENGINEERING PRIME MOVERS 8279 with 8085 MINIMUM MODE CONFIGURATION OF 8086 SYSTEM MISCELLANEOUS DEVICES MODERN ENGINEERING MATERIALS 8085 Processor- Q and A-1 BASIC CONCEPTS OF FLUID MECHANICS OSCILLATORS 8085 Processor- Q and A-2 Features of 8086 PUMPS AND TURBINES 8031/8051 MICROCONTROLLER Chemfet Transducers DIODES FIRST LAW OF THERMODYNAMICS METHOD OF STATEMENTS 8279 with 8086 HIGH VOLTAGE ENGINEERING OVERVOLATGES AND INSULATION COORDINATION Thermocouples 8251A to 8086 ARCHITECTURE OF 8031/8051 Angle-Beam Transducers DATA TRANSFER INSTRUCTIONS IN 8051/8031 INSTRUCTION SET FOR 8051/8031 INTEL 8279 KEYBOARD AND DISPLAY INTERFACES USING 8279 LOGICAL INSTRUCTIONS FOR 8051/8031 Photonic Transducers TECHNOLOGICAL TIPS THREE POINT STARTER 8257 with 8085 ARITHMETIC INSTRUCTIONS IN 8051/8031 LIGHTNING PHENOMENA Photoelectric Detectors Physical Strain Gage Transducers 8259 PROCESSOR APPLICATIONS OF HALL EFFECT BRANCHING INSTRUCTIONS FOR 8051/8031 CPU OF 8031/8051 Capacitive Transducers DECODER Electromagnetic Transducer Hall voltage INTEL 8051 MICROCONTROLLER INTEL 8251A Insulation Resistance Test PINS AND SIGNALS OF 8031/8051 Physical Transducers Resistive Transducer STARTERS Thermocouple Vacuum Gages USART-INTEL 8251A APPLICATIONs OF 8085 MICROPROCESSOR CAPACITANCE Data Transfer Instructions In 8086 Processors EARTH FAULT RELAY ELECTRIC MOTORS ELECTRICAL AND ELECTRONIC INSTRUMENTS ELECTRICAL BREAKDOWN IN GASES FIELD EFFECT TRANSISTOR (FET) INTEL 8257 IONIZATION AND DECAY PROCESSES Inductive Transducers Microprocessor and Microcontroller OVER CURRENT RELAY OVER CURRENT RELAY TESTING METHODS PhotoConductive Detectors PhotoVoltaic Detectors Registers Of 8051/8031 Microcontroller Testing Methods ADC INTERFACE AMPLIFIERS APPLICATIONS OF 8259 EARTH ELECTRODE RESISTANCE MEASUREMENT TESTING METHODS EARTH FAULT RELAY TESTING METHODS Electricity Ferrodynamic Wattmeter Fiber-Optic Transducers IC TESTER IC TESTER part-2 INTERRUPTS Intravascular imaging transducer LIGHTNING ARRESTERS MEASUREMENT SYSTEM Mechanical imaging transducers Mesh Current-2 Millman's Theorem NEGATIVE FEEDBACK Norton's Polarity Test Potentiometric transducers Ratio Test SERIAL DATA COMMUNICATION SFR OF 8051/8031 SOLIDS AND LIQUIDS Speed Control System 8085 Stepper Motor Control System Winding Resistance Test 20 MVA 6-digits 6-digits 7-segment LEDs 7-segment A-to-D A/D ADC ADVANTAGES OF CORONA ALTERNATOR BY POTIER & ASA METHOD ANALOG TO DIGITAL CONVERTER AUXILIARY TRANSFORMER AUXILIARY TRANSFORMER TESTING AUXILIARY TRANSFORMER TESTING METHODS Analog Devices A–D BERNOULLI’S PRINCIPLE BUS BAR BUS BAR TESTING Basic measuring circuits Bernoulli's Equation Bit Manipulation Instruction Buchholz relay test CORONA POWER LOSS CURRENT TRANSFORMER CURRENT TRANSFORMER TESTING Contact resistance test Current to voltage converter DAC INTERFACE DESCRIBE MULTIPLY-EXCITED Digital Storage Oscilloscope Display Driver Circuit E PROMER ELPLUS NT-111 EPROM AND STATIC RAM EXCITED MAGNETIC FIELD Electrical Machines II- Exp NO.1 Energy Meters FACTORS AFFECTING CORONA FLIP FLOPS Fluid Dynamics and Bernoulli's Equation Fluorescence Chemical Transducers Foil Strain Gages HALL EFFECT HIGH VOLTAGE ENGG HV test HYSTERESIS MOTOR Hall co-efficient Hall voltage and Hall Co-efficient High Voltage Insulator Coating Hot-wire anemometer How to Read a Capacitor? IC TESTER part-1 INSTRUMENT TRANSFORMERS Importance of Hall Effect Insulation resistance check Insulator Coating Knee point Test LEDs LEDs Display Driver LEDs Display Driver Circuit LM35 LOGIC CONTROLLER LPT LPT PORT LPT PORT EXPANDER LPT PORT LPT PORT EXTENDER Life Gone? MAGNETIC FIELD MAGNETIC FIELD SYSTEMS METHOD OF STATEMENT FOR TRANSFORMER STABILITY TEST METHODS OF REDUCING CORONA EFFECT MULTIPLY-EXCITED MULTIPLY-EXCITED MAGNETIC FIELD SYSTEMS Mesh Current Mesh Current-1 Moving Iron Instruments Multiplexing Network Theorems Node Voltage Method On-No Load And On Load Condition PLC PORT EXTENDER POTIER & ASA METHOD POWER TRANSFORMER POWER TRANSFORMER TESTING POWER TRANSFORMER TESTING METHODS PROGRAMMABLE LOGIC PROGRAMMABLE LOGIC CONTROLLER Parallel Port EXPANDER Paschen's law Piezoelectric Wave-Propagation Transducers Potential Transformer RADIO INTERFERENCE RECTIFIERS REGULATION OF ALTERNATOR REGULATION OF THREE PHASE ALTERNATOR Read a Capacitor SINGLY-EXCITED SOLIDS AND LIQUIDS Classical gas laws Secondary effects Semiconductor strain gages Speaker Driver Strain Gages Streamer theory Superposition Superposition theorem Swinburne’s Test TMOD TRANSFORMER TESTING METHODS Tape Recorder Three-Phase Wattmeter Transformer Tap Changer Transformer Testing Vector group test Virus Activity Voltage Insulator Coating Voltage To Frequency Converter Voltage to current converter What is analog-to-digital conversion Windows work for Nokia capacitor labels excitation current test magnetic balance voltage to frequency converter wiki electronic frequency converter testing voltage with a multimeter 50 hz voltages voltmeter

Search More Posts

Followers