ot surprisingly, this isn't particularly exciting. Nor will use of the sensor ever be unless a lightning storm is nearby!
Note that with Arduino boards other than a Mega 2560 it may be necessary to change some pin definitions. When using an Arduino Ethernet I chose to use pin 9 for SPI Chip Select since 10 is used by the Ethernet chip, and pin 2 was used for interrupts since this is int.0 on the board.