All Questions
Tagged with raspbian-stretch gpio
13 questions
2
votes
1
answer
1k
views
WittyPi on Pi Zero W - I2C read / write fail
I've connected WittyPi2 (an RTC Power Management hat) to my Pi Zero W - but I'm constantly getting failures in the log, to do with the I2C communication:
I2C read 0x01 0x68 0x09 failed (result=), and ...
1
vote
1
answer
2k
views
LIRC won't setup the device
Very new to this low-level driver stuff, so many places to make mistakes.
Basically I'm trying to get an IR transmitter with lirc. I have a IR led to pin 23 with a transistor, however there's nothing ...
2
votes
1
answer
2k
views
Pigpio not calling Callback for first rising or falling edge
I have some sample code (taken out of my larger program) that regularly (but not always) missing the first rising edge:
#!/usr/bin/python
import pigpio, time
def callback(g, l, t):
print("Callback ...
0
votes
1
answer
75
views
two PIRs problem
i am building a security system which consists of two PIRs (GPIO 17 & 18) relay GPIO 24 , video will be emailed and will receive a text message when motion is detected . the camera can see both ...
-1
votes
1
answer
2k
views
Adafruit PAM8302A -> Raspberry Pi 3
I want to connect Adafruit PAM8302A amplifier to the Raspberry Pi 3 Model B+.
What I need?
How to do this?
0
votes
0
answers
983
views
Setting a mode to a pin requires root permissions
I’m trying to change pin mode on RPI (with Raspbian) – it works when I invoke those commands
sudo chown root.gpio /dev/gpiomem
sudo chmod g+rw /dev/gpiomem
but after every restart I have to execute ...
0
votes
1
answer
139
views
Clearing edge detect registers (GPEDS0/GPEDS1) crashes Raspbian Stretch
I've been working on a PHP library for Raspberry Pi for a few years now, and since (not sure specifically which) a version of Raspbian Stretch, the Pi becomes completely unresponsive when clearing the ...
1
vote
1
answer
860
views
Use Raspberry Pi GPIO to sync multiple video players. Possible?
Is it possible to use GPIO to sync multiple RasPi video players?
As shown in the picture below, I need to sync 16 RasPi video players. The master RasPi will trigger the video players (start, stop, ...
0
votes
0
answers
655
views
Rpi not reading data from Sense HAT due to missing frame buffer
I'm having trouble getting my RPi 3 to listen to a Sense HAT.
The Sense Hat is getting power and the RPI is aware of the Hat.
pi@BBLPi1:~ $ ls /dev/i2c*
/dev/i2c-1
pi@BBLPi1:~ $ i2cdetect -y 1
...
1
vote
1
answer
268
views
GPIO 1 not waking up the board when shorted to ground
I'm trying to use a single button to put the pi in a halt state and then wake it up. I cannot use GPIO3 since I'm using i2c devices as well.
However according to this original post https://www....
1
vote
1
answer
646
views
Carberry on Linux Raspbian
I recently bought a new Carberry (http://www.carberry.it/index.php) for Raspberry Pi B 2/3, together with its Carbian OS and installed it on a Raspberry Pi3/ModelB.
However, It shuts down few ...
1
vote
1
answer
752
views
How can I use Garage Door Safety Sensors with Raspberry Pi?
I am trying to use garage door safety sensors as a way of counting cars. From my understanding, if there is no object (car) between the sensors, then they output a 3.3V signal every 6 milliseconds. If ...
3
votes
1
answer
3k
views
GPIO Status during boot
I've been trying to find some documentation on the status of all GPIOs during boot. I have a relay board permanently connected to the GPIOs, and I've noticed that during boot, there is a lot of ...