mostafaRaspberry
Posts: 10
Joined: Tue Jun 02, 2020 12:05 pm

Is it possible to have multiple accelerometer in pi zero ?

Mon May 17, 2021 4:32 pm

Hello ,

I have Raspberry pi zero and I would like to know if is it possible to link two or more accelerometers at the same time ?

If yes please provide me any related documentation or tutorial .

Thanks

User avatar
joan
Posts: 15616
Joined: Thu Jul 05, 2012 5:09 pm
Location: UK

Re: Is it possible to have multiple accelerometer in pi zero ?

Mon May 17, 2021 4:49 pm

Follow a tutorial to connect one. Follow the tutorial again to connect another. If you have a problem let us know what doesn't work.

MiscBits
Posts: 249
Joined: Wed Jan 27, 2021 12:48 pm

Re: Is it possible to have multiple accelerometer in pi zero ?

Mon May 17, 2021 6:59 pm

Not sure why you would want two sensors on one Pi but have a look at the Motion Sensor breakout board from Pimoroni for one way of doing it.

The ICM20948 breakout board has a link on the back that lets you select the I2C bus address between 0x68 and 0x69 by cutting the link on the back.

Cut one jumper on the back, cable both up to the Pi and away you go.

Software for this is available from https://github.com/pimoroni/icm20948-python as a starting point - a very quick read of the library source shows the class handles i2c_addr and i2c_bus changes

Sorry I cannot be more helpful but this may give you a starting point.
Is a computer language with goto's totally Wirth-less?

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 28582
Joined: Sat Jul 30, 2011 7:41 pm

Re: Is it possible to have multiple accelerometer in pi zero ?

Tue May 18, 2021 11:59 am

MiscBits wrote:
Mon May 17, 2021 6:59 pm
Not sure why you would want two sensors on one Pi ...
Suspension rate of change on a car? You really want one on each hub.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Working in the Application's Team.

User avatar
Burngate
Posts: 6452
Joined: Thu Sep 29, 2011 4:34 pm
Location: Berkshire UK Tralfamadore
Contact: Website

Re: Is it possible to have multiple accelerometer in pi zero ?

Tue May 18, 2021 5:52 pm

One on each hoof going over Bechers, or one on each limb and one on the head coming off there.

One on each hoof and one on each wing of Pegasus.

I could go on, but I won't.

Return to “General discussion”