• In this example we take a look at the KY-018 Photo resistor module and connect this to a Raspberry Pi using an ADC add on board A photoresistor (or light-dependent resistor, LDR, or photo-conductive cell) is a light-controlled variable resistor. The resistance of a photoresistor…

  • In this article we will connect a PIR to a raspberry Pi and light an LED if motion detected, in real life you would use a buzzer or sounder. Lets look at a PIR A passive infrared sensor (PIR sensor) is an electronic sensor that…

  • In this article we look at the TMP102 digital sensor and we will connect it up to a Raspberry Pi The TMP102 device is a digital temperature sensor ideal for NTC/PTC thermistor replacement where high accuracy is required. The device offers an accuracy of ±0.5°C…

  • The DS1624 consists of two separate functional units: a 256-byte nonvolatile E2 memory and a direct-to-digital temperature sensor. The nonvolatile memory is made up of 256 bytes of E2 memory. This memory can be used to store any type of information the user wishes. These…

  • In this example we look at the MMA7660FC accelerometer connected to a Raspberry pi The MMA7660FC is a digital output I²C, very low-power, low-profile capacitive micro-machined accelerometer featuring a low pass filter, compensation for zero-g offset and gain errors and conversion to six-bit digital values at…

  • In this example we will connect a MMA8452Q accelerometer  to a Raspberry Pi Lets look at some information about the sensor The MMA8452Q is a smart, low-power, three-axis, capacitive, micromachined accelerometer with 12 bits of resolution. This accelerometer is packed with embedded functions with flexible user programmable…

  • Raspberry Pi and MCP3424 A/D converter example, lets look at the device. The MCP3424 is a four channel low-noise, high accuracy delta-sigma A/D converter with differential inputs and up to 18 bits of resolution. The on-board precision 2.048V reference voltage enables an input range of…

  • In this example we connect an ADS1115 analog-to-digital converters to a Raspberry Pi. Lets look at the ADS1115. The ADS1115 is a precision, low-power, 16-bit, I2C-compatible, analog-to-digital converters (ADCs) offered in an ultra-small, leadless, X2QFN-10 package, and a VSSOP-10 package. The ADS1115 incorporates a low-drift…

  • In a previous article we created some flags at http://www.pibits.net/code/display-simple-flag-images-on-a-sense-hat.php Anyway we have created some more flags for you to try on a sense hat Japan An attempt at the flag of Japan [codesyntax lang=”python”] from sense_hat import SenseHat sense = SenseHat() r = (255, 0,…

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