Your over complicating it. Here is a data sheet that shows pins and list their function and requirements.
To wire up for an Arduino, wire Device pin 1 to an Arduino ground pin,
Wire device pin 2 to the Arduino +5vdc pin. Wire device pin 3 (received signal) to the desired Arduino digital input pin of your choice, such as pin 2 in the code example you linked. No resistors are required.
Lefty