Python • Re: Apparent conflict between tkinter and gpiozero
I am trying to combine 2 programs which work correctly individually.I want to be able to use the tkinter GUI to display outputs from gpiozero.However, tkinter and gpiozero both use the Button...
View ArticlePython • What python framework/modules for Web scraping?
Anyone have tried to do some web scraping with the raspberry pi using python?I would like to fetch some data on devices on my network, how I get to the data is by doing:Opening browser -> typing...
View ArticlePython • Re: What python framework/modules for Web scraping?
Have a look at selenium and "beautiful soup"Statistics: Posted by neilgl — Sun Jul 21, 2024 9:30 pm
View ArticlePython • Capturing Data from Sensors Sequentially Using Raspberry Pi 5 and NRF24
I am developing a project on Raspberry Pi 5. For this project, I have 6 sensors and I collect data from these sensors. I use NRF24 when collecting data. I store the data I collect in the database I...
View ArticlePython • Re: Capturing Data from Sensors Sequentially Using Raspberry Pi 5...
Don't double post. It makes things hard to work with because there'll be answers in multiple places and it only confuses everyone trying to help.Already answered here: viewtopic.php?t=374055This post...
View ArticlePython • Re: Wait for app to open with Python
Write pseudo code, once the logic of you pseudo code makes send, code it with actual python code.Code: keep_looking_for_audaciy = Truestop_looking_time = now + 20 secondsfound_audacity = falsewhile...
View ArticlePython • Help Request: Loading Python Script at Boot / Script Behaves...
My setup: a RP3 running Debian 12 Bookwork and Python 3.11.2.I have a capacitive touch sensor wired to the RPi3. The ground, power supply, and output signal are connected to the Pi's GND, 3V3, and...
View ArticlePython • Re: Help Request: Loading Python Script at Boot / Script Behaves...
You seem to be asking multiple questions: If the program works fine from a terminal prompt, and not just in SYSTEMD or CRON then post your configuration for SYSTEMD or CRON and ask what's wrong with...
View ArticlePython • Re: gpio library for new projects? is pigpio still the best answer?
Lgpio apparently does not have the attribute "pull_up_down" So even though it may fix a runtime error waiting_on_edge() issue, it may create othersThis can be alleviated I suppose by including pull up...
View ArticlePython • Runtime error waiting_for_edge GPIO
I have a NesPi 4 case (looks like a mini NES)The power switch,reset switch and power LED are all connected to GPIO pins.There is a script available on gethub/RetroFlag for it.The SafeShutdown.py...
View ArticlePython • Re: Runtime error waiting_for_edge GPIO
Please copy / paste the full error messageStatistics: Posted by DirkS — Wed Jul 24, 2024 5:56 am
View ArticlePython • Entering digits without pressing "Enter'
Hello.Our Club's members all have 6 digit "member IDs". I have a Raspberry Pi 3B and an external USB keypad which I'd like to use to process their data after they login. I thought I could just have...
View ArticlePython • Re: Entering digits without pressing "Enter'
You don't say what language you're using. In C, you can use something like:Code: in_char = fgetc(stdin);for each character.Statistics: Posted by W. H. Heydt — Thu Jul 25, 2024 6:29 am
View ArticlePython • RuntimeError: The GPIO channel has not been set up as an OUTPUT for...
I am using a very basic test code provided at the end of this video linked below (I'm basically trying to rebuild her robot with a few extra mods but I haven't even added the mods...
View ArticlePython • Re: RuntimeError: The GPIO channel has not been set up as an OUTPUT...
Er, have you read the replies in this other post on the same subject? https://forums.raspberrypi.com/viewtop ... t#p2239281Statistics: Posted by neilgl — Thu Jul 25, 2024 10:01 pm
View ArticlePython • I want to teach Python to my kids
I'm planning to teach Python to my kids and would love some recommendations on the best resources. I'm looking for kid-friendly tutorials, websites, books, and project-based platforms that make...
View ArticlePython • Re: I want to teach Python to my kids
This may be a starting place? https://www.raspberrypi.org/learn/Statistics: Posted by neilgl — Fri Jul 26, 2024 10:13 am
View ArticlePython • Re: Stepper control via PIO for a dosing device
Took your project to make my first steps into the PICO PIO programming.I introduced a (boolean) flag dosing. The flag is set (True) when a new_cycle is started. It is cleared (False) when the cycle is...
View ArticlePython • Python & Portainer
I'm a complete newbie to using Python & Portainer, so here's a little explanation on my use case before I ask my question. I run a Pi4 as a Home Automation Server running Homebridge, and I'm...
View ArticlePython • Re: Python & Portainer
Do I need to do anything differently for the Python script to be able to access the GPIO pins so it can read the temperature/humidity and then store the results in a Database that is running on my...
View Article