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…
-
In this article we look at how to install and setup Samba on the Raspberry Pi Here we detail how to setup network file sharing using Samba on your Raspberry Pi to enable you to share files with other computers on your network. Step 1:…
-
The Scroll pHAT provides a matrix of 55 white LED pixels that is ideal for writing messages, showing graphs, and drawing pictures. Use it to output your IP address, show CPU usage, or just play some basic games. The library actually has a wide range…
-
The RasPiO Analog Zero is an add on ‘hat’ that can be used with any 40 pin Raspberry Pi. This board adds analog input capability to your Raspberry Pi. About the hat The main part of the RasPiO Analog Zero is an MCP3008 8 analog to digital converter.…
-
In this article we will take a look at the EnviroPhat, a very useful hat for your Raspberry Pi’s which contains many useful sensors. Here is a picture of the hat The envirophat by Pimoroni is a hat which can be used with the Raspberry Pi…
-
The Pi zero is a nice little low cost version which is perfect for maker type products, one of the snags is that there is no network capabilities but this is not a major issue as there are easy, low cost ways of adding these…
-
The Sense HAT is a sensor board which has a 8×8 RGB LED matrix, a joystick and also includes a gyroscope, accelerometer, magnetometer and temperature, barometric pressure and humidity sensors. The Raspberry Pi Sense HAT is attached on top of the Raspberry Pi via the…