In this example we will use the MCP3008 to help us read the value of an LDR, as you will know the Raspberry Pi has no analogue input which can be a bit of a hassle considering there are a few sensors that requires this The Microchip…
Raspberry Pi
-
-
The MLX90614 is a non-contact infrared thermometer with a measurement range from -70 to +380 degree Celsius. Just connect the four leads to your Arduino and you will have a accurate thermometer with a resolution of 0.01 and a accuracy of 0.5 degrees, or for…
-
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…
-
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…
-
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>…
-
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…