BRT Community

Please login or register.

Login with username, password and session length
Advanced search  

News:

Welcome to the Bridgetek Community!

Please read our Welcome Note

Technical Support enquires
please contact the team
@ Bridgetek Support

Please refer to our website for detailed information on all our products - Bridgetek - Bridging Technology

Author Topic: Feature idea: support an accelerometer for orientation detection  (Read 73 times)

Rudolph

  • Sr. Member
  • ****
  • Posts: 424
    • View Profile
Feature idea: support an accelerometer for orientation detection
« on: November 30, 2024, 11:37:49 AM »

I was just looking at what accelerometers are available on Mouser, sorted by price, as to detect the orientation of the display the simplest option should do.
And the most inexpensive option that is available today is a MXC4005XC with an I2C interface.

Then it hit me, EVE already is using I2C for the touch sensor.
And at least electrically it would be a no-brainer to add a second chip to the existing I2C bus, the only thing to look out for would be the chips adresses.
So what is missing in order to support an optional accelerometer is some software in the EVE chip to detect such an accelerometer on startup, read the registers if a accelerometer is present, calculate the orientation of the device from it and then provide the information in a register.

REG_ORIENTATION
Bit 2 – 0: screen orientation information bits.
0b’000: Default landscape orientation
0b’001: Inverted landscape orientation
0b’010: Portrait orientation
0b’011: Inverted portrait orientation

Well, maybe that is a dumb idea as I have no idea so far how complicated it is to implement this in software.
Hmm, I could add an accelerometer with SPI to my controller board for EVE,
this might be something extra to do untill BT820 are available to play with. :-)
« Last Edit: December 01, 2024, 12:31:14 PM by Rudolph »
Logged

BRT Community

  • Administrator
  • Hero Member
  • *****
  • Posts: 780
    • View Profile
Re: Feature idea: support an accelerometer for orientation detection
« Reply #1 on: December 02, 2024, 12:09:53 PM »

Hello Rudolph,

Thank you for your post!

Certainly an interesting idea which we will pass along to the development team for review!

Best Regards,
BRT Community
Logged