This module incorporates a mercury tilt switch and clear red LED. ‘G’ is the common connection to the LED cathode and one terminal of the switch. ‘S’ is the other switch contact and ‘L’ connects to the LED anode (a series resister is required for the LED, 220 ohms for example). The ‘+’ pin connects to a 10 K ohm pullup resistor connected to ‘S’ of the switch.