Questions tagged [gpio]

GPIO stands for General Purpose Input Output and can be used to receive and send digital signals to and from simple electronics from the Raspberry Pi.

Filter by
Sorted by
Tagged with
0
votes
1answer
136 views

Reading Output signal from external circuit using Rpi GPIO Pin

I am trying to read a signal coming from an external circuit thru the use of raspberry pi's gpio. the signal I am trying to read is a 3.3V signal coming from a voltage divider circuit. this circuit ...
0
votes
2answers
2k views

ZFM-60 fingerprint reader via GPIO

I'm trying to connect a ZFM-60 fingerprint scanner (https://aliexpress.com/item/Free-Shipping-USB-Fingerprint-Sensor-Support-Android-Windows-System-Optical-Fingerprint-Reader-Sensor/32475559052.html?...
0
votes
0answers
690 views

Simple Buttons with GPIO, not working

I' following this tutorial to have two buttons working with my Pi. The code I have is the same: import RPi.GPIO as GPIO GPIO.setmode(GPIO.BCM) GPIO.setup(23, GPIO.IN, pull_up_down = GPIO.PUD_DOWN) ...
0
votes
1answer
348 views

How to open multiple RC522 reader device on android things?

I use Raspberry pi 3 model B on Android Things. for RC522 communication, I use https://github.com/Galarzaa90/android-things-rc522 this source success work, only 1 RC522 reader device but I want 2 ...
0
votes
1answer
1k views

Problems triggering via GPIO

I am building a network of Raspberry Pis, and want a lot of Raspberrys to take a picture after receiving a Trigger Signal. I want to send this Trigger Signal via a GPIO Pin. It sounds simple, and I ...
0
votes
1answer
100 views

Raspberry pi 3B+ won't boot, solid red light

My Pi won't boot, I was coding my Pi when my friend came and wanted to see a movie from the Pi, I shut it down normally and close the power supply, then changed the SD card that had kodi on and tried ...
0
votes
0answers
42 views

Is it possible to plug in and out sensors, LED-s etc. on the breadboard while the Raspberry is running?

What I would like to do, is to let the Raspberry Pi run and while it is running, connect and disconnect eg. sensors whenever I please to/from the breadboard WITHOUT turning off/disconnecting the Pi ...
0
votes
1answer
1k views

Safe to solder directly onto Pi GPIO pins?

I just purchased an Adafruit 2.2" PiTFT screen with the intent of fitting it inside an official Raspberry Pi case. If fits pretty well just resting directly onto the GPIO pins (without the supplied ...
0
votes
0answers
221 views

How to connect sensor to Raspi via poor man’s a/d converter?

TL/DR: I’m using this and there are things I don’t understand about this circuit. Ultimately I’d like to read data from this sensor, but all I get is gibberish. Please, help. I have set up “poor man’...
0
votes
1answer
5k views

Accessing gpio not working as non-root. “Can't open /dev/mem: : Permission denied”

I am attempting to get a c++ program to access the gpio as non-root. I am on a raspi 2 running Jessie. I followed the instructions on issue: Access GPIO pins without root. No access to /dev/mem. Try ...
0
votes
2answers
3k views

Is 3V3 of Pi enough to power 5V relay

First of all I am asking this question out of curiosity, I have no knowledge of electrical devices other than understanding of few terms that I learned in school. I am planning to work on home ...
0
votes
1answer
169 views

Momentary Switch Auto Activating Pull Up Resisitor

My setup is like so: A Raspberry Pi B+ acting as an airplay audio receiver using shairport. The Pi connects to a 100V line Amp which feeds the audio out to several installed ceiling speakers around ...
0
votes
1answer
97 views

Digital signal calibration

#!/usr/bin/python import RPi.GPIO as GPIO GPIO.setmode(GPIO.BCM) while True: val = 17 GPIO.setup(val,GPIO.IN) val1 = val * 1200000/255 print val1 GPIO.cleanup() A serial monitor (...
0
votes
1answer
5k views

Trying to use PiGRRL 2.0 Custom Gamepad PCB but there's no documentation on how to program the buttons

I have this gamepad PCB from Adafruit: https://www.adafruit.com/products/3015 In their guide it's supposed to work with the file they give you but that image only works on raspberry pi 2 and I'm ...
0
votes
2answers
231 views

On the Raspberry Pi 2 Model B, Where do I plug the Energenie module?

I have a Raspberry Pi 2 Model B. The GPIO pins look exactly like this: I bought the Energenie Raspberry Pi RF-Transmitter Board. The instructions (https://energenie4u.co.uk/res/pdfs/ENER314%20UM.pdf) ...
0
votes
2answers
11k views

Controlling Raspberry Pi GPIO ports using node.js

I want to use node.js to parse data from a java script application back to the node.js server, I have accomplished this in a very rudimentary form and now I want to have the data turn on or off the ...
0
votes
0answers
292 views

minimal delay on waking monitor via GPIO/HDMI-CEC

I'm planning on creating a "Magic Mirror". I have already got the UI running to my likings and my Pi-zero is on its way. My concern is that having the mirror powered on 24/7, is not really eco-...
0
votes
1answer
480 views

Pi works, GPIO part will not cooperate

I bought the Canakit, which comes with all the necessities: breadboard the T-Shaped GPIO to Breadboard Interface Board Wires LEDs and other useful things. As soon as I opened my kit, I immediately ...
0
votes
1answer
18k views

Reading pin state whether it's input or output using Python's RPi.GPIO

Is it possible to read the pin state (1 or 0) whether it's set as output or input without setting this with RPi.GPIO.setup (pin, GPIO.IN/GPIO.OUT)? I mean, I can do this via this command: gpio read ...
0
votes
1answer
1k views

What GPIO pins are required to Power RPi? [duplicate]

We are using Raspberry Pi Model B: We used USB connector from PC - confirmed output - 5V, with 2 leads: Connected +5V to Pin 2 Connected GND to Pin 6 on connector - Inserted Ethernet cable ...
0
votes
2answers
5k views

Run a shell script from a python script when a button is pressed

I'm trying to create a very simple python script that waits for a GPIO button press and then runs a shell script. I personally don't know much about python so what I've come up with is mostly from ...
0
votes
1answer
876 views

How to address gpio pins

I'm kind of new to raspberry pi, and I saw a tutorial about making a LED blink. The LED was connected to pin 17, but the tutorial said pin 11. I connected the LED to pin 17, and in the terminal I ...
0
votes
2answers
509 views

Getting NMEA string from GPS module to your Raspberry PI B+ [duplicate]

I would like to ask if it possible to get NMEA code/string from a GPS module that connected to one of the GPIO of a Raspberry?
0
votes
2answers
326 views

PIR Module False Positivesq

All I am working with a PIR Module and a camera for a project to provide text messaging when motion is detected as well as taking a picture. I am seeing a large number of false positives from the PIR. ...
0
votes
1answer
581 views

Try & Except fail to catch OSError

I'm trying to check if remote machine (RaspberryPi) runs pigpiod- a daemon needed down the road to control its GPIO, using Python. if remote/ machine does not run pigpiod an error is displayed : >...
0
votes
1answer
181 views

Raspberry get stuck after some days of working

I've read a lot of post dealing with raspberry boot problems. My case is slightly different. I've bought a raspberry pi some months ago, just for trying it and learn a little bit of python, I've ...
0
votes
2answers
914 views

can I connect 5v to GPIO pin on startup?

I have a bunch of stuff set up on my pi (RPI 3 for the record), but one of the things I want to run is an RGB LED which is common anode. I have successfully gotten it working by connecting the common ...
0
votes
1answer
665 views

Connecting DHT11 sensor

I want to use the DHT11 sensor with my Raspberry PI 2 Model B. I'm using pin#01 for the VCC, pin#39 for GND, but I don't know which pin should I use for DATA? Should I enable some GPIO ports to use ...
-1
votes
2answers
93 views

I don't know where to start [closed]

I am completely new to Raspberry Pi and have started from basically no knowledge. My end goal is to make a synth or drum machine. My problem is that I attempt to start learning something like how to ...
-1
votes
2answers
2k views

GPIO pin LOW not LOW enough (aka how to ZERO the tension on a low pin?)

This question was asked before here, but there was no answer 1 year ago. I'm facing the same issue: I'm switching the same 5V relay (SONGLE SRD-05VDC-SL-C) using a GPIO on HIGH and this works, but ...