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
11 views

Control a 2004 display - with or without IIC/I2C serial interface

I ordered a cheap 2004-LCD-display and a I2C serial interface to use it with this display and connect it to my raspberry pi (model B, rev. 2) running raspbian. Until both arrives, I have to decide if ...
1
vote
1answer
31 views

Control liquid solenoid valve with raspberry pi and RTK-000-001

I'd first like to say that i'm a complete noob when it comes to electronical stuff. Im trying to make an automatic water gardner with a Raspberry pi. I found this solenoid valve to control whether ...
0
votes
2answers
47 views

Connecting two cameras into a PI

Is it possible? One connects to the CSI port and the other one to the GPIO ports and use the i2c interface to extract the data.
0
votes
0answers
14 views

Needs some ideas to trigger silicone rubber buttons

I would like to remote control the HVAC in the house. As a first not so intrusion attempt (rather than install relay and everything), I'm thinking to attach some GPIO pins to the controller panel and ...
2
votes
3answers
60 views

Connecting a garage door opener remote directly to Raspberry Pi

I am a newbie. I am going to try and make my first Raspberry Pi project. I have the Model B revision 2.0 board and want to connect a spare garage door opener remote. I have an option of using a relay ...
0
votes
0answers
34 views

GPIO pins are not working

I have connected the LED as shown in picture below on GPIO #18: And I ran following program: import RPi.GPIO as GPIO, time GPIO.setmode(GPIO.BCM) GREEN_LED = 18 GPIO.setup(GREEN_LED, GPIO.OUT) ...
0
votes
0answers
27 views

How to use the Raspberry Pi GPIO pins as a “switch”?

I have a device that is activated when I touch the cables, so if I put a switch in the middle I can activate it. I want to do this on the Raspberry Pi. I tried connecting it to the Ground and GPIO 1 ...
1
vote
0answers
21 views

Raspberry pi and Arduino mini 05 connection

First of, I consider myself a real newbie when it comes to electronics and have my base knowledge in high level programing. So please have that in consideration in your answers. I have a raspberry pi ...
0
votes
0answers
26 views

Wired external trigger (remote shutter) for camera via GPIO

Say I have 2 Raspberry Pis. I want to use a wired external trigger (also called remote shutter) to take a photo or start video capture. I read the camera module can be triggered via GPIO. I want to ...
0
votes
2answers
44 views

Can I use GPIO to close a circuit on a RC sender PCB?

I've got an RPi running my OpenRemote2 Controller and want to add some more devices to my arsenal of remote control. These devices are a set of 3 mains switches (for lamps) and a projector screen ...
1
vote
1answer
43 views

Reading HC-SR04 echo with wiringPiISR()

The following code works with the busy wait, but if I replace the while loop with a call to wiringPiISR() it always returns 0 for the distance. I also tried calling wiringPiISR() before raising the ...
0
votes
2answers
64 views

Powering a 24V 1A device

I've got a little project going where I want to hook up a load of sensors to my RPi (PH, Temp, Humidity, light etc. etc., a camera, and also power a 24v 1a DC device. I'm wondering if this is ...
1
vote
2answers
61 views

using the temperature command in a bash script to affect gpio

I have a led connected to a gpio pin using wiringpi, and I am trying to have it affected by the temperature reported by /opt/vc/bin/vcgencmd measure_temp I have this command in an executable file ...
1
vote
0answers
67 views

HTML Button onclick function()

I would like to seek help on my Web Control Interface - LED On and OFF button REST API. I just started node.js two weeks ago and manage to created a basic REST API. It manage to display mySQL database ...
0
votes
1answer
19 views

Need advise for Web Control REST LED Switch

I would like to seek for advise and help on REST API - Web Control Interface LED Switch. I been searching over the net and seems kinda lost, so I hope you guys could help me out with it as soon as ...
1
vote
1answer
54 views

Graphical Programming with WebGUI

I was wondering if there is any project that enables a user to write some simple IFTTT style programs for the Pi (or other Linux boards) that also breaks out the GPIOs of the Pi to be used in such a ...
1
vote
2answers
53 views

power on from idle with gpio3, undocumented?

reading this thread : http://raspberrypi.stackexchange.com/a/19659/19456 i found out that you can power on the rpi from idle by connecting gpio3 (pin5 revB) to ground, tested it and it works great. ...
3
votes
0answers
67 views

Pi as a USB client

I am looking for a way to have the Pi act as a USB client and masquerade as a flash drive. I have seen lots of suggestions, however most of them are old (1+ years) by now and vague/incomplete - I ...
0
votes
2answers
69 views

Hot plugging the GPIO cable

I just got a raspberry Pi, and I am more familiar with software than hardware. Can I plug my ribbon cable into the GPIO pins if my Pi is on?
0
votes
1answer
46 views

Need help in my LED Switch REST API [closed]

I would like to seek help on my LED Switch REST API. I have created my own REST API and able to light up my LED when I type in the URL for example: localhost:3030/7/1 to light on and ...
1
vote
2answers
117 views

RF24 communication with Arduino

I have been trying for ages to work this problem out and can't figure it out. I have two nrf24 transceivers, one connected to the raspberry pi and the other connected to an Arduino. My code for the ...
0
votes
2answers
36 views

how to access local GPIO from remote Django/apache server

how can i get a local event (example: a physical button pressed) to trigger events on a remote django website. without using a keyboard or mouse click. thanks
0
votes
1answer
51 views

Breadboarding: pins connection

I have bought a raspberry pi some time ago, and I have been written some code, but now I need to take use of the breadboarding material. I don't really understand how and where should I connect a ...
0
votes
0answers
39 views

Boot Problems sh: can't access tty: job control turned off

I had one of the rf24 transceivers connected directly to the pi using jumper cables and everything worked fine. then I bought a case and was forced to use a ribbon cable. With out the transceiver ...
0
votes
0answers
30 views

LED Printed Circuit for RPI

I have searched high and low for this but I have not been able to find anything close. Basically what I am looking for is a PCB which has a red and a green LED on it and already has the appropriate ...
1
vote
0answers
42 views

How to interface a Programmable Logic Controller (PLC) and Raspberry Pi?

I am currently doing a project in image processing using OpenCV and I will be cross compiling the program in Raspberry Pi and it has to communicate to a Programmable Logic Controller (PLC) for further ...
0
votes
1answer
27 views

Small display with no assembling

I'd like to buy a display for my pi (B+, I will by it as fast I can). But I can't find any options that does not require assembling. Display can be "anything", like character lcd ...
0
votes
0answers
21 views

Controlling ac home devices via gpio and relays is that hard?

Is it possible that I solder some relays into the elecrical switches in the house (in each one) and control each rooms devices with a raspberry pi (a rpi for each room)? I think I'll be needing a ...
0
votes
1answer
35 views

wiringPi interrupt not working

this program is supposed to blink led when I press button, but the led start blinking with the start of program and never stop. button wired to gpio 17 and ground (0 in wiringPi map) led wired to ...
0
votes
2answers
71 views

Error on displaying mySQL records in my REST API

I would like to seek help on my REST API. I have finished constructed my basic REST API for my Raspberry PI and able to work now, thanks to you guys. Now I would like to display mySQL database records ...
0
votes
3answers
111 views

PI4J: Multi-threading when listening to Pin Interrupt events

Currently I'm working on a application for my RPi which will be monitoring a set of GPIOs in real-time where the exact time when the GPIO turns HIGH is crucial for my application. The actual date is ...
0
votes
1answer
35 views

MCP3204 ADC with low sampling rate << 100kSps

I'm trying to read light value from an LED bilking very fast. So I choose TSL12S as a light sensor, and MCP3204 as an ADC. In datasheet, MCP3204 have sampling rate up to 100 kSps when Vdd = 5 V is ...
0
votes
1answer
28 views

powering a RPI with its circuit from one wallsocket

I want to power a RaspberryPi with 54 LEDs (24 white, 24 warm white, 6 RGB - probably all at 20mA or something like that) from one wall socket. I'm planning to use the Pi to control the LEDs via ...
1
vote
0answers
52 views

Ethernet not working when powered over GPIO

I'm powering my RPi (rev 2, model B) through GPIO pins - same connection like here - using it ethernet is not working, though the ethernet works fine when powered through the microUSB port. The ...
0
votes
0answers
32 views

cheapest presence sensor for a dor

I have a big wardrobe in a dark room, I put leds inside and I want to light them up when the door (sliding door) opens. Whats the cheapest and more robust way to detect door opening, with less damage ...
1
vote
1answer
55 views

4€ remote socket. The best idea ever?

I just found out this little guy: http://www.dx.com/p/ir-remote-controlled-ac-outlet-for-appliances-220v-12902#.U8eeRfmSx8E Is a infra red (IR) controlled socket who learn your IR signals for 4€. ...
0
votes
0answers
27 views

GPIO goes high on first initial run of script - please help get my ECTO 1 on the road!

I am having a few problems with my script, on a fresh boot of my pi, the GPIO Port goes High and switches my relay when I run this script, however, it doesn't do it after I initially run the script, ...
1
vote
1answer
19 views

pi4j provisionDigitalOutputPin without setting state low

How can I? I want to run a program every few minutes with cron. I read a file of times that I expect pins on or off and then check the state of each pin and set them accordingly. It works fine ...
0
votes
0answers
30 views

rasberry pi two devices GPIO

I want to use both a the PiTFT monitor (http://www.adafruit.com/products/1601) & Woldsfson Audio (http://www.element14.com/community/community/raspberry-pi/raspberry-pi-accessories/wolfson_pi) ...
0
votes
0answers
60 views

Insert data to phpMyAdmin mySQL database from Shell Script

I would like to seek help on inserting data whenever the switch is on or off to my phpMyAdmin mySQL database from my Shell Script. I'm using Raspberry PI as my hardware and I have follow this LINK to ...
1
vote
1answer
82 views

RaspberryPi to Arduino(leonardo) avoiding latency

I'm using a Python script via (TKinter)on the raspberryPi to capture mouse movement and events. My goal is to send this data, in real time, to another connected Arduino device(Leonardo). My first ...
1
vote
1answer
727 views

Has anyone bought one of the new model B+

Details of the new Raspberry Pi B+ appear at http://docs-europe.electrocomponents.com/webdocs/12de/0900766b812decd9.pdf Has anyone received one yet? I/F schematics ...
1
vote
1answer
50 views

Can't PWM LED on pin 18

Using this code, I can't use PWM on the pi. It's modified off of a Linux user article. import time import RPi.GPIO as GPIO led = 18 GPIO.setmode(GPIO.BCM) GPIO.setup(led, GPIO.OUT) ...
0
votes
1answer
34 views

DHT22 code not working

I'm trying to read temperature form DHT22, I'm following steps of datasheet page 4 using gpio4. . the circuit is correctly wired(I can read with existing codes). I have the following problems : ...
0
votes
0answers
63 views

Store records to SQLite database from Raspberry PI's PHP

I would like to seek help on storing data to SQLite database using PHP. I have designed a web control interface and wanted to store data of what time is been switch on or off whenever the user click ...
-1
votes
1answer
34 views

Soundboard switch mp3 list

I'm trying to setup a switch on a breakout board which will allow me to on switch play a short mp3, then loop a second mp3 until i switch it off, when i do so i want it to play a third mp3 (this is ...
0
votes
1answer
65 views

Powering a floppy drive with the 5V GPIO pin

I'm trying to use Raspberry Pi to power a floppy drive with the 5V GPIO pin. I know that the floppy drive requires a voltage of 5V and a current of 1A and Raspberry Pi gives the output as following: ...
0
votes
1answer
45 views

Raspberry Pi GPIO randomly triggered

I have recently finished working on a project that would use my raspberry pi to operate my doors deadbolt. There is an RFID reader connected though USB, a servo on port 18, a reed switch on 24 and a ...
0
votes
0answers
53 views

Using PiPiper to control Energenie's Pi-mote

I've just acquired myself a Pi-mote from Energenie. I'm trying to replicate the code from their website using Ruby and the pi_piper gem, but I've run in to problems. For some reason, my turn_1_on ...
1
vote
1answer
62 views

I2Cs for temperature senors and multiple PWM outs

EDIT: Rewrite, this is why you don't write questions after not sleeping for two days (wait what day is it?) I have a whole bunch of 12V 4 pin (pwr, grnd, tach, pwm) fans I'd like to manually control, ...