Skip to main content
shortened, title changed to a more to the point question
Source Link

How to fix Arduino optocoupler help+ LED that doesn't light up?

I think I'm having a hard time understanding how an optocoupler works. I made a circuit based on example 15 if the Arduino projects book, but instead. Instead of trying to hack a button, I'm trying to just light an LED on either side of the optocoupler. But, I guess I'm misunderstanding how this should work because the LED i'mI'm trying to light doesn't light.

Below is a link to a youtube video I made. It shows the circuitMy youtube video shows my circuit. You can see the blue LED which runs from pin 2 of the optocoupler into ground lights up, but the red LED (which works, I verified) which runs from pins 4 to pin 5 of the optocoupler does not. I was under the impression that if I emitted high from the arduino to the pin 1 of the optocoupler through a 220 resistor (mine is 270 actually) and provided a path to ground that the optocoupler would be switched on and I would get current and ground from the pins on the other side.

Any suggestions - what am I missing?

My circuit:

http://www.youtube.com/watch?v=YL7gv9uQxRQ

optocoupler help

I think I'm having a hard time understanding how an optocoupler works. I made a circuit based on example 15 if the Arduino projects book, but instead of trying to hack a button, I'm trying to just light an LED on either side of the optocoupler. But, I guess I'm misunderstanding how this should work because the LED i'm trying to light doesn't light.

Below is a link to a youtube video I made. It shows the circuit. You can see the blue LED which runs from pin 2 of the optocoupler into ground lights up, but the red LED (which works, I verified) which runs from pins 4 to pin 5 of the optocoupler does not. I was under the impression that if I emitted high from the arduino to the pin 1 of the optocoupler through a 220 resistor (mine is 270 actually) and provided a path to ground that the optocoupler would be switched on and I would get current and ground from the pins on the other side.

Any suggestions - what am I missing?

My circuit:

http://www.youtube.com/watch?v=YL7gv9uQxRQ

How to fix Arduino optocoupler + LED that doesn't light up?

I'm having a hard time understanding how an optocoupler works. I made a circuit based on example 15 if the Arduino projects book. Instead of trying to hack a button, I'm trying to just light an LED on either side of the optocoupler. I'm misunderstanding how this should work because the LED I'm trying to light doesn't light.

My youtube video shows my circuit. You can see the blue LED which runs from pin 2 of the optocoupler into ground lights up, but the red LED (which works, I verified) which runs from pins 4 to pin 5 of the optocoupler does not. I was under the impression that if I emitted high from the arduino to the pin 1 of the optocoupler through a 220 resistor (mine is 270 actually) and provided a path to ground that the optocoupler would be switched on and I would get current and ground from the pins on the other side.

Any suggestions - what am I missing?

deleted 112 characters in body
Source Link
Passerby
  • 73.4k
  • 7
  • 95
  • 212

I think I'm having a hard time understanding how an optocoupler works. I made a circuit based on example 15 if the Arduino projects book, but instead of trying to hack a button, I'm trying to just light an LED on either side of the optocoupler. But, I guess I'm misunderstanding how this should work because the LED i'm trying to light doesn't light.

Below is a link to a youtube video I made. It shows the circuit. You can see the blue LED which runs from pin 2 of the optocoupler into ground lights up, but the red LED (which works, I verified) which runs from pins 4 to pin 5 of the optocoupler does not. I was under the impression that if I emitted high from the arduino to the pin 1 of the optocoupler through a 220 resistor (mine is 270 actually) and provided a path to ground that the optocoupler would be switched on and I would get current and ground from the pins on the other side.

Any suggestions - what am I missing?

My circuit:

http://www.youtube.com/watch?feature=youtube_gdata_player&v=YL7gv9uQxRQ&desktop_uri=%2Fwatch%3Fv%3DYL7gv9uQxRQ%26feature%3Dyoutube_gdata_player&nomobile=1http://www.youtube.com/watch?v=YL7gv9uQxRQ

I think I'm having a hard time understanding how an optocoupler works. I made a circuit based on example 15 if the Arduino projects book, but instead of trying to hack a button, I'm trying to just light an LED on either side of the optocoupler. But, I guess I'm misunderstanding how this should work because the LED i'm trying to light doesn't light.

Below is a link to a youtube video I made. It shows the circuit. You can see the blue LED which runs from pin 2 of the optocoupler into ground lights up, but the red LED (which works, I verified) which runs from pins 4 to pin 5 of the optocoupler does not. I was under the impression that if I emitted high from the arduino to the pin 1 of the optocoupler through a 220 resistor (mine is 270 actually) and provided a path to ground that the optocoupler would be switched on and I would get current and ground from the pins on the other side.

Any suggestions - what am I missing?

My circuit:

http://www.youtube.com/watch?feature=youtube_gdata_player&v=YL7gv9uQxRQ&desktop_uri=%2Fwatch%3Fv%3DYL7gv9uQxRQ%26feature%3Dyoutube_gdata_player&nomobile=1

I think I'm having a hard time understanding how an optocoupler works. I made a circuit based on example 15 if the Arduino projects book, but instead of trying to hack a button, I'm trying to just light an LED on either side of the optocoupler. But, I guess I'm misunderstanding how this should work because the LED i'm trying to light doesn't light.

Below is a link to a youtube video I made. It shows the circuit. You can see the blue LED which runs from pin 2 of the optocoupler into ground lights up, but the red LED (which works, I verified) which runs from pins 4 to pin 5 of the optocoupler does not. I was under the impression that if I emitted high from the arduino to the pin 1 of the optocoupler through a 220 resistor (mine is 270 actually) and provided a path to ground that the optocoupler would be switched on and I would get current and ground from the pins on the other side.

Any suggestions - what am I missing?

My circuit:

http://www.youtube.com/watch?v=YL7gv9uQxRQ

Source Link
j03m
  • 221
  • 3
  • 7

optocoupler help

I think I'm having a hard time understanding how an optocoupler works. I made a circuit based on example 15 if the Arduino projects book, but instead of trying to hack a button, I'm trying to just light an LED on either side of the optocoupler. But, I guess I'm misunderstanding how this should work because the LED i'm trying to light doesn't light.

Below is a link to a youtube video I made. It shows the circuit. You can see the blue LED which runs from pin 2 of the optocoupler into ground lights up, but the red LED (which works, I verified) which runs from pins 4 to pin 5 of the optocoupler does not. I was under the impression that if I emitted high from the arduino to the pin 1 of the optocoupler through a 220 resistor (mine is 270 actually) and provided a path to ground that the optocoupler would be switched on and I would get current and ground from the pins on the other side.

Any suggestions - what am I missing?

My circuit:

http://www.youtube.com/watch?feature=youtube_gdata_player&v=YL7gv9uQxRQ&desktop_uri=%2Fwatch%3Fv%3DYL7gv9uQxRQ%26feature%3Dyoutube_gdata_player&nomobile=1