Experiment_20_PIC - Basic Microprocessors Operations MCU...

Info icon This preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
Basic Microprocessor’s Operations: MCU for Dummies’ 1. Objective of Experiment This experiment aims to help understand how a microprocessor works, by implementing simple applications using the PIC16F84, a single chip microprocessor in the PIC family of controllers, produced by Microchip Technology. 2. Example Applications 2.1. LED Control Program Using the PIC16F84 microcontroller, a simple control program to enable or disable the LEDs (light- emitting diodes) is written and the corresponding circuit is constructed. Throughout this exercise with regard to software and hardware building, the development environment of the PICs, the way to use the assembler and the ROM writer, and the basic circuit construction of the PIC16F84 processor can be understood. 2.2. Digital Dice A device for showing numerical information on the 7-segment LED display is developed using the PIC16F84. Here, a switch is used as the device’s input component and a group of seven LEDs as the output component. Although the ultimate device to develop is a digital dice, a device simply displaying a given number on the seven LEDs when the switch is ‘closed’ is implemented first, so that one can quickly learn how to control the 7-segment LED display. After this, a digital dice that displays in random the number from 1 to 6 on the 7-segment LEDs is built. 3. Experiment Equipments and Parts 3.1. LED Control Program PC, Breadboard, Power Supply, ROM Writer, PIC16F84, Crystal Oscillator (4MHz), Switch, LEDs, Resistors (330 , 10K ) 3.2. Digital Dice PC, Breadboard, Power Supply, ROM Writer, PIC16F84, Crystal Oscillator (4MHz), Switch, 7-segment LED, Resistors (330 , 2.2K , 10K )
Image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon