Questions tagged [wiring]

Items referring to physical wiring. For question to the wiringPi library use the tag wiringPi.

The title applies to and is used for questions about physical wiring. For software questions to the wiringPi library use the tag .

138 questions
20
votes
3 answers

Wiring diagram software

I am looking to document a hardware project my company is putting together. It consists of a Raspberry Pi prototype board and some basic circuitry. The tutorials on raspberrypi.org have very nice wiring diagrams; for example, the image below. I…
berto
  • 1,251
  • 1
  • 9
  • 12
15
votes
5 answers

How can I wire this SD card reader to RaspberryPi?

I need to add a second SD card reader to my Raspberry Pi for the project www.samplerbox.org (the RPi will be embedded in a box, so I need a user-SD-card reader). Here is what I would like to use (it is a very common electronic part): How to wire…
Basj
  • 800
  • 3
  • 21
  • 49
12
votes
4 answers

12V device to a Raspberry Pi

For my school engineering project, I have a coin acceptor device which I would like to link to the Raspberry Pi. However the device requires 12V in power. I have an idea of what to do to power the device, however I have heard that there is a risk of…
ChaoticPanda
  • 395
  • 2
  • 3
  • 7
9
votes
2 answers

i2cdetect doesn't catch ANY address. How can I tell if I2C working correctly?

I'm having difficulties interfacing the Raspberry Pi to basically any I2C sensor. I've gone through a lot of tutorials on how to get the I2C driver to work and my connections are correct. Still, i2cdetect (Or any I2C based code) doesn't get me any…
Ahmed Farid
  • 91
  • 1
  • 1
  • 2
8
votes
2 answers

Creating jumper leads from ethernet cables - connect multiple components

I've bought some crimpers and a dupont connection kit and I'm planning on reusing some old cat5 ethernet cables I have. Is it reasonable to connect two devices to the RPi via the 8 wires in the cat5 cable? For example connecting four jumpers to 4…
Stuart Brown
  • 229
  • 2
  • 7
7
votes
1 answer

How can I wire a Raspberry Pi to an 8-relay board in a tidy professional manner?

I want to connect a Raspberry Pi to an 8-relay board, such as this one. Together with ground and power this amounts to ten wires. One option to connect the two is by using female to female jumper cables, such as these. However, this will result…
7
votes
3 answers

Using single 5V relay (jqc-3ff-s-z) - safety advice required

Above is relay I'm using and everything works as expected using diagram below. I will add 1n4148 diode on IN line for safety and will connect VCC to power supply before Pi. Can I use ground (GND) for relay from Pi or should I connect to power…
goodevil
  • 95
  • 1
  • 3
  • 8
7
votes
4 answers

Controlling a water valve

Here's what I'm looking to do and I'm having a hard time wrapping my head around the electrical/wiring part of this: I have a 1" PVC pipe. I want to put a valve inline with this pipe and with my Raspberry Pi 2 I want to be able to open and close…
Thomas Stringer
  • 183
  • 1
  • 2
  • 7
6
votes
2 answers

How to resolve a short circuit?

I'm building a morse transmitter. When the volume is up and I press a button it's beeping. (Also using JME8 I coded a program to get the signal from GPIO 17 and decode the morse to characters.) The 5V is needed to drive the buzzer (3,3 was too…
adtewa
  • 211
  • 3
  • 9
5
votes
4 answers

"Blinking" relay by toggling pins between input and output

Edit for searches: This question is about using a 5v relay with Raspberry Pi GPIO pins that outputs 3.3v. There are a number of great questions below, read them through to understand whats going on. If you just need a tldr on what worked for me,…
hndr
  • 153
  • 1
  • 6
5
votes
2 answers

Wire Button Without Resistor

I saw a tutorial here that shows wiring a button without a resistor. I have heard that this is bad if you set the pin as an output by mistake and press the button because it shorts the pin to ground. Besides that issue, can this be done with…
NULL
  • 2,240
  • 8
  • 28
  • 49
5
votes
1 answer

Sainsmart 12V, 16 Channel relay module connected to RpiZW has unwanted triggering when booting

I'm trying to get the hydrosys4 open source irrigation control software to work with my 16 channel relay board and raspberry pi zero w. When the pi boots up the relay is triggered multiple times, rapidly ( this is not good, the relays will have AC…
D A
  • 61
  • 4
4
votes
6 answers

Controlling Switches from both Raspberry Pi relay & Manual [Home Automation]

I am currently working on Home Automation Project with Raspberry Pi, I am using 8 channel relay board for this, I can control switches over relay easily. But I want to operate them with pre-existing buttons too in my home. So if I want to switch…
Ashish Gupta
  • 51
  • 1
  • 1
  • 8
4
votes
4 answers

How do I do a basic MOSFET switch with Pi?

I have my GPIOs doing PWM with pi-blaster. Now I just need to figure out the wiring. I checked over electrical engineering, and found this question: https://electronics.stackexchange.com/questions/213914/using-mosfet-as-switch, but it hasn't helped…
Seph Reed
  • 327
  • 1
  • 6
  • 18
3
votes
2 answers

Rpi to Arduino Serial UART Communication Tutorial

I'm trying to connect my Arduino to my Raspberry Pi using the GPIO pins. I understand that the Pi uses a 3.3V signal while the Arduino uses a 5V signal so I bought a bi-directional logic level converter to convert them. Here are some shots of my…
soapergem
  • 149
  • 1
  • 2
  • 8
1
2 3
9 10