Tuesday, 24 July 2012
13th Day - 23 July Monday
HOW TO USING
PICKIT 2
1. Write C program by using PIC C Compiler software to create file.hex
2. Simulate by using ISIS Proteus software:
1. Write C program by using PIC C Compiler software to create file.hex
2. Simulate by using ISIS Proteus software:
Read more...
12th Day - 20 July Friday
HOW
TO PROGRAM THE PIC ?
We
use the PCW Compiler to write & compile programs and CCS Load and the
ICD-U40 programmer to write programs to the PIC. Always load a .hex file onto
the PIC – the compiled machine language program. The hex file should be located
in the same folder as our project file. We need to connect the ICD’s Ethernet
cable pins to the appropriate pins on the PIC in order to load a program. We also need to have the PIC running (i.e.
under +5V power) when programming.
Read more...
11th Day - 19 July Thursday
SIMULATION
For
the simulation process we need to use ISIS that combined circuit simulation,
animated components and microprocessor models to faciliate co-simulation of
complete microcontroller based designs, By this software, it is possible to
develop and test our designs before a physical prototype is constructed. We
also searching some coding on the website such as CCS Forum to test our circuit
function or not. At the CCS Forum, we got a lot of ways on how to built simple
coding and also complex coding especially for RFID Door Lock. Some of these RFID
coding using the keypad driver <kbd.c> to scanning the keypad and lcd
driver <lcd.c>,<flex_lcd.c> to display the LCD. Below were all the coding that have been simulate by us:
Read more...
10th Day - 18 July Wednesday
ISIS CIRCUIT
DESIGN
Today
we need to design ISIS circuit for our project which was RFID Access Control.
In designing this circuit we used pic16f877a, resistor 10k, 20 Mhz crystal
oscillator, lcd display and keypad phone which was 4x3 (3 columns, 4 rows). LCD
we connected them to the Port B and for the keypad we connected them to the
Port D. In pic16f877a, the pins RB0-RB7, RC0-RC7, and RD0-RD7 are digital I/O
pins. The pins CCP1 and CCP2, which
share locations with RC1 and RC2, can be used for a PWM. The pins AN0-AN7 are for analog I/O. TX and
RX are for debugging I/O. The remaining
pins deal with power/ground, the clock signal, and programmer I/O.
Read more...
9th Day - 17 July Tuesday
INSTALLING
PIC C COMPILER & PROTEUS SOFTWARE
Today
we need to install two most of important software in order to design the
circuit using PIC. So, we got the installer of these software from our partners
which were BENE students course because they already learned in their syllabus
and also expert with these software. We started to learned how to install these
software from them. After the installation complete, now we can start exploring
these software.
Read more...
Subscribe to:
Posts (Atom)