Hi. I have this question, I have decided to make a stair lighting based on arduino leonardo.
My problem is that I don't know much about it and I would like to get something like this so that by using motion sensors which, will give a signal and run a program in the arduino.
The sensors are located at the beginning of the stairs at the top and at the bottom, depending on the direction of exit the light will turn on from the bottom or from the top. My problem is that I don't know how to write a sketch to make the programme switch on the sensors.
My problem is that I don't know much about it and I would like to get something like this so that by using motion sensors which, will give a signal and run a program in the arduino.
The sensors are located at the beginning of the stairs at the top and at the bottom, depending on the direction of exit the light will turn on from the bottom or from the top. My problem is that I don't know how to write a sketch to make the programme switch on the sensors.