Monday 16 June 2014

WEEK 26 - LAST TEST HOUSE












           This is program for setting IP address for router connected with ethernet shield arduino. at the IP address we need to setting follow by what the router we used. Every router has a different IP address and the IP address also follow by  region of state.  The "byte mac[]" instruction is use for set the ethernet shield id to connect the internet. This use for different id for make sure there no ethernet shield  has same id. it can be see when we buy it.



This is the program that show how the project should be when the button at the server been switch  or selected. When the switch  the on button #1 , the LED at garage will on and then when switch  the off button #1 the LED off.  When the switch  the on button #2 , the LED at room will on and then when switch  the off button #2 the LED off.  When the switch  the on button #3 , the LED at living room will on and then when switch  the off button #3 the LED off.  Once  the switch  the on button #4 , the all LED  will on and then when switch  the off button #4 the all LED off.  

No comments:

Post a Comment