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

Questions tagged [electronics]

Use this tag for questions related to how to use control electronics from the Raspberry Pi, and how to control the Raspberry Pi from electronics.

Filter by
Sorted by
Tagged with
0 votes
0 answers
22 views

GPIO pins with pijuice hat

I am currently building a website controlled bb8 based on a raspberry pi 4b, and 2 12v motors controlled by a wma4000 relays module(4 relays, 2 for each motor are used to move forward and backwards). ...
Claus de la Guardia's user avatar
-1 votes
1 answer
77 views

Connecting 12V doorbell signal to GPIO input

I'm trying to connect the signal from a doorbell to a Raspberry Pi Zero 2W to modernize the existing system with IoT capabilities. I did some measurements and I found that the terminal that powers the ...
SierraJuliettMike's user avatar
0 votes
0 answers
30 views

LEDs in 8x8 matrix triggered in unexpected order

I have bought a pre-built 8x8 LED matrix powered by an ht16k33 and connected it to a Raspberry Pi 3b. I have created the following test program, which should turn on each of the LEDs of an 8x8 matrix ...
drewb's user avatar
  • 1
0 votes
1 answer
35 views

Fooling a capacitative touch sensor

I have a dehumidifier (Pro Breeze 1L) which works with a capacitative touch sensor. When the machine is plugged in, the two buttons (on/off, light) flash on, but it will not be on until the button is ...
Matteo Ferla's user avatar
0 votes
1 answer
46 views

Toggle 240v motor load with raspberry pi

I am working on a project where I would like to power on and off a 240v industrial fan with the raspberry pi. Basically the idea is to tap into the 240v line and add a relay that the pi can control ...
Logan Holmes's user avatar
1 vote
2 answers
53 views

GPIO input pins high at 3V, and detect when ground is connected when I want it to detect when 3V is connected

This is on a Raspberry Pi Zero 2 W The physical pin 3 and 5 (gpio2 and gpio3) are the input pins I am using and for whatever reason, they are at default 3V and detect a change when they are connected ...
prestonferry's user avatar
0 votes
0 answers
83 views

RPi Zero as 4-pin-fan-controller: Faulty RPM readings on open collector with gpiozero

Introduction and Goal Disclaimer: I do not have profound but basic knowledge in electronics and hardware and my python is a bit rusty. For tl;dr, jump to the problem section below. Hello, I'm trying ...
ArmoredGoat's user avatar
0 votes
1 answer
127 views

Control 24V Contactor from GPIO

Hello I wish to control a 24V contactor from a Raspberry Pi with no HAT as I need access to pins for sensors and other parts of the project. I want to use an optocoupler for safety. I am led to ...
daniel's user avatar
  • 1
0 votes
1 answer
45 views

Many piezo crystals driven by Pi? [closed]

I'm considering starting a new RPI project that will end up being a haptic feedback suit for video games. My thought process so far is that I can embed a lot of piezo crystals inside a vest / jacket ...
Blue Herring's user avatar
0 votes
0 answers
27 views

How Can I Expand The GPIO / Pin Quantity When A PiSound is Installed on the RPI4?

I'm working on creating a musical synthesizer and the sound engine requires a Raspberry Pi 4 + PiSound. From what I can gather, the PiSound is placed right on top of the RPI4 and uses its GPIO pins. ...
Jelani Thompson's user avatar
-1 votes
1 answer
66 views

Using a signal intended for piezo as GPIO button-like input

I'm pretty new to raspberry pi, and have fairly entry-level circuitry knowledge. For this project, I'm using a raspberry pi zero w. I'm putting this question in this stack exchange because I'm hoping ...
njc's user avatar
  • 1
-1 votes
2 answers
40 views

Connecting 15/21V to GPIO to read an on/off state

I am working with GPIO where I want to read a vacuum sensor's output voltage. Using a voltmeter from the output to the pi's ground, I measured the voltages. ON State: 21V OFF State: 15V I know that ...
Danny's user avatar
  • 1
0 votes
1 answer
348 views

Why does this Pico circuit use so many resistors?

I've just started working through the Freenove ultimate starter kit for the Pi Pico, and I'm having trouble understanding why it has so many resistors in this circuit. I'm following the tutorial ...
AngelsJinx's user avatar
0 votes
0 answers
60 views

I think I've shorted my Raspberry Pi using a Picoborg, but I'm not sure how? Help?

So I've been trying to work out how to control a Furby Boom (2013) from a Raspberry Pi Zero W and was working on connecting the Furby's DC motor to the Pi through a Picoborg. I then ran one of the ...
maemaimimi's user avatar
0 votes
0 answers
140 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 ...
Pasindu Danthanarayana's user avatar
0 votes
1 answer
56 views

What sort of order of magnitude in time does it take from code like GPIO.output(led_pin, GPIO.LOW) to be executed to led being lighted up?

So I am lighting up an through hole led using 5V and an GPIO pin. I have code in python and I’m trying to get a precise timestamp of when the LED lights up with something like this: GPIO.output(...
Lanceward's user avatar
0 votes
1 answer
925 views

Python code cannot detect my i2c address

I would like to ask some opinions regarding i2c communications with pca9685. My i2c1(SDA=GPIO2, SCL=GPIO3) of my rpi 4b is used by my mpu6050, which I had to enable one more i2c channel of my ...
Bobking's user avatar
  • 11
1 vote
0 answers
85 views

Empty Pi Hat/Bonnet

Does anyone know where to find a Pi Hat or Bonnet that is empty? By that I mean a PCB that has the connectors to solder stackable headers onto, but no connections just raw PCB? The reason I want ...
johnnyb's user avatar
  • 111
4 votes
3 answers
2k views

LED light not turning on

I was following this tutorial on connecting an external LED to a Pico W, but I've had no luck getting it to work. This is the code I've been using: import machine from machine import Pin, Timer timer =...
Emu_of_Ubiquity's user avatar
0 votes
0 answers
44 views

Use raspberry pi pics to record rpm on a wheel

I would like to use a raspberry pi pick to record the rpm of a wheel on a rc car. There will be a contact on the wheel, and a contact on the body of the car. As the wheel turns, if the two contacts ...
user112167's user avatar
0 votes
1 answer
194 views

Voltage divider for multiple gpio inputs

I have a system that can output 12V depending on measured events. The way the 12V of the system are provided is via a 12V output that gets shorted to GND via a transistor output. I wanted to use these ...
Dahlin's user avatar
  • 1
1 vote
1 answer
103 views

Using the microUSB Port over the 4 pin for Neo-6M GPS Module on Raspberry PI

Just a quick question, what is the difference between using the microUSB port over the 4 pins for data input for the Neo-6m gps module by ublox? or for any other sensor. Does this affect the current/...
Ijaz Ahmed's user avatar
0 votes
0 answers
34 views

How to Properly Stop Electronic Speed Controller

I have a brushless electronic speed controller connected to my RaspberryPi. I have tuned it to 700 - 2000. It runs correctly, but whenever I set the speed to 700, it stops (this is supposed to happen) ...
Brendan R.'s user avatar
1 vote
1 answer
156 views

Spi wrong voltage

Obviously, my spi is not happy. MISO and MOSI were idling around 1.5v instead of 3.3 so I added a 10k pull up, and that helped a bit, but as you can see, it's still not good. It idles around 2.8v ...
bob mcgrath's user avatar
1 vote
1 answer
232 views

Protecting PI when driving motors

I am planning on driving two 12V DC motors using the "L293D" motor driver. For that I'm using a 12V battery for the motor supply, and a RaspberryPi to generate a PWM wave to regulate the ...
Diogo Ferreira's user avatar
0 votes
1 answer
434 views

Controling high voltage servo motors with raspberry pi 4

I'm building a bipedal robot and I'm using 7,4V servo motors that can consume 3.9A of current (Feetech FT5835M) and RPi4B, how can I control these servos? I'm thinking about using Adafruit 2327 HAT ...
Bocian's user avatar
  • 9
1 vote
1 answer
45 views

Camera module survivability questions

I have a camera module which was working fine without the two infrared (IR) lights: . Today, I decided to place on the IR lights: turned off Pi attached the lights and rescrewed the camera on its ...
Konstantinos's user avatar
-2 votes
1 answer
445 views

2 leds in series

Why on the first picture LEDs are blinking, but on the second they're not?
jTymbark's user avatar
0 votes
1 answer
125 views

What sensor can I use for detecting a metal type without the use of magnets? [closed]

I am searching for a method to detect the type of metal of something solid and small and thin. The test surface is approx 4x2 cm with a thickness of maybe a few millimeter. I cannot use magnets in ...
Bob Ortiz's user avatar
  • 111
1 vote
1 answer
467 views

SOLVED Raspberry Pi Zero GPIO pin not detecting Input

So I am using a Raspberry Pi Zero to detect the signal from this NPN Inductive proximity sensor (its input supply range is 6 to 36V and the signal pin to output the same amount of voltage which we ...
IOT-Guy's user avatar
  • 31
0 votes
1 answer
554 views

5V proximity sensor to Rpi zero W GPIO

I want to use an NPN inductive proximity sensor with Raspberry pi zero w. The link to the sensor I am using is this: https://robu.in/product/orange-15mm-npn-inductive-proximity-sensor-rm30-dc636v-...
IOT-Guy's user avatar
  • 31
0 votes
1 answer
1k views

Micro Switch implementation in Raspberry pi

I am a beginner using a raspberry pi 1 model A+ to create a production counter that would count the material as it would hit the switch and that would be counted as 1. The issue I am having is that I ...
Kevinh2's user avatar
1 vote
1 answer
157 views

After shutdown/poweroff command, is it possible to damage a pi (4) by leaving the Powercable in?

So I have a Raspberry Pi 4 type C 5V 3A adapter plugged into the power extender thingy at all times. My question is, once you type the poweroff command into the terminal and see the device turning off,...
user avatar
2 votes
1 answer
351 views

raspberry pi prevent overload current from turning on a high current motor

I am trying to use only 1 power supply instead of 2 to power Raspberry Pi and motor, but when I turn on the high current (>10A) motor, it will lead to the Raspberry Pi restarting. I guess it is ...
Pak Ho Cheung's user avatar
-1 votes
2 answers
58 views

Raspberry Pi 4 GPIOs are constantly on, even after restarting and cleaning up GPIOs

So, I got a Raspberry Pi 4 Model B, and I'm trying to make a project using relay boards. Turns out, when I turn on my Pi, one of the pins is already active and the indicator turned on partially. I ...
bruhboi123345123's user avatar
-1 votes
1 answer
48 views

Relay provides power contineously

I have set up a Pi-Zero which controls several relay switches. The Schematic is positioned below. import time import board import busio import digitalio from board import * from datetime import date ...
GlennB's user avatar
  • 1
1 vote
0 answers
96 views

Audio DAC for raspberry pi with 2 outputs (build in sspeakers + TS audio out)

I'm working on a project for one of my band that runs on a raspberry pi with samplerbox. the raspberry pi is connected to a powered speaker and a midi keyboard, and I can play from a set of samples I ...
Thatkookooguy's user avatar
0 votes
1 answer
156 views

LED always on while using FET

I want to switch on/off some LEDs on a breadboard using my Raspberry PI (RPi) 4. Before connecting with my RPi, I've tried to do some experiments with using a BS270 FET in an old-fashioned "dumb&...
Grubl3r's user avatar
  • 111
0 votes
0 answers
61 views

Raspberry PI External Case Connector

I have a DIY project with a Raspberry Pie and a few sensors. I have them working, hardwired through a breadboard. As I'm mounting them to a case I would like to have a female connector that passes the ...
sparksmedia's user avatar
1 vote
2 answers
500 views

GPIO configured as interrupts detects noise of the engine even if isolated

Did anyone work with a Raspberry Pi in a an automotive project ? I am working on creating a dashboard for a motorcycle and it is making me crazy! when configuring a GPIO pin as an interrupt it ...
mina's user avatar
  • 377
0 votes
2 answers
1k views

How to detect low amp AC current with GPIO

There is switch inside a commercial gate operator that I need to monitor with my RasPi. The switch has two ~18 AWG wires, when the switch it closed, it's 50V AC connection. When the switch is open, ...
RockWest's user avatar
1 vote
2 answers
342 views

L298N motor driver either keeps running or slows down the motor with RPi3

Following this video, my motors should be constantly running as per the program and should stop running after the program is executed. When I first ran the script, the motors did run, as per the ...
Ishaan Dugar's user avatar
2 votes
1 answer
369 views

What is this 8-pin fpc place On RPi 4?

I was looking at my Raspberry Pi 4B and I saw something like a not soldered place for fpc connector and I got curious what is that!??? just Look under USB2 at top right corner in the image bellow.
Reza Azimi's user avatar
1 vote
1 answer
675 views

How can Rpi connect to and read the DIY PH-4502C pH Sensor?

How can Rpi connect to and read the DIY PH-4502C pH Sensor?
Pierre Auger's user avatar
0 votes
1 answer
188 views

Long male to male jumper wires. What is AWG/Gauge

for a certain project, I need very long male to male wires (~3 meters). I went on amazon, and think that these might do the trick. However, because I am very new to the electronics in general, I got ...
nhaus's user avatar
  • 73
-1 votes
1 answer
441 views

Is it possible to move a stepper motor to a specific angle?

For Example: move.stepper(90°) #stepper now points to the east time.sleep(1) move.stepper(180°) #stepper now points to the south time.sleep(1) move.stepper(263°) #stepper now pointing to 263° I ...
Lucas's user avatar
  • 1
1 vote
2 answers
2k views

5V Relay only works if VCC is 3.3V

I am very new to all of this, so please excuse if this is a very basic question. I am trying to power a tiny water pump with my raspberry pi. For that I need the 3.3V or 5V output, because the GPIO ...
nhaus's user avatar
  • 73
1 vote
2 answers
2k views

Using Relays to Power off then Cut power to Pi Zero

I have a raspberry pi zero that I am running off a battery for remote logging reasons. There is a low battery shut off module I have connected to the battery in case the battery gets below a certain ...
blueskies's user avatar
0 votes
1 answer
162 views

Is this RPI 3 B+ fixable, overvoltage on usb micro

I cant identify the component that blew, any help idenitying it would be appreciated. Is it possible to replace it to save this rpi? desoldered from the pads exposed on the right of the usb micro port
Gaby_64's user avatar
0 votes
1 answer
203 views

Is it safe to use GPIO as GND for multiplexed 7-Segment display or should transistors be used?

I want to control a 4-digit multiplexed 7-Segment + Decimal Point Display (SH5461AS). This diagram (which allegedly comes from the datasheet of this display) suggests to use 4 external transistors to ...
julius100's user avatar

1
2 3 4 5 6