Skip to main content

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

Converting pigpio code to Gpiod library python

I have the following code of pigpio library and I have to convert it's functionality using gpiod library. Where pigpio has a good documentation I can understand the working of previous code using that....
farhan jatt's user avatar
0 votes
0 answers
28 views

Advice needed on how to connect a 12V solenoid valve to a Raspberry Pi

I'm a begineer to using the Pi and want to build a simple watering system for some plants. I know there's lots of online articles but looking for some clarification on exactly what is needed. Here's ...
bzo's user avatar
  • 101
0 votes
0 answers
32 views

Raspberry from nodered currently is not reading from GPIO

I am having a few problems on my solution from Nodered to Raspberry pi. The target should be to read an input from a Raspberry Pi, read it in Nodered make a decision, and then lights up an output, we ...
AndreaRLC's user avatar
0 votes
3 answers
94 views

How to determine the correct GPIO chip for libgpiod? [closed]

I am writing software that needs to control some of the Raspberry Pi's GPIO pins. The Internet tells me that sysfs is deprecated and anyhow doesn't work on the Raspberry Pi 5. Apparently the "...
Sod Almighty's user avatar
0 votes
1 answer
25 views

Video glitching and gpio pin problems. Faulty Pi or low voltage?

I have 12 externally powered neopixels connected to one of the gpio pins of my RPi3B+ which in turn is powered by a (supposedly) 2.5A power supply and hooked up to a small 1024x600 LCD display (...
Jkh2's user avatar
  • 101
-1 votes
1 answer
42 views

Button to Quit While Loop

I've spent the last 2 days all over forums trying to find the right answer to this question and I'm just having no luck with my script! Basically, I'm building a deployable scale for bats - the bats ...
Sasha Newar's user avatar
0 votes
0 answers
51 views

How to use raspi-gpio to execute a command line action

I apologise in advance as I'm new to Raspberry Pis and Python. Edit: why Python? Why not shell scripting?... I'm cobbling together a music player with push button actions. Hardware I'm comfortable ...
Meeko Kittika's user avatar
1 vote
1 answer
59 views

Control multiple push buttons on a raspberry pi using an mcp23017 over C++

Having followed various tutorials on the web (i.e. 1,2), I have made the following connections: To enhance clarity, I post another picture depicting the connections on the mpc23017 using a cropped ...
cestpasmoi's user avatar
-1 votes
1 answer
54 views

Why are my motors not working with my Raspberry Pi?

I'm trying to follow this tutorial on how to build a buggy with a Raspberry Pi. I'm using all the same parts except for the Pi and the battery. I am using a Raspberry Pi 4B and an 8.4v battery from ...
Jayden Ma's user avatar
0 votes
1 answer
21 views

Issues with manipulating dtoverlays at runtime

while trying to write some code for controlling a pwm fan i ran into the problem of not being able to refresh my dtoverlay. Meaning this set of commands leads to a broken terminal: sudo dtoverlay gpio-...
lmarquar's user avatar
0 votes
0 answers
23 views

RPi.GPIO works on one Pi Zero 2, but not the other

I've got a python script that uses RPi.GPIO to exercise some solenoids connected to two Pi Zero 2Ws. Both are running 64 bit Raspberry PI OS and both are up-to-date (bookworm). On one of them, ...
nsayer's user avatar
  • 360
-1 votes
2 answers
71 views

Raspberry Pi 4B and Ubuntu 22.04 GPIO

I am running Ubuntu 22.04LTS in order to use ROS-humble on my RPi, however I am running into some issues. How do I configure the GPIO pins and also is there some things that I should note. I plan on ...
msalaz03's user avatar
0 votes
1 answer
39 views

How to send 5v signal from pi? [duplicate]

I am using a raspberry pi 4b. I am attepting to send a signal to a motor controller that requires a 5v input. Is that possible with the pi or will i need to purchase a part. If so please advise an ...
Colin Foster's user avatar
0 votes
0 answers
24 views

Square signal generated by Pico has unexpected waveform

I developed a small program for the Raspberry Pico using the Wokwi online simulator but when I tried to use the actual device it didn't work. I started by debugging the signal generated with a logical ...
EliaB's user avatar
  • 1
0 votes
0 answers
51 views

Using Adafruit PiTFT 2.4" and I2S Amplifier MAX98357A at the same time

I built my own "Gameboy" with a Rapberry Zero, the Adafruit Display (https://www.adafruit.com/product/2455) and Adafruit Soundamplifier (https://www.adafruit.com/product/3006) running ...
Micha's user avatar
  • 1

15 30 50 per page
1
2 3 4 5
227