My simple auto cactus farm. What happens is the cactus grows 3 high and triggers the observer, which goes into a double piston extender that pushes the second block into a hopper,
Creating Killer Cacti: How to Make a Cactus Farm in Minecraft « Minecraft :: WonderHowTo