@Dedrick: It is not mandatory but greatly helps get a more representative reading and also remove electrical noise.
@sumeet A gyro can provide angular acceleration, which can be integrated into angular velocity, which can then be integrated into an angle. If you want linear velocity, you need an accelerometer.
Hi, is it possible to use the arduino, with a gyro, to make a wearable device that measures the different angles of rotation at the wrist of a human arm?
@Dave Certainly. However, you will need to factor in drift and suggest an IMU rather than just a gyro.
@Coleman, can put up a program to get raw values from IMU MPU6050
I have to make a stair climbing robot.The problem is after 3 step of stair the robot need to go straight until it found the next step of stair.I need the robot to have straight path from the first step of stair it climb until the end.Can I used gyrosensor with arduino uno to make sure the robot will always have straight path no matter what disturbance it face.thanks in advance =)
Any suggestions to transmit and receive wirelessly the readings of the sensor(accelerometer and gyroscope) ?
@Zila There are not many commercial stair climbing robots available to base your design off of. It’s really up to you to come up with a design which works.
@BHANU You need the sensor, connected to a microcontroller, and the microcontroller connected to a wireless device.
which among the three will b the best choice for hand gesture controlled robot and why?
Excelent website, I was using an IMU to start with after reaching the state in which the drone responds to every command I send from far away.
From what you say Mr. Benson, is that if I want to control orientation and correct for pitch, roll and yaw movements on my quad, I should start woth a 3AXIS gyro and a regular compass.? If such, can you suggest any?
@Agustin Ramon Ruckstuhl An IMU is best (which includes a gyro and compass). A Gyro is the minimum for a UAV, followed by an accelerometer. More information about UAVs here: https://www.robotshop.com/blog/en/robots/gorobotics/tutorials/how-to-make-a-drone-uav
My robot is moving in an arena. I need the location of my robot basically x and y co-ordinates…(x,y). Can i get that using IMU?
@SHANTANU BARAI Only for a certain time, because you will have drift. You may want to use distance sensors.
I am using a 3-axis analog accelerometer to measure wave displacement at sea, how would the code be double integrated so it outputs displacement instead of acceleration ?
@Connor Given a known initial location, you would use integration (continuously). As you can see, unless you are able to record and integrate all values at all times, your net displacement will drift over time. You can use it to get a good idea of relative displacement where acceleration is zero. You would likely also need a gyro, and if you are talking open ocean, an accurate GPS is often best.
Very informative tutorial.
But I have doubt, which interfacing are we using to connect Arduino UNO R3 with ADXL335.
Is it SPI or I2c or Serial(UART)?
@Abhishek The ADCL335 chip has 3 analog outputs, so it is not spi, i2c or UART. You need to use 3 of the analog ports of the Uno R3.