I'm doing a small project where I'm trying to connect my Arduino to a Roomba (iRobot Roomba 521) and get data from the front bumper sensors. I have found out that they work via a IR emitter and receiver. The default state of them (not hit an object) is where the IR light can pass to the receiver but when the Roomba hits an object, the bumper activates and blocks the light.
My goal is to feed the data into the Arduino so I can detect if it has collided with an object but I'm very much a beginner with electronics/Arduinos.
Here is a view of the small board holding the IR Rx/Tx:
There is a bit better view of it on https://www.schneordesign.com/diy/diy-irobot-roomba/9beep/ Also some information about the components.
Am I right in thinking that if I wanted to get data into the Arduino I would need to connect the IR receiver to an input pin on the Arduino? Based on the component listed on that page https://www.schneordesign.com/sdwp/wp-content/uploads/2018/07/LiteON_S_110_E302-346938.pdf I'm also guessing that the soldered wire on the top of the board is the anode and the pin below it is the cathode (the RX is the top two wires). Would I need to solder a wire onto both anode and cathode to input into the Arduino or just the cathode?
Also I read in a few places about common ground, do I need to connect the Roomba's ground to the Arduino's?
I hope all of this makes sense as I feel I'm even confusing myself at this point . If you need any more information or images of the setup just let me know!
Thanks in advanced