Experiments



I have tried to make the experiments as easy as possible for you to build on your own. As I describe the text, I have tried to keep the hardware used as similar as possible to avoid the need of radically changing circuits between experiments. Included along with the circuit schematics, I have included wiring diagrams for wiring the applications to "breadboards" and the "YAP-II" programmer as well as the "EMU-II" device emulator. 

The experiments are primarily designed for the PIC16F84, but they be modified for use with other PICmicro® microcontrollers including the PIC16F876/PIC16F877. 


The experiments can also be implemented using other hardware and development tools without significant modifications. The only important point to note is that devices like Microchip's "MPLAB-ICD" emulator should have the source code modified so that PORTB in the application is changed to PORTD to allow full use of an eight bit I/O port without having to modify the application code to split full byte data across RB0-RB5 and some other port's pins. 


The first seventeen experiments are all "simulator" based and are designed to show different aspects of the PICmicro's execution. The remaining twenty eight will require the hardware that is described below.

If you have not yet copied the applications onto your PC's harddisk, then click Here to jump to the setup page. This page will allow you to either automatically copy in the files that are required for the book or show you how they can be copied in manually. 


For all the experiments, a PC will be required to run the MPLAB IDE. This PC must have the following minimum characteristics:


Feature Required Characteristic
Operating System Windows 95/98/Me/NT/2000 for MPLAB.
Linux for gpasm/gpsim tools
Internet Connection Able to access listed web pages using Microsoft Internet Explorer/Netscape Navigator.
Email capability
pdf File Browser Adobe "Acrobat" Version 4.0 or later
Processor Intel Pentium II (or equivalent) running at 200 MHz or more
SDRAM (Main) Memory 64 MBytes or More
Video SVGA capable of displaying 1024 by 768 pixels.
2 MBytes or More of VRAM
Harddisk Space 500+ MBytes of free space for applications/development tools
CD-ROM
Mouse Three Button Mouse or "Intellimouse" not required
Serial Port Free "COM" Port (no modem/mouse) connections
Parallel Port Standard free "LPT" for "El Cheapo" programmer

Along with the PC, the following tools will be required:


Tool Characteristics
PC As described above
PICmicro® MCU programmer Able to program 14, 18, 28 pin parts
Digital Multimeter Three digit accuracy acceptable
+5 Volt application power supply 100 mA to 1 A required. "Crobarring" or other form of automatic power shutoff recommended
Breadboard 30 rows of pins minimum
20-guage solid core copper wire For breadboard wiring - can be pre-stripped
Wire Clippers Small size for electronics work
Wire Strippers Designed for small diameter wire
Needlenose Pliers Small size for electronics work
Flat bladed screwdriver Small enough to pry up PIC16F84 part from breadboard
Parts The following table lists the required parts

To build and test the experiments, the parts listed in the following table are required. In some cases, the YAP-II or EMU-II built in hardware will provide the required parts - I have indicated where this is true in the table below:


Part Quantity Description
Microchip PIC16F84-04/P, PIC16F876-04/P or PIC16F877-04/P 3 Three individual parts required for PowerUp experiment
Microchip PIC16C505-JW 1 Used to test different PICmicro MCU oscillator operation.
"Windowed" part
Microchip PIC16C711-JW 1 If PIC16F876 or PIC16F877 used not required.
"Windowed" part
Microchip PIC16C73B-JW 1 If PIC16F876 or PIC16F877 used not required.
"Windowed" part
Dallas Semiconductor DS275 or DS1275 1 RS-232 Level converter
Maxim MAX232 (or equivalent) 1 RS-232 Level converter
2N3904 NPN Transistors 2 In TO-92 package
2N3906 PNP Transistor 1 In TO-92 package
4 MHz Ceramic resonator 1 Recommend device with built in capacitors
4 MHz Parallel cut crystal 1
Red 5.0 mm LEDs 2 Not required if YAP-II or EMU-II is used for the experiments
Red 10 LED bargraph display 1 Not required if YAP-II or EMU-II is used for the experiments
27 to 33 pF ceramic disk capacitors 2 For use with the 4 MHz Parallel cut crystal
0.1 uF Tanalum capacitors 2 For decoupling PICmicro MCU and for use with ADCLess
1.0 uF Tanalum capacitors 5 For use with the MAX232 RS-232 level converter
10-K Potentiometer 1 Any type.
Not required if YAP-II or EMU-II is used for the experiments
220 Ohm, 1/4 Watt Resistors 10 Not required if YAP-II or EMU-II is used for the experiments
330 Ohm, 1/4 Watt Resistors 2
1-K, 1/4 Watt Resistor 1
2.2-K, 1/4 Watt Resistors 2
3.3-K, 1/4 Watt Resistors 2
4.7-K, 1/4 Watt Resistors 2
10-K, 1/4 Watt Resistors 2 Labelled "Pull ups" in Text
Female 9-Pin D-Shell connector 1 "Solder Tail" connector. Check text for wiring to the breadboard
"Momentary On" Pushbutton switch 2 Check text for modifications for using with breadboard.


Not required if YAP-II or EMU-II is used for the experiments


All the applications and code presented in this book are copyright (&cpr;) Myke Predko, 2000. The applications are provided for individual use only and cannot be reproduced for commercial use without my written permission.

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