Python • Re: DS18B20 / w1thermsensor
Here is run_dutycycles.sh :Code: #!/bin/bashcd /home/pi/Documents/HVAC/python3 heat_monitor.py &>> errors.txt &python3 ac_monitor.py &>> errors.txt &Another point of...
View ArticlePython • Re: could not read frame (rpi 5 8GB)
cv2.videocapture no longer works with bookworm viewtopic.php?t=364786#p2188830Statistics: Posted by gordon77 — Thu Aug 01, 2024 7:16 pm
View ArticlePython • Mahine vision architecturte for high FPS (>15) with RaspberryPi5?
Hello, can you recommend to me any architecture of machine vision that allows me to detect at least one object with a low-resolution camera (or high, as well) with high FPS (frame per second) more...
View ArticlePython • Files hidden on some systems
Hey everyone, here is a weird scenario.I wrote a Python script that downloads files from a remote FTP server to my Pi.I did it using FTPLIB. All the files I download are completely fine, and act as...
View ArticlePython • error using pi 5 not able to read frame
Code: (myenv) rpi@raspberrypi:~/Project1 $ /home/rpi/Project1/myenv/bin/python /home/rpi/Project1/speedy1.pyTraceback (most recent call last): File "/home/rpi/Project1/speedy1.py", line 1, in...
View ArticlePython • Re: error using pi 5 not able to read frame
Did you create the python virtual environment (myenv) with system packages or not?Statistics: Posted by neilgl — Fri Aug 02, 2024 8:54 am
View ArticlePython • Re: Mahine vision architecturte for high FPS (>15) with...
Not used it myself but Hailo HaT may be useful here.See: viewtopic.php?p=2236935#p2236935Statistics: Posted by dom — Fri Aug 02, 2024 10:27 am
View ArticlePython • How do I use mpu6050 data in raspberry pi to move mouse cursor?
this is my codeI'm trying to make an air mouse using mpu6050 data in raspberry pi, but in esp32 and Arduino, the mouse function was implemented well except for absolute coordinates, but when I tried...
View ArticlePython • Re: How do I use mpu6050 data in raspberry pi to move mouse cursor?
Pls edit your post and put the code in a code block viewtopic.php?t=84477Statistics: Posted by DirkS — Sat Aug 03, 2024 7:12 am
View ArticlePython • Help Request: Combing two working scripts into one
I am THIS >< CLOSE to wrapping up a project but have hit a snag that I just can't figure out. I'd really appreciate a fresh pair of eyes. The project combines LED control, audio playback, and...
View ArticlePython • Re: Help Request: Combing two working scripts into one
May not be related, but I’ve had problems running scripts inside a virtual environment using sudo. Why do you need to use sudo?I use Thonny for development and it supports a debugger so you can set...
View ArticlePython • Working with new lirc client 0.10.1
I wasted a lot of time searching for any samples as previously posted examples not working due to the current changes in lirc python module.To save time to others who are interested - here is small...
View ArticlePython • Installing MARIADB on Bookworm with Python
I'm working off of an older (probably Buster) notes file for setting up a Pi for MariaDB and Python program access. I'm using a fresh copy of Bookworm on a Pi 4b 4GB. My notes say Install MariaDB and...
View ArticlePython • Re: Working with new lirc client 0.10.1
Glad you've had success but you should list the remote being emulated and the target being controlled. If you look for LIRC in this forum you will find others, like myself, who have had frustrating...
View ArticlePython • Re: Installing MARIADB on Bookworm with Python
After point b, create a python virtual environment with system packages: Code: mkdir my_projectcd my_projectpython -m venv --system-site-packages envsource env/bin/activateThen pip install things to...
View ArticlePython • Re: Raspberry Pi 5 - gpiod vs RPi.GPIO
I have emailed the author of this library today regarding the GPIO library update for RPi 5. Hope we receive a responseStatistics: Posted by ziadpi — Mon Aug 05, 2024 6:25 pm
View ArticlePython • MicroPython LCD I2C Library
Hello everybody,I would like to share the MicroPython LCD I2C Library that can works with Raspberry Pi Pico boards.This library also supports to print custom characters on LCD displays.This library...
View ArticlePython • Re: Running PyAudio Script On Startup Issue
Can someone tell me why I'm getting this error only when I run my script on startup and how to fix it?The why is easy: the audio subsystem isn't started until a user logs in.You've not said which of...
View ArticlePython • Re: Adafruit_DHT wont show up in python
Almost all of the code that used to work in a Pi 4 will not work on a Pi 5 without a lot of modifications.Unless Adafruit has updated their stuff, their libraries will not work on the Pi 5.As for the...
View ArticlePython • Re: Installing PyQt5-QtSql
First hit in google search shows how to use it https://www.geeksforgeeks.org/pyqt5-qtsql-python/Second hit is about how to install it https://stackoverflow.com/questions/496 ... yqt5-qtsqlStatistics:...
View Article