Is it possible to program an LED dimmer by means of an ultrasonic sensor?

Hello everyone,
I am completely new to programming with arduino. But there is a project that I would like to make and I am not sure how to get started. I would like to control a LED board by dimming the LEDs by the presence of people. I was thinking of an ultrasonic sensor for this. If you have any ideas on how to get started, let me know.

Thanks in advance.

Jef

Hello
take some examples found inside the IDE and start with a draft sketch.

Have I been looking, but nothing quite the same. But you think it is possible?

yes, it is.

Use the examples for each of the parts you plan on using, connect them and program the arduino and work with it until you understand the code and hardware. Then do the second etc. In this process you need to use PWM for the LEDs. There are many tutorials on line and there is the old standby the Arduino Cookbook, I believe it has most of what you want in examples with explanations.

1 Like

How about an infrared image? More heat more dimming of lights.

Or the typical movement sensors. See things move.. dim the lights.

-jim lee

1 Like

the infrared also seems like an interesting option. The intention of my project is to make a large Led board from separate Led diodes. It is then dimmed as the spectator moves further away from the board. When he gets closer, the light gets brighter. The project is an allusion to the myth of Icarus. I will probably have to see for myself which sensor is best suited for this.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.