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
1 answer
36 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 ...
Tyler Selden's user avatar
0 votes
0 answers
16 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
0 votes
1 answer
31 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
0 votes
1 answer
31 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
87 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
35 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
37 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
41 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
287 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
38 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
808 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
39 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
119 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
66 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
0 votes
1 answer
73 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
218 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
208 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
0 votes
1 answer
37 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
273 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
83 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
  • 109
1 vote
1 answer
344 views

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
367 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
850 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
  • 11
1 vote
1 answer
146 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,...
StellarEquilibrium's user avatar
2 votes
1 answer
262 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
54 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
44 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
71 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
112 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
42 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
352 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
  • 357
0 votes
2 answers
810 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
253 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
328 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
370 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
139 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 ...
nickhir's user avatar
  • 53
-1 votes
1 answer
310 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
0 votes
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 ...
nickhir's user avatar
  • 53
1 vote
2 answers
1k 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
124 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
147 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 vote
1 answer
157 views

Using a GPIO to unlock an electronic lock [closed]

I want to build a safe that can only be opened via an HTTP POST request. In order to do this the safe will contain a Raspberry Pi Zero W that will host a simple server that listens to these requests ...
sad_but_rad's user avatar
-1 votes
3 answers
465 views

Use GPIO to power an USB device

I searched the forum but didn't get a clear answer. I have a "LED tinsel" powered by an USB plug. I tried connecting a 5V pin of my RasPi3 GPIO to the "+" pin of the USB plug, and ...
bobolecoco's user avatar
2 votes
1 answer
455 views

Is it possible to drive two PWM pins with opposite phase?

One well-known trick to make a piezo buzzer sound louder is to actively drive both sides of it with an opposite phase: when pin 1 is at 0V, pin 2 is at 3.3V and vice versa. This creates a voltage ...
Dmitry Grigoryev's user avatar
0 votes
1 answer
62 views

DockerPi relay is wired backwards from others?

First off, apologies if I should have posted this elsewhere (such as under general electronics, etc.) I have two relays (JBTek, DockerPi relay hat) I have been experimenting with to control input ...
tannmatter's user avatar
0 votes
1 answer
460 views

How can I control a 4026 counter chip from my raspberry pi?

I have a 4026 counter chip controlling a seven segment LED display. The current set up is every time I press a button it advances by one digit on the display. See circuit below. This circuit runs on ...
euan's user avatar
  • 15
1 vote
1 answer
85 views

How to physically turn the a Raspberry Touch display on and off?

I use a Raspberry Pi Touch Display that I connect like shown in the following picture to my Raspberry. The black and red wires are connected to thee GND and 5v pins respectively. Now I want to ...
SCM's user avatar
  • 21
1 vote
3 answers
665 views

eBoot Mini DC-DC Buck Converter to power Pi-4 B

I'm a noob so please have patience with me. I have a 12V power supply to charge a motor driver, that I also want to power my Raspberry Pi-4B. I bought these mini buck converters on Amazon: https://...
Kevin's user avatar
  • 13
0 votes
2 answers
649 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 ...
engvrdr's user avatar
  • 103

1
2 3 4 5 6