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
2answers
42 views

How to operate a cooling fan using GPIO pins, RaspPi2

I have little to no experience with any form of computer software coding/editing but I have managed to get EmulationStation working (sort of) on my Raspberry Pi 2. I have a bought a fan and plugged it ...
0
votes
2answers
23 views

GPIO pins stay on unless being used by a program?

I recently bought a Pi 3 and was playing with the GPIO pins to power some LEDs when I noticed that a particular pin was staying on after the program exited. It persisted even after the Pi was turned ...
-1
votes
0answers
14 views

how to run google now commands on Raspberry Pi . [on hold]

I'm working on Home Automation and After a few searches found that many people have added Google Now Commands to Their Pi . They say some sort of interception of Google Now. What I want is to Control ...
0
votes
0answers
21 views

Controlling the act-led

Hello everyone I am trying to control the act-led of my raspberrypi 2 running jessie. By following steps provide by this link *my main.s code is .section .init .globl _start _start: ldr ...
0
votes
1answer
33 views

NOOBS doesn't boot when fan is plugged into GPIO

I'm trying to get a small fan to work with the Raspberry Pi 2 using power off of the GPIO pins. The fan seems to work fine on the boot, but NOOBS itself won't boot. It gives me the following ...
0
votes
0answers
22 views

Controlling 16x2 LCD display from GPIO pins

I have a 16x2 LCD display connected to the GPIO pins of my raspberry PI, and I have got it working using Python code from an online tutorial. However, my end goal is to have it running with my own ...
0
votes
0answers
23 views

I'm reading from 20 switchs inputs and this could don't work ,so what is the solution of this problem

The project is that I want to connect 20 switches to the raspberry pi and the arduino inputs and then make a very simple GUI to read on it which switch is open and which one is closed using 40 labels: ...
0
votes
0answers
14 views

How to install generic 3.5 TFT LCD

There seems to be a guide for installing the Adafruit 3.5 inch display for RPi and people reported it works with their generic display (from ebay, etc), but the guide is for Raspbian, and I'm running ...
1
vote
0answers
34 views

LED button doesn't work

I have tried connecting a LED with a button like this (from "Adventures in RPi"), but with the far end of the button plugged at G (instead of F). And I ran it with the following Python program (by ...
3
votes
0answers
32 views

GPIO to hifi amplifier's trigger input (remote power on). Protection? Circuit?

I use my raspberry 1 B+ with a DAC board (like hifiberry) and volumio/moode audio distribution. The board is working as a pre-amp and it's connected to my hifi amplifier RCAs input, sending analog ...
0
votes
0answers
38 views

How to mount GPS on Rasp Pi 2 Model B

does anyone know a good tutorial or give an advice for setting up a GPS add on board like this onto the Raspberry Pi 2 Model B? Because all the tutorials i've found on the Web are for different ...
0
votes
3answers
29 views

Raspberry Pi 2 GPIO and 5V HC-SR04

I have used the following ultrasonic sensor with Raspberry Pi 2, which works at 5V. http://www.micropik.com/PDF/HCSR04.pdf At the time I was not aware that Raspberry Pi 2 GPIO is not 5V tolerant so ...
0
votes
1answer
24 views

Can't read inputs on Raspberry Pi 2

I tested everything untill now with GPIO 40 as an input, but now comes the moment where i need to connect multiple inputs. Now i'm three inputs further, i tested input 38,37 and 36, they all seem to ...
0
votes
1answer
20 views

WiFi through ESP8266 for Raspberry Pi Zero

I am planning to get a few raspberry pi zero for an embedded project at home, however it needs network capabilities(to communicate with other pis). I need WiFi for this project as I wont be able to ...
0
votes
1answer
21 views

How to connect 4 PIR Sensors to a Raspberry Pi?

I'm having trouble connecting 4 PIR sensors to a Raspberry Pi B+. I have managed to connect 2 PIR sensors to the Raspberry Pi but can't figure out how to connect 4 of them because there isn't enough ...
1
vote
3answers
39 views

Sensitivity of GPIO pin

I have a Python script which should read if a switch is pressed (a normal light switch). This switch I've connected to GPIO pin 40 and GND I read the state of GPIO: GPIO_startprog1=20 ...
3
votes
1answer
41 views

Connecting a 24v appliance(solenoid) to Raspberry Pi

I am trying to do an Internet of Things project with the help of a Raspberry Pi. While most of the project is complete, there is one small thing I am stuck at. I need to connect a solenoid valve to ...
0
votes
1answer
26 views

Regarding assembly language programming in raspberrypi

I am learning assembly language programming in rapsberryPi2 mode B. I know about codeblocks and gdb. By assembly language Processor's register can be controlled but I want to control Peripheral ...
0
votes
1answer
45 views

20x4 LCD Shield for Pi?

I'm attempting to build a user interface that provides minimal access to only a few crucial configuration options (network config, host name, reset defaults, etc). I have a SainSmart 20x4 LCD that ...
0
votes
0answers
16 views

Raspberry Pi Restarting When GPIO Pins Touch [duplicate]

I'm a newbie to raspberry Pi and electronics in general. I was trying to get a LED turned on by connecting a wire from 1 (3.3) and 6(Ground). But when the pins touched each other the Pi restarted, ...
0
votes
1answer
21 views

LED on gpio from old pc

Just a quick question, I just took apart an old pc and it has a simple power led. It was attached directly to jumpers on the mother board (power led, activity led and hdd led) Can I use it on the RPi ...
0
votes
0answers
11 views

Running multiple Led's from GPIO pins [duplicate]

How can I run multiple Led's from few GPIO pins? I am building a smart home and I want to control lights in three rooms. I have already succeeded in controlling 3 led's from 3 GPIO pins. Can I control ...
0
votes
0answers
17 views

Controling various Led's from one GPIO pin

How can I control various Led's from one GPIO pin and still have PWM. I am building a smart home and I need a lighting for the inside. One Led per room is too little, so I would need three per room, ...
0
votes
1answer
41 views

How to turn power off on 5V dc gpio pin with python

I was wondering if there was a way that i could turn the power on and off on the 5V gpio pins with a python script. I am powering a fan with the 5V gpio and was hoping to do something where the fan ...
1
vote
3answers
336 views

New Touchscreen Project - GPIO or HDMI

Please excuse the noob question - first Pi project. Basic project components: Raspberry Pi 3 touchscreen (preferably 8 inches) with sound. I am uncertain in making the purchasing decision for ...
2
votes
0answers
48 views

Is my RPi3 damaged? [IT'S WORKING NOW] [closed]

I put the GPIO pins for my senseHAT the opposite way round (so that the senseHAT was facing away from the pi). I powered the RPi and when I tried to handle it I got slightly shocked by the senseHAT. I ...
0
votes
2answers
33 views

Launching applications from GPIO button presses via a python script

I have a Python script that runs at startup and looks for GPIO inputs (the buttons on my PiTFT screen). I can make the buttons do things like shut down the Pi (sudo shutdown now), but I'm stumped as ...
0
votes
0answers
20 views

Why do my motors stop running properly upon second click?

My PHP files run motors, Forward.php makes them go one direction and Backward.php in the opposite. For some reason when I open the page and I for example press the up button it works fine, the motors ...
0
votes
0answers
18 views

i can't connect to page of webiopi

I have a problem to view index.php of webiopi: -I installed: gcc-4.7, python3.2. -Took from here:wget http://webiopi.googlecode.com/files/WebIOPi-0.6.0.tar.gz -run tar xvzf WebIOPi-0.6.0.tar.gz -cd ...
0
votes
0answers
13 views

is there a way to “detect” a nfc field using a square wave, a coil, and analogreading implementing pigpio library?

Wondering if is it possible to detect a nfc field using a square wave, coil and an analogreading with raspberry pi 3? and how can I approach this challenge? I found an example of square generator ...
0
votes
0answers
28 views

python script not working as it should when starting on boot (rc.local)

I have this Python script that play and pause audio files when keys are pressed. in the code I am using the pyomxplayer library. the this is that when I run this code through a terminal, everything ...
0
votes
0answers
23 views

RPIO.PWM causes I2C to stop working [solved]

EDIT: Problem solved. I had configured the PPM output to GPIO 3, which is also the I2C clock line. Yyeah… :) My sincere apologies. I'll be sure to check the pin reference first in the future. I'm ...
0
votes
0answers
74 views

Can the Raspberry Pi be shorted by connecting an LED wrongfully? Mine seems to be bricked

Does this rpi look dead to you? I probably shorted the GPIO pins. I think I've killed my new Raspberry Pi. I interpreted a guide wrong ...
0
votes
1answer
42 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
1answer
23 views

Can I forward/mapping remote /dev/gpiomem to local

I want to write code in my laptop by just using gpiomem to control the GPIO, is it possible to bring /dev/gpiomem to local, just like sshfs dose ? EDIT I want to use go-rpio to control the GPIO, it ...
0
votes
0answers
40 views

MFRC522 - Read from Android Phone

I have a MFRC-522 RC522 RFID running off the GPIO pins of a Rapsberry Pi B+ running MFRC522-Pi's Read.py Script (pasted below): #!/usr/bin/env python # -*- coding: utf8 -*- import RPi.GPIO as GPIO ...
0
votes
1answer
40 views

A simple display for Raspberry Pi 2 B+

I want to use RasPi to display continously some simple data (like today's weather). The thing is that I don't want to use this screen to display the Raspian console on it. I would like to control the ...
1
vote
1answer
38 views

Controlling/switching on/off devices via relay board

I was wanting to use my Raspberry Pi 3 to turn on/off devices. I found this board which looks like it would do the job: http://www.amazon.com/JBtek-Channel-Module-Arduino-Raspberry/dp/B00KTEN3TM/ ...
0
votes
0answers
35 views

RPi GPIO and if statements

I'm writing a code that translates a raw input into binary, then displays it on LEDs connected to the GPIO pins. This is my code import RPi.GPIO as GPIO import time def on(pin): ...
5
votes
1answer
50 views

How to Check GPIO pins simultaneously?

Can you give me an idea on how to check the statuses of specific GPIO pins if it is HIGH or LOW? My project is all about checking the statuses of GPIO pins (6 GPIO pins). I want to check all of the ...
0
votes
3answers
44 views

Can I plug GPIO pins directly to a breadboard?

I was just wondering if I could (with bending slightly) interface my GPIO pins directly into an AD-100 breadboard? Just wondering ;)
0
votes
0answers
47 views

ImportError: No module named RPi.GPIO

I have installed RPi.GPIO. The RPi.GPIO works on python independently, but when I try to import RPi.GPIO on opencv2, I get an error: Traceback (most recent call last): File "cam.py", line 2, in ...
0
votes
0answers
22 views

Callback fired multiple times for GPIO

I put together a relay controller for some light and sound effects for a parent production at my son's school. I have very lax timing requirements, but my callbacks are intermittently firing 1,2, and ...
2
votes
2answers
30 views

RPi GPIO initial working but output not

When I initialise the GPIO by import RPi.GPIO as GPIO GPIO.setmode(GPIO.BCM) GPIO.setup(24, GPIO.OUT, initial = GPIO.HIGH) and I do gpio readall in command line, I can see that value of pin 24 is ...
0
votes
1answer
40 views

how to use the microSD adapter?

i connected sd card at the bottom of raspberry pi 3. But there is no place to put sd adapter? what is it and what it does? Sdcard has a memory of 16G, and i was able to coonect it, bottom of the pi. ...
0
votes
2answers
60 views

What happens if I put 3.9V into the GPIO Pin? [duplicate]

I have a sensor which gives an output of 3.9V when high and 0V when low. Perfect for the RPi, except is it? What happens if I put the 3.9V high signal directly into the GPIO and if bad things will ...
0
votes
0answers
19 views

Digital temperature sensor XC-4432 not detected properly

I have an XC-4432 digital sensor from Duinotech (an Arduino compatable board). Treating it like the DS18B20 gives my behaviour identical to ...
0
votes
1answer
174 views

ITEAD PN532 on Pi 3 with libnfc

For the past weeks I have been trying to get the ITEAD PN532 NFC board working on a Raspberry Pi 3 running Raspbian Jessie (2016-03-18) using libnfc. Here's some info on the board itself. It has two ...
0
votes
2answers
44 views

GPIO Output Backwards

I have two scripts. One turns a relay on, the other off. As you can see bellow, lightson.py sets GPIO pin 17 to HIGH and lightsoff.py sets GPIO pin 17 to LOW. High should be on and low off. But to ...
0
votes
2answers
80 views

1000 GPIO Pins Microcontroller

I am working on a project and I'll be requiring over 1000 GPIO pins. Is it possible to get a extension of pins on Raspberry pi? My project is pretty complex but here's the basic idea - I'll be ...