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

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
0answers
8 views

How to attach Air208 GSM micro sim card board to raspberry pi zero w that already has display attached on GPIO

I have a Air208 GSM micro sim card board that I want to attach to my raspberry pi zero w to make calls. The issue is that I already have a 3.5" tft display attached to the pi zero w via GPIO (header ...
1
vote
1answer
28 views

Connecting jumpercable to gpio pins

My teacher gave me a large group of jumper cables attached to one another. this might be a stupid question but if it's attached like on the on the bottom picture what is the order of the cables? (...
1
vote
1answer
24 views

gpio command from terminal

I have two simple scripts, one in Python, one in bash to turn on and off a LED. I don't know what I'm doing wrong but if a run the bash script nothing happen, while the Python script It works flawless....
-1
votes
2answers
37 views

Raspberry Pi IO issue (Python)

I am testing my Raspberry Pi IO pin because I realize some of my IO pin is not functioning. So I wrote this python program to test all the IO pin import RPi.GPIO as GPIO import time GPIO.setmode(...
2
votes
1answer
37 views

Controlling LED strip from GPIO Help?

I have a ws2811 LED strip that I was powering using an arduino, but I want to do some more complicated things with it, and figured my old raspberry pi would be perfect. So I followed a tutorial online ...
0
votes
3answers
49 views

Input on GPIO at very Fast Speed

I am getting a signal at 1 GPIO which i need to read at an interval of exactly 10^ (-6) seconds. I am using wiringpi.h in C and the issue is that digitalRead() also takes some time thus i am not able ...
0
votes
1answer
32 views

File transfer between raspberry pis via GPIO pins

I'm trying to send image(3MB) captured by one pi to another pi, external WIFI or setting up one pi as AP is not possible due to strict regulations, all I can use are the two wires. Currently I'm ...
3
votes
1answer
44 views

Controlling a High Power 13V DC Motor with in-built Hall Effect sensor

I am a beginner with electronics and RPi. I have a Brushed DC Motor that runs at a constant 13V and draws about 4-5 A while running and about 18-20 A at stall. It also has a single Hall effect sensor ...
3
votes
2answers
220 views

I want to run a Python 3 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 Raspberry Pi using SSH and run the script manually for every transaction. I want to automate the process and run the ...
1
vote
1answer
27 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 ...
-5
votes
0answers
25 views

Scada for Raspberry Pi - prices? [closed]

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
39 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
15 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
18 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
22 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
63 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
69 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
60 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 ...
0
votes
0answers
24 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
28 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
85 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
27 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
36 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
33 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
166 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
43 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
36 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
27 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
35 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
46 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
39 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
33 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
22 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
57 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
34 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
38 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
76 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 ...