Sunday, November 16, 2008

Thursday, 13th November 2008

EE2001 Officially Ends! And now we are waiting for results.

It is kind of depressing to see the GAs are not impressed with our smart hospital and they launch a lot of attacks which make us stunned.


Well...anyway it is over. Let's head on the next thing -> EXAM.

Monday, November 10, 2008

Monday, 11th November 2008

Soldering and moving all parts to PCB.

No more change is made to the system.

Presentationd ay: 14th November 2008.

Thursday, October 23, 2008

Thursday, 23r October

The assessment day! Everything worked out well and fine.

Made some fixes and patches before the assessment by the GA himself.
-Fixing the buzzer in cold zone
-improving the buzzer in critical cold zone
-initialising redhot, bluecold, and greenormal integer to 1 for every system start
-initialising the fan output RC7 at system off state
-having the buzzer beeps when the system starts and initialize
-having the buzzer beeps for every system end

Wednesday, October 22, 2008

Wednesday, 22th October

Continuous Assesment: 23th October 2008

Managed to integrate the system with Desmond's subsystem
Problem encountered:
-first the patient room system has random ON-OFF period.
-problem is the GND between Desmond's and mine is not common
-make common GND and SUPPLY by using the common power supply
-succeed in integrating the system

Adding rhythmed buzzer to the HOT for fun purpose.

1 . . . 1 . 1 . 1 . . . 1 . . . 0 . . . 1 . . . 1 . . . 0 . . .

Possible Future Updates:
-Accurate temperature system using LM35DZ
-Creative LCD system

Monday, 20th October

Planning to integrate system with Desmond's subsystem
-if a patient room is requested, will ON the system
-if patient room is done, OFF the system

Fixing the ON-OFF system programming
-always initialize on=0;
-use one port to do ON-OFF (RB0)
-if RB0==1, on=1; while on=1, system is working
-within the while loop, if RB0==0; on=0; breaks from the while loop

Friday, October 17, 2008

Friday, 17th October

Done a few things in the programming.

Things added:
-added a buzzer for sound notification
-when state changes to hot, it will beep once for 20ms
-when state changes to cold, it will beep once for 10ms, wait 10ms, then beep 20ms
-when state changes to super hot, it will keep beeping every 10ms (can't be stopped bcoz in while loop)
-fixed the light system (below 1V and beyond 0.3 V blue LED lights upl below 0.3 V, white LEDs light up)
-added 'OFF' indication in LCD when temperature sensor is not turned on

Future updates:
-fixing 'while loop' system in the thermal sensor
-added long beep to super cold state
-using LM35DZ to make a better, more accurate sensor
-adding more features to the LCD such as moving text, blinking text, etc.

Thursday, October 16, 2008

Thursday, 16th October

PCB Design is done.

Subsystem is done.
Patient Care System:
*Thermal Sensor
-There are 5 states; Normal, Hot, Super hot, Cold, Super cold. Normal is at 2-2.3V. Hot is at 1.9-2V. Super hot is at anything below 1.9V. Cold is at 2.3-2.6V. Super cold is at anything beyond 2.6V.
-Normal is represented by GREEN LED. Hot is represented by RED LED. Super hot is by BLINKING RED. Cold is represented by BLUE LED. Super Cold is represented by BLINKING BLUE.
-LCD can show the state that the thermometer is in. There will be special warning for Extreme states.
-LED Fan will be turned on at HOT and SUPER HOT state.
#Possible Upgrade:
-Using LM35DZ instead of Thermistor to make a better accurate reading.
-Using Buzzer to indicate states. Extreme hot: quick intermittent sound. Extreme cold: slower intermittent sound or long continuous sound.

*Light Sensor
-In dimmed environment will light up Orange or Blue LED. LED will be lighted up until a button is pressed to turn it off.
-In dark environement will light up 2 white LED. LED will be turned off once the environment returns to dimmed or bright.
#Possible Upgrade:
-Since sensor is not stable alone, a voltage divider may be formed by combining multiple LDRs or connect it with resistors.

*LCD
-It shows information about lighting, temperature, and patients.
-Moving dots in waiting/loading mode.
#Possible upgrade:
-Moving text
-using pushbuttons to change state

*Fan Cooling System
-Fan will be turned on when the state is hot or extreme hot.
-Fan cannot be used alone from port's output voltage/current. A circuit with transistor must be used to amplify the current
-Arrangement: Output Port ->Resistor ->Base ; Emitter ->GND ; Collector ->Fan GND ; Vcc -> Fan voltage