LaCrosse TX23 is a wind speed and direction sensor. It uses 3 wires for communication and power:
Pin1 - Brown(Black) - DATA Pin2 - Red - Vcc Pin3 - Green - N/C Pin4 - Yellow - GND
DATA pin is to be connected directly to one of Arduino ports.
Created by Krzysztof Egzmont, 06.11.2016. Based on https://www.john.geek.nz/2012/08/la-crosse-tx23u-anemometer-communication-protocol/ Big thanks for John.
BSD license, all text above must be included in any redistribution