Vous êtes sur la page 1sur 3

Annex A - Form A

[Please complete the form, select full text of this document then copy and paste into a new email before you send the email to your first supervisor. DO NOT send this form as an external attachment to an email as it may not reach your supervisor@wyb.ac.lk. You should send a copy of the same email to your personal email account to use it as a proof if required] Subject of the email should be as: Subject: your name + your number + two weeks from dd/mm/yyyy to dd/mm/yyyy --------------------------------------------------------------------Industrial Training for Undergraduates from Faculty of Applied Sciences, Wayamba University of Sri Lanka - 2012. Monthly Interim Report on Industrial Training for the Month of August 1. Name of trainee: L.G.R.D.Gajanayake 2. University registration number: 082123 3. Month: from 25/07/2012 to 31/08/2012 4. Name of Organization & Department you Trained: Communication Division, Arthur C. Clarke Institute for Modern Technology (ACCIMT), Katubedda, Moratuwa. 5. Briefly explain the nature/type of training you obtained during this time?, with whom?, under whose supervision ? During the above mentioned period I kept testing my circuit I designed earlier and found new problem. Sometimes Windows doesnt recognize the USB device. I created my own Demo board for PIC micro controllers so that no need to build separate circuits for testing the programs I am writing. Also I learnt how to use ICSP (in circuit programming) for PIC micro controllers. Using ICSP is very convenient. I understood that using interrupts for generating user id from the data obtained by the RFID is not a good approach. I started to learn OrCAD 16.5 software which is for PCB designing. It is more advanced than the OrCAD 9.2 which I learnt earlier and it is totally different from its earlier versions. I stated to refer the book Complete PCB Design Using OrCAD Capture and PCB Editor by Kreig Mitzner for the above purpose. The PCB I have developed has lots of free space, so that it can be made smaller by using the space more efficiently. And the current PC bit damaged due to the changes done while testing.So I am designing a new PCB for the project. I decided to use Eagle 6.1 for the purpose. I also attended to the examination of Practical Electronic Course as an invigilator, which is conducted by the institute for external applicants in weekends.

6. Briefly explain new/important techniques, equipment and methodologies you learnt and academic and theoretical background of the training? [Up to 150 words] While trying to resolve the problem of Windows doesnt recognize the USB device I learnt that the problem occurs if both the RFID reader and the Micro controller is powered up at the same time. So I powered up the two parts separately. First the microcontroller and after the device is successfully connected to USB the RFID reader. As the reason for that I believe that when RFID is powered up both corresponding input pins of the microcontroller goes high interrupts the process of USB initializing. I am not exactly certain about it. Also due the slight changes of the supplied power USB devise is rejected sometimes. So need to be powered accurately. Best way is to power the PIC using USB power from the computer. While I am trying to create a counter using PIC 16F876A microcontroller which counts from 0 to 99, I learnt that have to use only one port (Generally PORT B) to control seven segment displays so that I have to blink the two seven segments one at a time. Following is the code; int i,j,minut, hour=0; unsigned short digd, digd10, digd100=0; unsigned short num1=0; unsigned short mask(unsigned short num); void main() { TRISA=0x00; PORTA=0x00; TRISB=0x00; PORTB=0x00; TRISC=0x00; PORTC=0x00; while(1){ for(i=0; i<99; i++){ for(j=0; j<1000;j++){ num1=i%10; digd = mask(num1); PORTA=0x08; PORTB = digd; Delay_us(406); num1=i/10; digd10 = mask(num1); PORTA=0x04; PORTB = digd10; Delay_us(406); } } minut = minut++; if (minut==59) {

hour=hour++; PORTC=hour; minut=0; } } } unsigned short mask(unsigned short num) { switch (num) { case 0 : return 0x3F; case 1 : return 0x06; case 2 : return 0x5B; case 3 : return 0x4F; case 4 : return 0x66; case 5 : return 0x6D; case 6 : return 0x7D; case 7 : return 0x07; case 8 : return 0x7F; case 9 : return 0x6F; } } 7. Any other comment? - Optional

8. How can your training be further improved? - Optional

Vous aimerez peut-être aussi