Ping sensor light

Hi i'm a new user of the Arduino program
I want to make a led light which reacts to the ping sensor as I get closer
For instance, If i get closer the light will get brighter and fader when I'm far
I have little knowledge in codes or wires so internet research was of little use
can anyone be helpful enough to show me the codes and the breadboard layout of the ping sensor to light
for Arduino Uno?? :~

for the LED dimming u can get some information here:

do u have a datasheet of that ping sensor?
or do u want to build it urself?
do u mean this:

?

thanks but i have a ping sensor and i want to combine the ping sensor code with the led light code :slight_smile:

newbie22:
thanks but i have a ping sensor and i want to combine the ping sensor code with the led light code :slight_smile:

So basically what you're looking for is for someone to totally write a custom sketch for you, and tell you exactly how to wire it up. And, you're not interested in learning how to program yourself or how to build simple circuits. Further, you want this for free. Is that correct? Good luck with that.

Tim

well teckel for a grumpy little kid like you, i don't need ur help :slight_smile:
so don't think anyone would appreciate ur help XD

newbie22:
little kid

There's no better compliment than to be called a kid when you're 43 years old. Thank you very much! I guess doing 8 marathons a year and being a multi-time Ironman is paying dividends.

Tim

teckel looks a little bit like elliot in Leverage (TV series)... :stuck_out_tongue:

in re: the software question:
just read the sensor
and
then compute the desired LED brightness
and
then configure the LED driver

or what was ur problem?