MPU6050 Interfacing with Raspberry Pi using ‘C’

Introduction:

  • MPU6050 sensor module is an integrated 6-axis Motion tracking device.
  • It has a 3-axis Gyroscope, 3-axis Accelerometer, Digital Motion Processor and a Temperature sensor, all in a single IC.
  • It can accept inputs from other sensors like 3-axis magnetometer or pressure sensor using its Auxiliary I2C bus.
  • If external 3-axis magnetometer is connected, it can provide complete 9-axis Motion Fusion output.
  • A microcontroller can communicate with this module using I2C communication protocol. Various parameters can be found by reading values from addresses of certain registers using I2C communication.
  • Gyroscope and accelerometer reading along X, Y and Z axes are available in 2’s complement form.
  • Gyroscope readings are in degrees per second (dps) unit; Accelerometer readings are in g unit.

For more information about MPU6050 Sensor Module and how to use it, refer the topic MPU6050 Sensor Module in the sensors and modules section.

Read More

Adding USB Attached GPS to your Raspberry Pi Projects

This quick learning guide will show you everything you need to do to add position tracking to your Pi project using the open source GPS daemon ‘gpsd’ and an inexpensive USB to TTL adapter cable or via direct-wiring to the built-in Pi UART pins

Please note this guide installs a system service called gpsd which you can then query for data. You may be better off just using pure python to read data from the GPS, its less complex in many cases

Read More

U-Geek Robot Expansion Board for Raspberry Pi

Let your robotic dreams come true with the new DC+Stepper Motor HAT. This Raspberry Pi add-on is perfect for any motion project as it can drive up to 4 DC or 2 Stepper motors with full PWM speed control, It also adds the capability to control 4 Servos with perfect timing.

Function:

•    4 H-Bridges:provides 1.2A per bridge (3A peak) with thermal shutdown protection, internal kickback protection diodes. Can run motors on 5VDC to 12VDC.
•    Up to 4 bi-directional DC motors with individual 8-bit speed selection (so, about 0.5% resolution)
•    Up to 2 stepper motors (unipolar or bipolar) with single coil, double coil, interleaved or micro-stepping.
•    Up to 4 Channel 12-bit PWM/Servo(5V)
•    OneInfrared Receiver(GPIO26)
•    Big terminal block connectors to easily hook up wires (18-26AWG) and power
•    Polarity protected 2-pin terminal block and jumper to connect external 5-12VDC power
•    Works best with Raspberry Pi model A+, B+, or Pi 2;Read More

Do NOT follow this link or you will be banned from the site!