I just got a Raspberry Pi Zero 2W for Christmas along with a Pimoroni Enviro – Indoor Monitor (Not to be confused with the Pimoroni Enviro+) I soldered in the header myself and then connected all the peripherals. But then I got to the Python library section. Using Pimoroni’s instruction (https://learn.pimoroni.com/article/getting-started-with-enviro-plus) I downloaded the Python ..
I have been trying to connect Adafruit MPR 121 to Raspberry Pi Zero. I have connected it as follows: GPIO 2 – SDA, GPIO 3 – SCL, 3.3V – VIN, GND – GND (upper one). I have enabled I2c via raspi-config. Initialization looks like that: cap = MPR121.MPR121() if not cap.begin(): print(‘Error initializing MPR121. Check ..
I’m running a Python code in a Raspberry Pi 4 which reads signals from certain pins and responds accordingly. On this function, after multiple prints in between lines, I narrowed the problem to (apparently) a sleep() call. def on_enter_sanitizing(self): try: print(‘Entered state: Sanitizing’) self.setLevelLedCallbacks() #This function has a print at the end, which shows sleep(0.8) ..
I am trying to get tensorflow installed on a raspberry pi 4 which is running manjaro. It is to use the open source BNN library Larq, which recommended manjaro as an OS because it was 64bit as opposed to Raspbian. I have tried to install using yay from Archlinux user repository but got a couple ..
I am installing an adafruit module for a MPL3115A2 Barometric Pressure/Altitude/Temperature Sensor on raspberry pi 3 model B. Upon running the pip install command on my raspberry pi I had this error [email protected]:~ $ pip3 install adafruit-circuitpython-mpl3115a2 Collecting adafruit-circuitpython-mpl3115a2 Using cached https://www.piwheels.org/simple/adafruit-circuitpython-mpl3115a2/adafruit_circuitpython_mpl3115a2-1.2.9-py3-none-any.whl Collecting adafruit-circuitpython-busdevice (from adafruit-circuitpython-mpl3115a2) Using cached https://www.piwheels.org/simple/adafruit-circuitpython-busdevice/adafruit_circuitpython_busdevice-5.1.1-py3-none-any.whl Collecting Adafruit-Blinka (from adafruit-circuitpython-mpl3115a2) Using cached ..
I’m a bit new and honestly a bit lost and I’m writing this question to see if anyone knows of a way to send data from my React Native cell phone to my Bluetooth enabled Raspberry Pi. There are many tutorials that explain how to do it, but with your own apps already created. I ..
When trying to build a Docker container based on the ‘python:3.11.0a3-alpine3.15’ image (I have tried other official Python images also) I’m getting an error while running a RUN command for installing my PIP requirements from a requriments.txt file. My Dockerfile looks like this FROM python:3.11.0a3-alpine3.15 WORKDIR /usr/src/app COPY requirements.txt . RUN pip install -r requirements.txt ..
I have three codes in python the first one is for face detection: the code recognize if the person wear a mask or not the second code is QR detector the third code is for temperature sensor : it reads the temperature value from a temperature sensor I want to combine the three code together, ..
I have two raspberry pi’s. The first one has a button. And when I push the button, I want to run a python file on second raspberry pi. I can get and put some files on each other, but i cannot execute python file. How to make it? Source: Python..
I am trying to connect read location data from a usb GPS dongle on a raspberry pi. I can confirm the device is detected (folder /dev/ttyACM0 shown). [email protected]:~ $ ls /dev/tty* /dev/tty /dev/tty16 /dev/tty24 /dev/tty32 /dev/tty40 /dev/tty49 /dev/tty57 /dev/tty8 /dev/tty0 /dev/tty17 /dev/tty25 /dev/tty33 /dev/tty41 /dev/tty5 /dev/tty58 /dev/tty9 /dev/tty1 /dev/tty18 /dev/tty26 /dev/tty34 /dev/tty42 /dev/tty50 /dev/tty59 /dev/ttyACM0 ..