I have a simple IR led that's external from the Arduino Uno board and I want the board to turn on an LED diode when the IR light hits the receiver. I am using a VS1838B receiver and a 5mm 940nm IR infrared Emission Tube LED Lamp to send a continuous signal to said receiver. Provided are some pictures of my hardware set up. Can someone write an Arduino code that tells the Arduino to turn on the regular LED when it receives a direct signal from the IR light?
The IR light is connected to an external basic circuit that just turns it on and leaves it on. The goal is to make the Arduino turn on its LED anytime the IR light comes in range of the receiver.
Free Code: Interesting project but we are not a free code writing service. We will help out with your
code but first you have to make an attempt to write it, post it and explain what is not working
properly. If there is hardware it is always best to post links to technical information as there are
many versions of the same or different items. Since we cannot see your project, my eyes are to weak,
you need to post an annotated schematic (best) or a clear picture of a drawing. Pictures never hurt.
Frizzing diagrams are not considered schematics here.
I suggest you get a copy of the Arduino Cookbook and skim it, you should find your project in it.
Couple of things I noticed....LED appears to be a standard red LED, not IR.
If the resistor is 100 ohm current will be over 30mA and too much for an Arduino pin.
............. plus the LED appears to be installed backwards.