Questions tagged [wiring]
Items referring to physical wiring. For question to the wiringPi library use the tag wiringPi.
136
questions
0
votes
1
answer
15
views
Need wiring help to use a Raspberry 4B with a Mac, Octoprint and Longer LK5 3d printer
I know where to apply the 5 volts for power. So far it appears that a cable is supposed to connect the 3D printers USB port to one of the Raspberry Pi 4B USB ports.
An SD card plugs into the Pi 4B but ...
0
votes
0
answers
31
views
Connect Raspberry Pi Pico to 93C46 trought Microwire (3-wire Protocol)
i searched to know if someone did that before, but i didn't find anything, some C code to read and write using Arduino, but when i try to convert it i failed because i'm new at MicroPython and ...
0
votes
0
answers
59
views
HC-SR04 Ultrasonic Sensor Heating Up and Not Working
I have two breadboards (for the front and back of a go-kart) which are supplied by the 5V power pins of the raspberry pi 4 respectively (pins 2 and 4). However, when both are plugged in, the second ...
2
votes
1
answer
427
views
I accidentaly lightly hit my bread board with my pi pico and ili9341 on it now the ili9341 is just white
So i was in my chair and i clicked run script and when i got up i tripped and lightly hit my breadboard and then the screen (ili9341) went white. Before i hit it, it was working but not anymore. I ...
0
votes
2
answers
222
views
How deep do i have to put my raspberry pi pico pins in a breadboard
I'm trying to make breadboard circuit with my Raspberry Pi Pico and I'm not sure if I have to push it entirely in the holes or it's good at half?
Here's the model: Freenove Raspberry Pi Pico (...
0
votes
0
answers
188
views
How to wire 3.5 RPi XPT2046 Touch Screen to Pico
I've got an old XPT2046 touch controller screen for RPI the I used to use with RPI V3 but now I'd like to use it in my Pico project. Is there a way to directly wire it or is there a connector module ...
1
vote
1
answer
72
views
DS18B20 randomly dissapear from the devices list
I have 4 DS18B20 sensors connected to a Raspberry Pi 4, with a resistor of 10kOhm.
All of the sensors randomly disappears from the w1/devices.
In config.txt the dtoverlay=w1-gpio as well as the ...
2
votes
0
answers
35
views
Moisture sensor gives weird results when connected to a relay
I was about to review the items as faulty when I connected my brain and made a second test.
The sensor is supposed to return 0 when dry and 1 when wet. In my script I repeat the reading 100 times. I ...
1
vote
1
answer
55
views
Trying to get my curcuit board running
I am trying to create a curcuit board for a project of mine.
Several devices are connected to a Raspberry Pi Zero 2 W. One of them is not working via the curcuit board but directly connected to a ...
0
votes
0
answers
51
views
Raspberry Pi direct wiring connection problem
I wrote some code to activate a video when a motion sensor detects movement.
So far everything works while everything is wired to the breadboard.
When I connect my motion sensor to the Pi itself, it ...
2
votes
2
answers
291
views
GPIO Button Wiring
Edited:
Question re-written
Hello,
So I am looking to build a system that will have around 400-500 input buttons. These buttons are basically used to select an option so only 1 button will ever be ...
0
votes
1
answer
87
views
What's the best to control a motorized valve: 2 or 3 wires command?
I need to control a bi-stable motorized valve. I hesitate between two types of wiring:
Inverse polarity of 2 wires to open or close: I can do it with two coupled relays. Does it hurt to do it with ...
0
votes
0
answers
54
views
How to power this LED array
I have this infra-red LED array that I took from an old game camera. I would like to be able to incorporate this into a Raspberry Pi project (home security camera). Specifically I would like to turn ...
1
vote
1
answer
340
views
Wiring an Omron Thermal Printer to a Pi Pico
I'm trying to connect an old Omron thermal printer (PRT-1 Z, companion of the 705CP Blood Pressure Monitor) to a Raspberry Pi Pico. The idea is being able to print something using the Pico. The ...
3
votes
1
answer
792
views
Wiegand wiring guidance on Pi 4 with voltage step-down
Ok so following on from my previous post here. I have decided to start with the Wiegand wiring interface. I've drawn a diagram below to illustrate how I plan to wire everything up. Would appreciate if ...
0
votes
2
answers
63
views
Should indicator LED's be wired in Series with active GPIO driving pins or on their own GPIO pins
I'm building a fairly complex Raspberry Pi project that includes several sensors and driver motors for a garden automation system.
Ideally, I'd like to have LED's that indicate the status of sensors/...
0
votes
1
answer
55
views
What is the name and specs for the RPi CM 4's GPIO connectors?
I want to use a compute module for a personal project; but I don't know the name of the connector that is used for the GPIO/SPI etc. It is the one pictured here
In the spec sheets, I see the pin out ...
0
votes
1
answer
575
views
Wiring multiple I2C sensors to Raspberry Pi using breadboard or wiring
I am new in prototyping with Raspberry Pi. I am using a Raspberry Pi 4B. For a project I want to connect 3 I2C sensors to it (AS7262,BME688 and AS7263. They connect to the same pinns (pins 1, 3, 5, 6, ...
5
votes
1
answer
2k
views
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, ...
0
votes
2
answers
5k
views
What "wiring" pin numbers on Pi Zero pinout diagram mean
On the below diagram I understand what position (on the board), GPIO (abstract Pi GPIO numbers) and BCM (SoC pin numbers) pin numbers mean, but what's the meaning of the "wiring"?
0
votes
1
answer
167
views
Flow meter circuit and low pulse count
simulate this circuit – Schematic created using CircuitLab
I have a very simple circuit that uses a hall effect sensor to measure water flow which then in turn sends pulses to GPIO 13 on my PI. ...
1
vote
1
answer
109
views
Proximity sensor reads not working
I'm trying to read output from NPN proximity sensor: but from the GPIO pin I don't read any state change: unfortunately I can't read anything from it cause it seems to fluctuate even if I set the pull ...
1
vote
4
answers
3k
views
Using single 5V relay module (jqc-3ff-s-z) - Asking for help
I have a developer background missing the electronics background. I read some threads with great interest:
Using single 5V relay (jqc-3ff-s-z) - safety advice required
and
5V relay (jqc-3ff-s-z)
I ...
0
votes
0
answers
138
views
making a DC motor spin both ways
I week ago, I got my raspberry pi, connected it to a DC motor, and made the DC motor spin using python.
now, I'm trying to get the motor spinning both ways. I have tried but failed. What is the best ...
1
vote
1
answer
78
views
how to wire up a 12V solenoid valve without alligator clips [closed]
I have got a very beginner question.
I am building an irrigation system and so I need to use a 12V solenoid valve.
My question is as follows:
Given the following valve and in particular the contacts (...
0
votes
2
answers
722
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
0
answers
1k
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 ...
2
votes
1
answer
137
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
1
answer
954
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
1
answer
74
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
1
answer
564
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
0
answers
1k
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
0
answers
71
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 ...
3
votes
1
answer
59
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 ...
2
votes
0
answers
247
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
1
answer
339
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
1
answer
753
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
1
answer
183
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 ...
2
votes
2
answers
137
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 ...
2
votes
2
answers
4k
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 ...
3
votes
2
answers
7k
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
0
answers
212
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
0
answers
34
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
0
answers
757
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
1
answer
708
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
1
answer
179
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 ...
7
votes
2
answers
1k
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
2
answers
1k
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
1
answer
390
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
2
answers
920
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 ...