Browsing Tag

Raspberry PI

Raspberry Pi and TCS34725 Color Sensor example in C

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 made accurately.

Raspberry Pi and SHT31 C example

The new digital SHT3x humidity sensor series takes sensor technology to a new level. As the successor of the SHT2x series it is determined to set the next industry standard in humidity sensing.

Raspberry Pi 3 and MCP9808 example in C

The MCP9808 digital temperature sensor converts temperatures between -20°C and +100°C to a digital word with ±0.5°C (max.) accuracy. The MCP9808 comes with user-programmable registers that provide flexibility for temperature sensing applications.

3 Raspberry Pi apps on Android devices

Here we look at 3 various Raspberry PI apps on android devices These seem to be a a better standard than the Arduino ones we looked at previously RPiRef on Android This app contains various pinouts for the various Raspberry PIs that are available. Its totally free and ad free as well and is a useful reference. Raspberry PI Programming on Android Various useful pieces of information, setup and some interesting projects, not your standard projects. Some of the code examples are quite lengthy…

Flash the ACT LED on a RAspberry PI from the terminal

Flash the ACT led from the command line, this tip was sent to me so I gave it a try, you could this in a script. The LED in question is seen below, this may depend on the version of Raspberry PI you have as well. First lets navigate to the LED folder cd /sys/class/leds/led0 Look what’s in the folder ls You should see something like this: brightness device max_brightness power subsystem trigger uevent The brightness file controls if the LED is on or off (1 or 0). Lets see what its currently set as. cat brightness The command…

Raspberry PI and capacitive sensor example

In this example we will connect a capacitive sensor to a GPIO pin on our Raspberry PI, when we touch the sensor we will display a message to the user. A practical use may be a touch activated lamp. This is the sensor we used which is low cost and available from multiple places Here is a schematic representation, fairly straightforward Lets look at the code, this is written in python and requires the RPi library to be installed, I recently downloaded NOOBs, installed RAspbian and python and this library were available…