Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
0answers
28 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
votes
0answers
17 views

Raspberry Pi + L293D to switch 12V solenoid valves

I am porting an Arduino project to Raspberry Pi. On the Arduino I switched two 12V solenoid Valves with the help of a L293D IC. It worked perfectly. Now I am porting this system to a Raspberry Pi. ...
1
vote
1answer
80 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
49 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
37 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
31 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
34 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
119 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
0answers
60 views

Can raspberry pi cases cause static damage?

This may be a stupid question, I'm not sure. Almost all of the raspberry pi cases are made our of plastic, and this made me think, if I wasn't it put the raspberry pi inside a case, and then put ...
0
votes
1answer
100 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
22 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
58 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
188 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
136 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
42 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 ...
0
votes
1answer
218 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
132 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
votes
1answer
30 views

Turning It On and Off

I just bought a raspberry pi 3 on eBay that came with all the games. I can't get it to turn on. I have the power source plugged into the wall and the cdmi is in the tv. How do I turn it on? Do I ...
1
vote
3answers
77 views

How to electrically discharge myself before touching the Rpi? [closed]

I have seen here that I should discharge myself electrically before touching the RPi? The presenter suggests a bare metal water pipe. I don't have this at hand. Are there other ways I can discharge ...
1
vote
1answer
296 views

Transistor Switch: Turning off Waveshare LED Boards

This is a similar question to How to turn off the CSI, and turn it back on again, but I'm actually trying to implement the suggestions that were given in that post. I use the WaveShare RPi IR-CUT ...
0
votes
1answer
34 views

What will happen if I put my ESC's BEC black wire to ground and yellow/white wire to 5v pin directly

I wanted to do some experiment with raspi, ESC and BLDC motor. I am able to run my motor using servo tester. But I was curious what will happen if I connect ESC's BEC to Raspi's GND and 5v output ...
1
vote
1answer
280 views

Decrease the sensitivity on Capacitive Touch breakout?

I have this capacitive touch sensor: https://learn.adafruit.com/adafruit-capacitive-touch-sensor-breakouts/overview And it is WAY too sensitive for my purpose. I want to have a conductive panel on a ...
0
votes
3answers
201 views

Powering an element that draws more current/voltage than GPIO can supply?

I'm a little over my head here and I'm hoping someone might be able to help. I'm trying to control this Heating Pad using Raspberry Pi GPIO pins, turning it on and off via GPIO. It takes 5V DC and ...
4
votes
3answers
2k views

Calculating resistor value for transistor

I'm creating a circuit with an infrared led and a transistor connected to a gpio pin. I'm currently using 5v with a 40 ohm resistor (four 10 ohm resistors chained) but I'm not sure what resistor to ...
0
votes
2answers
257 views

Connection of 220V Doorbell to Raspberry Pi GPIO

I have a power connection going from a button outside of my house to the doorbell box. I want to take a branch of this wire, and connect it to a raspberry pi to detect the button being clicked. The ...
2
votes
0answers
96 views

Raspberry Pi as a Hi-Fi component

After reading the following post, I was wondering if I could achieve something similar with my own setup. I do own an old Technics SL505. However the nasty part of this setup is that each components ...
0
votes
1answer
49 views

Flow of current in the circuit

I'm very new to electronics and raspberry pi and trying to follow this tutorial. When I check the circuit the resistor is connected between the ground and the LED to limit the amount of current that ...
1
vote
1answer
205 views

What Circuit Should I Use to Hardwire Raspberry Pi to Doorbell?

I am trying to connect my raspberry pi to my hardwired doorbell in order to send a text message when the doorbell button is pushed. I have successfully sent the text message using a button connected ...
1
vote
2answers
581 views

Power Raspberry Pi using two 3.7v Lipo batteries

I was having trouble while booting up my Raspberry Pi powered by LiPo batteries. Ignore the components inside the blue circle I am just connecting the batteries, the darlington transistor and the ...
1
vote
1answer
63 views

Power required to run multiple appliances at once

I have an electronics question. I am no electrician and am trying to build an alarm pi Mark2. Currently I have a 12v power supply running through a relay which the pi turns on and off to trigger my ...
1
vote
2answers
63 views

Calculating wiring and properties of a resistor for use with a pushbutton

Raspberry Pi 1 Model A here. I am planning on using this pushbutton in a hobby project that is very similar to this CamJam EduKit project. In that CamJam project link, on page 2, I see a simple ...
1
vote
2answers
61 views

RPi 1 Model A input/output pin ratings

RPi 1 Model A here. Brand new to RPi and electronics in general. I'm finding a hard time finding the exact voltage/current "ratings" for my model but the closest I could find was a comment under this ...
0
votes
2answers
1k views

Increase volume of Piezo Buzzer

I recently bought a 3-24V Piezo Electronic Tone Buzzer Alarm. I would however like to increase the volume. Bare in mind that my electronic knowledge is (unfortunately) at the very basic level of; find ...
0
votes
1answer
36 views

Raspberry Pi 1 Model A and Pushbuttons: Simple solution [closed]

I have a Raspberry Pi 1 Model A and am interested in attaching pushbuttons to its GPIO pins so that when you physically push the button, the button sends a signal to the GPIO pin that can then be ...
1
vote
1answer
37 views

Raspberry Pi 1 Model A and peripheral component compatibility

I have a Raspberry Pi 1 Model A and have a simple hobby project I'm tinkering with. I will have two pushbuttons (PB1 and PB2 respectively) wired to the GPIO pins, as well as a buzzer and an LED. The ...
0
votes
1answer
27 views

Model A and peripheral component compatibility

I have a Raspberry Pi 1 Model A and have a simple hobby project I'm tinkering with. I will have two pushbuttons (PB1 and PB2 respectively) wired to the GPIO pins, as well as a buzzer and an LED. The ...
-2
votes
1answer
80 views

How to get started with basic Raspberry Pi electronics?

I have received a RPi 3 kit as a gift with tons of sensors, cables, resistors, etc. I have managed to get the typical LED demo working by following literal instructions but I don't understand how to ...
0
votes
1answer
497 views

How to read data from an NI DAQ USB-6259?

I have a sensor for which I'm forced to use a NI DAQ to read data from. And I have a USB-6259 to do so. I don't want to connect the DAQ directly to my laptop because it has messed it up before. I ...
1
vote
2answers
69 views

Running 2 amp device off raspberry pi zero

I have a device that requires 2amps and 4.5 volts. I wanted to use a GPIO pin from the rpi zero to power this device and switch it on and off. I am not sure what circuit to use, I was thinking of a ...
1
vote
0answers
261 views

Can I control 5050 RGB Strips with the Raspberry pi?

I have purchased 5 meters of a 5050 RGB Strip yesterday. I bought it for my PC case, but of course I don't want to use 5 meters in my case. I want to do some smart lighting in my room and a bias ...
0
votes
0answers
214 views

300hz digital servo not working with Raspberry Pi

I ordered a digital servo JX 5521MG to use with my pi but when I use the code below the servo does not move but there is a slight tick or twitch inside. gpio pwm-ms gpio pwmc 192 gpio pwmr 2000 ...
1
vote
1answer
251 views

Accidentally shorted C97 on the Raspberry Pi with a washer

I accidentally dropped a washer and unfortunately it landed on the C97 capacitor. I think that shorted the pi out. The ACT and PWR lights are now solid red and green, whereas it was blinking ...
0
votes
1answer
260 views

Red led on and nothing happens RPi3

I have problem with Raspberry Pi-3. When I plug on power cable led lights with red and nothing heppens. I see wrong element on the board. What is the element? Сould this be the cause of the ...
1
vote
1answer
388 views

How to getting started wit AWS IoT in RPi like a beginner?

I have being follow the steps from Amazon Officials pages to connect the Raspberry Pi to AWS IoT cloud, that's working fine but my main concern is to how to write a code to start interfacing with ...
0
votes
2answers
424 views

Hooking a 12v DC motor directly to GPIO 5v , possible? [closed]

I have this motor : http://www.dx.com/p/gb37-520-12v-70rpm-micro-dc-gear-motor-for-large-torque-robot-silver-362297 It can run (slower) on 5v, which is fine for me Question is, is this possible / ...
0
votes
0answers
656 views

Raspberry Pi Zero W will not turn on

Yesterday, I got a 7" Touch Screen for my Raspberry Pi and I connected it to the Raspberry Pi. I connected my power bank to the Raspberry Pi. It wouldn't work and the PWR and ACT LEDs would not turn ...
1
vote
1answer
19 views

Display went blank while turning on nearby switches

I am using Raspberry pi in college lab. There is lot of wall sockets which are connected serially. If I turns on or off other devices on the lab suddenly my Raspberry Pi display become blank for few ...
0
votes
0answers
63 views

Wireless Communication with Electronics

I'm working in an Escape room, I have a pi as main brain of the thing using a nodejs server, but I want some small stuff away from the pi to talk to it wirelessly. My first approach would be to have ...
1
vote
1answer
82 views

Magnetometers for Rasp Pi 3?

I wish to use a Raspberry Pi 3 to control a 2-axis (altitude and azimuth) antenna mount to keep the antenna pointed towards an amateur radio satellite as it travels across the sky. A key component of ...
0
votes
1answer
345 views

16x2 hd44780 LCD Wiring (Pi Zero W)

I have seen many posts about wiring the hd44780 lcd to a PI - but I am having problems understanding because I am trying to do it without a bread board. So, my first question is... do I need one for ...