But according to the online manual at http://rayshobby.net/?page_id=7708, the rain sensor connects to P9-15. When I short the inputs of the rain sensor connector, I get no change on the web page that shows rain sensor status.
I tried to beep out the connections but I get confused. My RSU measures 29.9K Ohms, not 33K as shown on the schematic.
There is no contradiction between the two documents:
– the schematic shows the index of the pin on the corresponding pin headers. Due to the layout of the mapped out pins, the entire P9 is split into three sections, therefore the pin number restarts from 1 on the SYS_5V pins.
– the online manual shows the actual logic name of the pin, and is the only thing that matters to you when writing software.
The 33Kohm resistor is used to protect the rain sensor GPIO in case someone accidentally connected 24V AC to the rain sensor port (believe it or not, this happened in the past!). 33K, 30K, 27K all work fine, depending on what resistors we have in stock.