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
0answers
27 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 ...
-1
votes
0answers
35 views

How to connect 8 ohm 0.4w speaker to raspberry pi4 / pi zero gpio pins

I have 8 ohm 0.4w speaker. i want to connect speaker to raspberry pi gpio pins how to do that. what common npn transistor should i use. should i use amplifier and which should i use. is this possible ...
0
votes
0answers
14 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 ...
1
vote
1answer
50 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&...
0
votes
0answers
23 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 ...
1
vote
0answers
39 views

Connecting Pi`s audio jack to 2-wire phone line

I want to connect intercom to Pi. Typical schematics for intercom telephone is There is line with phantom power on X1-X2 about 7-16V (=12V if clean, short wires). With Raspberry will use hat or usb ...
1
vote
2answers
71 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 ...
1
vote
2answers
98 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, ...
1
vote
1answer
48 views

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

So, according to this video which I had followed, my motors should be constantly running as per the program and should stop running after the program is executed. Instead, when I first ran the script, ...
3
votes
1answer
211 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.
1
vote
1answer
78 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?
0
votes
1answer
53 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 ...
0
votes
0answers
36 views

Beginner question: Bad results with WS2812B and strandtest.py

I have a setup for testing my WS2812B led strip with the raspberry pi. I am following the AdaFruit best practice guide Including using the recommended level shifter after the pwm pin. I've included ...
-1
votes
1answer
57 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 ...
-1
votes
2answers
388 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 ...
1
vote
2answers
205 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 ...
0
votes
1answer
23 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
0
votes
1answer
60 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 ...
1
vote
1answer
84 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 ...
-1
votes
3answers
99 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 ...
1
vote
1answer
189 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 ...
0
votes
1answer
46 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 ...
0
votes
1answer
216 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 ...
0
votes
1answer
36 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 ...
1
vote
3answers
343 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://...
0
votes
2answers
195 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 ...
2
votes
2answers
549 views

Is it ok to power L298N 5V from Raspberry Pi 4 5V GPIO? (or use 6V for L298N power supply?)

Disclaimer: I am a very beginner in electronics and experiencing it's first steps into Raspberry Pi and its functionalities. So, please forgive me any rookie mistakes and correct me if I have any ...
0
votes
1answer
66 views

How should I power multiple RPi 3 units from a beefy power supply? [closed]

I have to power 20 Raspberry Pi 3 units from a few 5V 10A power DC power supplies. I have little experience in electronics. The RPis can be up to 1.5m apart from one another. A friend of mine ...
0
votes
1answer
66 views

Keep running Pi while charging batteries [closed]

I would like to build a simple automatic irrigation system with Pi zero, the thing is that I don't have access to electricity outside. I thought to connect 5v solar panel + 3\4 chargeable batteries. ...
2
votes
1answer
150 views

RPi3 power consumption based on CLI or Desktop GUI. Which consumes more power? CLI vs Desktop GUI

I am planning to do a project where RPi3 will b run by a powerbank. But I am bit confused with power consumption and in my project I am not running any heavy load expect camera interface. In my case ...
1
vote
1answer
253 views

Issue with a 12v switch via GPIO output

I am a beginner when it comes to electronics so I would appreciate your help with a simple project I am working on and have been struggling with for several days. The idea is that I have a PIR Sensor ...
1
vote
0answers
82 views

Isolate Raspberry pi from power supply on shut down

Ok Team I need to know if this circuit will work or if there is a better way. Use Case: I have a piece of machinery that is controlled via a Raspberry pi zero W. It just controls a relay board to ...
1
vote
2answers
5k views

Can I use HDMI 1 instead of HDMI 0?

I am using a raspberry pi 4 and I only have an adapter, so it's to big to fit in HDMI 0 is there a way I can make it work with HDMI 0?
1
vote
2answers
80 views

Is it safe to underpower my raspberry pi?

I have bought a raspberry pi 4 B. But I don't have a powerfull enough power suply, and won't be able to get one in a couple of days. IS
1
vote
2answers
108 views

How likely is a GPIO output to send spurious signals?

I have hooked up my Raspberry Pi to allow opening my front door. It was great fun. It works fine. But... now I am a little bit worried that some interference (solar flares, cat barfing on the pi, ...
1
vote
0answers
34 views

Raspberry pi oled display

I have got a problem with Raspberry Pi and Oled display (128x32). Yesterday I tried and everything was OK, but today when I started working it didn't work. Raspberry Pi detecting i2c device. I'm using ...
3
votes
6answers
7k views

Simple pushButton circuit causes errors

I set up a simple curcuit and tried a pullup and a pulldown scenario, but both lead to a lot of "false positives". Currently I ended up with the circuit you can see in the image. I have no button ...
2
votes
1answer
62 views

Use Raspberry with two devices that require 3.3v pin

I'm planning a project with an RFID reader that connects to the GPIO pins on a RPi2 and will use the 3.3v pin. Additionally I wanted to add an active buzzer, which also would require an 3.3v pin. Is ...
1
vote
0answers
603 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 ...
0
votes
1answer
830 views

Connecting a USB Device by GND, VCC, RX, and TX

I have a few basic devices that utilize a mini USB port. Rather than plugging them into a USB hub, is it possible to connect them and have them recognized by a Raspberry Pi through the four GND, VCC, ...
1
vote
0answers
172 views

Rpi AdaFruit python library controlling SPI MCP3008 of eTape Liquid Level Sensor problem

I have a rpi4 and have successfully replicated the project listed here using the eTape sensor (etape tutorial) I am satisfied with the performance using long breadboard and T-cobbler. In order to make ...
0
votes
0answers
22 views

RasPi Drive RB-01 C073A

Does anyone have info on the RasPi Drive electronic controller motor Driver? I can't find information on how it should be connected between the RP 3 and a small DC motor.
2
votes
0answers
707 views

Interpreting voltage output on ADC with rated AC current sensor

I know I have asked similar questions before, but I have switched sensors and encountered interesting results that I do not understand. Purpose: I intend to use an AC current sensor to measure ...
0
votes
1answer
83 views

Is it safe to put capacitor on 3v3 pin of raspberry

I am going to use INA220 ic for current monitoring, and the datasheet says: Use a 0.1-μF ceramic capacitor for power-supply bypassing, placed as closely as possible to the supply and ground pins. ...
2
votes
2answers
325 views

Driving 2 12v - 30A brushed DC motors with Raspberry Pi 3

For a robotic project we are building a security robot. As a base we bought one of those electric cars for 2 kids, where they can drive in themselves without a remote. We took it apart, and we now ...
0
votes
1answer
257 views

Measuring temperature by attaching thermocouple directly to the processor

I know that I can read RPi temperature through console, but I'd like to measure it using a standard, hardware thermometer. Is this possible? Can I attach thermocouple directly to the RPi's processor ...
1
vote
1answer
286 views

AC Current sensing giving low readings (SCT013)

So now that I feel comfortable with using ADCs, I am attempting to measure the AC current with the SCT013 clamp with AC current sensor. Setup: I clamp the SCT013 around the HOT wire of a table lamp ...
2
votes
3answers
91 views

Is there a piece of hardware I can use to turn an outlet on and off via a wired connection?

I'm new to Raspberry Pis. I'm not new to programming, but I know very little about electronics. For a first project I would love to make an outlet switch thing that is connect to an rpi that's connect ...
-1
votes
2answers
733 views

Communication between rpi and microcontroller [closed]

I need to program communication between raspberry pi 3 and microcontroller. I'm wondering what type of communication is the Best. I2C, UART or SPI?
1
vote
1answer
68 views

Can you directly connect two Rasberry Pis via GPIO?

My usecase is as such - I've got 2 RasPi Zeros, one of which is acting as an input for a USB device. I'd then want to forward some data via GPIO to the second one, which acts as a USB device connected ...

1
2 3 4 5