kookooli
Junior Member level 3
- Joined
- Jul 10, 2014
- Messages
- 30
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 6
- Activity points
- 235
Unuseful. Should work without any resistors. Don't forget that output is an open collector type. Thats's all for this moment. No schematic = no solution.Hi!
Try a parallel resistor on the optocoupler led. This will help discharging led capacity and speeding up the falling edge of signal.
What for you using NOT logic? Just connect the led between VCC and mcu output throu resistor.It works for me.
Optocouple giving you a possibility to isolate mcu from terminal or other mcu. You will be able to use different power sources with independend grounds.
The emphasis is on "isolation" and "independend grounds". Neither condition applies with a simple mixed 3.3V/5V supply system. That's why Easyrider83 designated it a useless optocoupler application.I never thought that 5V MCU can be interfaced to another 3.3V MCU using opto isolator.
It works for me.
You'll find the answer in the discussion above. Wrong signal polarity.
By the way. Connecting both sides of the optocoupler to same ground, are you presenting one of those useless optocoupler circuits mentioned by Easyrdider83?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?