Stack Exchange Network

Stack Exchange network consists of 175 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.

3
votes
1answer
892 views

pull up resistors from rpi-gpio.js

I want to use the internall pull down resistor. In python the setup method accepts a parameter for that, like: GPIO.setup(18, GPIO.IN, pull_up_down=GPIO.PUD_UP) according the rpi-gpio.js ...
1
vote
1answer
26 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
2answers
10k views

Connection guide for GT-511C3 Fingerprint Scanner and Raspberry Pi 2 Model B

I have a Fingerprint Scanner - TTL (GT-511C3) and I want to connect that with Raspberry Pi 2 Model B, through GPIO. I have referred this website, to understand what input will go for different pins ...
1
vote
3answers
73 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 ...
3
votes
1answer
34 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 ...
0
votes
1answer
31 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 ...
5
votes
5answers
1k views

GPIO to hifi amplifier's trigger input (remote power on). Protection? Circuit?

I use my raspberry 1 B+ with a DAC board (like hifiberry) and volumio/moode audio distribution. The board is working as a pre-amp and it's connected to my hifi amplifier RCAs input, sending analog ...
0
votes
1answer
33 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 ...
1
vote
1answer
28 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-...
0
votes
0answers
34 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
47 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
1answer
39 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 ...
0
votes
0answers
15 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
vote
2answers
632 views

Can I use a relay board safely without an external power source?

This is question built purely on impatience. I've just got the Pi 3 and I'm still awaiting any components GPIO related to arrive in the mail, other than this relay shield. It matches the ...
0
votes
2answers
47 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 ...
1
vote
1answer
117 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 ...
1
vote
1answer
204 views

I2C Addressing; Just SDA or both SDA and SCL

Without getting into the specifics of the project, I have a situation where I'm having to electronically add and remove devices from the I2C bus due to addressing concerns. If I can just isolate one ...
2
votes
1answer
524 views

GPIO pin PULL_DOWN would

I have set up a Arduino to send a 3.3V signal to my RPi if an object is detected in front of the UltraSonic sensor. I have measured the signal at 3.26V. But it does not work. Since the signal from ...
0
votes
0answers
58 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
1answer
228 views

Is my wiring diagram correct for Raspberry Pi powering LEDs and Solenoid Lock?

I'm working on a project to take a mic input (over USB) on a RPi 2 and trigger the action of white LEDs lighting up and a Solenoid Lock activating by turning GPIO pins to ON. However, I'm far from ...
1
vote
1answer
229 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
0answers
38 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 ...
0
votes
2answers
228 views

Relay boards that can handle 20V 20A DC

I'm looking for relay boards that can handle 20V/20A DC easily and can be switched with the raspberry pi. I have been googling for days but haven't found anything ready made for DC, only for AC. I ...
1
vote
1answer
305 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 ...
1
vote
1answer
390 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 ...
5
votes
5answers
5k views

Is there a component out there that can push a button i.e. will extend a rod about 1 inch and then retract it?

I'm basically trying to find something that can push a button for me. I want to be able to control it through code, just like you can with motors, LEDs etc.. via the GPIO on a Pi. I want it to extend ...
32
votes
4answers
16k views

Using Raspberry Pi without a Linux OS?

I'm interested in using the Raspberry Pi as a pure embedded CPU unit, for the development of embedded applications. Since the Raspberry Pi has a powerful CPU with quite a bit of memory, it makes an ...
0
votes
1answer
619 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 ...
0
votes
1answer
65 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 ...
1
vote
1answer
86 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
97 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
40 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
3answers
385 views

Connecting 15V to GPIO w/o dividing voltage

I am working with the GPIO, successfully connected a couple things already. Now I have the following challenge when connecting a door bell to the GPIO: I can use the voltage that's going to the ...
1
vote
2answers
463 views

Trying to shortcircuit a computer motherboard pin with the Raspberry Pi

So I'm working on a project which requires me to compile the kernel of my desktop machine at the office. But I do a lot of work at home using SSH. As the kernel is very delicate, it causes a lot of ...
1
vote
0answers
42 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
40 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
186 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
157 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
26 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
69 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
290 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
176 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
465 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 ...
4
votes
3answers
4k views

I am getting ghosting/bouncing on my digital input

I am meassuring data pulses from my electrical meter, giving me one pulse per Watt used. I have 4 electrical meters connected to my Raspberry Pi model B. I have connected them directly like this (no ...
3
votes
4answers
4k views

Logic converter for relay module or extra resistors and transistors?

I would like to use a 8 channel relay of SainSmart for house automation: http://www.sainsmart.com/8-channel-dc-5v-relay-module-for-arduino-pic-arm-dsp-avr-msp430-ttl-logic.html This Relay module ...
7
votes
5answers
11k views

How can i turn an GPIO to its alternate function?

I want to use the altenate function of GPIO 4 namely the GPCLK0 function. How can one set a GPIO to its alternate function? Many alternate functions are summarized here: elinux-wiki The best would ...
29
votes
5answers
28k views

Circuit to safely power-down Pi

I want to use my Pi as an XBMC server in the car. The XBMC docs say that you should always use the shutdown command before disconnecting the power. I've been thinking that it should be possible to ...
0
votes
0answers
182 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
86 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 ...