Touda & Amber's Smart House Project

We made a smart house that is able to open its garage, turn the satelite dish, and it's all controled by light sensors. When the light sensors detect the object an alarm goes off. If you have it detect both objects at the same time it will make both alarms go off at once. When the light sensor for the garage senses the car the garage door will open leting the car go in. The building part of the house was very simple, we had no problems at all trying to tell it what to do.

*Below is a picture & the programming. The picture is showing that the car is about to go into the garage.

TO GARAGE
TALKTO "MICROC
SETLEFT ONFOR 8
WAIT 20
SETRIGHT ONFOR 7
ALARM
END

TO CAR
TALKTO "LAMPA
ON
WAIT 20
IF LIGHT8 < 60 [GARAGE]
END

TO ALARM
REPEAT 10[TONE 80 3 TONE 70 3]
END

TO DISH
TALKTO "MICROE
SETLEFT ONFOR 20
SETRIGHT ONFOR 20
TALKTO "LAMPD
ON
IF LIGHT5 > 45 [ALARM]
DISH
END

TO HOUSE
FOREVER [CAR]
FOREVER [DISH]
END

Vina Danks Home Page || Student Projects