accelerometer

L20G20IS Gyroscope The secret behind the perfect picture

L20G20IS Gyroscope: The secret behind the perfect picture

STMelectronics introduces a super tiny two-axis gyroscope (L20G20IS), a Micro-Electro-Mechanical system (MEMS) designed for the optical image stabilization for Smartphones with less energy consumption compared to its predecessor (L2G2IS). A gyroscope, or gyro for short, adds an additional dimension to the information supplied from the accelerometer by tracking rotation or twist. An accelerometer measures linear acceleration of movement, while […]

L20G20IS Gyroscope: The secret behind the perfect picture Read More »

e used the pygame module to display the compass background

Raspberry Pi Car HUD

Objective The goal of our project is to use the Raspberry Pi and create a touchscreen enabled Heads Up Display (HUD) for an automobile. The HUD would display useful, real time information through an easy-to-ready GUI onto a PiTFT screen. Some example information includes the automobile’s speed, acceleration, cabin temperature, and engine RPM etc. We

Raspberry Pi Car HUD Read More »

Learn to use I2C Accelerometer

Learn to use I2C Accelerometer

I2C Accelerometer Sample We’ll connect an I2C accelerometer to your Raspberry Pi 2/MinnowBoard Max/DragonBoard and create a simple app to read data from it. We’ll walk you through step-by-step, so no background knowledge of I2C is needed. However, if you’re curious, SparkFun provides a great tutorial on I2C. This is a headed sample. To better understand what

Learn to use I2C Accelerometer Read More »

Air pressure sensors in smartphones

Air pressure sensors in smartphones

Today’s smartphones utilize a wide array of accelerometers, gyroscopes and various other sensors in their designs. Relatively unknown is the barometric pressure sensor, which measures air pressure. These sensors are currently being integrated into premium-grade smartphones, but are also becoming more common in mainstream phones or wearables such as fitness trackers and Internet of Things

Air pressure sensors in smartphones Read More »

Communicating with a SPI 3 axis accelerometer using a Raspberry Pi2

*Preliminary* SPI on the Pi: Communicating with a SPI 3-axis accelerometer using a Raspberry Pi

Step by step guide on how to setup Raspbian, and communicate with a SPI device using bcm2835 SPI library (NOT bit banged!) This is still very preliminary… I need to add better pictures of physical hookup, and work through some of the awkward code.   Step 1: Starting with a blank SD card, download Raspbian

*Preliminary* SPI on the Pi: Communicating with a SPI 3-axis accelerometer using a Raspberry Pi Read More »

Scroll to Top