From HackedGadgets:

Here is an interesting build of some Automatic Closing Gates that was made for this wooden gate. It was built out of necessity, the builder had a child that he did not want running onto the road. The motor and gearbox is controlled using a Picaxe Microcontroller. Activation of the gate is done remotely using a wireless keyfob.

The gate