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

Interfacing the Neo-6M GPS Module & Raspberry Pi with LCD Readout

One of the coolest embedded platforms like the Raspberry Pi has given makers and DIYers the ability to get location data easily using GPS module and thus build things that rely on location. With the amount of power packed by the Raspberry Pi, it certainly will be quite awesome to build GPS based projects with the same cheap GPS modules and that is the focus of this post. Today in this project we will Interface GPS module with Raspberry Pi 3.

The goal of this project is to collect location data (longitude and latitude) via UART from a GPS module and display them display on a 16×2 LCD, so if you are not familiar with the way the 16×2 LCD works with the Raspberry Pi, this is another great opportunity to learn.Read More

Triple Axis Magnetometer HMC5883L Interfacing with Raspberry Pi

HMC5883L Magnetometer Module:

  • Magnetometer HMC5883L is used for measuring the direction and magnitude of the Earth’s magnetic field. It is used for low cost compassing and magnetometry.
  • It measures the Earth’s magnetic field value along the X, Y and Z axes from milli-gauss to 8 gauss.
  • It can be used to find the direction of heading of the device.
  • It uses I2C protocol for communication with microcontroller.

For more information about Magnetometer HMC5883L and how to use it, refer the topic HMC5883L Magnetometer Module in the sensors and modules section.Read More

Interfacing SSD1306 OLED Display with Raspberry Pi

Most of us would be familiar with the 16×2 Dot matrix LCD display that is used in most of the projects to display some information to the user.  But these LCD displays have a lot of limitations. In this tutorial, we are going to learn about OLED display and how to use them with Raspberry Pi. There are lots of types of OLED displays available in the market and there are lots of ways to get them working.Read More

PIR Motion Sensor Interfacing with Raspberry Pi using Python

All living objects, whose body temperature is more than 0ºC, emit the heat in form of infrared radiation through their body, also called as thermal radiations. This Radiated energy is invisible to human eye. These Signals can be detected by using PIR sensor which is specially designed for such purpose.

Grid eye illusion

In Passive Infrared (PIR) Sensor, passive word indicates PIR Sensor does not generate or radiate any energy for detection purposes.

PIR Sensors don’t detect or measure “HEAT“; they detect the infrared radiation emitted or reflected from objects.

They are small, inexpensive, low power and easy to use. They are commonly found at home, medical, factories etc. areas.Read More

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