All Questions
13 questions
0
votes
0
answers
68
views
Is it possible to use pins 32-53 as GPIO on a Raspberry Pi4
My scenario is that I have a raspberry pi 4 using GPIO 2-27, and I am able to freely set the pins as inputs or outputs
print("Setting pins 2-8 as INPUTS with PUD_UP")
for pin in range(2, 9):
...
0
votes
2
answers
65
views
Is it possible to set a timeout property when connecting to a Raspberry Pi using pigpio
Pretty much when you try to connect to a raspberry pi remotely using pigpio, there doesn't seem to be an innate way of setting a timeout property in terms of how long should it attempt to connect to a ...
0
votes
0
answers
394
views
ST7789 TFT shows blank screen
I have ST7789 display and I am trying to connect it and manage from Raspberry 4B (python). I'm currently using ST7789 python library, but anything I do the screen is always blank. Screen is only light ...
1
vote
1
answer
95
views
Run once until conditions change
What I'm trying to accomplish: if the room lights go off, the monitor should dim. If the room lights go back on, the monitor should get brighter.
On a Rpi4B, I'm trying to use ddcutil in combination ...
1
vote
1
answer
127
views
Accessing multiple GPIO's from multiple Docker Containers
I am running into an issue with Docker Containers and RPI4 GPIO. Everything works great if the containers are run by themselves. Ex. Container 1 runs and provides output and then I stop it, then I am ...
1
vote
1
answer
2k
views
Python - Could Not Determine Platform Error
I am using the following tutorial to make a moisture sensor using a Raspberry Pi 4: https://www.instructables.com/Measuring-Soil-Moisture-Using-Raspberry-Pi/
When I have run my code, I get the ...
1
vote
1
answer
680
views
Raspberry Pi send 3.3v signal for 100ms
I am working on a Image Classifier which will work on a RPi and after classifying the image from a camera it will need to send two 3.3v signals form two different GPIO pins for 100ms (based on the ...
0
votes
0
answers
808
views
Raspberry Pi GPIO Output Inversion
I have just started playing around with a Raspberry Pi. I have been trying out some initial sensor testing and am confused if I am not getting an intuition, or if I am doing something wrong. Basically,...
2
votes
0
answers
2k
views
Raspbian/Stretch docker GPIO RuntimeError: (This module can only be run on a Raspberry Pi!)
Hello Stack overflow community, I am working on running a docker image with GPIO and run into a GPIO runtime error: This module can only be run on a Raspberry Pi!
When I was running the code, this is ...
3
votes
2
answers
3k
views
PyCharm IDE can't find RPI.GPIO module
On the advice of TheZadok42 I installed PyCharm 2020.3.3 on both my Windows machine and my Raspberry PI 4. I have also bought and installed the FreeNove Ultimate Starter Kit for Raspberry on both. ...
0
votes
1
answer
942
views
PyQt5 GUI with Raspberry Pi Hardware
I am writing a code for object testing using basler camera and created an PyQt5 based GUI for it. My GUI works fine but now i have to integrate external hardware for it. for. ex. I have to select and ...
1
vote
4
answers
2k
views
RPi.GPIO add_event_detect are sometimes ignored
I'm working on a project that is using GPIO(BCM) 17, 27, 22, 5 and 6.
Events on pin 17 are detected pretty well, but GPIO 27 is really reluctant to trigger events. they seems to get detected with a ...
1
vote
1
answer
2k
views
Need a hand with this script to check service status
Sorry I am a beginner in programming. I encountered a problem that I cannot figure out to complete the script in a way I expected.
Expected : This python script will identify a service [Webmin] is ...