Skip to main content
Share Your Experience: Take the 2024 Developer Survey
10 votes
Accepted

How can I wire this SD card reader to RaspberryPi?

It seems like it is a SPI device. You should first need to enable SPI using raspi-config. Then you'll need to wire: (Reader) GND -- GND (GPIO-Raspberry Pi2) 3V3 -- 3.3 V (Pin 1) ...
KeremE's user avatar
  • 116
9 votes
Accepted

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

The black housings are available for more than just one contact, as one row or two row version. The contacts are crimped to the wires , which means you either have a crimp tool or somehow solder it. ...
sweber's user avatar
  • 516
8 votes

Wiring diagram software

DIY with GIMP Based on the education resources of the Raspberry Pi Foundation and the SVGs of Fritzing, you can create your own diagrams with GIMP: Example images: Raspberry Pi 4 Raspberry Pi 3 B+ ...
Matthias Braun's user avatar
6 votes

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

You could use an IO expander module (e.g. PCF8575 or MCP23017) between the Pi and the relay board: those modules don't change pin states unless they receive a valid I2C/SPI command, so they will not ...
Dmitry Grigoryev's user avatar
5 votes

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

The Relay module in your picture is what so called Relay shield specific designed for directly interfacing with micro controller such as Raspberry Pi or Arduino, the board already consists of the ...
hcheung's user avatar
  • 845
5 votes
Accepted

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

I am interpreting the picture of the printed circuit board of the relay module with accompanying notes as follows: the board includes a transistor and a diode - and while it is impossible to tell ...
Ghanima's user avatar
  • 15.9k
5 votes
Accepted

Raspberry Pi as Wiegand device - output Wiegand to receiver

Wiegand is quite straightforward. It is not a particularly onerous interface. For an example of transmitting Wiegand codes see http://abyz.me.uk/rpi/pigpio/examples.html#pdif2_tx_WD /* This ...
joan's user avatar
  • 71.1k
5 votes
Accepted

Wire Button Without Resistor

If the code is written correctly such that the GPIO pins are input only, you should not have an issue. However, the use of resistors may still be warranted ... but not to limit the current in case of ...
Kolban's user avatar
  • 1,784
5 votes
Accepted

"Blinking" relay by toggling pins between input and output

The problem The problem is that your relay board is designed to run at 5V, but your Pi's GPIO is 3.3V. The relay is a 5V relay, so the power supply needs to be 5V, but you can alter the design of the ...
Edward's user avatar
  • 961
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.
Dougie's user avatar
  • 5,321
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 ...
stevieb's user avatar
  • 1,456
5 votes

How deep do i have to put my raspberry pi pico pins in a breadboard

Push it down as far as it will go.
joan's user avatar
  • 71.1k
4 votes

Controlling a water valve

Use a Solid State Relay for 10 bucks like: This here You control it from Rpi GPIO ports and is isolated from the outlet and is compatible with Rpi outputs. Has also a LED which shows the status of the ...
jet's user avatar
  • 379
4 votes
Accepted

Do I need a resistor to wire my Pi Zero directly to a power source?

Do NOT use a resistor; on the contrary the resistance of the leads on many power supplies is too high (even though a fraction of an ohm) which causes low voltage problems for many Pi users. Use ...
Milliways's user avatar
  • 60.3k
3 votes

When to set internal pin resistance at software layer

That is not so good. So the 3.3V power pin from the RPi is connected to the breadboard's top-most rail via a red jumper (note this isn't actually used by the rest of the circuit but I don't believe ...
goldilocks's user avatar
  • 59.1k
3 votes

Wire Button Without Resistor

I know it's an old question, but I've been reading into the RPi's internal resistors. I'm hoping to use them in order to make my circuit a little bit simpler. According to this answer there are pull ...
flamewave000's user avatar
3 votes
Accepted

Wiring a 3 pin toggle switch to Raspberry Pi 3

This is a two state system -- the switch is either to the left or to the right. Since there are three pins, and presuming two of them are not hardwired together, this means the switch position ...
goldilocks's user avatar
  • 59.1k
3 votes
Accepted

Would this be the full list of materials to connect a ML8511 UV sensor to a Raspberry Pi?

You will also need pin headers, solder, and a soldering iron to connect the pin headers to the breakout board. In addition you will need a bootable SD card for the Pi3B. Apart from those provisos ...
joan's user avatar
  • 71.1k
3 votes

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

I think I found what you are looking for : In this exemple, we see that two switches are controlling one lamp, so toggling one of these switch will toggle the lamp. In your case, you need to ...
Technico.top's user avatar
  • 1,406
3 votes
Accepted

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

The double switch method (also called a staircase switch) would be preferable, as it's easier to integrate with existing wiring, but it leaves your Pi without knowledge about the state of the load. ...
Stuggi's user avatar
  • 268
3 votes

How to wire an HC-SR04 without a breadboard?

The HC-SR04 is touted as a drop in replacement for the SN-SR04T. While I haven't tested this, I connect the SN-SR04T thusly Pin 4 connects directly to the +5V connector Pin 6 Connects directly to the ...
d3noob's user avatar
  • 1,876
3 votes

Do I need a resistor to wire my Pi Zero directly to a power source?

Don't put any resistor in series with the Pi when connecting it to a voltage source. — Uh, and 10A is overkill. You can't run 10A through the 5V tracks on the Pi's board. These are for about 2A only. ...
Janka's user avatar
  • 1,718
3 votes

Is it safe to use 3V3 on raspberry pi 3B+ to control a 3V DC motor?

In my estimation, there is a good chance that you will "break" your RPi. Connecting GPIO pins to DC motors is not a good idea; you shouldn't do it unless you're OK with breaking your Raspberry Pi.
Seamus's user avatar
  • 22.2k
3 votes
Accepted

What "wiring" pin numbers on Pi Zero pinout diagram mean

"Wiring" refers to the wiring pi library, and its associated command line utility - gpio. If you have installed Wiring Pi, you may list/print the relationship between the various RPi GPIO ...
Seamus's user avatar
  • 22.2k
2 votes

pwm fan on pin 18 help!

You probably have a fan thats power requirements are too high to be met by the pi, as I have never seen a fan that could run on the pi's 3.3 volt 50 milliamps(keep in mind that the pi's gpio pins are ...
Mohammad Ali's user avatar
  • 2,383
2 votes

How can I wire this SD card reader to RaspberryPi?

An excellent blog post tutorial has been posted here: http://blogsmayan.blogspot.com/p/interfacing-sd-card.html Please review that detailed posting for a complete answer to connecting your SD card ...
Kolban's user avatar
  • 1,784
2 votes

Controlling a water valve

The Raspberry Pi is the brain. The relay is the muscle. The brain sends low voltage signals (5v) to the relay, which trigger it to contract (by using a coil) - This flips a mechanical switch (which ...
Piotr Kula's user avatar
  • 17.3k
2 votes
Accepted

Strange I2C behaviour

Strange I2C behaviour ... sorry for the title, I don't know how to describe further Well, in the last couple of months playing with a couple of I2C devices, I have been in the same trouble as yours....
tlfong01's user avatar
  • 4,695
2 votes

What would the wiring look like for the UV Sensor Breakout - ML8511?

On the ML8511, there are 4 pins. Both EN (enable) and 3.3V (power) connect to a 3.3v voltage line (red positive rail on the breadboard). GND connects to the black (ground) rail on the breadboard. The ...
user3683573's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible