Arduino 5 Minute Tutorials: Lesson 7 - Accelerometers, Gyros, IMUs

@coleman benson hello we are currently setting up an installation with 2 accelerometers, loudspeakers and 12 pieces of 16volt solenoids, all running in a 50m multicore cable. The sensors are randomly disturbed by strong oscillating signals. I guessone part is a grounding issue, it gets better when the solenoids are off. But not always. Do think it is impossible to get a clear reliable signal in this setup or any other ideas? Thank you

@Robert If you yourself think there is a grounding issue, then worth pursuing. A setup like you described can certainly be accomplished. Suggest posting on the community (RobotShop Forum or letsmakerobots.com) with details, images etc. and describe exactly what happens. It might be programming - hard to tell.

whats the limit for the arduino, regarding the number of accelerometers that can be connected?

i need 100 accelerometers for an specific project. Is it possible to use only one arduino? Or do you guys recommend more?

@portalEA Welcome to the RobotShop Community. Since you’d be using many, it’s easiest to assign them an ID, which is possible using I2C. As such, look up accelerometers with the specs you need an I2C communication. You can connect them all to one I2C bus on the Arduino, but the issue might be the maximum speed of communication. Also, Arduino boards use different microcontrollers and some are faster than others.

https://www.robotshop.com/en/sensors-accelerometers.html

Dear cbenson,
Thanks for this tutorial. Please clear me if I am wrong. Is the Gyro that you’re using, as same as this one? Triple Axis Accelerometer & Gyro Breakout - MPU-6050? Or you’re using any other updated version?

@rpiloverbd You mean the one shown in the image in the lesson? It’s quite old and based on the fact that it’s red, it was likely from Sparkfun. The one you link to uses I2C whereas the one in the image is analog. Honestly not sure which sensor was shown at the time.