The TCS3472 device provides a digital return of red, green, blue (RGB), and clear light sensing values. An IR blocking filter, integrated on-chip and localized to the color sensing photodiodes, minimizes the IR spectral component of the incoming light and allows color measurements to be …
-
-
Sometimes the simplest apps can be the most useful the RPIRef app for your Android device is an excellent example. Basically its a reference to the pinouts of the Raspberry Pi models, sounds basic and it is is but its amazing how often you forget …
-
If you haven’t heard of the MagPI its a magazine for the raspberry Pi, i wasn’t expecting much here to be honest I thought that the app would simply suggest links to subscribe to the actual magazine but while that is admittedly present there are …
-
The TLV1543C, TLV1543I, and TLV1543M are CMOS 10-bit, switched-capacitor, successive-approximation, analog-to-digital converters. These devices have three inputs and a 3-state output [chip select (CS\), input-output clock (I/O CLOCK), address input (ADDRESS), and data output (DATA OUT)] that provide a direct 4-wire interface to the serial …
-
This TSL2561 is an I2C light-to-digital converter TSL2561 that transforms light intensity to a digital signal. The TSL2561 features a selectable light spectrum range due to its dual light sensitive diodes: infrared and full spectrum. You can switch among three detection modes to take your …
-
You can create simple images by setting individual pixels on the 8×8 led matrix to different colors. In these examples we create some basic flags Swedish flag [codesyntax lang=”python”] from sense_hat import SenseHat sense = SenseHat() r = (255, 0, 0) o = (255, 127, …
-
These were just some text examples for the Sense hat [codesyntax lang=”python”] from sense_hat import SenseHat from time import sleep sense = SenseHat() green = [0, 255, 0] sense.show_message(“Hello!”, text_colour=green) [/codesyntax] [codesyntax lang=”python”] from sense_hat import SenseHat sense = SenseHat() yellow = (255, 255, 0) …
-
These are a few examples for the Sense Hat using the environmental sensors to get temperature, pressure and humidity [codesyntax lang=”python”] from sense_hat import SenseHat sense = SenseHat() while True: temp = sense.get_temperature() pres = sense.get_pressure() humi = sense.get_humidity() temp = round(temp, 1) pres = …
-
The unicorn pHat is a hat which althoough designed for the Pi Zero also works on other Raspberry Pi’s and has 32 RGB LEDs. There is a python library available for it and also a couple of C examples as well in the github repository …
-
The PCF8591 is a single-chip, single‑supply low‑power 8‑bit CMOS data acquisition device with four analog inputs, one analog output and a serial I²C‑bus interface. Three address pins A0, A1 and A2 are used for programming the hardware address, allowing the use of up to eight …