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

Noisey MS5611 Altitude when 2.9inch e-Paper Enabled #3

Open
glydrfreak opened this issue Jan 1, 2018 · 2 comments
Open

Noisey MS5611 Altitude when 2.9inch e-Paper Enabled #3

glydrfreak opened this issue Jan 1, 2018 · 2 comments

Comments

@glydrfreak
Copy link
Owner

glydrfreak commented Jan 1, 2018

EPAPER TAKES SIGIFICANT TIME TO UPDATE EACH FRAME;

  • WHEN THE DISPLAY IS ENABLED, THE ALTITUDE DATA IS VERY NOISY AT 87 SAMPLES PER SECOND;
  • WHEN THE DISPLAY IS OFF, THE ALTITUDE DATA IS VERY SMOOTH AT 91 SAMPLES PER SECOND;
@glydrfreak glydrfreak added the bug label Jan 1, 2018
@glydrfreak glydrfreak self-assigned this Jan 1, 2018
@glydrfreak
Copy link
Owner Author

glydrfreak commented Jan 1, 2018

When the epd is reset using...

digitalWrite(rst_pin, LOW);
delay(200);
digitalWrite(rst_pin, HIGH);
delay(200);

...and if no more requests are sent to refresh the display, precision is regained. If there is another command sent to refresh the display after the reset sequence, noisy data remains.
It seems as though there is some hardware interference.

@glydrfreak glydrfreak removed their assignment Jan 5, 2018
@glydrfreak glydrfreak changed the title Noisey Altitude when EPD Enabled Noisey MS5611 Altitude when 2.9inch e-Paper Enabled Jan 5, 2018
@glydrfreak
Copy link
Owner Author

  • I wired up the MS5611 via I2C and still I get noisey data when the EPD is enabled.
  • I also tried to slow down the loops while the EPD was disabled to ensure the same sample rate.

Still no avail. Looks like this isn't SPI interference like I thought it was. Perhaps something with the power line going through the EPD? I'm desperate for ideas now. Until then, it looks like the 2.9" e-Paper Display is a no go.

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

No branches or pull requests

1 participant