Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
0 answers
223 views

Hooking up a rotary encoder to raspberry pi 4

There are a ton of questions on this, and I'm pretty new at working with rotary encoders. I purchased this one Taiss E38S6-600-24G, thinking (incorrectly I might add) that it would be a simple thing ...
Greg W's user avatar
  • 1
-1 votes
2 answers
582 views

Slow pigpio, much slower than RPi.GPIO

I'm developing a system based on Raspberry pi 4B, with a 32-bit Bullseye OS. I'm using pigpio for SPI and GPIO, and I have observed that the delay between command executions is huge. I have run a ...
kubajed's user avatar
  • 19
-1 votes
1 answer
255 views

How to assign one input when matrix keypad key is held down?

I have a simple matrix 3x4 keypad that executes a function based on the code entered. However I'm running into the issue when someone holds down a key. I would like it to where only one value is ...
Gr1m's user avatar
  • 1
2 votes
0 answers
945 views

GPIO INPUT is always HIGH

I am working on a project with HC-SR04 Ultrasonic sensors. I am a beginner in raspberry-pi. I have 3 sensors which are calculates the distance. But one of them has problem which is echo (input) pin ...
hyorman's user avatar
  • 29
1 vote
0 answers
219 views

PIR sensor always high with Raspberry Pi3 without breadboard

I have a HCSR501 PIR motion sensor, which has 3 pins (Vcc, Out, Gnd) that I've connected to 5V, GPIO 26, and Gnd respectively. Despite following all the steps in tutorials for interfacing the sensor, ...
rhiaanjhaveri's user avatar
2 votes
2 answers
346 views

Whenever I restart my Raspberry pi 4, GPIO pin number 3 goes high and low very fast (bug in pi?)

I just switched from Raspberry Pi 3 to 4, which I use to control some devices. I just discovered that whenever Raspberry pi 4 boots, it changes the pi state of GPIO pin number 3 very fast from low to ...
The Quantum Physicist's user avatar
0 votes
1 answer
61 views

How to find a suitable `herz` value for a Low Inertia Solar Motor [closed]

I would like to use a Low Inertia Solar Motor-1820 RPM with the Raspberry Pi. More specifically, I want to control its speed using pulse width modulation (PWM) as is explained in this video ...
MuadDev's user avatar
  • 155
1 vote
2 answers
6k views

Windows IoT Enterprise on Raspberry PI 3B

I want run applications x86 on Raspberry Pi 3. Is possible install Windows IoT Enterprise on RaspberryPi 3 ?
Bley Guzman 's user avatar
0 votes
2 answers
76 views

RPi.GPIO python code fails only in .py file

I am trying to control a servo with RPi.GPIO import RPi.GPIO as G G.setmode(G.BOARD) G.setup(5, G.OUT) p = G.PWM(5, 60) p.start(7) p.ChangeDutyCycle(50) p.stop() G.cleanup() When I run sudo python ...
user5812721's user avatar
1 vote
2 answers
246 views

Simulating two wires touching

I found this motor from an old piece of equipment. When a button is pressed, the battery powered motor turns on. When I took apart the button, its functionality was to make two metal plates touch each ...
user5812721's user avatar
5 votes
1 answer
636 views

I need to control 8 LED's but I can only control 3? [helpful pictures attached]

I'm very new to electronics in general, but I want to build a small project where I can individually control (from a GPIO pin) 8 LED's. From what I understand, each GPIO pin on the Pi (Pi2 model B V1....
Kenneth's user avatar
  • 53
0 votes
1 answer
3k views

Problem with ESC, brushless motor and Raspberry Pi

I have connected an ESC (an electronic speed control) with a battery and a brushless motor. The Raspberry is connected to the ESC to control it. I know - when I turn on the program that is on the ...
Milodupipo's user avatar
0 votes
1 answer
713 views

Raspberry Pi B+ (LCD-display 16x2)

I'm new to Raspberry Pi and I'm trying to get a hang of the GPIO and all that. I bought a LCD-display 16x2 with 4 buttons (http://tinyurl.com/p4kjc3z). I bought this one because it fits the first ...
Nygaard's user avatar
1 vote
1 answer
3k views

12v+ on Raspberry Pi Ground Pin

I am currently working on a project that requires a 12V RGB led strip controller. basically this is the controller: Please note that I am using a raspberry pi 2 and that the pins in this diagram does ...
Joachim Prinsloo's user avatar
0 votes
1 answer
436 views

Gpio state can't be changed when connected to a DC motor or led

I am using the pi4j library to control the gpios on the raspberry pi B, but I ran in the following problem: when I start a pi4j example like ControlGpioExample.java then the led(with resistor 220 ohm) ...
Mike Budimon's user avatar
5 votes
2 answers
3k views

Simulate GPIO pins

I would like to do some simulation of the Raspberry's GPIO pins, e.g. for automated testing and developing the scripts on another host that is not the RPi. Are there any existing tools/scripts(...
Izzy's user avatar
  • 581
0 votes
1 answer
128 views

How many GND does a RasPi model B rev.2 P1 header have?

I see a lot of conflicting documentation on how many GND pins are available on model B rev. 2.0. I have hardware revision "000e" and there are a lot of DNC (Do Not Connect) pins. http://pi4j.com/pins/...
Beauvais's user avatar
  • 285
3 votes
3 answers
6k views

I am getting ghosting/bouncing on my digital input

I am meassuring data pulses from my electrical meter, giving me one pulse per Watt used. I have 4 electrical meters connected to my Raspberry Pi model B. I have connected them directly like this (no ...
Beauvais's user avatar
  • 285
6 votes
0 answers
2k views

Running RPi on Solar Panel and battery [closed]

I’m quite new in electronic projects and so my basics are quite limited. I've been reading a lot regarding this topic (refer to the title) and I’m currently planning to buy the suitable Solar Panel, ...
ipish's user avatar
  • 61
5 votes
3 answers
12k 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 ...
rady's user avatar
  • 178
17 votes
2 answers
19k views

What hardware do I need to turn Raspberry Pi into a TV remote controller?

I would like to control my TV using a Raspberry Pi. I would like my Raspberry Pi to act like a TV remote controller. What kind of hardware do I need to make it? Do I need something like IR emitter, ...
Ashbay's user avatar
  • 373
-1 votes
3 answers
3k views

Controlling Buzzer Module - No sound

The wiring seemed pretty trivial as did the required code. I have the following buzzer module: http://www.ebay.com/itm/KY-006-Passive-Buzzer-Module-Arduino-AVR-PIC-/370886693686?pt=...
Sterling Duchess's user avatar
8 votes
2 answers
12k views

GPIO pins are always HIGH

I recently have started delving into using the GPIO on my raspberry pi and when I got to the input section of adafruit's tutorials I noticed something wrong. For some reason when I execute the python ...
Matthew's user avatar
  • 81
17 votes
4 answers
17k views

How can I use more GPIO ports on the Raspberry Pi?

I am currently planning a project for a course at school which involves using the Raspberry Pi - however I'm worried that I will not have enough GPIO connectors for the inputs and outputs that I will ...
ChaoticPanda's user avatar