This page shows how to interface a basic X10 motion sensor to a wireless sensor node such as MicaZ Mote.
The modified motion sensor module has the following I/O lines:
- Motion sensor output - to be connected to an available ADC port on the
mote;
-
Light sensor output - digital output that can be connected to an interrupt
pin on the mote. Thus an interrupt can be generated if the light comes up or
goes down.
-
User Interface line - providing access to a push-button and output to the
red LED on the module.
-
A +3V power line - the power can be provided from the mote batteries to the
motion sensor or vice versa.
Below is the motion sensor schematics with the modifications in red color.
The assignments of the signals to the MicaZ mote depend on available ports of
the mote, especially if other boards are used. Note, that several motion sensors
can be interfaced to the micaZ mote in this fashion by using separate ADC and GPIO
channels for each motion sensor.