You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Edit:
it's look like the circuit become openned instead of closed, when adding led close to Arduino it will turn on only when switch triggered.
Actualy sometime it works and most of the time not.
The text was updated successfully, but these errors were encountered:
your 1K resistors on the output of the opto-coupler are too low. Change to 10K but not lower than 4.7K. You have approx 20ma for forward current on the LED. The collector current should be 1ma instead of 5ma that you have. The spec sheet doesn't have a graph for collector current related to saturation voltage of the transistor. It does spec 1ma with a 0.2 volt max value.
your 1K resistors on the output of the opto-coupler are too low. Change to 10K but not lower than 4.7K. You have approx 20ma for forward current on the LED. The collector current should be 1ma instead of 5ma that you have. The spec sheet doesn't have a graph for collector current related to saturation voltage of the transistor. It does spec 1ma with a 0.2 volt max value.
Thanks SMTDigns, i already move forward with other schematic (resistors + capacitors) because this cause to me a lot headaches and finally a short-cut on my pi... But I'll try that next time.
I'm using a transistor output optocoupler PC817
But it's not working before i added the wiring showed here all was working with a lot of noise. But now limits switch are not detected.
My settings for NC:
What i did wrong?
Thanks
Edit:
it's look like the circuit become openned instead of closed, when adding led close to Arduino it will turn on only when switch triggered.
Actualy sometime it works and most of the time not.
The text was updated successfully, but these errors were encountered: