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
59 views

List of Don'ts for the Raspberry Pi [closed]

I've been doing a lot with these things lately. They're quite useful, but I'd like to know what some of the pitfalls are. Can anyone list things that will cause damage to a Raspberry Pi, such as how ...
0
votes
1answer
46 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
0answers
259 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
3answers
253 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 ...
8
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 ...
2
votes
1answer
531 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 ...
4
votes
2answers
114 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
1answer
252 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
255 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 ...
0
votes
2answers
249 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
501 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 ...
1
vote
1answer
352 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
154 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
2answers
45 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 ...
0
votes
1answer
729 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 ...
2
votes
1answer
968 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
38 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
93 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 ...
2
votes
1answer
48 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 ...
4
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
29 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
66 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
51 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
25 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
647 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
84 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
77 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
42 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 ...
5
votes
5answers
6k 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
17k 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
78 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
87 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
118 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
43 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
402 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
473 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
51 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
44 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
225 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
188 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
27 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
86 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
354 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
192 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
585 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 ...
4
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 ...
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 ...