Go to advanced search

by Muchieman7
Sat May 23, 2020 7:12 am
Forum: Troubleshooting
Topic: Can't read gpio input via gpio or pigs
Replies: 14
Views: 633

Re: Can't read gpio input via gpio or pigs

I was using the gpio one, for some reason the pigs one works now. I don't know what changed, other than a second reboot. Thanks for your help
by Muchieman7
Sat May 23, 2020 7:03 am
Forum: Troubleshooting
Topic: Can't read gpio input via gpio or pigs
Replies: 14
Views: 633

Re: Can't read gpio input via gpio or pigs

pin 27 is outputting 3.3v
by Muchieman7
Sat May 23, 2020 6:12 am
Forum: Troubleshooting
Topic: Can't read gpio input via gpio or pigs
Replies: 14
Views: 633

Re: Can't read gpio input via gpio or pigs

pi@raspberrypi-gate:~/Downloads $ ./gpiotest This program checks the Pi's (user) gpios. The program reads and writes all the gpios. Make sure NOTHING is connected to the gpios during this test. The program uses the pigpio daemon which must be running. To start the daemon use the command sudo pigpio...
by Muchieman7
Sat May 23, 2020 6:01 am
Forum: Troubleshooting
Topic: Can't read gpio input via gpio or pigs
Replies: 14
Views: 633

Re: Can't read gpio input via gpio or pigs

rpiMike wrote:
Sat May 23, 2020 6:00 am
Try temporarily bypassing the switch with a wire between breadboard lines 4 and 6.
I've done that, still nothing.
by Muchieman7
Sat May 23, 2020 5:55 am
Forum: Troubleshooting
Topic: Can't read gpio input via gpio or pigs
Replies: 14
Views: 633

Re: Can't read gpio input via gpio or pigs

rpiMike wrote:
Sat May 23, 2020 5:48 am
Post a photo of your wiring.
https://imgur.com/a/1xn3X4A
by Muchieman7
Sat May 23, 2020 5:41 am
Forum: Troubleshooting
Topic: Can't read gpio input via gpio or pigs
Replies: 14
Views: 633

Re: Can't read gpio input via gpio or pigs

rpiMike wrote:
Sat May 23, 2020 5:41 am
Muchieman7 wrote:
Sat May 23, 2020 5:39 am
rpiMike wrote:
Sat May 23, 2020 5:33 am
What have you connected to GPIO 27?

https://pinout.xyz/pinout/pin13_gpio27
I currently have a button for testing
Is the button connected between 3.3V and GPIO 27?
Yessir
by Muchieman7
Sat May 23, 2020 5:39 am
Forum: Troubleshooting
Topic: Can't read gpio input via gpio or pigs
Replies: 14
Views: 633

Re: Can't read gpio input via gpio or pigs

rpiMike wrote:
Sat May 23, 2020 5:33 am
What have you connected to GPIO 27?

https://pinout.xyz/pinout/pin13_gpio27
I currently have a button for testing
by Muchieman7
Sat May 23, 2020 4:19 am
Forum: Troubleshooting
Topic: Can't read gpio input via gpio or pigs
Replies: 14
Views: 633

Can't read gpio input via gpio or pigs

I'm trying to set up an input on a gpio pin in php, but I can't get either the gpio or pigs commands to output "1" when it should. Commands I'm using:

gpio -g read 27
or
pigs r 27
(outputs 0 no matter what, mode is set to in)

I'm using a 4B.
by Muchieman7
Mon Oct 28, 2019 5:45 am
Forum: Media centres
Topic: Another How to turn your Pi in a Bluetooth Speaker Tutorial
Replies: 39
Views: 81496

Re: Another How to turn your Pi in a Bluetooth Speaker Tutorial

I got my phone to connect, but the audio plays through HDMI. I tried

Code: Select all

amixer cset numid=3 1
but it doesn't work...

Go to advanced search