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

Datalogger V3 digital pins from arduino connected to switches measuring lower than 5V #4

Open
ltan10 opened this issue Mar 3, 2021 · 0 comments

Comments

@ltan10
Copy link

ltan10 commented Mar 3, 2021

Testing Method: Uploaded Following script

void setup() {
    pinMode(8, OUTPUT);
    pinMode(22, OUTPUT);
    pinMode(A1, OUTPUT);
}

void loop() {
    digitalWrite(A1, HIGH);
    digitalWrite(22, HIGH);
    digitalWrite(8, HIGH);
    delay(5000);
    digitalWrite(22, LOW);
    digitalWrite(A1, LOW);
    digitalWrite(8, LOW);
    delay(5000);
}

Observed D22 HIGH at 4.84V
D8 HIGH at 4.83V
A1 HIGH at 5.11V

Suspect impedance of BJT, n-fet pulldown and atmega pin impedance to contribute to voltage drop.
Able to ignore for the moment 2021-03-03

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

1 participant