universam1 / iSpindel

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

Problems calibrating new build #433

Closed jpclouduk closed 3 years ago

jpclouduk commented 4 years ago

I'm going to attach some logs once I get my IDE talking to wemos correctly on Debian. In the meantime, I've searched through all the bugs/faqs/etc and can't find anyone with this exact issue other than where the calibration is done when the accelo is NOT facing up.

Any thoughts while I gather some useful info ?

jpclouduk commented 4 years ago

Got the IDE working. here's the calibration from the logs;

WM: Request redirected to captive portal WM: offset Testing device connections... MPU6050 connection successful

**......>...... at 600 Readings

// X Accel Y Accel Z Accel X Gyro Y Gyro Z Gyro //OFFSETS -1868, -940, 3058, 122, 19, -58

new offsets: -1868:-940:3058 confirming offsets: -1868:-940:3058 saving config... {"Name":"iSpindel000","Token":"","Sleep":900,"Server":"","API":0,"Port":80,"Channel":0,"URI":"","DB":"ispindel","Username":"","Password":"","Job":"ispindel","Instance":"000","Vfact":191.8,"TS":0,"OWpin":12,"POLY":"-0.00031tilt^2+0.557tilt-14.054","SSID":"","PSK":"","Offset":[-1868,-940,3058,122,19,-58]} saved successfully *WM: Request redirected to captive portal

jpclouduk commented 4 years ago

Does anyone know an easy way to read the X,Y,Z values in arduino IDE? I think these values are probably causing the issue as they seem way out to some of the offset readings I have seen from others. I have another wemos/gy521 on order to compare.

thegreatgunbantoad commented 4 years ago

You probably have a knackered accelerometer. Had a few duds myself do very similar.

jpclouduk commented 4 years ago

You probably have a knackered accelerometer. Had a few duds myself do very similar.

Yeah, got the new wemos and accel today and rebuilt. All testing is fine but I noticed I'm now seeing the Deep Sleep issue where the board doesn't wake up after the first ping of metrics. Checked all the soldering and shorts etc but all good. I'll take the new accel off and put it on the old wemos. From what I have read there are some wemos boards that don't like the bat42 resistor but that's beyond me. Very frustrating but that's DIY ;)

thegreatgunbantoad commented 4 years ago

Make sure that BAT42 diode is the right way round, fitting it backwards will prevent wake from deep sleep.

ErikdBr commented 4 years ago

Make sure that BAT42 diode is the right way round, fitting it backwards will prevent wake from deep sleep.

Isn't it a BAT43 diode? As suggested here: https://github.com/universam1/iSpindel/issues/59#issue-224394180

thegreatgunbantoad commented 4 years ago

Make sure that BAT42 diode is the right way round, fitting it backwards will prevent wake from deep sleep.

Isn't it a BAT43 diode? As suggested here: #59 (comment)

It is indeed I just followed the same typo from the post before, doh!

jpclouduk commented 3 years ago

Make sure that BAT42 diode is the right way round, fitting it backwards will prevent wake from deep sleep.

Isn't it a BAT43 diode? As suggested here: #59 (comment)

It is indeed I just followed the same typo from the post before, doh!

Many thanks. I switched to the old wemos with the new accelo and all working 100%. I have quite a few components now so I'm going to breadboard everything and test before soldering. I'll retest the faulty wemos in the breadboard setup.

Feel free to close this. This does appear to be a hardware issue.

thegreatgunbantoad commented 3 years ago

Make sure that BAT42 diode is the right way round, fitting it backwards will prevent wake from deep sleep.

Isn't it a BAT43 diode? As suggested here: #59 (comment)

It is indeed I just followed the same typo from the post before, doh!

Many thanks. I switched to the old wemos with the new accelo and all working 100%. I have quite a few components now so I'm going to breadboard everything and test before soldering. I'll retest the faulty wemos in the breadboard setup.

Feel free to close this. This does appear to be a hardware issue.

Usually wemos clone boards and the gyros are the ones that can be duff. Only ever had 1 charger board go.

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.