Wednesday, 28 March 2012

week 11:

HARDWARE
This project will require following hardware:
a)      1 x PIC16F873A
b)      1 x PJT 11 Printed Circuit Board (PCB)
c)      1 x LCD
d)      1 x Buzzer
e)      2 x Temperature Sensor (LM35)
f)       Other related electronic component

Interface PIC16F873A with Temperature Sensor (LM35)
Signal pin (Vout) from LM35 can be connected to either one of analog input pin (AN0-AN4) except AN3 (pin 5) but make sure the ADC configuration is correct. In fact, pin 5 (Vref+)from PIC should be given for 1V but it may has offset, so a variable resistor (VR1) was installed for voltage adjusting. For more stability, user is recommended add a capasitor (104) between the analog signal and GND for every analog input such as signal from LM35 and variable resistor (VR1).

Interface PIC16F873A with LCD
The 16 header pin should be soldered to the LCD first. The following table shows the LCD (2X16 character) connection:
PIN
PIN NAME
FUNCTION
CONNECTION
1
VSS
Ground
GND
2
VCC
Positive supply for LCD
5V
3
VEE
Contrast adjust connected to a preset for contrast adjusting

4
RS
Select register, select instruction or data register
RA2
5
R/W
Select read or write
GND
6
E
Start data read or write
RA5
7
DB0
Data bus pin
RC0
8
DB1
Data bus pin
RC1
9
DB2
Data bus pin
RC2
10
DB3
Data bus pin
RC3
11
DB4
Data bus pin
RC4
12
DB5
Data bus pin
RC5
13
DB6
Data bus pin
RC6
14
DB7
Data bus pin
RC7
15
LED+
Backlight positive input
5V
16
LED-
Backlight negative input
GND
                                                                    TABLE 1

Wednesday, 21 March 2012

week 10:
OVERVIEW
This report describes the development project (PJT11). This project will use PIC16F873A to control NPN power transistor (BD135) further drive DC brushless fans, LEDs and buzzer when the certain temperature was detected. The value of temperature always displayed on a LCD screen. Circuit schematic and PIC source code will be provided.
FEATURES
PIC controlled DC brushless fan, LEDs and buzzer
-PIC16F873A with internal ADC read the analog voltage from LM35 (Temperature sensor) and      display it on LCD display.
BD135 power transistor
-Capable of driver DC brushless fan (0.12A)
Temperature sensor (LM35DZ)
-Sensor gain, 10mV/°C (average slope)
-0-100°C
-LCD display (always display the value of the temperature)
Fans, LEDs and buzzer are activated when the certain temperature was detected.

Wednesday, 14 March 2012

week 9:
Flow Chart



GENERAL DESCRIPTION 
PIC has been used to control the LED or buzzer directly for some other projects. But in this project, PIC cannot directly activate the DC brushless fan because it has not enough current.NPN power transistor (BD135) is required, so that dc brushless fan can be controlled by PIC.PIC16F873A will read the analog voltage (using ADC) from LM35 temperature sensor and display it on LCD display. A buzzer, LEDs or fans will be activated when temperature reach a certain temperature value.

For this project, temperature sensors (LM35) and cooling fans are connected to the circuit board through some wires and connectors. The length of the wires is various depend on the distance of certain where would be measured. Each polarity should be correctly connected. Differentiate the of the connector and please use 2510 connector for LM35 and 2532 connector for cooling fan.

Wednesday, 7 March 2012

week 8:
  •  holiday agains.... it so many holiday in this sem... 
it is time for the Honeymoon ideas