In or Out ?

I think it is not easy beginner project, you should start binking LEDs etc. But it should be doable somehow. More than one sensor will be probably needed to know if the dog is leaving or coming in - imagine he come just over the sensor and than instead of leaving he changes his mind and returns home.