The project is to write a code that match with this system controling dc motor with ir sensor
The hardware setup should be:
the project is to connect motor with IR sensor , when you are closer to the sensor the motor will work fast and when your distance is far the motor rotate slowly, And when you are away the range it is not working
also i want to add light with high voltage
Hello, Please Can you tell me via message more about this project?
What type of DC motor are you using?
What type of IR sensor do you have available?
What Arduino board/model are you using?
Thanks in advance, I look forward to your reply.
Good Day!
It's good to find projects like these where I would be able to share my experience on using arduino. Arduino has been with me for 4 years now and I have done various subjects which is very similar to yours. I once created a system where I used an IR Sensor to detect if there is someone on the door, And would sound a buzzer in my room to inform me that someone is at the door. This is quite similar to yours such that I would use a DC motor rather than a buzzer and have it be controlled by the arduino. I hope that my experience would be able to let me work for you. I hope to hear from you very soon! Cheers! :D Thanks :D