Distance Sensor to LED

Hi,

I need to run 4 separate 6500mm lengths of addressable LED each connected to a distance sensor and run through a rasperry pi from a 240V generator. The LED will react based on how far the object is away from the sensor. The sensor needs to be accurate between 0m and 3m.

Are the products below appropriate and what other components do i need?

Thank you

Hi Henry,
This tutorial will be a great place to get started with the requirements for running an LED strip from a Raspberry Pi.

How accurate do tou need the distance sensor to be? That one may be overkill on what you are trying to implement.