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.
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.
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.