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

What is the purpose of the 4.7K resistor? #2

Open
marhar opened this issue May 26, 2020 · 1 comment
Open

What is the purpose of the 4.7K resistor? #2

marhar opened this issue May 26, 2020 · 1 comment

Comments

@marhar
Copy link

marhar commented May 26, 2020

Can you explain the purpose of the 4.7K resistor between the SPort pin and the Arduino, and why 4.7K is an appropriate value?

@Dakkaron
Copy link
Owner

There is a voltage difference between the Arduino, which is running on 5V, while the S.Port is running on 3.3V. The resistor is there to reduce the current between the Arduino and the S.Port, so that it doesn't fry the S.Port. It isn't strictly necessary, but it is a safety precaution.

4.7K was chosen to limit the current to a maximum of around ~1mA@5V. This is a current that almost all microcontrollers can handle without difficulty.
If a lower resistor is chosen, more current flows, potentially putting the S.Port at risk. If a higher resistor is chosen, the signal might not get through.

But I reckon, you will probably be fine with anything from 1K to 10K.

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