Not sure if it works for corn, but we have motion sensing blinky lights that are keeping the racoons off our deck.
I'm pretty sure that they work because I shut them off when the cat is outside so she doesn't get scared. The one time I've seen a racoon since we got them, the lights were off-although there was also a dead mouse the cat left that the racoon was eating so might just be coincidence.
