5
votes
Accepted
Creating jumper leads from ethernet cables - connect multiple components
I do this all the time. Ethernet (Cat5) cable is twisted pair, which provides you with cross-talk protection.
Note that the longest run I've used is about 36", so you may have to do testing to ensure ...
5
votes
Creating jumper leads from ethernet cables - connect multiple components
Lots of folks do that.
You may need to add some small capacitors on long cable runs to reduce and RF interference that a long unshielded cable can pick up.
5
votes
How to connect a graphic card to Raspberry pi?
I originally flagged this as being, possibly seriously, Off-Topic but technically there is a further method that make it possible to connect a graphics card to the RPi and have the latter generate ...
4
votes
GPIO - RuntimeWarning: This channel already in use, continuing anyway
I found the completed solution for your issue:
RPi.GPIO basics 3 – How to Exit GPIO programs cleanly, avoid warnings and protect your Pi
I see this is the best way to other answers.
Basically you ...
Community wiki
4
votes
Will 3.3v gpio work for a fan without hurting the pi?
The short answer is yes.
The long answer is yes, but...
3.3VDC is enough to run a low speed fan provided its designed for 3.3VDC.
I wouldn't try anything larger than a 40mm fan like this one, and ...
4
votes
Accepted
Use GPIO to trigger button press in software
Connect a relay or an NPN transistor to bridge the two sides of your switch and program the Pi to set the base of the transistor or relay to high for about half a second - as if a button were being ...
3
votes
Accepted
pigpiod callback is exiting my code
As the code is written in your question, it is creating an unlimited number of callbacks. Eventually the system will fall over because of a lack of resources.
Also a pigpio callback receives a set ...
3
votes
Is there any way to control Raspberry Pi GPIO pins without Webiopi?
pigpio has a Python module which can control the GPIO of a networked Pi from a Windows, Mac, or Linux PC.
2
votes
Using the ds18b20, why are you limited on pins you can use? GPIO4 only one that seems to work
The DS18B20 is a (Dallas) 1-wire bus temperature sensor. It uses one wire for control and data.
Early versions of Pi software only allowed for the 1-wire bus to be started on GPIO4. You are looking ...
2
votes
Accepted
Can I use a transistor as a relay with the Pi?
I would not recommend calling a transistor a relay. While they would do essentially the same thing in this particular case (switch an electrical signal) they're technically different with respect to ...
2
votes
Accepted
Is there any way to control Raspberry Pi GPIO pins without Webiopi?
The recent GPIO Zero release (1.4) includes several new chapters on remote GPIO:
Configuring Remote GPIO
Remote GPIO Recipes
I should add that this is achieved via Joan's excellent pigpio package, ...
2
votes
Accepted
How to work several GPIO pins with shell script
By default the wiringPi's gpio utility uses wiringPi numbering for the GPIO.
You seem to want to use physical pin numbers.
https://pinout.xyz/
Pin 7 is Broadcom GPIO 4 (wiringPi number 7).
Pin 12 ...
1
vote
Accepted
why GPIO does not work when executed from python shell but works from script
You are not setting the GPIO level.
The LED will go on when you execute
GPIO.output(24,GPIO.HIGH)
The LED will go off when you execute
GPIO.output(24,GPIO.LOW)
1
vote
How to simultaneously control over 200 GPIO pins while maintaining timing accuracy
I2C is fundamentally slow, as Milliways has explained. There are SPI IO expanders which can achieve much better timing. E.g. here a chip from DIGI which offers 32 IO pins which can be configured as ...
1
vote
ERROR: PWM Generation using pigpio C library
pigpio supports two types of PWM.
DMA timed PwM on GPIO 0-31. This has a limited number of frequencies and duty cycle resolution. See gpioSetPWMfrequency for the permitted frequencies.
I am not ...
1
vote
Flow meter circuit and low pulse count
I'm going to guess what your circuit really looks like because the schematic does not look reasonable to me.
I'm guessing that you have used two resistors as a voltage divider to reduce the maximum ...
1
vote
Accepted
Strange return from pigpio i2c_read_device
That is how Python displays a bytearray.
If the character is a printable character it is shown as such (the '}') in your example. If the character is not printable it is displayed in escaped format, ...
1
vote
Will 3.3v gpio work for a fan without hurting the pi?
You can safely run a 5 V fan from Pi 3.3 V standard supply (Pin 1).
Using a Geek Pi 4-level Raspberry Pi case that comes with a 120 mm LED fan. Supplied at 5v the fan is a bit loud. At 3.3 V the fan ...
1
vote
Will 3.3v gpio work for a fan without hurting the pi?
You can draw up to 800 mA from the Pi 3.3V. See Raspberry Pi Power Limitations
Why you would want to run a fan (3.3V or other) on the Pi is a mystery.
Only top scored, non community-wiki answers of a minimum length are eligible