Wednesday, 22 February 2012

THING TO DO WEEK 6


SMART RFID ATTENDANCE

        Basically my project is about Interactive attendance capture by using RFID system.So now I must change the project to smart RFID attendance.This new idea can save some cost and make it simple and portable.  By this we don't need to use wireless system to sent data and receive data from the PC.The data only save in memory card and will insert into RFID circuit.Data will be read when RFID scanning student ID. 
       So my task this week to do research how to make smart RFID attendance.Study more more about RFID with memory card. 

Monday, 13 February 2012

PIC 16 VS PIC 18

The 16F is 14 bit, and the 18F is 16 bit, this allows the 18F series to have a larger instruction set - the 18F has an instruction set that's optimised for use with C, and MicroChip even provide a free C compiler for it. Essentially it's a higher end version of the 16F, and runs faster as well, with an internal PLL that can run four times faster than the external crystal.

If you're starting PIC programming, the 16F are a good place to start. It's a fairly easy progression to the 18F.

Pic16F is Slow. If you want to make blinking lights it is fine. For Pic18F, if you are gonna use a pic you might as well start using the Pic18 instead, they are just as cheap as the Pic16 and generally offer better. 

If you must choose PIC then it better to choose the PIC18. If you must use PIC16 then use can use any language you want, suitable for simple language like something that is easy and quick.

PIC18F2455/2550/4455/4550


OVERVIEW

Devices in the PIC18F2455/2550/4455/4550 family incorporate a different oscillator and microcontrollerclock system than previous PIC18F devices. The addition of the USB module, with its unique requirements for a stable clock source, make it necessary to provide a separate clock source that is compliant with both USB low-speed and full-speed specifications.To accommodate these requirements, PIC18F2455/ 2550/4455/4550 devices include a new clock branch toprovide a 48 MHz clock for full-speed USB operation.Since it is driven from the primary clock source, an additional system of prescalers and postscalers has been added to accommodate a wide range of oscillator frequencies. An overview of the oscillator structure is shown in figure below.Other oscillator features used in PIC18 enhanced microcontrollers, such as the internal oscillator block and clock switching.The pins for PIC 16 and PIC 18 are 97% identical between the two chips.

PIC18F2455/2550/4455/4550 CLOCK DIAGRAM




Tuesday, 7 February 2012

DIFFERENCES BETWEEN PIC 10,12,16 AND 18


DESIGN CIRCUIT USING PROTEUS




Proteus is software for microprocessor simulation, schematic capture, and printed circuit board (PCB) design to co-simulate the complete microcontroller based designs. It is developed by Labcenter Electronics. This is the perfect tool for students to test their microcontroller designs before constructing a circuit in real time. This program allows us to interact with the design using on-screen indicators or LED and LCD displays and, if attached to the PC, switches and buttons.
In summary, Proteus is the program to use when you want to simulate the interaction between software running on a microcontroller and any analog or digital electronic device connected to it.

Proteus PCB design combines the ISIS schematic capture and ARES PCB layout programs to provide a powerful, integrated and easy to use suite of tools for professional PCB Design..
All Proteus PCB design products include an integrated shape based autorouter and a basic SPICE simulation capability as standard. More advanced routing modes are included in Proteus PCB Design Level 2 and higher whilst simulation capabilities can be enhanced by purchasing the Advanced Simulation option and/or micro-controller simulation capabilities.


System components

ISIS Schematic Capture - a tool for entering designs.
PROSPICE Mixed mode SPICE simulation - industry standard SPICE3F5 simulator combined with a digital simulator.
ARES PCB Layout - PCB design system with automatic component placer, rip-up and retry auto-router and interactive design rule checking.
VSM - Virtual System Modelling lets cosimulate embedded software for popular micro-controllers alongside hardware design.
System Benefits Integrated package with common user interface and fully context sensitive help.





Thursday, 2 February 2012

BASIC CIRCUIT OF PIC 16F877A

PIC 16f877A
PIC 16F877A is a small piece of semiconductor integrated circuits.. This package is very easy to be soldered onto the stripboard. However using a DIP socket is much more easier so that this chip can be plugged and removed from the development board.

This IC very popular because it very cheap and it easily to find at electronic shop especially at Jalan Pasar.it is also very easy to be assembled and  to make this IC work is need a 5V DC power supply, a 20MHz crystal oscillator and 2 units of 22pF capacitors as it clock.It advantage is this IC can be reprogrammed and erased up to 10,000 times. Therefore it is very good for new product development phase.



PIC16F877A Pin Diagram

VISUAL BASIC


Visual basic is programming language and environment developed by Microsoft. Based on the BASIC language, Visual Basic was one of the first products to provide a graphical programming environment and a paint metaphor for developing user interfaces. Now there are visual environments for many programming languages, including CC++Pascal, and Java
So in my project I will use visual basic as my programming. The 16F877A will act as a brain for the system and make all the decision based on the programming language. The condition of the farm is display on the computer using Visual Basic (VB). In that list, all information like student name and ID number will attached including the student status and subject. If the there were no match with database, it means that student was in already been bar or have the problem with the finance. When this happen, student cannot enter examination hall by refer at registering form and the information of that student will be update into database. This project will help invigilator taking the student attendance more easily and automatically.