universam1 / iSpindel

electronic Hydrometer
http://www.ispindel.de
Other
827 stars 322 forks source link

Wrong tilt value #602

Closed Basbosbaas closed 1 year ago

Basbosbaas commented 1 year ago

I'm submitting a ...

Did you follow the general troubleshooting steps first:

Report

When I've callibrated the Ispindel on a flat surface its about 90 degrees tilt. But when I take it vertical it haves a tilt of about 45 degrees.

when 90 degrees (horizontal): image

when about 45 degrees: image

When about 0 degrees (vertical): image

Your Environment

thegreatgunbantoad commented 1 year ago

You may well have a duff sensor. There are a lot of poor quality counterfeit items out there (Especially the Wemos boards). I have had my fair share of rubbish tilt sensors. I assume you have checked that it's the right way around and all that kind of thing. A picture of it laid down during calibration might help us out. This is unlikely to be a software bug.

ErikdBr commented 1 year ago

Today I build a new iSpindel based on TheJeffrey 2.69 PCB and an original Wemos (Lolin) V3.1.0. I flashed it with the latest stable firmware: 7.2.1, did the calibration on a flat surface and these are my numbers, flat close to 90 degrees, vertical close (enough) to zero degrees in either direction (with the battery up or down), don't mind the gravity cause I didn't yet did the calibration in water so the default polynominal is still in there. Screenshot_20230114-164509_Chrome-COLLAGE 20230114_164359

Basbosbaas commented 1 year ago

Ok, I get it.

Unfortunately it is a bad gyroscope. I will buy some more and test it with new ones.

Thanks for all the quick responses.

Basbosbaas commented 1 year ago

Just for you info: I've bought new gyroscopes and everything works fine!