Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
The results are in! See what nearly 90,000 developers picked as their most loved, dreaded, and desired coding languages and more in the 2019 Developer Survey.

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.

0
votes
1answer
30 views

I want to run a python3 script on startup and in an endless loop on my raspberry pi

I have created a smart vending machine using my Raspberry Pi. For now, I open the pi using ssh and run the script manually for every transaction. I want to automate the process and run the script on ...
0
votes
0answers
12 views

Pigpio reading sensor returning -83”i2c read failed”

I am testing using my new air quality 5 click sensor with my Raspberry Pi (https://www.mikroe.com/air-quality-5-click) using command line. When I enter i2cdetect -y 1it appears at address 48. Then ...
-4
votes
0answers
18 views

Scada for Raspberry Pi - prices?

Do you have any experiences with SCADA solutions for Raspberry Pi? I want to find optimal solution, where is balance between number of tags, stability, functionality and price. Let me know, if you ...
1
vote
1answer
25 views

Can't get HC-SC04 Sensor to work

I'm using a Pi Zero W with a soldered project board to interface two ir Sensors and trying to make an HC-SR04 sensor work. I'm using the 5v supply to power all three sensors. I've set up a Motion.py ...
0
votes
0answers
13 views

How to get maximum GPIO output speed in Kernel module?

I'm writing a Linux kernel module on RPi2 to push an array to RGB Led matrix, so I want to have maximum speed of GPIO to reduce the 'flick' when it run Bit Angle Modulation. According to this site, ...
1
vote
0answers
16 views

Issue with controlling GPIO via Flask web app

I am currently building a project in which I am using a Flask web app to control various different components with the pi's GPIO. The issue i am currently having is stopping the execution of code that ...
0
votes
0answers
20 views

Build/Buy 128 Button Matrix

I want to build a system where roughly 100 Buttons can be pressed and start a specific command. Pricecly I want to digitalize a good old Piano, at least as good as possible. As far as google led me ...
0
votes
1answer
41 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 ...
1
vote
3answers
64 views

Problem controlling LED on GPIO3

I need to add a status led to my pi zero w and after taking a look at the pin out I decided to put an led between pin 5 and 6. Please see attached picture. I soldered a blue 0805 SMD led directly on ...
1
vote
1answer
58 views

Connecting several (roughly 100) Buttons to the PI (USB?)

I havent found anything, but iam sure there is already info on the topic. So even just a link would be helpful for me. I want to build a Jukebox. So pretty simple. Around 30 Buttons, if Button is ...
1
vote
1answer
40 views

Risks of powering short LED strip directly from GPIO

I am trying to understand the simplest ways to power a short LED strip of 30 WS281x lights. Most of the instructions I’ve found mention using a separate power supply for the LED’s, but is it ...
1
vote
1answer
19 views

RPi Zero: Two UART devices at the same time

I need to read UART data from one device, and send different data to the other device, all via raspberry pi zero. It has only one UART TX and one UART RX on GPIO pins, but I heard that it is possible ...
-2
votes
0answers
29 views

RasberryPI 3 help! [closed]

Hi I'm very new to all this, I would like to use my raspberry Pi on a TV with scrolling pages with different information on each page and if possible travel updates and 24hr news, any help or ...
0
votes
0answers
20 views

I want to toggle a button from GUI tkinter and display a counts from GPIO

I want to toggle a button from GUI tkinter and display a counts from GPIO. Here I have a counter system code: from gpiozero import * from time import sleep #####GPIO input########## led = LED(26) ...
0
votes
0answers
18 views

Raspberry Shut down After trying to connect fan

I just bought a new Raspberry Pi 3B+ UK and was working with it for about 2 hours, and then when I was not at home, my son noticed that the CPU is hot and tried to cool it down with a normal 5V PC fan ...
1
vote
0answers
24 views

RF 433Mhz reciever not finding remotes

I'm having some trouble with my 433Mhz receiver on my pi. I first tried to read the signal my Nexa PET-910 and 433Mhz doorbell sent on the pi, but I could not get any usable data, just noise, or no ...
1
vote
1answer
24 views

Piggyback two boards on a single RPi - Relay Board + Paddle Breakout

So I want to wire two DHT22 sensors (5V) to a Pi and also control a lightbulb with 220V. As a plus this should be very compact and I don't want to solder or use breadboards/jumper cabling. I looked ...
0
votes
2answers
82 views

Connecting 32 magnetic sensors

I would like to build an organ pedal board and use Raspberry Pi as signal processor. The pedal board will have 32 inputs, one for each key. I am planning to use magnetic sensors (like A3144), which, ...
2
votes
0answers
26 views

Issues with Sequent Microsystems 8 relay board

I'm using the Raspberry Pi 3 Model B V1.2, and the Sequent Microsystems 8 Relay Board 2.0. The manual tells you to install this software from github. I installed this and was able to control the ...
0
votes
0answers
12 views

Reflective IR sensor Is not as sensitive as its designed to be

I'm working on a project where I'm repurposing sensors from a Pop-a-shot machine Sensors we're using https://www.popashot.net/shop/accessories/scoring-sensors/ The sensors are a 4 pin reflective IR ...
0
votes
0answers
24 views

Multiple SDA/SCL | Getting 16x32 RGB LED to work with MCP23017?

I am close to completing a device which will have a 16x32 led matrix as well as quite a few lights/buttons/sensors. All these lights and sensors go through an MCP23017. I am using the Adafruit led ...
1
vote
1answer
35 views

New to this, want to build solar power data logger

I need to measure efficiency of of solar panels during various conditions such as amount of uv (full sun, shade, night, night with full moon) and various temperatures. I know there's a DataLogging ...
6
votes
1answer
47 views

Is there a GPIO current limit function available, and where is the documentation?

I have read that limits may be programmed for the output current of GPIO pins. However, after reading several online versions of Broadcom's data sheet for the SoC, I've found nothing to corroborate ...
1
vote
1answer
32 views

RPI Fan Startup and Temp Control

Info: I am running a rpi 3b+, with Recommended Raspbian installed, and also with a Noctura NF-A4x10 5V, mounted on the lid, with vent holes, of the official rpi case. I will eventually turn this ...
1
vote
1answer
66 views

SPI sending function

I'm currently reworking a project from someone who graduated a few years back and I'm supposed to change the function of his work for a bit. I have trouble understanding these few lines from SPI ...
1
vote
0answers
19 views

Can we use LCD GPIO screens with other non-GPIO devices?

I have a LCD screen with only GPIO connector. But I'd like to use this screen also on other devices, such as DSLR camera. Is it possible to connect a GPIO device, via GPIO port to other devices that ...
1
vote
2answers
165 views

Relay status led's are blinking but the relay coil is not activating

Devices I am using are: 1) Songle 2 channel relay module - https://www.electronicscomp.com/2-channel-5v-relay-module-with-optocoupler?gclid=...
0
votes
2answers
41 views

Stronger 433Mhz RF Transmitter?

I got pilight working yesterday and was able to control a (very close) Etekcity RF outlet, but I discovered that the transmitter power is too low to work on an outlet in the same room behind a couch. ...
0
votes
0answers
12 views

Long wire leading to bad display of led matrix?

I am using a 16x32 RGB led matrix by Adafruit. When I tested it at my desk with short 6 inch jumper wires it worked just as I wanted. However, for my actual project the screen cannot by right next to ...
0
votes
0answers
34 views

Control 12V motor from 3.3V GPIO with external 12V Power Supply

I have a 12V motor, which I need to control from my Raspberry Pi (through the RaspiRobot Board). However, the RaspiRobot Board gives me only 3.3V for the motor. At the same time, I have a 12V adapter ...
0
votes
1answer
21 views

How to hook up multiple devices with sda pins?

I am building something with raspberry pi. I am using the 16x32 led matrix as well as the port expander (MCP23017). Both use the SDA and SCL pins. I am having trouble hooking it up. I realize this may ...
0
votes
1answer
32 views

Mapping Arduino pins to Raspberry Pi pins

I am following instructions on wiring an LED screen to an Arduino. I have a Raspberry Pi 3 Model B, so I am having to "interpret" the instructions. I'm stuck on a step where the instructions say to ...
1
vote
1answer
45 views

How Can I Make Lights Flash On My Raspberry Pi When A SSH Connection is Active?

I recently got a Raspberry Pi B+, and I have been playing around with it a lot. I want to start a personal project where, when I link to my Pi through an SSH connection from my laptop, I can make a "...
0
votes
1answer
37 views

Are my resistor leds safe

I have the following leds ... ... that I hope to be able to connect to my pi for power and disk activity indicators. I read some guide that claimed that around 330Ω resistors were needed, but the ...
0
votes
0answers
27 views

how can I use an external GPIO sound card and set it as default?

I've bought a seeed voice card as an external GPIO sound card and as a input audio device to use pocket sphinx.After it was installed successfully, i typed "cat /proc/asound/cards" to see my card ...
0
votes
0answers
21 views

Checking Voltage Level at GPIO Pin Program

I’m trying to write a program that will loop through 3 GPIO pins connected to an external charging pad and see if a device has been placed on the pad (high voltage). If high signal is detected the ...
0
votes
0answers
19 views

HD44780 Display and wiringPi

I have wired a display to the raspberry pi, which uses an HD44780 controller. The wiring was verified by using this python script: https://www.raspberrypi-spy.co.uk/2012/08/20x4-lcd-module-control-...
0
votes
1answer
53 views

I can't change pin value

I've been with my new Raspberry for a month and it worked perfectly but today the pins have stopped working. I have tried many ways to put them with value 1 but for more I try not change them from 0. ...
1
vote
1answer
32 views

Is it possible to revive GPIO 18 pin? [duplicate]

I guess it (pin 18) got burned after me accidentally connecting it to the 12V of the led strip and not the data pin, while the RPI ground and 12V ground were connected too. I used pigpiod, gpiotest ...
0
votes
1answer
50 views

GPIO only reaches 2,4v when high

TLDR; Under little load the GPIO 22 reaches 3,5v whereas under more load it only reaches ~2,4V, which is not enough to trigger the reset-line on an ATMEGA328P. UART GPIO Pins still reach 3,3V in both ...
0
votes
0answers
25 views

Emulate USB devices from one Pi zero to another Pi zero

I'm looking for the best way to emulate USB devices that are plugged into a Pi zero and connected to another Pi zero through GPIO pins, so the second Pi zero will emulate the actual device that is ...
0
votes
1answer
36 views

Use Python flask or NodeJS for controlling stepper motors via Web?

Im planing a project where I need to controll some stepper motors with my RaspberryPI. I'd like to controll those motors interactively via a web GUI. This server should run on my Py. Now I found a ...
1
vote
1answer
64 views

Ultrasonic sensor stops working a few minutes later

I want to get distance continuously using while loop but a few minutes later my code suddenly stops working and doesn't get distance (there is None value in distance variable) I have changed first ...
0
votes
1answer
35 views

5 volt GPIO pins on RPi not working?

So, today I made a simple LED circuit with a 5 volt pin on my Pi and it doesn't work. I tried the 3 volt ones and they work, but every 5 volt pin fails to work. The circuit just consists of a red Led,...
0
votes
0answers
32 views

Sending Data from LoRa connected to Raspberry Pi

My objective is to connect a LoRa module with RPi and send data using it. So I made the connection:(Rpi to LoRa) 3v3 (Physical Pin 1) to Power Source (Pin 1) Tx (Physical Pin 8) to Rx (Pin 3) Rx (...
1
vote
0answers
24 views

Interrupts with MCP23017 using the mcp23017 dtoverlay

I'm at my wits end with this one. Okay, so we've got an MCP23017 with its INTA wired to the Pi gpio12 (bcm) in /boot/config.txt dtoverlay=mcp23017,addr=0x20,gpiopin=12 so far so good. I'm looking ...
-1
votes
1answer
25 views

unwanted wake from halt

I want to use the "wake from halt" with my raspberry pi to keep it down must of the time and waking up using external stimuli when need. But I am not sure why, sometime it wakes up from halt although ...
1
vote
1answer
22 views

Connect Raspberry Pi to access controller Z-5R by GPIO

I try to understand how to control Z-5R. Z-5R - it's access controller, that control the electromagnetic lock by RFID cards. I want to control this device by Raspberry Pi. How I can plug it correct? ...
0
votes
1answer
28 views

KY040 Rotary Encoder not responding at all

Hey I'm very new to raspberry pi and decided to start a mall project including a rotary encoder. I found some guides online that I followed but I just can't get any signal from the encoder ...
6
votes
1answer
492 views

How can I wire a Raspberry Pi to an 8-relay board in a tidy professional manner?

I want to connect a Raspberry Pi to an 8-relay board, such as this one. Together with ground and power this amounts to ten wires. One option to connect the two is by using female to female jumper ...