Hey guys, I am trying to create a simple setup with some LED's, an infrared sensor (TCRT5000) and an alarm (Piezo). to create a setup where the lights and alarm go of everytime the sensor is triggered. But I have been strugling with a setup, does anyone have an idea on how to connect these together to get the result I am looking for? Ive tried many setups and have also read about the TCRT5000 a lot but cant seem to figure out exactly how it functions. Could anyone maybe help me to create a setup that suites the needs. Thanks in advance
Hello jelluh2003
Welcome to the Arduino Forum.
Post your current sketch, well formated, with comments and in so called code tags "</>" and a schematic, not a Fritzy diagram, to see how we can help.
Have a nice day and enjoy coding in C++.
Дайте миру шанс
Please begin at the beginning! What is your sensor and how do you have it connected and does it actually work the way you intended? Forget all the other stuff, for now.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.