Digital Electromagnetic Radiation Detector