1. Introduction
Cheating during examinations using mobile phones and wireless devices has become a major concern in schools and colleges. To address this issue, we can build an Exam Anti-Cheating System using Arduino, which detects the presence of mobile signals and alerts authorities.
This project uses an RF detection concept to sense electromagnetic signals emitted by mobile phones during calls, messages, or data usage.
2. Components Required
- Arduino Uno / Nano
- RF Detector Module (very costly or simple RF detection circuit)
- Buzzer
- LED
- 220Ω Resistor
- Breadboard
- Jumper Wires
- Power Supply
3. Circuit and Connections
| Pinout Diagram of Arduino Uno |

Rf Signal Detection Module
| Pinout Diagram of Buzzer |
RF Detector Connections
- VCC → 5V
- GND → GND
- OUT → Pin 2
LED Connections
- Positive → Pin 8 (via 220Ω resistor)
- Negative → GND
Buzzer Connections
- Positive → Pin 9
- Negative → GND
4. Detailed Step By Step Circuit Working
- The RF detector senses electromagnetic signals from mobile devices.
- When a mobile phone transmits signals (call/data), RF waves are detected.
- The detector outputs a signal to Arduino.
- Arduino reads this signal from pin 2.
-
When RF activity is detected:
- LED turns ON
- Buzzer alerts invigilator
-
When no RF signal:
- System remains idle
5. Libraries to be Included
No external libraries required.
6. Code
#define rfPin 2
#define led 8
#define buzzer 9
void setup() {
pinMode(rfPin, INPUT);
pinMode(led, OUTPUT);
pinMode(buzzer, OUTPUT);
}
void loop() {
int rfValue = digitalRead(rfPin);
if (rfValue == HIGH) {
digitalWrite(led, HIGH);
digitalWrite(buzzer, HIGH);
} else {
digitalWrite(led, LOW);
digitalWrite(buzzer, LOW);
}
delay(100);
}
7. Detailed Step By Step Code Working
-
digitalRead(rfPin)reads RF detector output -
If RF signal is detected:
- LED and buzzer are activated
-
If no signal:
- System remains OFF
- Loop runs continuously for real-time monitoring
8. Testing and Calibration
- Power ON the system
- Bring a mobile phone near the detector
- Make a call or enable mobile data
- System should trigger buzzer and LED
- Adjust sensitivity of RF module if available
9. Applications
- Examination halls
- Classrooms
- Secure meeting rooms
- Military or confidential areas
- Mobile-free zones
10. Advantages
- Simple and low cost
- Real-time detection
- Easy to implement
- Portable system
11. Disadvantages
- Limited detection range
- May detect other RF sources
- Cannot identify exact device
- Not 100% accurate for all frequencies
12. Future Improvements
- Add LCD display for signal strength
- Integrate GSM logging system
- Use multiple sensors for wider coverage
- AI-based signal classification
⚠️ Important Note
This project is for educational purposes only. It detects RF signals but does not block or jam them.
Using RF jammers without permission is illegal in many countries.