Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [wiring]

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

0
votes
1answer
40 views

Controlling button on YwRobot with Raspberry Pi

I am obviously new to Raspberry and Stack, but would be great if community can advice. My setup is the following: - YwRobot 545043 power supply (controller) connected to the breadboard and to the ...
2
votes
2answers
121 views

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

I want to connect my Pi Zero directly to a 5V 10amp power adapter (shown below) which in turn connects to a wall outlet. I know that with LEDs you can't just connect it directly to the power source ...
0
votes
1answer
79 views

How to connect more I2C sensors on top of a RPI shield

I'm struggling with a problem, how to connect more sensors on top of this raspberry shield => https://sixfab.com/product/raspberry-pi-nb-iot-shield/ The shields schematic can be found here and it ...
0
votes
1answer
89 views

How to wire up a LED Matrix with a Raspberry PI

I'm not sure how to wire up the LED Matrix corrctly. I followed the steps in this guide: https://github.com/hzeller/rpi-rgb-led-matrix/blob/master/wiring.md In this tutorial the matrix has 3 GND pins. ...
1
vote
1answer
120 views

Correct wiring for multiple analogue sensors?

I’ve recently embarked upon a project that I’ve wanted to do for a while. My overall plan is to have 3 planting shelves; each will have its own soil moisture sensor, water pipe and LED lighting. The ...
-4
votes
2answers
58 views

Can somebody please tell me how to wire this?

I litterally cannot find it anywhere on how to wire this https://www.adafruit.com/product/2934 The only thing any of the pigrrl schematics show is connecting wires from b1,2,3,4 to pins on another ...
0
votes
1answer
154 views

How to wire an HC-SR04 without a breadboard?

I have a Raspberry Pi and a HC-SR04 integrated circuit for measuring distance. I have found many resources for how to connect the HC-SR04 to the GPIO of the Raspberry Pi, but because the HC-SR04 ...
1
vote
1answer
59 views

Wiring a RGB LED on to a Raspberry Pi

So I got a bunch of these LEDs and I can't seem to figure out how to wire them. This is what I'm working with. I tried adding the gnd and 5v but it doesnt do anything. When i connect the Din to 5v ...
1
vote
1answer
241 views

How can I use Garage Door Safety Sensors with Raspberry Pi?

I am trying to use garage door safety sensors as a way of counting cars. From my understanding, if there is no object (car) between the sensors, then they output a 3.3V signal every 6 milliseconds. If ...
0
votes
1answer
119 views

Flow Meter connected RPI 3 wiring [closed]

Is the wiring the same from a RPI B+ to a RPI 3 to connect a the flow meter too? If you strip the connector to just bare ends from the flow meter what cables/connectors do you recommend purchasing for ...
0
votes
2answers
526 views

Potentiometer on 16x2 LCD, does it need to be connected to VCC?

I am following this Adafruit tutorial on 16x4 LCD, and I managed to make it work. https://learn.adafruit.com/drive-a-16x2-lcd-directly-with-a-raspberry-pi/wiring From this tutorial, the potentiometer ...
0
votes
1answer
172 views

How do I debug an LED strip that isn't working?

I've scoured the forums here and elsewhere and can't exactly figure out what my next step should be. I've followed this tutorial https://tutorials-raspberrypi.com/how-to-control-a-raspberry-pi-ws2801-...
0
votes
1answer
144 views

Trouble with Flex Sensor and MCP3008

I'm working on a project currently, though things aren't quite working so I would like whoever's advice. So, to put it briefly, I'm using a Sparkfun Flex Sensor and an MCP3008 hooked up via a ...
1
vote
1answer
106 views

Wiring a SNES Controller to pi3 gpio or tactile switches

I'm looking to build a super pi boy, in the original they use tactile switches. However, I'm not sure how to wire the tactile switches and make them work as a x b y up down left right etc. I'm also ...
1
vote
1answer
476 views

How do I connect this anemometer to a Raspberry Pi? [closed]

I want to connect an anemometer to my Raspberry Pi 3. I'm trying to use the Maplin N25FR Wind Speed Sensor. How do I connect it to my Raspberry Pi? I found this picture online, but I don't ...
5
votes
4answers
1k views

“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. ...
1
vote
5answers
5k views

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 ...
0
votes
2answers
51 views

Basic questions about inputs/outputs on a breadboard (Pi 3)

I have started my first basic project today and I have a few questions I couldn't find answers to yet or I just don't know how to search for any. Sorry if those questions seem a bit stupid, but I will ...
0
votes
1answer
81 views

How to wire a switch to turn on and off the power source on a Pi Zero?

I'm planning a project that involves a portable Pi Zero with a battery and I want to wire a switch that turns on and off the pi/battery. I'm not too experienced with hardware and I would like some ...
1
vote
1answer
191 views

What Circuit Should I Use to Hardwire Raspberry Pi to Doorbell?

I am trying to connect my raspberry pi to my hardwired doorbell in order to send a text message when the doorbell button is pushed. I have successfully sent the text message using a button connected ...
0
votes
1answer
1k views

GPIO Buzzer. Not sure how to do this

Buzzer (all it says on the back): 3 VDC, 15 mA, 75 dB I have a simple breadboard circuit with a LED that works. I'm now perplexed (again, I know zero about circuitry) how to add a working buzzer. ...
1
vote
2answers
13k views

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) ...
0
votes
2answers
171 views

Are there any buzzers that work natively with 1 Model As?

I'm trying to follow the examples in this CanJam EduKit project -- see page 2: I'm having enormous difficulty tracking down a piezo/buzzer that I could use for that project, a buzzer that: Works "...
0
votes
2answers
221 views

When to set internal pin resistance at software layer

I'm trying to wire my Raspbery Pi 1 Model A (hereafter RPi) to a simple 6VDC buzzer and here is my best attempt: So the 3.3V power pin from the RPi is connected to the breadboard's top-most rail via ...
0
votes
1answer
102 views

Turning on-off-on-off switches to normal switches and integrating with GPIO [closed]

I have the following on-off-on-off button that I purchased from Adafruit for use with my Raspberry Pi 1 Model A. I'm trying to "bypass" the "on-off-on-off" functionality, and just make it so that its ...
3
votes
1answer
2k views

GPIO pin wiring for LEDs and their resistors

I have a Raspberry Pi 1 Model A and am trying to control an LED from an app that I will be running on it. The wiring I'm planning on going with is: Even though thats a RPI 3 in the diagram above, the ...
0
votes
0answers
1k views

How to wire up Raspberry Pi 3 with GPRS Shield SIM900 and how to access it through serial port?

I was able to connect my Raspberry Pi 3 with a GSM/GPRS SIM800L module without problems. (See the image here: https://http2.mlstatic.com/modulo-gsm-gprs-sim-800l-c-antena-arduino-pic-raspberry-pi-...
0
votes
1answer
374 views

Is wiringPiSetup BCM or BOARD?

I am using WiringPi to simulate PWM output to my GPIO pins. My problem is that I converted from the regular Rpi.GPIO library to WiringPi. I used BCM as GPIO mode but now WiringPi uses BOARD. How can I ...
1
vote
2answers
2k views

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/...
0
votes
0answers
129 views

Controlling M35SP-9T stepper with UNL2003

I would like to control a recycled stepper motor with UNL2003. I bought a downloaded a sample script from here Created a test circuit, and the controller is working fine with the 28BYJ motor. I did ...
1
vote
0answers
28 views

Wired IR with CIRT1/2 for Calypso CA-1000

Is it possible to do IR over wire with a Calypso CA-1000 amp? It has an IR receiver and wired IR in/out ports (IR out for daisy-chaining) and looks for CIRT1, 2, and custom codes. I would like to be ...
-1
votes
1answer
148 views

Simple RPI3 / Garage Door help?

I have a very simple RPI3 / SainSmart 8 channel SSR setup. I have GPIO18 set as out and wired to the relay board. I can turn on the relay (at least its LED lights appropriately). My issue is that it ...
1
vote
1answer
946 views

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

I have a Raspberry Pi 3 Model B. I am planning to connect an ADC (analog to digital) converter called the MCP3008. I will follow the diagram that is shown here (scroll down past the enabling SPI step)...
0
votes
1answer
96 views

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

I have the SparkFun ML8511/UV Sensor Breakout. In order to connect this to a Raspberry Pi would I need any other materials besides the following: A Breadboard A MCP3008 for analogue to digital ...
4
votes
0answers
228 views

Strange I2C behaviour

First of all: sorry for the title, I don't know how to describe further... Background: I'm working with the RDA5807M FM receiver chip. It worked fine for at least one month now. I just had jumper ...
-3
votes
1answer
176 views

How can I connect this circuit (pictured below) to my raspberry pi without using the gpio headers? [closed]

I was wondering if anyone could tell me how to connect this circuit to my raspberry pi without using the gpio headers because I am trying to make a portable tablet with the raspberry pi 2 and the ...
3
votes
1answer
1k views

Raspberry Pi as Wiegand device - output Wiegand to receiver

I would like to build a Wiegand device from Raspberry Pi to output 37 bit Wiegand format data to Wiegand control unit receiver. I don't want to read the Wiegand protocol on Raspberry Pi like from ...
1
vote
1answer
4k views

Wiring a 3 pin toggle switch to Raspberry Pi 3

I have this small 3 pin toggle switch - just toggles left and right - it has its three pins aligned left, center and right. No datasheet for it - not sure where it came from - most likely a starter ...
2
votes
1answer
498 views

What is the correct wiring using a break beam sensor with a Raspberry Pi 3?

I am looking to wire a break beam sensor to gather results and save them as eventually as JSON data. I am however totally new to hardware and believe there is an issue with the circuit. I have the ...
3
votes
2answers
3k views

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. ...
0
votes
0answers
148 views

Raspberry Pi controlling 5v Fan using Transistor [duplicate]

I have a project that requires a fan to keep the Pi cool due to the terrible ventilation. It's a 5v 0.6w fan. So I thought I could use this wiring here: Instead of 12v it would be 5 from a UBEC, and ...
1
vote
0answers
37 views

WiringPi traffic light in C [duplicate]

I am working on a project for my C programming class and need to use wiringPi on my raspberryPi. I need to create a traffic light (like a real one- red to green to yellow to red, etc.) and a ...
1
vote
0answers
241 views

LED button doesn't work

I have tried connecting a LED with a button like this (from "Adventures in RPi"), but with the far end of the button plugged at G (instead of F). And I ran it with the following Python program (by ...
4
votes
3answers
4k views

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 ...
9
votes
2answers
6k views

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 ...
0
votes
0answers
29 views

is there any AC voltage sensor for RPi? [duplicate]

I have a door bell wire that inputs 5V AC when the button is pressed, I'd like to convert it to 3.3V DC so I can connect it to RPi's GPIO, and then I can monitor the button press logic. However, I'm ...
4
votes
1answer
306 views

Wire switching on Raspberry Pi

In my apartment, I have a door bell that has a red and white wire, they are 12 V AC, and when I connect them together, the door will open. My idea is to connect these two wires to the Raspberry ...
7
votes
2answers
2k views

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 ...
1
vote
2answers
95 views

Can I use a cable such as the ones linked to connect my Pi Zero to the network?

The Pi Zero only has a micro USB socket, requiring the use of an adapter to connect an Ethernet cable. Is there any reason I can't use something like this cable, or even attempt to make my own with ...
-1
votes
2answers
297 views

RPi pin being tripped by static electricity?

I'm writing a program that will run a timer until the user plugs a wire into two ports and presses a big red button. At home, my program works pretty well, but when many people are in the same room, ...