IronOS icon indicating copy to clipboard operation
IronOS copied to clipboard

MHP30: No Accelerometer detected

Open markbirss opened this issue 1 year ago • 4 comments

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:

  • Device: MHP30
  • Release: v2.18.2.70565de
  • Power adapter being used: 65W USB-C 20V 3.25Amp (PD No VBus)
  • If this is an accelerometer related issue, please include its model number here:

Debug menu shows: ACC None

Additional context First time user with new device

Bought from BangGood June 2022

markbirss avatar Jul 10 '22 16:07 markbirss

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.

Ralim avatar Jul 10 '22 23:07 Ralim

@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

markbirss avatar Jul 11 '22 07:07 markbirss

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

Jarves020 avatar Jul 17 '22 16:07 Jarves020

@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

markbirss avatar Jul 17 '22 17:07 markbirss

I have the same problem.

wildblue avatar Aug 20 '22 02:08 wildblue

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.

Ralim avatar Aug 20 '22 03:08 Ralim

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

Jarves020 avatar Aug 20 '22 08:08 Jarves020

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 :)

Ralim avatar Aug 22 '22 07:08 Ralim

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!

Jarves020 avatar Aug 22 '22 15:08 Jarves020

@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

discip avatar Aug 22 '22 21:08 discip

@discip Just tested all good, thank you all

markbirss avatar Aug 23 '22 07:08 markbirss