Find the latest PIC16F84A Microcontroller based Projects for Engineering students. 20+ PIC16F84A Projects topics with basic explanation. Microchip PIC16F84A microcontroller projects with circuit schematics and C PIC C compiler. Perhaps the most popular microcontroller ever is the PIC16F This site covers a number of projects based around this and similar.
|Published (Last):||11 April 2006|
|PDF File Size:||13.19 Mb|
|ePub File Size:||16.46 Mb|
|Price:||Free* [*Free Regsitration Required]|
This simple circuit functions as a 12 LED chaser. The circuit has been constructed on a PCB but can easily be built on strip-board, or a solderless breadboard. Although the PIC 16F84A is really obsolete and I wouldn’t normally do a project using it, this chip is used extensively throughout education and for many people this will still be their projcts step into the world of PICs.
A PIC16F84 Introduction.
I’ve also written a version for the PIC16FA which is a pin compatible replacement for the 16F84A and I would recommend that if you intend to develop your interest proejcts PIC projevts you start using this device rather than the 16F84A. Please note that the 16F84 and 16F without the ‘A’ suffix are not suitable for this project. You must use the 16F84A or 16FA parts. Download schematic in PDF. The program that runs on this chip controls the LEDs attached to the output port pins.
The value of the resistors has been selected to be safe rather provide maximum brightness. If you decide to use high brightness blue, green or white 5mm LEDs you may need to change these from ohms to ohms. For all other 166f84 LEDs the ohm resistors will be fine.
This generate a stable 4Mhz clock which is used by the PIC to control the timing of the microcontroller core. However, you will also need to make a change to the source code before programming the PIC so it knows to use it’s internal oscillator. Capacitor C3 is used to decouple the 5 volt power supply rail.
If you are building the circuit on a breadboard or stripboard you projecgs ensure it is located close to the PICs Vdd connection pin The input voltage can be anywhere form 9 to 12 volts but the PIC requires a precisely controlled 5 volt supply.
Capacitor C4 decouples the input to the regulator. Diode D1 protects the circuit from accidental reverse polarity of the input voltage.
You can buy all the parts needed to build this project from most component suppliers world wide. In the UK you can get everything from Rapid Online and I’ve included a parts list with their part numbers below. You should check part and descriptions are correct prohects ordering in case I’ve made a mistake transferring them onto this page.
I’ve made some minor changes to the copper layout to make it easier to solder the LEDs but the component placement remains unchanged. This board will work with the firmware on this page without modification.
If you do this you will need to edit the ‘ledchaser16FA. You will then need to reassemble the file. Once you’ve done this, program the 16FA with the new ledchaser16FA.
The board includes a 5 volt regulator and reverse polarity protection diode on board. You will need to use a suitable DC power supply rated between 9 and 12 volts and able to supply at least mA. In the UK you can buy a suitable power supply from Rapid Electronics. The part number for this is included in the component listing above should you not already have something available.
Download the files required below. The asm files are the source code which you can modify or just view to see how it works. It’s reasonably cheap to buy and reliable. I have a couple of them and I wouldn’t use anything else now.
If you found this code useful, please consider making a donation, thanks. As noted elsewherethe code above will not work with the prokects ‘A’ suffix parts. Locate the line that says: Power Supply The board includes a 5 volt regulator and reverse polarity protection diode on board.