Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

7 seg led relay always on in logic inputs mode when direct connect to relay #101

Open
goldenshaw opened this issue Aug 11, 2024 · 2 comments

Comments

@goldenshaw
Copy link

a and b segments both on
image

@pfalstad
Copy link
Owner

The implementation of the relay connects a large resistor between the two terminals (the +5V and the a terminal) when the switch is off. This means that the a terminal is still at +5V even though it can't conduct much current. But in logic input mode, the 7 segment display doesn't need any current. So you could add a pulldown resistor, or don't use logic input mode in the 7 segment display. I could probably add pulldown resistors to the relay.

@goldenshaw
Copy link
Author

it is great if you could integrate a pulldown resistor inside, then we don't need to add it.
when a relay stand alone, both out endpoint show the color of high voltage, i think this is confusing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants