• 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 …

  • In this example we create a GUI to set the value for our PWM example – Controlling the Brightness of an LED   Schematics Parts Name Links Raspberry Pi 4 Model B Development Board Aliexpress link Amazon. com link Ebay search Starter kit (leds , resistors) …

  • In this example we will create a gui to switch on and off the LED that we used in the PWM example – Controlling the Brightness of an LED Here is a reminder of the schematics Code Save the following as gpiogui.py [codesyntax lang=”python”] from Tkinter …

  • In this example we will show you how to control the brightness of an LED connected . The RPi.GPIO library has a PWM feature that allows you to control the power to an LED and its brightness, we will use this in this example   Schematic …

  • Changing the name of your Pi is a pretty straightforward task. There are just two files that need to be changed to do this. First, edit the file /etc/hostname. You can do this by opening a Terminal window and typing the following command: [codesyntax lang=”bash”] …

  • In a previous post we showed an example of the MPU6050 sensor and a Raspberry Pi using wiringPi and C++. This time its a python code example Raspberry Pi and MPU-6050 C example Code [codesyntax lang=”python”] import smbus import math import time # Power management …

  • The MPU-6050 devices combine a 3-axis gyroscope and a 3-axis accelerometer on the same silicon die, together with an onboard Digital Motion Processor™ (DMP™), which processes complex 6-axis MotionFusion algorithms. The device can access external magnetometers or other sensors through an auxiliary master I²C bus, …

  • The PCF8574 is an 8 bits I/O port expander that uses the I2C protocol. Using this IC, you can use only the SDA and SCL pins of your Arduino board to control up to 8 digital I/O ports. A0,A1,A2 are address pins P0,P1,P2,P3,P4,P5,P6,P7 are digital …

  • The HDC1008 is a digital humidity sensor with integrated temperature sensor that provides excellent measurement accuracy at very low power. The device measures humidity based on a novel capacitive sensor. The humidity and temperature sensors are factory calibrated. The sensing element of the HDC1008 is …

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