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.

learn more… | top users | synonyms

0
votes
0answers
1 view

Controlling a 5m WS2812 LED Strip. Which power supply?

I read the following tutorial: http://popoklopsi.github.io/RaspberryPi-LedStrip/#!/ws2812 In the tutorial 1m of WS2812 led strip is used and it is stated, that its power supply needs a maximum of 3,...
0
votes
0answers
18 views

Using a Raspberry Pi to detect activity in a circuit?

Is there some reasonable means by which to detect activity in a circuit using a Raspberry Pi? For example, say some device has a buzzer that goes off when it's done doing what it's doing and I want ...
0
votes
2answers
23 views

Raspberry PI Momentry switch - too many presses

I have a raspberry pi 2, and a momentry switch, I am not using a resistor, and I don't know if that is the issue... Here is my python code - import RPi.GPIO as GPIO import time import os GPIO....
1
vote
0answers
18 views

Simple bare metal code on Pi 3 doesn't work

I'm trying to run this bare metal code to turn BCM16 on. The code is made into raw binary and config.txt contains the necessary kernel= attribute. I measured with multimeter; nothing happened. What ...
0
votes
0answers
19 views

How to make the motor run forward and backward using this expansion board?

I have this board. I am trying to make it work with Raspberry Pi and python. I am confused on how to make the motor running. Things I know: How to connect the motors How to connect the external ...
0
votes
2answers
47 views

Supply 3.3V via GPIO header (Pi3)

I need to power a Raspberry Pi 3 via its GPIO header: I have a beefy regulated PSU capable of providing stable 4.98V, which I planned to route to the 5V pins of the Raspberry as stated in this answer: ...
0
votes
1answer
26 views

Why do I keep seeing a red box when trying to connect my FLIR thermal scanner?

I am connecting the Lepton FLIR thermal scanner to my Raspberry Pi and I've gotten everything setup and working but when I try to run the program all I see is a red box surrounded by black. ...
1
vote
0answers
30 views

Raspberry Pi Model B+ pins not working with Ubuntu 14.04

I installed Ubuntu 14.04 on Raspberry Pi Model B+ and everything worked fine. However I found out that the pins are not functioning. I tested it with a multimeter, and even the Vcc pins (5v, 3.3v) do ...
1
vote
1answer
37 views

GPIO value change has no effect on the GPIO status

I have a problem with the control of the GPIOs. The ports are automatically active and the LED turn on as soon as I initialize them as "outputs". The modification of the values has no influence on ...
2
votes
0answers
26 views

Use of gpio interrupt 2 rather than interrupt 3

I have studied in bcm2835 manual that its gpio peripheral can generate three interrupt lines. But in the same manual (interrupts section) I found that there are four gpio interrupts, gpio_int[0] to ...
1
vote
1answer
49 views

Problem with everloop_demo from MATRIX Creator

I am attempting to set up and use the MATRIX Creator hardware. I have taken the following steps with a Raspberry Pi 3 and Matrix Creator attached (be gentle, I'm new to linux, RPI, hardware in ...
1
vote
1answer
36 views

Raspberry pi 2 B won't detect temp sensor DS18B20

I have a rasp pi 2 b+ and a temperature sensor DS18B20. I can't get my ls /sys/bus/w1/devices command to show anything other than w1_bus_master1. I suspect it is a problem with my set up but I've ...
0
votes
0answers
18 views

can't notify threads after FALLING edge detected

I have a robot that contains 4 ultrasonic sensors which has been set to calculate the distance from the robot to any detected obstacle, and I connected a push button to refresh calculations. Updater ...
1
vote
0answers
27 views

5V relay with Raspberry pi 3 Model B [duplicate]

I am working on home Automation Project (Voice Recognition to light On/Off) and yes i'm new to raspberry pi I have: [ http://www.amazon.in/Raspberry-Pi-64-bit-quad-core-Cortex/dp/B01CCOXV34?ie=...
0
votes
0answers
20 views

MLX90615 Sensor for Raspberry Pi 3 Model B

i have connected mlx90615 Thermometer module to my raspberry i2c pins but i was not able to find any code or guidance on how to receive measured temperatures from the sensor (i2c bus) but there are ...
3
votes
0answers
47 views

Cannot read 433Mhz data

My goal is to use a 433Mhz receiver to capture the KlikAanKlikUit (Kaku/CoCo) ID. I have it wired to 5V and GPIO4. When reading up on the subject there are a few tools to capture data and even ...
1
vote
0answers
7 views

How to connect Multiple RFID Readers to a Single Raspberry Pi [duplicate]

I would like to interface multiple RFID Readers to a single Raspberry Pi. Any option can be chosen either wired or wirelessly. Thanks in Advance
3
votes
2answers
96 views

Am I using the Correct GPIO Pins?

I am having trouble with the GPIO pins on my two raspberry pis. I am working on a project that someone has worked on previously. The person set the same code for the button for both pis. Both pis ...
1
vote
0answers
34 views

Using three SPI channels with wiring pi?

I was wondering if there is a way to use three different channels for SPI through the wiring pi library. I mean I know that a chip/slave/channel select pin can be any pin capable of sending a high or ...
0
votes
0answers
14 views

can't set GPIO.output in a method with a GPIO.setmode in contractor

I have connected 4 DC motors (each two with L298 H-Bridge IC), the code has been built using a Python script running on Raspberry Pi B+. RuntimeError: The GPIO channel has not been set up as an ...
1
vote
0answers
14 views

AttributeError: 'module' object has no attribute 'GPIO' WebIOPi using RPI 3

I had this web application running from a Raspberry Pi 2 with no problem using WebIOPi, I recently acquired a Raspberry Pi 3, and I wanted to use the same application on it, using a 7'' screen. I ...
0
votes
1answer
27 views

GPIO pin states on powerup [duplicate]

Can't seem to find a solid answer to the power on state (before the O/S loads) of the GPIO pins. IE Do the pins default state set to input/output pull ups enabled etc.. My quick analysis has shown ...
0
votes
0answers
18 views

Would this sensor work over my Pi's GPIO?

https://thepihut.com/products/ultrasonic-distance-sensor-hcsr04?utm_medium=cpc&utm_source=googlepla&variant=1054704288&gclid=CJTQxrSg-80CFa0V0wodMMEEhQ I'm wondering, if I supply another ...
0
votes
0answers
21 views

Running executables through a RPi webserver [closed]

I am on a small project to mimic a radio remote with the RPi in order to control home automation equipment. I'd like to be able to, for example, turn on and off a light. I already have the C program ...
0
votes
0answers
11 views

When i power up my pi, only red light blink and pi doesn't boot [duplicate]

I know this question has been ask many times but i have tried all the things which was answered previously. Actually my pi was working great but for less than 5 seconds GND and VCC(5v DC) pin gets ...
1
vote
2answers
29 views

Is it Possible to manipulate GPIO pins via a Configuration File (.json, .ini et.al)

Device and Firmware Raspberry Pi - 2 and Debian Wheezy 7.10/7.11 I have a config.json or config.ini file which I send to the Pi in the form of a compressed file with other files (in .tar) At the ...
-2
votes
0answers
30 views

How to make a pin stay off

I'm using a python script with GPIOzero to control the pins. I have a LED connected as a test. The script works properly, and the LED is off at the end, however the LED won't stay off after the end ...
0
votes
0answers
19 views

Difference between Raspberry Pi GPIO 17 and GPIO 4

I am using GPIO 11 of raspberry pi 3 as an input pin and want to use it as an interrupt. But that purpose is not satisfied and I am facing an issue of interrupt nonoccurrence and instead I am using ...
1
vote
3answers
353 views

Code/Cron to detect low power and safe shutdown on GPIO

I've made a portable wildlife camera which uses a 8 x AA UBEC battery pack and I am looking for a way to safely shut down the RPi when the power starts to get low. Is there currently any code that I ...
1
vote
0answers
15 views

Connecting angular encoder to an INTERRUPT to count cycles

I'm building a Robotic Car, the 4 DC Motors are working perfectly. I need to know the speed of its moving using an Encoder. Encoder that I use: has two edges (transmitter & receiver) and a ...
1
vote
0answers
38 views

DHT22 not working on Raspberry Pi2

I have DHT22 sensor hooked up to my Raspberry Pi2 running default Raspbian image. I have similar setup on Raspberry Pi B and it is working. I am using Adafruit library for DH22. However when I try ...
1
vote
0answers
27 views

Raspberry + Breadboard externally powered: issue on logic

I have this kind of trouble. I'm working on a project that implements several load (some relays, or motors, etc). Or, more simple, I would light 6 LEDs in series, all togethers, with only a GPIO (let'...
0
votes
0answers
26 views

Is it possible to control a Pi's GPIO pins using Bluetooth? [duplicate]

I have a Raspberry Pi 3 Model B and I would like to make a small Android application from which I would be able to control the Pi's GPIO pins. I know that this is possible to do with the internet ...
0
votes
0answers
39 views

Voice Recognition Module V3 for Raspberry Pi 3 [closed]

i bought a Recognition Module V3 but i dont know how to get it worked it is connected to the pi with uart there is an arudino library for this but how to use it on raspberry?? Vendor Link Arudin ...
0
votes
1answer
14 views

How many of the GPIO pins PiTFT - 2.8" TFT 320 x 240 CapacitiveTouchscreen uses?

I am planning on using the PiTFT - 2.8" TFT 320 x 240 CapacitiveTouchscreen with my Raspberry PI 2 Model B with 40 GPIO pins and would like to know how many of the 26 GPIO pins it uses even though it ...
1
vote
1answer
30 views

Read RF from Remote trouble

I have myself a Raspberry pi and Arduino which I've equipped with a 433mhz transmitter (to the arduino) and a 433mhz receiver to the Pi. I can read the output fine from the transmitter in Pi console ...
1
vote
2answers
39 views

connecting multiple boards to one raspberry & design recommendations

I don't know if it is a good idea to ask these questions here but, I am planning to design more than one pcb's which sizes and pinouts are the same with rapsberry pi 3 and connect them all together. ...
2
votes
1answer
46 views

Wire Button Without Resistor

I saw a tutorial here that shows wiring a button without a resistor. I have heard that this is bad if you set the pin as an output by mistake and press the button because it shorts the pin to ground. ...
1
vote
2answers
201 views

Why two ground connections on solid state relay?

I am using a Sainsmart 8 channel solid state relay wired as shown in this image (which I copied from this question) to control my sprinkling system. If you look closely at the image of the ...
1
vote
1answer
17 views

PTT For Radio Using RasPI Using GPIO to Join two wires together

Basically, Can I use the GPIO pins to short/join to wires together then disconnect. For my radio I have a PTT wire which needs to be grounded on the ground wire to key up. Do I need a breakoutboard? ...
0
votes
0answers
25 views

Raspberry pi browser error message

Today I tried to access the internet on my Raspberry Pi. Yesterday it worked very well but at the end I made some changes to /etc/network/interfaces. Today whenever I try to access to any HTTPS site ...
1
vote
1answer
24 views

Does GPIO.gpio_function work?

https://sourceforge.net/p/raspberry-gpio-python/wiki/Checking%20function%20of%20GPIO%20channels/ says gpio_function(channel) Shows the function of a GPIO channel. For example: import RPi.GPIO as ...
1
vote
0answers
35 views

Using PiTFT touchscreen along with Real-Time-Clock module

I am working with Raspberry PI 2 Model B and I have worked out the interfacing of Real-Time-Clock Interface with GPIO pinouts. However, now I am running into problems. I want to use the PiTFT - 2.8" ...
0
votes
0answers
64 views

w1_slave is missing! Having trouble getting a DS18B20 temp sensor to work on rpi3 with raspbian, help would be appreciated

Attached is an album showing my breadboard which shows how everything is connected. I am following the instructions here: https://learn.adafruit.com/adafruits-raspberry-pi-lesson-11-ds18b20-...
0
votes
1answer
112 views

LIRC won't transmit (irsend: hardware does not support sending)

I’m trying to control an IR HVAC unit in my house with a Raspberry Pi 2 and an infrared shield (see here: http://bit.ly/29iC0lr). I followed the instructions on the IR shield product page with tips ...
1
vote
1answer
52 views

Measuring voltage and current of battery

I have built an audio amplifier and i am going to put a raspi there to make the input wireless. The whole system is going to be supplied by a 12V closed type acid battery. So what i would like to do ...
0
votes
1answer
25 views

Lirc - interference from power line

IR remote stops working after switching lights (or other electrical equipment) in the same room. The service of the lirc returns to normal after some time without doing anything. There are ...
0
votes
0answers
18 views

How do I keep Python EVENT Driven scripts running in the background? [duplicate]

I have a Python script that monitors the status of my doors at home using GPIO. It runs fine interactive but I cannot get it to run as a background service let alone on startup. The script simply ...
0
votes
1answer
26 views

Should I avoid switching a GPIO Pin on all the time?

I have a simple python script : #!/usr/bin/python import RPi.GPIO as GPIO import time from time import * GPIO.setwarnings(False) GPIO.setmode(GPIO.BCM) GPIO.setup(26,GPIO.IN) GPIO.setup(4, GPIO....
0
votes
1answer
24 views

GPIOzero motor backward and forward pins

When creating a new motor object from the GPIOzero module like this: import gpiozero, then motor1 = gpiozero.Motor() you need to specify the backward and forward pins. What does that mean and what if ...