Manual

52
ProBee
-
ZE20S User Guide Rev.1.
10
Note: The LED On/Off switch (SW20) should be placed to LED_OFF.
6.3.9 Light Sensor
The GPIO_12 of the ZE20S is routed to the light sensor. Approximately, the relationship between
illumination and analog input is as follows:
Illumination(Lux) = Volt(mV) * 0.25(Lux/mV)
Note: The LED On/Off switch (SW20) should be placed to LED_OFF.
6.3.10 Terminal Block
The development board has a terminal block for external analog inputs. Figure 6-2 shows the layout of
the terminal block. To use external analog inputs instead of the variable resistors, temperature sensor or
light sensor, the ADC_0 (SW4), ADC_1 (SW5), ADC_2 (SW6) or ADC_3 (SW7) should be placed on
EXT_0, EXT_1, EXT_2, or EXT_3.
Reserved ADC_3ADC_0 ADC_2ADC_1
GNDAI0 GNDAI1 GNDAI3GNDAI2
Figure 6-2 Terminal Block for External Anlalog Inputs
Note: The LED On/Off switch (SW20) should be placed to LED_OFF.
6.4 Configuration Example #1: 1 Coordinator, 1 Router and 1 End-Device
Here is the example configuration to help to start with the ZE20S and the development kit. The goal of
this example is to provide hardware configuration and AT commands for the scenario as below:
One ZE20S module acts as a coordinator and it is connected to a host computer via USB cable.
One ZE20S module acts as a router and it sends temperature sensor, light sensor and digital
inputs to the coordinator every second.
One ZE20S module acts as a sleepy end-device and it sends temperature sensor, light sensor
and digital inputs to the coordinator every second.