Microcontroller Based Friend or Foe