Python • Frequency of output really low when using RPi 3 with TCS3200 and pigpio
Hello.As the name of the topic says, I am having trouble with the ouput frequency of the TCS3200 module when using the pigpio library on my RPi 3. I'm not sure if the issue is the method I am using to...
View ArticlePython • Re: Frequency of output really low when using RPi 3 with TCS3200 and...
The measurement speed is restricted by python speed in the loopCode: def measure(meas_time): """ local modification of a measurement loop """ start = time.time() count = 0 while (meas_time -...
View ArticlePython • subtracting times with datetime
HiI have been trying to find an answer and I just can't solve what should be an easy thing so it is time to ask.I have a mysql time in hours, minutes seconds. I simply want to subtract the time now...
View ArticlePython • Re: subtracting times with datetime
It would help if you included a complete example that we can run. In addition print type() of variables as well as their contents.Statistics: Posted by rpiMike — Tue Nov 11, 2025 11:03 am
View ArticlePython • Re: Pi 5 with SparkFun Load Cell Amp
Pi GPIOs are 3.3V. VDD needs to be connected to 3.3V not 5V.PRO TIP: In many cases, you can just short VCC and VDD together. If your microcontroller uses 3.3V logic however, you'll want to connect VCC...
View ArticlePython • Re: how do you install numpy in venv?
Inside a venv, pip will compile numpy from source because the pip website does not host the 32 bit arm version.You can make your own pip wheel for 32 bit numpy, back it up, and then install it in...
View ArticlePython • tkinter after() problems
Hello All,I am creating a GUI that takes input from the user and then executes one of several "if" statements which not only places the relevant text on the tkinter label, but also execute other files...
View ArticlePython • Re: tkinter after() problems
Hope I understood correctly- you have a password tkinter.Entry and an infopad tkinter.Label.- the infopad shows something like "enter a password"- the password is checked and the infopad shows whether...
View ArticlePython • Help with running script in both sudo and venv
Hi, I am pretty new to this RPi thing and I am trying to take on a gig that has the RPi as the main controller for a device, it seemed simple enough at first.My RPi has a script that I want to run on...
View ArticlePython • Re: Help with running script in both sudo and venv
I've done hacky ugly things to get stuff like this workingCode: cd path/to/projectif [ ! -d "./venv" ]; then sudo -H -u pi python3 -m venv venvfisource ./venv/bin/activatesudo chown -R pi:pi...
View ArticlePython • Re: Suggestion on simple WebUI framework
Don't know of anything that matches all your requirements and could be called 'simple'. I authored a series of packages that might do some of it:indipydriver, indipyserver and indipywebThese are all...
View ArticlePython • Tkinter Top Level Doesnt Work SInce Wayfire Removed?
I've got a Project which I developed on a Pi using OS version 5.6 Now the very same project will not work on 6.0The problem that i am experiencing is when I call a Top Level Window, I cannot interact...
View ArticlePython • Re: Tkinter Top Level Doesnt Work SInce Wayfire Removed?
Tkinter works natively under X11, and in the new supported labwc, it uses a translation service called "XWayland".Switch to an X11 desktop (raspi-config), and try again.Your code is small enough to...
View ArticlePython • Python / Flask server not displaying embedded text data on served...
Hello,Let me preface this by saying that honestly, I am not sure if this is an HTML, python or Flask problem but I'm posting here since I think it might be either Flask or Python that is causing the...
View ArticlePython • Re: Python / Flask server not displaying embedded text data on...
show bad html fileStatistics: Posted by wcl55 — Tue Nov 25, 2025 4:51 pm
View ArticlePython • Raspberry Pi project coding help
Hello. I need help on a Raspberry Pi AI Camera project where the AI camera can sense words and words highlighted (in the background) in a colour. I need this for a radio project I have already made...
View ArticlePython • Re: "Statement dosn't have seem to have any effect" when...
image link is https://www.dropbox.com/scl/fi/85fx2fwq ... zufgx&dl=0Statistics: Posted by thisissigma — Thu Nov 27, 2025 5:33 pm
View ArticlePython • .tflite Model from teachablemachine.withgoogle.com
Hi, I’m new to working with the Raspberry Pi.My project is to place an object in front of the Raspberry Pi and have it detect whether it belongs to Class 1 or Class 2.I captured images using the...
View ArticlePython • Simple GUI app not displaying combo boxes & buttons when Auto Run.
I have wasted hours this morning trying to test all the suggestions found on the web. There must be a simple reason for this I am overlooking.I have a simple tkinter test app with a New Window button....
View ArticlePython • Re: Simple GUI app not displaying combo boxes & buttons when...
When I run your code I get the following errorCode: Exception in Tkinter callbackTraceback (most recent call last): File "/usr/lib/python3.13/tkinter/__init__.py", line 2071, in __call__ return...
View Article