Ralim / IronOS

Open Source Soldering Iron firmware
https://ralim.github.io/IronOS/
GNU General Public License v3.0
7.14k stars 712 forks source link

MHP30: No Accelerometer detected #1328

Closed markbirss closed 2 years ago

markbirss commented 2 years ago

At startup message displayed that - No Accelerometer detected

To Reproduce

  1. Flashed new device with v2.18.2.70565de release fw
  2. Powered up again
  3. See error --> No Accelerometer detected

Expected behavior Detect Accelerometer

Details of your device:

Debug menu shows: ACC None

Additional context First time user with new device

Bought from BangGood June 2022

Ralim commented 2 years ago

Hello, To confirm was the accelerometer functional in the stock os?

If it was then most likely they have changed what model accelerometer is fitted.

Two options: (1) open device and look at what they have fitted Or (2) make firmware to scan the i2c bus to find it.

If you have time and are willing to go looking that would be great but otherwise I can try and make you a firmware to scan.

markbirss commented 2 years ago

@Ralim

To confirm stock firmware accelerometer works and shows "WARNING" when device is tilted when heating up

https://www.minidso.com/forum.php?mod=viewthread&tid=4385&extra=page%3D1

otherwise I can try and make you a firmware to scan. That would be great, I can run it and report back

Jarves020 commented 2 years ago

Hi,

i have the same Problem. Tilt Sensor not working under IronOS 2.19. Debug Menu shows "ACC None". Flashed MiniWare 2.06 Firmware and Tiltsensor works.

Disassembled the unit and made Pictures of the PCB with readable Part Markings. PCB Version is V1_6_A. I guess that the accelerometer is the Part in the middle of the PCB back side (second Picture) marked with "AMVM 693"?

tempImageejFq3d tempImageUkIYLk

markbirss commented 2 years ago

@Jarves020 thank you for opening it up and taking the pictures.

Adafruit has a handy list and pdf with some common I2C stuff but it not listed there either only other 3-axis accelerometer's

https://learn.adafruit.com/i2c-addresses/the-list https://cdn-learn.adafruit.com/downloads/pdf/i2c-addresses.pdf

wildblue commented 2 years ago

I have the same problem.

Ralim commented 2 years ago

Can you please test the firmware from this action: https://github.com/Ralim/IronOS/actions/runs/2893341755

If you get no errors, can you report which model it recognises? If you get no errors, can you report if it works?


Chased up on miniware and the person I talked to thinks its the SCA7 but not 100% sure. Going to test existing drivers first.

Jarves020 commented 2 years ago

Hi, tested the firmware. It works after setting the "Motion sensitivity" > 0 (0 seems to be the default FW setting) in the "Sleep Mode" Menu. The move counter in the debug Menu counts up on Movement. Heating stops if you tilt it in any direction and the status LED switches to green, but no Alert is Displayed. The Display also goes to sleep after a while in Standby and wakes up on Movement.

Acc reported is SC7A20.

Thanks!

IMG_4743D IMG_4744

Ralim commented 2 years ago

Thanks for testing.

I've since updated that patch to just add the SCA, could you double-check for me that this firmware also works: https://github.com/Ralim/IronOS/actions/runs/2901939828

And if so I'll merge it in and call it done :)

Jarves020 commented 2 years ago

HI,

i can confirm, that https://github.com/Ralim/IronOS/actions/runs/2901939828 works as well. Acc is detected as SC7A20 and heating stops if the Plate is tilted!

discip commented 2 years ago

@markbirss Have you had any chance to test the firmware provided by @Ralim lately? If that works for you as well, please do not forget to close this issue. 😊

thanks in advance

markbirss commented 2 years ago

@discip Just tested all good, thank you all