"YAP-II" Programmer



The original YAP programmer came about as I was working through the first edition of the book, trying to come up with a PICmicro® MCU programmer that would work on a wide variety of different PCs. When I started the project, I found that it wasn't hard to create a programmer that would work on one PC, using its own internal timing, but any time I tried the design out on another PC I found that it wouldn't work. The El-Cheapo design and PCB that is provided in this book is a continuation of this work, with a much more effective design. 


The YAP-II is designed to connect to a PC or workstation via its RS-232 port and program devices at 1200 bps ("8-N-1"). This data rate allows applications to be programmed into a PIC16F84 in about two minutes, which is no where near as fast as some of the designs available on the internet; but I can guarantee that it will work on every PC out there with an RS-232 port. 


Click Here to access the source code on the CD-ROM. 


The YAP-II connects to a PC/Workstation RS-232 Port using a "Straight Through" cable with a 9 pin male "D-Shell" connector for the YAP-II. A 15+ Volt AC/DC ("Wall Wart") Power Supply with a 2.5 mm "Power Plug" is required for powering the programmer. For Microsoft "Windows" PCs, I have created a GUI interface that can be loaded into the PC by clicking Here


When I designed the application, I wanted it to include the necessary peripherals (ie LEDs and buttons) that the Experiments presented in this book could be run on it. This has resulted in a fairly large PCB that incorporates the programmer hardware, the peripherals and a small breadboard that can be used to test out the application. The programmer circuit is shown in the yap-ii.pdf file. The peripheral functions can be found in the yap-iiac.pdf file. 


The bill of materials for the YAP-II is listed in the table below.

Part Description
U1 PIC16C711-20/P Programmed with YAP-II Software
U2 18 Pin Socket/ZIF Socket
U4 78L12 +12 Volt Regulator in a TO-92 Package
U5 Maxim MAX232 RS-232 Interface
U6 7805 +5 Volt Regulator in a TO-92 Package
U7 ECS Programmable Oscillator OECS-160-3-C3X1A (Digi-Key Part Number XC307-ND)
CR1 - CR3 1N914 Silicon Diode
CR4 1N4001 Silicon Diode
LED1 - LED2 5mm LED, Any Type
LED3 10 LED "Bargraph" Display
Q1, Q6 2N3906 PNP Bipolar Transistors
Q2 2N3904 NPN Bipolar Transistor
Q5 2106A P-Channel MOSFET (Digi-Key Part Number: ZVP2106A-ND)
R1, R3, R7 10K, 1/4 Watt Resistors
R2, R6 220 Ohm, 1/4 Watt Resistors
R5, R10, R13 330 Ohm, 1/4 Watt Resistors
R8, R9, R15 - R17 1K, 1/4 Watt Resistors
POT1 - POT2 10K, Single Turn PCB Mount Potentiometer (Digi-Key Part Number: 3310Y-1-103-ND
SIP1 - SIP2 220 Ohm, x9 Common Pin SIP
C1 - C2 0.1 uF Capacitors (Any Type)
C3 - C4, C7 - C9 1.0 uF Capacitors (Any Type)
C5, C6 10 uF, 35 Volt, Electrolytic Capacitors
CSPKR 0.47 uF, 16 Volt, Tantalum Capacitor
SPKR Piezo Speaker (Digi-Key Part Number: P9922-ND)
SW1 SPDT PCB Mount Switch
RST, BUT1, BUT2 Momentary On, PCB Mount Push Buttons
J1 2.5 mm PCB Mount Power Socket
J2 9-Pin Female PCB Mount D-Shell
J3, J5 19x1 Female IDC Connector
J4 5x1 Female IDC Connector
Miscellaneous PCB Board, Serial Cable, Power Supply
The commands for the YAP-II are listed in the table below:

Command Action
A "Ping" - Return Carriage Return/Line Feed
B Reset the Program Counter to 0
C Clear the Flash based PICmicro MCU's Program Memory
D Dump 256 Instructions of Program Memory at the current Program Counter's Address. Add 256 to the Program Counter when done.
E EPROM Part Programming - "Text Send" the Application's Hex File
F Flash Part Programming - "Text Send" the Application's Hex File
G Get Eight Instructions Starting at Address 0x02000
1, 2, 4, 8 Run the PICMicro MCU at the Specified Speed in MHz
The nineteen pin connector wired to the PICmicro MCU is defined as:

Pin Function
1 Gnd
2 Vcc
3 _MCLR - No High Programming Voltage
4 YAP-II Oscillator
5 Serial Input
6 Serial Output
7 - 11 RA0 to RA4
12 - 19 RB0 to RB7. Note: RB6 and RB7 cannot be loaded during programming operation
The nineteen pin connector wired to the peripheral (accessory) devices is defined as:
Pin Function
1 - 10 LED1 - LED10
11 BUT1
12 BUT2
13 POT1
14 POT2 Wiper
15 POT2 Connection 1
16 POT2 Connection 2
17 Speaker
18 - 19 Pull Up 1 - Pull Up 2

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