Friday, 28 April 2017

Week 12 - April 28th Last project lab session today .....

Finally the pressure is off as everything come to an end.  I am overwhelmed because I finish everything which I was required to hand up. Meaning I done the complete board with everything working properly and thus, achieving my aims. I spent all the holiday doing the report and some other assignments in other modules, in the lab I completed the whole report then handle up the printed PDF files. The final part was to submit the same PDF report on the moodle; which I did and finally handing up the complete hardware at the very end. Overall, everything went as smooth as I wanted it to be despite the lack of not using the Humidity sensor (which is a Surface Mount Technology) in this project. 



The finished product.




Homemade 15-pin D-sub Cable:




Temperature Algorithm:






Pseudo code for LCD mode switch menu:

/**Welcome Message **/

Case 0: 
Lcd.setCursor(0,0); 
Lcd.print(“Kings- B ”); 
Lcd.setCursor(0,1); Lcd.print(“00092297”); 
Break;

/**Temperature Reading **/
Case 1: 
Lcd.setCursor(0,0); 
Lcd.print(“Temp: ”); 
Lcd.setCursor(0,1); 
Lcd.print(“ oC”); 
Break;

/**Humidity Reading **/
Case 2:
 Lcd.setCursor(0,0); 
Lcd.print(“Humi: ”); 
Lcd.setCursor(0,1); 
Lcd.print(“ %”); 
Break;

/**Light Reading **/
Case 3: 
Lcd.setCursor(0,0);
Lcd.print(“LuxVal: ”);
Lcd.setCursor(0,1); 
Lcd.print(“ unit here”); 
Break;


//End the cases here then reset number of switch presses 

No comments:

Post a Comment