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

NOT DISPLAYING RIGHT VOLTAGE #5

Open
ALJAZHERO opened this issue Jul 12, 2022 · 3 comments
Open

NOT DISPLAYING RIGHT VOLTAGE #5

ALJAZHERO opened this issue Jul 12, 2022 · 3 comments

Comments

@ALJAZHERO
Copy link

Hi @swolebro , I have build your THC. It seems to be working fine for the most just 1 thing is off. It displays wrong voltage. For example 11.0V instead of 110.0V. Do you have a sugestion what is wrong. Thanks

@swolebro
Copy link
Owner

I got a hunch the value for SCALE I provided here in thc.ino doesn't match your setup. What's the ratio on your voltage divider?

@ALJAZHERO
Copy link
Author

Ratio is 50:1, the program is working fine just display is wrong

@swolebro
Copy link
Owner

Hm, any chance the wires for the LCD are mixed up? That's a longshot, but you might be getting "110" backwards.

What do you get if you hook the analog read pins up to a simple 1.5V battery? Or if you hook up a USB cable and do some debugging serial prints of the ADC counts?

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