I used my PIs and some OTC IR sensors to make command proximity anti-personnel defenses. Surprisingly easy. USB wifi rulez!