Thursday, 29 March 2012

Week 10 : Design the hardware

Week No : 10                                                                                                    Date : 29/3/2012

Title of Activity : Design the hardware

Objective :
1) To find & select a suitable components.
2) To design the project hardware.
3) To complete the project objective.

Content / Procedure :
1) Make research about the component that suitable for the project.
2) Research about how to design the project.
3) Build the ' smart phototherapy ' hardware by using the component listed.
4) Tested the hardware.

Result and Analysis :
1) Design assumption hardware that compatible to this project.
2) There are consisted of 2 compartments :
    - The heat element is located at the below compartment.
    - The above compartment is the area to measure the temperature which is the temperature sensor is located at this part.
3) Specification component in hardware :
     a) LM35 heat sensor
     b) Cooler fan 12V for air circulation.
     c) Bulb 100W as heat element.

a) LM35 DZ heat sensor
- A precision integrated-circuit temperature sensor,where the output voltage is linearly proportional to the (oC) temperature.


b) Cooler fan 12V.
- Cooler fan has been used to absorb the heat produced at below compartment.
- At the center of compartment, there is one divider where located 12V cooler fan and air circulation hole.


c) Bulb 100W as heat element.
- Normal cap cool day light bulb and has standard wattage 100W.
- This bulb produce heat till (80 oC) in a few seconds.
- Produces a soft and gentle ambient light. Plus, has an ability to produce and diffuse more heat through its light.


Conclusion :
1) This project involved 2 major section : hardware & software.
2) In the hardware part, a prototype of ' smart phototherapy ' is built with a temperature sensor, controller board and pulse width modulation (PWM) circuit.




PICTURE & DIAGRAM



Thursday, 22 March 2012

Week 9 : PIC program and testing of the project.

Week No : 9                                                                                                 Date : 22/3/2012

Title of Activity : PIC program and testing of the project.

Objective :
1) To design the flow of the process for the project.
2) To learn how to burn the program.
3) To combine between hardware part & software part.

Content / Procedure :
1) Design the process of the project objective.
2) Write the program in MPLAB IDE software.
3) Burn the IC and test the program.
4) The program must suitable with hardware compartment function.

Result and Analysis :
1) The program conversions from analog to digital.
2) Set the value should be same with the actual temperature in ' smart phototherapy ' incubator.
3) The program should include PWM concept when the system is running to control the heat produced by heat element.
4) Produces heat either 100% , 90% or 50%.
5) The program shows the LCD initializes before the result will be displayed on the LCD.

Conclusion :
The MPLAB IDE is used because of it is the highly optimized compilers for the PIC18 series micro-controllers, high performance PIC24 MCUS, dsPIC digital signal controller and PIC32 MX MCUS.


FLOW CHART & PICTURE






a) Figure shows the flow chart of PIC program process.




















b) Figure shows the program been testing using PIC controller board & PWM circuit.

Friday, 9 March 2012

Week 7 : PIC controlled board & PWM circuit board.

Week No : 7                                                                                                 Date : 8/3/2012

Title of Activity : PIC controlled board & PWM circuit board.

Objective :
1) To estimate the controlled board looks alike.
2) To control the heat by using PWM method.

Content / Procedure :
1) List down all the control component.
2) Draw the circuit in PCB lab and print out the circuit.
3) Hatching the circuit regarding on that had setting in the PCB lab layout.
4) Solder the component on the circuit board.
5) Test the circuit.

Result and Analysis :
1) The controlled board consist of :
     - programmable integrated circuit (PIC)
     - a power rectifier AC to DC
     - LCD (16x2)
     - push button
   All these elements will be attached to the board.
2) Power rectifier function to convert alternate current (AC) to direct current (DC) by using transformer step down (240V/9V) as main supply for control board.
3) Push button as selected menu & LCD to display temperature & receive the decoded signal from PIC.
4) PWM will receive decoded signal from PIC to control the heater,where it more like switch for heater.
5) The main component in this circuit is MOC3041M, where this device consists of infrared emitting diode optically coupled to monolithic silicon detector performing the function of zero voltage crossing bilateral triac drives. It's designed for use with a triac in the interface of logic system to equipment powered from 240V AC lines such as solid relay.

Conclusion :
1) The controlled board need to design more specific & functional, so that to make it run smoothly.
2) PWM circuit need to functional because it's control the temperature that created by the bulbs.


PROCESS OF CONTROLLER BOARD CIRCUIT of PWM & PIC.






a) Step 1 : Figure shows the PWM circuit in PCB board layout.








b) Step 2 : Figure shows the PWM controller board circuit in hatching process by using acid.










c) Step 3 : Figure shows the PWM controller board circuit after hatching.














d) Step 4 : Figure shows the components in soldering progress on the PIC controller board circuit.









FINAL PICTURE


Figure shows the combination of PIC controller board & pulse width modulation (PWM) circuit  board altogether.