Raspberry Pi

Raspberry Pi and SHT31 sensor example

SHT31 is the next generation of Sensirion’s temperature and humidity sensors. It builds on a new CMOSens® sensor chip that is at the heart of Sensirion’s new humidity and temperature platform. The SHT3x-DIS has increased intelligence, reliability and improved accuracy specifications compared to its predecessor. Its…

Read more

Raspberry PI and BH1750 light sensor

The BH1750FVI is an digital Ambient Light Sensor IC for I2C bus interface. This IC is the most suitable to obtain the ambient light data for adjusting LCD and Keypad backlight power of Mobile phone. It is possible to detect wide range at High resolution.…

Read more

Raspberry Pi and ADS1015 12 bit adc

The ADS1015 is a precision analog-to-digital converters (ADCs) with 12 bits of resolution offered in an ultra-small, leadless QFN-10 package or an MSOP-10 package. The ADS1015 are designed with precision, power, and ease of implementation in mind. The ADS1015 features an onboard reference and oscillator. Data…

Read more

Raspberry PI and ADXL345 GY-291 example

The ADXL345 is a small, thin, low power, 3-axis accelerometer with high resolution (13-bit) measurement at up to ±16g. Digital output data is formatted as 16-bit twos complement and is accessible through either a SPI (3- or 4-wire) or I2C digital interface. The ADXL345 is…

Read more

Raspberry Pi and 74hc595 wiringPi example

This is a follow on from the Raspberry PI and python example – http://www.pibits.net/code/raspberry-pi-and-74hc595-python-example.php This example uses wiringPi Schematic Code This example is C++, it will flash an LED one at a time connected to the 74HC595 Call this shift.c [codesyntax lang=”cpp”] #include <wiringPi.h> #include <stdio.h>…

Read more

Pi and PIR example

In this example we connect a PIR module up to our Raspberry PI, this is quite a simple module to connect as it requires only 5v, Gnd and the output is PI friendly so does not require any level shifting. A passive infrared sensor (PIR…

Read more

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Read More