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
1answer
35 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
19 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
59 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
37 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 ...
0
votes
2answers
97 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?
0
votes
2answers
38 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
87 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
24 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
39 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
98 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
169 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
78 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
181 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
36 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
113 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
131 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
132 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
84 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
221 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
49 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 ...
6
votes
2answers
991 views

Are resistors required for builtin PWM fans?

There are many guides on how to set up a 5V fan for a Raspberry Pi and control its speed with PWM. Usually, this includes using a a transistor a resistor between the PWM pin and the transistor gate ...
1
vote
2answers
50 views

What's wrong with my current calculation for an LED panel?

I am trying to understand how much current is required for one LED matrix panel, however, I don't quite understand it in general. Take this panel as an example. This is an 64x32 LED matrix, and its ...
1
vote
1answer
227 views

Is a RC snubber required when using the pi with a relay?

I am hoping to use raspberry pi to switch on and off a heating lamp and an aquarium pump via a relay switch. Both devices are plugged into 120V AC normally. The relay tutorials online seem to be ...
2
votes
1answer
112 views

i2c-bus electrically damaged due to wrong wiring

In a hurry I mistakenly connected the VCC of the Bmp280 to ground and the ground of the Bmp280 to 5V. Afterwards, I checked the i2c-bus with another sensor but i2cdetect -y 1 only reported --. Q How ...
1
vote
3answers
149 views

Can a relay be on for 16 hours continuously?

A part of my engineering project involves a L.E.D tubelight staying on for 16 hours continuously. I am connecting the light to a relay module. Is it ok, if the relay stays on for so long? I mean, is ...
1
vote
1answer
1k views

Connecting 4 HX711 to one Raspberry Pi

I have four individual scales that are each connected to a HX711, those HX711s are each connected to the Raspberry Pi. I'm a beginner in python as well as this Rasberry Pi. how do i properly code this ...
1
vote
1answer
52 views

control mecanno 4.7v motor with pi

I am trying to build an RC car and in order to make it work I want to control the motor with my pi.. The motor is Meccano Part #D469, a 4.7v motor. If I have this: https://www.ebay.com/itm/Adafruit-...
2
votes
1answer
199 views

L298N not working anymore

This is an image of how I had it routed up, it was working just fine until I attempted to add a rocker switch. I used the 2 pin on/off rocker switch that came with my smart car kit (https://www.ebay....
-1
votes
1answer
128 views

Powering a line following robot with a power bank. Any thoughts?

I am currently wondering for a college project, if it'd be possible or not to use a power bank to build a line following robot and power both the pi 3b+, the waveform motor driver hat with 2 dc motors(...
0
votes
0answers
903 views

Reusing old laptop speakers [duplicate]

The speakers are salvaged from an old Toshiba mini nb520 laptop. How could I go forward to use these speakers? Will I have to write my own drivers? Will it be worth the work? What electronic ...
-1
votes
1answer
56 views

LED matrix won't light up properly

As you can see it won't light up correctly, why is it so? Is it possible that there are some issues with common cathode or anode? I tried using just that smaller one by itself, in a similar fashion ...
0
votes
2answers
1k views

How to know if Raspberry is running

I'd like to implement an electronic circuit to be able to restart my raspberry Pi when it has been shutdown (without plugging in and out the USB charger, which will obviously remain plugged all the ...
0
votes
0answers
125 views

Multiple raspberry pi's 3 synchronized image navigation

We have 7 raspberry pi's 3, each connected to the internet and an display. On each screen / raspberry pi is geeqie (image viewer_ running with an image slideshow. The goal is to have all raspberry pi'...
1
vote
0answers
61 views

I2C pin states when RPi powered off

I have a setup where RPi may join existing I2C -bus as master when powered on. Before taking over, it will first notify secondary master with "slave select" -line so that the bus becomes free for ...
1
vote
1answer
105 views

What can I use to detect a certain resitance and then have it send a signal to the gpio

I have bought a FlexiForce force sensitive resistor, which can measure weights from 1-100lbs with a driving voltage of 5V (although I plan on adjusting the range to 10-300 by setting the voltage to 0....
1
vote
1answer
160 views

same GPIO input signal on multiple raspberri's from one source

Im having 7 raspberri pi's 3 connected to 7 screens, running an python 2.7 app to download different images from google drive, every raspberry has different images. Geeqie is displaying those images ...
0
votes
1answer
52 views

Can it damage my Pi to permanently pull down the RUN pin?

I have a use-case where I would leave my Raspberry Pi powered up but keep it in the halted state by pulling down the RUN pinout. Is this safe to do? Edit: The answer shows me that I did not state my ...
1
vote
0answers
75 views

How to extend battery life on custom pi laptop

So I'm trying to make a pi laptop based on this project with a few differences: I use this display instead of this Technically, I'm using 18650 cells, but at a slightly reduced capacity No Arduinos ...
1
vote
1answer
62 views

Controlling electromagnets in clock display

I have an electromechanical 7-segment clock display with each segment controlled by an electromagnet. A segment is 'on' depending on the polarity of the last pulse to its electromagnet. Can anyone ...
0
votes
1answer
326 views

Do I need a resistor for a 3v3 led? [duplicate]

Begginer question, if the output voltage of the raspberry pi is 3.3v and my led voltage is 3.3v, do I still need a resistor? As far as I understand, if the voltage is the same you don't need to add a ...
0
votes
1answer
334 views

Raspberry Pi Zero W - freezes after switching a relay connected to an AC motor [closed]

I'm working on a home IOT using Rpi to run script that controls opening/ closing window's shade ( switching its electric motor up or down ). 1) Code is very simple and working fine - switching gpio "...
0
votes
0answers
30 views

raspberry multiple magnetix switches

I have a Pi 2 and I would like to monitor the state of 3 magnetic switches. All of them are in close distance, no more than 3m of cabling for each one of them. How can I connect them to monitor their ...
1
vote
1answer
500 views

Raspberry Pi 3B ripped off resistor (C187)

I need help on my Raspberry Pi 3B. I accidentally broke a small part of it and it fell on the ground which is the reason I cannot find it anymore (It's just sooo small.). That is an image of the Rpi ...
0
votes
1answer
718 views

How to get positive and negative voltage for my circuit from a Raspberry Pi?

I am trying to connect a circuit which needs a +5 V and -5 V input. How can I get both voltages from a Raspberry Pi?
0
votes
1answer
315 views

Cracking sound on Speaker connected to USB Soundcard

I have connected speaker on USB sound Card with PAM8403 Amplifier before speaker to amplify sound on Raspberry Pi Zero W. I get constant cracking sound coming from it. I have connected 3.3V as VCC on ...
0
votes
1answer
206 views

rpi BMC power/reset trigger with GPIO

i m thinking about building a BMC using a raspberry. So i need to simulate power and reset button press using the GPIO. I would like to know if a transistor is suitable for this application and if ...
2
votes
1answer
1k views

How to wire an HC-SR04 without a breadboard?

I have a Raspberry Pi and a HC-SR04 integrated circuit for measuring distance. I have found many resources for how to connect the HC-SR04 to the GPIO of the Raspberry Pi, but because the HC-SR04 ...
0
votes
0answers
319 views

How to connect sensor to Raspi via poor man’s a/d converter?

TL/DR: I’m using this and there are things I don’t understand about this circuit. Ultimately I’d like to read data from this sensor, but all I get is gibberish. Please, help. I have set up “poor man’...

1
2 3 4 5