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
-1
votes
2answers
45 views

DC12V, 3W Pump's Connecting Wire Melting Down Problem (External PSU 12V, 8.5A) [on hold]

So my wire started burning while activating peristaltic pump with relay and external power supply (output=12V). Why did it happen? Is it possible that diode is not well connected or that relay has too ...
0
votes
1answer
33 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 ...
2
votes
1answer
542 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 ...
1
vote
1answer
35 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 ...
1
vote
1answer
272 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 ...
2
votes
3answers
75 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
vote
1answer
296 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
278 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
588 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
388 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
354 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 ...
0
votes
1answer
843 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
1k 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
votes
2answers
27 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?
13
votes
6answers
14k views

GPIO: Why wire button to ground rather than +3.3v?

In most examples I've seen of wiring buttons to GPIO inputs, the button is wired so that when closed, a circuit is completed between the pin and ground, producing a low input on the pin. A pull-up ...
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
37 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 ...
4
votes
1answer
6k views

Connecting a standard telephone through GPIO

I am wondering if you can interface a standard, RJ11 telephone through GPIO, and input an output through the phone, even using asterisk to connect to voip. The phone I have is a GE model number ...
1
vote
1answer
46 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 ...
0
votes
1answer
52 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
274 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
301 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
12k 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 ...
5
votes
2answers
229 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
46 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
67 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
106 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
58 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
1answer
33 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
87 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
59 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
100 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
669 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
179 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
93 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
44 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 ...
33
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
97 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
92 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
129 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
427 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
482 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
57 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
50 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
250 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
232 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
28 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 ...