Robotic sensor with Photodetecting technology