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.

Filter by
Sorted by
Tagged with
-1 votes
0 answers
34 views

I’m told (thanks,Grok) that at the end of a “shutdown -h now” at the very end, the kernel can send a low pulse about 100msec long out the GPIO23 pin. I will use this to have a relay then cut power ...
N6PVP's user avatar
  • 1
0 votes
0 answers
18 views

I am running Raspberry Pi OS Lite (without GUI) on a Raspberry Pi 3B and have connected a generic ILI9341 display to the GPIO. I am getting inverted display, and I reckon that I am going wrong ...
Akashdeep Dhar's user avatar
0 votes
1 answer
53 views

I am using a Raspberry Pi 5 for our project. I wish to power the Pi through USB-C but without a dedicated power adapter. I am using a XL4016 9A buck converter at 5 volts. Can i cut a USB-C cable then ...
hahhaa's user avatar
  • 9
0 votes
0 answers
58 views

I'm quite new to Pi programming. I know this question has been asked before but things do seem to have changed with Pi 5 and the latest Python libraries. What is a way for 2 Python programs to access ...
KevinRW's user avatar
0 votes
1 answer
89 views

I own a Raspberry Pi 4B and I decided to turn it into a NAS. I recently bought a Geekworm NASPi v2.0 kit, which includes a PWM-controllable fan (X823-A3), a 2.5" SATA shield (X823), an adapter ...
Laxvyn's user avatar
  • 3
0 votes
1 answer
122 views

I acquired a few Zero 2 Ws, and wired up my Zero 2 W to a L298N controller, alongside four 3-6V DC Motors. I also wired a 12V power supply to the controller. I ended up frying a few of my Zero 2 Ws ...
AcrKnight's user avatar
  • 101
0 votes
1 answer
90 views

I wanted to connect the Adafruit LORA module to my RPI 4B. I connected it this way: RFM9x FeatherWing Raspberry Pi 4B (GPIO) 3.3V 3.3V GND GND SCK GPIO11 (SCLK, pin 23) MOSI GPIO10 (MOSI, pin 19) MISO ...
LeGromp's user avatar
2 votes
4 answers
363 views

I have a question about pull-up/pull-down resistors on the Raspberry Pi Pico. To be as brief as possible - I am trying to create my own keyboard for the learning experience and I wanted to use the ...
WetToad's user avatar
  • 29
0 votes
2 answers
610 views

I have custom-made a compact push-type PWM signal generator that operates on 3.3V power and outputs a 50Hz PWM signal with a duty cycle ranging from 0% to 100%. I power it using the Raspberry Pi 5's 3....
hakunami's user avatar
  • 109
1 vote
0 answers
97 views

It's easy to detect a GPIO INPUT pin state change with bash or python scripts. However I need to detect a state change of an OUTPUT pin (gpio 22) being controlled asynchronously by a different script ...
NigelS's user avatar
  • 21
1 vote
3 answers
158 views

I have two vibration motor specifically this: Easy To Use PWM Vibrating Motor Module, Vibration Module, 1 Pcs Mobile Phone Vibrator Module for Electronic DIY Kit Could I just split the 5V and connect ...
Banana's user avatar
  • 21
1 vote
0 answers
61 views

Is there a way (over in STM32-land, I would use double-buffered DMA banks) to output waveforms (4 pins in my case, though I'd like to do more) on a Raspberry Pi 5 in a continuous mode that won't go ...
Thor's user avatar
  • 11
0 votes
0 answers
71 views

I do the laboratory work from the site of the University of Cambridge (https://www.cl.cam.ac.uk/projects/raspberrypi/tutorials/temperature/), but using the Proteus only. I did the schematic (VCC = 3....
Vladislav Butko's user avatar
0 votes
1 answer
263 views

Is it possible to connect up a rasp pi to communicate to a generic ModBus industrial control board using serial communications I think with GPIO pinning and UART? Or would you recommend using some ...
bbartling's user avatar
  • 237
-1 votes
1 answer
178 views

"I'm trying to get my SSD1306 OLED display working with my Raspberry Pi Pico using MicroPython, but I keep running into this error: Traceback (most recent call last): File "<stdin>&...
Georgevader_Pico's user avatar
1 vote
1 answer
103 views

Im developing some code to run on the Raspberry Pi using GPIO, but most of the time Im on my desktop, where calling GPIO will break the code. I just learned about unit testing, but Im not sure how to ...
Bangor Makerspace's user avatar
0 votes
0 answers
62 views

I am working on getting a 2 CH RS485 HAT functioning correctly on my Raspberry PI 4B. My steps I have followed are: newly formatted SD card install 64 bit bookworm with no desktop sudo apt update ...
TheBobC's user avatar
0 votes
0 answers
389 views

I'm attempting to connect a RED BEET Qualcomm QCA7000 board over SPI to a Raspberry Pi 4B. I've added the dtoverlay=qca7000 to the config.txt and wired up the board with the Pi GPIO pins according to ...
user319249's user avatar
1 vote
1 answer
252 views

I'm trying to write to a spi device using a pi-5. The actual device doesn't matter - it's not working and i've simplified everything so my logic analyser is connected directly to the gpio pins (spi0). ...
Sean Smith's user avatar
0 votes
1 answer
583 views

I'm working on a Raspberry Pi project using Python and the rpi-lgpio library to monitor GPIO events. My setup involves connecting a RadiationD-v1.1 (CAJOE) module to GPIO pin 11 (physical pin 23) on ...
AMAURY's user avatar
  • 9
1 vote
1 answer
2k views

TLDR; doubts: When using CLI, what is the easiest way to manage GPIOs on the Pi? What is the more correct (official) way? Is there some official documentation about this topic for the Pi and ...
loco.loop's user avatar
  • 147
1 vote
0 answers
140 views

I have difficulty understanding how can I chose the right value for the interrupt property in my device tree. Suppose that I connected RTC RV3028 to my Raspberry PI 4, in particular RV3028's INT pin ...
bielu000's user avatar
  • 111
-1 votes
1 answer
100 views

I want to send a message using LoRa SX1278 using raspberry pi 4 as a receiver and LoRa SX1278 with raspberry pi 5 as its transmitter. we have downloaded git clone from the following link: https://...
tiara padma's user avatar
0 votes
0 answers
255 views

I am not sure how to do this, but what I wanted to do is: Using two Raspberry Pi 5 with each connecting two cameras. The four cameras should be able to simultaneously recording 4k or HD video at at ...
Nick X Tsui's user avatar
0 votes
2 answers
3k views

I'm trying to run a GPIO program on my rpi5 using gpiozero, but I am unable to because of the error: Unable to load any default pin factory! and the warning above is: Falling back from lgpio: 'can not ...
Nathan Heffington's user avatar

1
2 3 4 5
68