Same-day dispatch before 2 PM · Free delivery over ₹999 · GST invoices Get the appPrices incl. GST
Geekobot
Snap & SendNEWGeeko AIWhere's myOrder
Log in
Products
  • Projects
    • Component guidesHow parts work, with code you can run
    • Learning pathsFrom your first LED to your first robot
    • Workshops & eventsOnline sessions for makers and classes
    • ElectrolarkFree guided builds, simulator and certificates
    • Students & teachersStudent discount and classroom help
    • CommunityShare builds and ask other makers
    • CalculatorsOhm's law, LED resistor, 555 and 100+ more
    • Circuit builderWire parts and run the circuit, powered by Electrolark
    • Geeko AIAsk what to buy or how to wire it
    • Snap & SendPhotograph a part or list, we find it
    • Part finderAnswer a few questions, get the right part
    • Compatibility checkWill these two parts work together?
    • Compare partsSpecs side by side
    • Business & bulk ordersGST invoices, credit and volume prices
    • Request a quotationSend your list, get a quote
    • Classroom kitsPer-student kits and lab bundles
    • Gift cardsFor students, teams and events
  • Atal Tinkering Lab
BOM to cart
Geekobot

Components, kits and know-how for makers, students, engineers, labs and businesses across India.

Ask Geeko AIOrders, parts and projects, any timeEmail supportReply within 1 working dayGet the Geekobot appAdd it to your home screen, free

Follow us

Shop

  • Boards & SBCs
  • Sensors & Modules
  • IoT & Wireless
  • Drone & FPV
  • 3D Printing
  • Filaments & Resins
  • Motors & Drivers
  • Power & Batteries
  • Semiconductors
  • Passive
  • Displays & LEDs
  • Switches & Relays
  • Wires & Cables
  • Prototyping
  • Tools & Test
  • Robotics
  • STEM Kits
  • Atal Tinkering Lab
  • Mechanical Parts
  • Audio

Orders

  • Track your order
  • Help & support
  • Shipping and delivery
  • Refunds and cancellation
  • Contact us

Learn

  • Projects
  • Geeko AI project assistant
  • Learning paths
  • Guides
  • Calculators
  • Electrolark: free guided builds

Part tools

  • Part finder
  • Compare parts
  • Will it work with my board?

Institutions

  • Classroom kits
  • Atal Tinkering Lab
  • Students & teachers
  • Workshops & Events

Business

  • Business & education
  • Request a quotation
  • BOM bulk upload
  • Quick order by SKU

Company

  • About Geekobot
  • Community
  • Gift cards
  • Terms & conditions
  • Privacy policy
  • Product directory
  • Sitemap

© 2026 Geekobot, a trade name of OLatus Systems Private Limited. All rights reserved.

20, 1st Floor, Neeladri Complex, 10th Cross, Sampige Rd, 2nd Main, Malleshwaram, Bengaluru, Karnataka 560003 · GSTIN 29AACCO0462F1ZM

+91 91810 15607 · connect@geekobot.in · Monday to Saturday, 10 AM to 2 PM IST

UPI · CARDS · NETBANKING · GST INVOICES

ShopProjectsGeeko AIGuides
Compare 0 parts →
Log in

Shop by category

Shop all components
  • Boards & SBCs1,910 products
    • Alternative Single Board Computers
    • Arduino Ecosystem
    • FPGA & Logic Boards
    • Microcontroller & Wireless Boards
    View all
  • Sensors & Modules4,701 products
    • Biomedical & Heart Rate
    • Current, Voltage & Power
    • Force, Weight & Pressure
    • Gas, Weather & Environmental
    View all
  • IoT & Wireless2,314 products
    • RF Modules
    • RFID & NFC
    • Antennas & RF Accessories
    • Cameras & Smart Vision
    View all
  • Drone & FPV3,558 products
    • Flight Control & Navigation
    • FPV Video & Optics
    • Frames & Structural Parts
    • Motors & Propulsion
    View all
  • 3D Printing2,204 products
    • 3D Printers
    • 3D Scanners & Digitizers
    • Laser Engravers & Cutters
    • Material Management & Upgrades
    View all
  • Filaments & Resins1,472 products
    • Filaments
    • Photopolymer Resins
    View all
  • Motors & Drivers463 products
    • BLDC Motor Drivers
    • DC & Geared Motors
    • DC Motor Drivers
    • Linear Actuators & Solenoids
    View all
  • Power & Batteries557 products
    • Battery Holders & Connectors
    • Breadboard Power
    • Chargers & BMS
    • DC-DC Converters
    View all
  • Semiconductors295 products
    • Diodes & Rectifiers
    • Interface & RF Encoder ICs
    • Logic ICs (74xx)
    • Logic ICs (CD4000)
    View all
  • Passive67 products
    • Capacitors
    • Circuit Protection
    • Crystals & Oscillators
    • Inductors
    View all
  • Displays & LEDs572 products
    • 7-Segment & Dot Matrix
    • Addressable LEDs
    • Character LCDs
    • Graphic LCDs
    View all
  • Switches & Relays184 products
    • Keypads & Touch
    • Push Buttons & Tactile
    • Relay Modules
    • Relays
    View all
  • Wires & Cables233 products
    • Board-to-Wire Connectors
    • Crimp & Splice
    • Headers & Dupont
    • Heat Shrink & Sleeving
    View all
  • Prototyping101 products
    • Breadboards
    • Interface Modules
    • PCBs & Perfboards
    View all
  • Tools & Test717 products
    • Bench Power Supplies
    • Hand Tools
    • Measuring Tools
    • Meters & Testers
    View all
  • Robotics180 products
    • Humanoid & Legged Robots
    • Robot Chassis & Platforms
    • Robotic Arms & Grippers
    • Wheels & Casters
    View all
  • STEM Kits268 products
    • Arduino Learning Kits
    • Coding & IoT Kits
    • Early Coding (Ages 3-8)
    • Invention Kits
    View all
  • Atal Tinkering Lab196 products
    • Package 1: Electronics, Robotics, IoT and Sensors
    • Package 2: Rapid Prototyping Tools
    • Package 3: Mechanical, Electrical and Measurement Tools
    • Package 4: Power Supply, Accessories and Safety Equipment
    View all
  • Mechanical Parts212 products
    • Bearings
    • Brackets & Mounts
    • Couplers
    • Fasteners & Standoffs
    View all
  • Audio109 products
    • Amplifier Modules
    • Buzzers & Sirens
    • Speakers
    View all
  1. Home
  2. ›Guides
  3. ›Sensors
  4. ›Lightning, Radiation and EM Field Detectors

Component guide · Intermediate · 3 min read

Lightning, Radiation and EM Field Detectors

DFRobot Gravity AS3935 Lightning Distance Sensor, MCU-3935 AS3935 Module, SparkFun AS3935 Lightning Detector, DFRobot Gravity Geiger Counter and Electromagnetic Wave Detection Module

By Geekobot Learning Team · Updated 29 Oct 2026

On this page
Short answerWhat the Lightning, radiation and EM field detectors: AS3935 lightning sensors, Geiger counter module and EM wave detector isLightning, radiation and EM field detectors: AS3935 lightning sensors, Geiger counter module and EM wave detector pinoutWiring the Lightning, radiation and EM field detectors: AS3935 lightning sensors, Geiger counter module and EM wave detectorExample codeSetup and tuningWhat you needAlternatives and when to choose themCommon mistakesFAQsParts and next steps
Short answer

The AS3935 chip listens for the radio burst from lightning and estimates how far away the storm is, up to about 40 km, so a weather station can warn before thunder arrives. The Geiger counter module counts ionising radiation pulses for background radiation monitoring and science projects. The EM wave detector gives an analog voltage that rises near electric fields from mains wiring and radio sources.

Key specs at a glance

AS3935
500 kHz antenna, distance estimate 1-40 km in 14 steps, I2C or SPI
Indoor/outdoor
Selectable gain for AS3935
Geiger counter
GM tube, pulse output, CPM and uSv/h estimate
EM detector
50 Hz to 100 MHz, 0-3 V analog, LED bar
Supply
3.3-5 V
Interface
I2C/SPI plus IRQ (AS3935); digital pulse (Geiger); analog (EM)

Models in this guide

These are alternatives. Pick the one that fits your project; you only need one.

  • Option 1DFRobot Gravity Lightning Distance Sensor – I2C Interface, 40km Range₹2,309
  • Option 2MCU-3935 AS3935 Lightning Sensor Module – I2C/SPI Interface₹2,529
  • Option 3SparkFun Lightning Detector Sensor – AS3935 SPI Module₹4,879
  • Option 4DFRobot Gravity Geiger Counter Ionizing Radiation Detector Module₹6,249
  • Option 5Electromagnetic Wave Detection Sensor Module – 50Hz-100MHz, 0-3V Analog Output, LED Display₹1,139
01

What the Lightning, radiation and EM field detectors: AS3935 lightning sensors, Geiger counter module and EM wave detector is

This guide covers three detectors: the AS3935 lightning sensor that estimates storm distance, a Geiger counter for radiation, and an EM field detector.

Mount the AS3935 away from motors, switching supplies, LCD backlights and Wi-Fi modules; these trigger false 'disturber' events. Set indoor or outdoor mode, enable disturber masking and tune the noise floor. Distance is an estimate from signal strength, not a precise range.

The Geiger tube runs at about 400 V generated on the board: do not touch the tube ends while powered. Count pulses for at least a minute; background radiation normally reads tens of counts per minute. Treat the uSv/h figure as indicative only, not a calibrated dosimeter.

02

Lightning, radiation and EM field detectors: AS3935 lightning sensors, Geiger counter module and EM wave detector pinout

The pins on the Lightning, radiation and EM field detectors: AS3935 lightning sensors, Geiger counter module and EM wave detector and what each one does.

PinFunction
SDA / SCL or SPIAS3935 data
IRQAS3935 interrupt on lightning or noise
VCC / GNDSupply
Pulse outGeiger counter count pin
AOEM detector analog output
PinFunction
SDA / SCL or SPI
AS3935 data
IRQ
AS3935 interrupt on lightning or noise
VCC / GND
Supply
Pulse out
Geiger counter count pin
AO
EM detector analog output
03

Wiring the Lightning, radiation and EM field detectors: AS3935 lightning sensors, Geiger counter module and EM wave detector

The Geiger tube's high voltage can give a sharp shock; keep fingers off the tube while it runs.

Lightning, radiation and EM field detectors: AS3935 lightning sensors, Geiger counter module and EM wave detector pinConnectionNote
AS3935 SDA/SCLI2C pinsAddress 0x03 by default on many boards
AS3935 IRQInterrupt pinRead the event register on interrupt
Geiger pulseInterrupt pin (D2)Count in an ISR
EM AOAnalog pin0-3 V
AS3935 SDA/SCL
Connection:
I2C pins
Note:
Address 0x03 by default on many boards
AS3935 IRQ
Connection:
Interrupt pin
Note:
Read the event register on interrupt
Geiger pulse
Connection:
Interrupt pin (D2)
Note:
Count in an ISR
EM AO
Connection:
Analog pin
Note:
0-3 V
04

Example code

For AS3935, use the DFRobot_AS3935 or SparkFun AS3935 library and read the distance after each lightning interrupt.

Count Geiger pulses per minute · Arduino C++Verify & upload in Electrolark
const byte GEIGER_PIN = 2;
volatile unsigned long pulses = 0;

void onPulse() { pulses++; }

void setup() {
  Serial.begin(115200);
  pinMode(GEIGER_PIN, INPUT);
  attachInterrupt(digitalPinToInterrupt(GEIGER_PIN), onPulse, FALLING);
}

void loop() {
  delay(60000);
  noInterrupts();
  unsigned long cpm = pulses;
  pulses = 0;
  interrupts();
  Serial.print("CPM: ");
  Serial.print(cpm);
  Serial.print("  approx uSv/h: ");
  Serial.println(cpm / 153.8, 3);   // factor for M4011-type tubes; check your tube
}
05

Setup and tuning

AS3935 placement

keep the antenna away from motors, LED drivers and switching supplies, which cause false triggers.

Indoor or outdoor mode

set the AS3935 gain to match where it is mounted.

Use the IRQ pin

read the AS3935 status only when IRQ goes high, then check whether it was lightning or noise.

Tune the noise floor

raise the noise floor level if you get many disturber events.

Geiger counter

count pulses per minute and use the tube's conversion factor to estimate µSv/h. Keep the high-voltage tube area untouched.

06

What you need

Shop this list5 of 5 found in our store · ₹17,105

  • DFRobot Gravity Lightning Distance Sensor – I2C Interface, 40km Range: the part this guide coversDFRobot Gravity Lightning Distance Sensor – I2C Interface, 40km Range₹2,309
  • Generic MCU-3935 AS3935 Lightning Sensor Module – I2C/SPI Interface: another version this guide coversMCU-3935 AS3935 Lightning Sensor Module – I2C/SPI Interface₹2,529
  • SparkFun Lightning Detector Sensor – AS3935 SPI Module: another version this guide coversSparkFun Lightning Detector Sensor – AS3935 SPI Module₹4,879
  • DFRobot Gravity Geiger Counter Ionizing Radiation Detector Module: another version this guide coversDFRobot Gravity Geiger Counter Ionizing Radiation Detector Module₹6,249
  • Generic Electromagnetic Wave Detection Sensor Module – 50Hz-100MHz, 0-3V Analog Output, LED Display: another version this guide coversElectromagnetic Wave Detection Sensor Module – 50Hz-100MHz, 0-3V Analog Output, LED Display₹1,139
07

Alternatives and when to choose them

  • ✓Wind speed sensors: for a weather station.
  • ✓Rain gauges: more weather inputs.
08

Common mistakes to avoid

  • !Mounting the AS3935 next to a switching power supply.
  • !Polling the AS3935 instead of using its IRQ pin.
  • !Touching the Geiger tube's high-voltage area while powered.
  • !Treating hobby radiation readings as certified measurements.
09

Frequently asked questions

How far away can the AS3935 detect lightning?

It estimates storm distance from about 1 to 40 km in steps, enough to warn before thunder arrives.

Why does my lightning sensor trigger without a storm?

Electrical noise from motors, LEDs or switching supplies looks like lightning. Move it away and adjust the noise settings.

Can the Geiger counter measure radon or food safety?

It counts general ionising radiation for background monitoring and science, not certified safety tests.

Is the Geiger counter dangerous to touch?

The tube runs at about 400 V. The current is tiny, but avoid touching the tube area while powered.

What does the EM detector measure?

It gives a voltage for the strength of nearby electromagnetic fields from mains wiring and electronics.

Parts for this guide

  • DFRobot Gravity Lightning Distance Sensor – I2C Interface, 40km Range
    ₹2,309View
  • MCU-3935 AS3935 Lightning Sensor Module – I2C/SPI Interface
    ₹2,529View
  • SparkFun Lightning Detector Sensor – AS3935 SPI Module
    ₹4,879View
  • DFRobot Gravity Geiger Counter Ionizing Radiation Detector Module
    ₹6,249View
  • Electromagnetic Wave Detection Sensor Module – 50Hz-100MHz, 0-3V Analog Output, LED Display
    ₹1,139View
Shop Specialized & Industrial Sensors

Keep learning

Component guideIntermediateWind Sensors and AnemometersFixed wind sensors go on a mast and report to a logger or PLC.4 min read · SensorsComponent guideAdvancedRain, Solar and Weather Station SensorsThese are the professional parts of a weather or farm station.5 min read · Sensors

Sources

  • ams AS3935 datasheet
  • DFRobot Geiger counter wiki

Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.

On this page
Short answerWhat the Lightning, radiation and EM field detectors: AS3935 lightning sensors, Geiger counter module and EM wave detector isLightning, radiation and EM field detectors: AS3935 lightning sensors, Geiger counter module and EM wave detector pinoutWiring the Lightning, radiation and EM field detectors: AS3935 lightning sensors, Geiger counter module and EM wave detectorExample codeSetup and tuningWhat you needAlternatives and when to choose themCommon mistakesFAQsParts and next steps
Need a hand?Ask Geeko AI which part fits your project, or talk to the Geekobot team.Ask Geeko AIHelp & support

Parts for this guide3 items · ₹9,697

DFRobot Gravity Lightning Distance Sensor – I2C Interface, 40km Range · DFRobot Gravity Geiger Counter Ionizing Radiation Detector Module · Electromagnetic Wave Detection Sensor Module – 50Hz-100MHz, 0-3V Analog Output, LED Display

Run itChange the inputs and watch the output

One line per minute (shortened here). Background is usually 15 to 40 CPM on an SBM-20 tube.

Serial monitor115200 baud
CPM: 21  approx uSv/h: 0.137

A simulation of the sketch above, so you know what to expect. Real readings vary with your parts and wiring.

Ask the Community

Ask a question