10 DOF Sensor SKU:SEN0140
Part | Datasheet |
---|---|
![]() |
SEN0140 (pdf) |
PDF Datasheet Preview |
---|
10 DOF Sensor SKU:SEN0140 From Robot Wiki Contents • 1 Introduction o Applications • 2 Specification • 3 Connection Diagram • 4 Example Code Introduction At the beginning,the inertial measurement unit is an electronic device that measures and reports on a craft's velocity, orientation, and gravitational forces, using a combination of accelerometers,gyroscopes, and magnetometers. Now IMUs are commonly used in the Humancomputer interaction HCI , navigational purposes and balancing technology used in the Segway Personal Transporter as we all known. • Aircraft • Balancing robots • Indoor inertial navigation • Altimeter • Interaction HCI Specification • Wide power input range from 3 to 8 volts • Low noise LDO regulator • Low cost IMU • Interface I2C • M3x2 mounting holes for easily fixing in your mobile platforms,robots,HCI or UAVs • LED power indication • Integrate 10 dof sensors o Adxl345 accelerometer o ITG3200 gyro o HMC5883L Compass o BMP085 pressure sensor • Compact size design and • Compatible with Arduino controllers • Electricity gold PCB • Size 26x18mm Connection Diagram 10 Dof Connection Diagram Example Code Please download the libraries for the all the IMU sensors first! #include <Wire.h> #include <FreeSixIMU.h> #include <FIMU_ADXL345.h> #include <FIMU_ITG3200.h> #include <HMC5883L.h> float angles[3] // yaw pitch roll float heading; short temperature long pressure; // Set the FreeSixIMU object FreeSixIMU sixDOF = FreeSixIMU ; HMC5883L compass // Record any errors that may occur in the compass. int error = 0; void Serial.begin 9600 Wire.begin ; delay 5 sixDOF.init //init the Acc and Gyro delay 5 compass = HMC5883L // init HMC5883 error = compass.SetScale 1.3 // Set the scale of the compass. error = // Set the meas urement mode to Continuous if error != 0 // If there is an error, print it out. bmp085Calibration // init barometric pressure sensor void sixDOF.getEuler angles ; temperature = bmp085GetTemperature bmp085ReadUT pressure = bmp085GetPressure bmp085ReadUP ; getHeading PrintData ; delay 300 ; void // Retrive the raw values from the compass not scaled . MagnetometerRaw raw = compass.ReadRawAxis // Retrived the scaled values from the compass scaled to the configured sc ale . MagnetometerScaled scaled = compass.ReadScaledAxis ; // Values are accessed like so int MilliGauss_OnThe_XAxis = scaled.XAxis;// or YAxis, or ZAxis // Calculate heading when the magnetometer is level, then correct for signs of axis. heading = atan2 scaled.YAxis, scaled.XAxis ; float declinationAngle = heading += declinationAngle; heading += 2*PI; // Check for wrap due to addition of declination. if heading > 2*PI heading -= 2*PI; // Convert radians to degrees for readability. heading = heading * 180/M_PI; void |
More datasheets: PT8A3283PEX | PT8A3287BPEX | PT8A3287PEX | PT8A3285BWE | PT8A3285BWEX | PT8A3284PEX | PT8A3287BWE | PT8A3287WEX | 3256 | HEDS-9041-J00 |
Notice: we do not provide any warranties that information, datasheets, application notes, circuit diagrams, or software stored on this website are up-to-date or error free. The archived SEN0140 Datasheet file may be downloaded here without warranties.