Posts

Showing posts from April, 2016

Measuring bank angles with the MPU6050 and Raspberry Pi - Wiring the components and installing the required software packages

Image
The software requirements: The last time I showed a short overview of the project I am going to post throughout the next blog enries. By now you should have the hardware and we can start to set everything up.  First of all your raspberry operating system needs some additional software parts, that are usually not included in the "out of the box" version of raspbian. At first you have to make sure, that the I2C kernel module is switchted on. To do that you have modify the advanced options in the configuration tool. To do so, type: sudo raspi-config In the command line and then switch to "Advanced Options". Select "A6 I2C" and enable the automatic loading of the I2C kernel module. The next step is to update and upgrade your operating system. A standard procedure, done with typing: sudo apt-get update sudo apt-get upgrade   For the sensor readout you need the smbus library, as well as the i2c tools. Type the following commands into a command wind...