Questions tagged [wiring]

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

Filter by
Sorted by
Tagged with
0
votes
2answers
41 views

coin acceptor location instability (electricity)

i'm a software developer and a noob in electronics. I've built a photobooth for a friend of mine that runs by an ice cream stand. The wiring is like this; Coin acceptor | --> signal --> voltage ...
0
votes
0answers
103 views

ST7789 Display on Raspberry PI 3

I just got an ST7789 240x240 display and i can't get it to work with my PI. i'm using this library: https://github.com/DjamesSuhanko/Python_ST7789 i installed all the python dependency's When i ...
1
vote
1answer
64 views

Raspberry Pi GPIO and Relay Newbie Learning Problem

I'm a beginner with electrical circuits right now, so I apologize if this might sound a little riduclous. Let's say if I have a switch device that's controlled by two wires. Can I use a Raspberry Pi ...
0
votes
1answer
73 views

GPIO Output Pin Reverse Current/Higher Voltage

I have a device with a built in voltage divider and opto-isolator. I need to send a pulse to from the RPi GPIO output to the input pin in the circuit. The output from the optic-isolator goes to an ...
1
vote
1answer
52 views

Is this the correct way to connect this set of components (gardening application)

The project is one where I want to monitor and log Soil pH Soil moisture Room Temp Room Humidity Shown in the diagram are: Capacitive soil moisture detector 3.3-5.5V link ADC1115 to convert soil ...
1
vote
1answer
116 views

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

I want to connect power to a 3V DC motor straight from 3v3 GPIO. Is it safe or will I brick my Pi 3B+ ?
1
vote
0answers
119 views

RPi.GPIO + single channel relay + solenoid lock

I'm working on my first python/hardware project and I want to create a simple (or at least I thought it was simple) cabinet lock, which will lock/unlock when certain RFID tags are approached to the ...
1
vote
0answers
24 views

128x64 LCD install to Pi Zero W

This is my first Rasp project, so please be understanding. I have Raspberry Pi Zero W and 128*64 dot china LCD. I do not have any program done for the screen yet. When start my Rasp only backlight ...
2
votes
1answer
42 views

Need Help with Controlling Some LEDs with a Raspberry Pi

I'm mainly trying to follow this guide here in order to connect some LEDs to a Raspberry Pi. I've read other guides as well, but this link is where I got the majority of my setup done. I've never used ...
0
votes
0answers
39 views

Bridge between Twilio API/phone line and closed circuit 20v intercom

Question about how to achieve the below using a Raspberry PI. What hardware would i need to buy and is the below possible? I have a closed circuit intercom system in my house. This is a video ...
2
votes
0answers
97 views

(Wiring) RPi 4B laptop keyboard

NOTE: Not that I've chosen a few wired keyboards, I'll accept an answer that explains HOW to (easily) wire a keybard to the pi - it cannot obstruct the use of a small fan powered by the GPIO. I'm ...
0
votes
1answer
85 views

Need help powering a raspberry pi thermostat using 24v power from the unit. I have it working plugged in usb

I have a raspberry pi thermostat that is plugged in through USB. Dealing with this voltage I don't want to "try and see what happens". My current setup is the Pi is powering the relay module through ...
1
vote
1answer
313 views

Wiring GPIO pins to press hardware button on USB MOUSE

i have soldered out buttons and replaced them with wired in USB mouse. Mouse itself is connected to device. Is it possible to wire those cables to GPIO in Raspberry PI model 2. And control clicks via ...
1
vote
1answer
35 views

How can I get the image recorded from a rear-view camera?

I have a rear-view camera (NAVITEL MR250) which I use everyday. I got into image processing and I thought a good personal project would be to create a "self-driving car" (Quotation marks because I ...
1
vote
3answers
52 views

Can I safely add a switch between a fan connected to power/ground?

I've just got a small 5V fan for my Pi, but it is very loud, and I'd like to be able to switch it on/off. Currently, the fan is just wired to 5V power and ground. I know that I can use the GPIO pins ...
3
votes
2answers
2k views

Rpi GPIO Controlling 5V Relay Problem

I am working on a project that requires a camera analyzing some images and activating the appropriate GPIOs to control a relay board. I currently have a touchscreen display, a Raspberry Pi Cam ...
2
votes
2answers
3k views

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

Multiple SDA/SCL | Getting 16x32 RGB LED to work with MCP23017?

I am close to completing a device which will have a 16x32 led matrix as well as quite a few lights/buttons/sensors. All these lights and sensors go through an MCP23017. I am using the Adafruit led ...
0
votes
0answers
29 views

Motor-Potientiometer read and write, additional power source

I want to get and set values for a motor potentioneter ALPS RK16812MG from a raspberry pi. I found a similar approach here however, the answers in that forum suggest a different wiring with an ...
1
vote
0answers
295 views

Connecting Raspberry Pi to old found TFT display

I have an old car DVD player sitting around that has a fairly decent secondary TFT LCD screen (hannstar 721h440b19-a1) that I thought I could use with my Raspberry Pi 3 Model B. I opened up the unit,...
7
votes
1answer
605 views

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 ...
0
votes
1answer
72 views

DS18B20 device not showing

Things I've tried: Replacing the DS18B20 twice (First one was a different brand than the other 2) Using: modprobe -r -a w1 w1-therm modprobe w1 pullup=1 modprobe w1-therm strong_pullup=1 Checking ...
6
votes
2answers
394 views

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

How to use Solenoid Lock 12V DC

I'm new to this, and I can't see how to control a solenoid lock using raspberry (The wirings). I have an 8x AA Battery pack which is wired to output 12V. I don't know where to connect the black and ...
0
votes
1answer
232 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
467 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
197 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
520 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
2k 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 ...
-3
votes
2answers
86 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 ...
2
votes
1answer
1k 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
93 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
480 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
175 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 ...
1
vote
2answers
2k 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
606 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
298 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
211 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
945 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
2k 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. ...
4
votes
5answers
11k 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 ...
-1
votes
3answers
128 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
138 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 ...
2
votes
1answer
389 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 ...
1
vote
1answer
2k 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. ...
6
votes
2answers
36k 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
424 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
436 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
241 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
4k 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 ...