2022 Developer Survey is open! Take 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
1 answer
33 views

Connect pump via USB or PINS

I have a little 5V pump. I want to turn on/off the pump by code with my Raspberry. The pump came with an cable ending with a USB. When I plug in the USB the pump goes on and does the job. My question ...
user avatar
1 vote
1 answer
67 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 ...
user avatar
  • 11
0 votes
1 answer
25 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 ...
user avatar
0 votes
0 answers
40 views

AT Commands not working with SIM7600CE

When connected the SIM7600CE module to the Rpi, the Rpi detects it, we can also see an IP address assigned for it and it is listed in the list of USB devices but if I try to give AT commands it doesn'...
user avatar
-2 votes
1 answer
56 views

2 leds in series

Why on the first picture LEDs are blinking, but on the second they're not?
user avatar
0 votes
1 answer
46 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 ...
user avatar
  • 109
0 votes
1 answer
85 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 6to36V and the signal pin to output the same amount of Voltage which we give ...
user avatar
  • 31
1 vote
1 answer
79 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-...
user avatar
  • 31
-1 votes
1 answer
186 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 ...
user avatar
1 vote
1 answer
68 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
90 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 ...
user avatar
-1 votes
2 answers
48 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 ...
user avatar
-1 votes
1 answer
40 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 ...
user avatar
  • 1
0 votes
0 answers
27 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 ...
user avatar
0 votes
1 answer
65 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&...
user avatar
  • 111
0 votes
0 answers
31 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 ...
user avatar
0 votes
0 answers
48 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 ...
user avatar
  • 109
1 vote
2 answers
154 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 ...
user avatar
  • 307
0 votes
2 answers
346 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, ...
user avatar
1 vote
2 answers
110 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, ...
user avatar
2 votes
1 answer
241 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.
user avatar
1 vote
1 answer
182 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?
user avatar
0 votes
1 answer
95 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 ...
user avatar
  • 21
-1 votes
1 answer
95 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 ...
user avatar
  • 1
0 votes
2 answers
785 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 ...
user avatar
  • 21
1 vote
2 answers
505 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 ...
user avatar
0 votes
1 answer
49 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
user avatar
0 votes
1 answer
98 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 ...
user avatar
1 vote
1 answer
101 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 ...
user avatar
-1 votes
3 answers
175 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 ...
user avatar
1 vote
1 answer
267 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 ...
user avatar
0 votes
1 answer
47 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 ...
user avatar
0 votes
1 answer
315 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 ...
user avatar
  • 15
0 votes
1 answer
50 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 ...
user avatar
  • 11
1 vote
3 answers
440 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://...
user avatar
  • 13
0 votes
2 answers
361 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 ...
user avatar
  • 103
2 votes
2 answers
748 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 ...
user avatar
0 votes
1 answer
82 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 ...
user avatar
0 votes
1 answer
70 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. ...
user avatar
2 votes
1 answer
212 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 ...
user avatar
1 vote
1 answer
363 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 ...
user avatar
1 vote
0 answers
101 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 ...
user avatar
1 vote
2 answers
7k 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?
user avatar
  • 39
1 vote
2 answers
108 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
user avatar
  • 39
1 vote
2 answers
127 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, ...
user avatar
  • 127
1 vote
0 answers
38 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 ...
user avatar
3 votes
6 answers
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 ...
user avatar
2 votes
1 answer
99 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 ...
user avatar
1 vote
0 answers
809 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 ...
user avatar
  • 11
0 votes
1 answer
1k 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, ...
user avatar
  • 111

1
2 3 4 5