Free Up Some Space On Your Raspbian SD Card

There are occasions when you may want to free up some space on your (micro)-SD card. If it’s getting full, or you want to store large media files, or install a large application, you may find you run out of space.

There’s an awful lot of good stuff in the default Raspbian Jessie distro these days, but you may not be using all of it on all of your Pis. So, let’s have a look at which of the pre-installed packages take up a lot of space and could give us “an easy win” here.

If you don’t want a full desktop, there is Jessie Lite too (under a Gigabyte) but, if you want a leaner card with a desktop pre-installed removing, some large packages may be a better way to go.Read More

Infrared Distance Measurement with the Sharp GP2Y0A02YK0F

There are some infrared distance sensors from the manufacturer Sharp, which can be operated very simply with the Raspberry Pi. There are different distance meters, which cover different distance ranges. These modules work similarly to laser distance meters, but with infrared light. There, bundled light is emitted by a transmitter and an analogue voltage is transmitted through a receiver on the basis of the angle of incidence, whereby the distance can be calculated.

In this tutorial, the distance sensor GP2Y0A02YK0F shows how a distance can be determined. This may be useful, e.g. in the car as a car PC (rear view camera distance), as a robot car or in the context of home automation.Read More

Connecting a Ultrasonic Sensor HC-SR04 (Distance Sensor) to a Raspberry Pi

For many (outdoor) projects a distance measurement is necessary or advantageous. These small modules are available starting at 1-2 bucks and can measure the distance up to 4-5 meters by ultrasound and are surprisingly accurate. This tutorial shows the connection and control.

Wiring:

There are four pins on the ultrasound module that are connected to the Raspberry:

  • VCC to Pin 2 (VCC)
  • GND to Pin 6 (GND)
  • TRIG to Pin 12 (GPIO18)

Connect the 330Ω resistor to ECHO.  On its end you connect it to Pin 18 (GPIO24) and through a 470Ω resistor you connect it also to Pin6 (GND).Read More

Servo Motor Control with Raspberry Pi

In this tutorial we will Control Servo Motor with Raspberry Pi. Before going to servo let’s talk about PWM because the concept of controlling Servo Motor comes from it.

PWM (Pulse Width Modulation):

PWM stands for; ‘Pulse Width Modulation’. PWM is a method used for getting variable voltage from a stable power supply. For better understanding PWM consider the circuit below,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

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