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
vote
1answer
996 views

Connecting Pi's ground to external ground

i'm currently working on a system that requires an external power supply to drive all the peripherals. I'm using a 10A 12V supply with voltage regulators to achieve the required voltage levels. I ...
1
vote
2answers
2k views

3V3 enough for a 5V relay?

I currently have this relay, and it is a 5V relay (for the control circuit). Seeing as how our GPIO pins are rated at 3V3, I connected constant 3V3 power to Vcc and a GPIO pin to In1 to actually ...
1
vote
1answer
298 views

GPIO's firing every ~3 milliseconds

I'm currently building a project using adafruits arcade buttons, and seem to be having a bit of an electrical problem. Using a Raspberry Pi 2 , and after confirming that wires aren't touching in ...
1
vote
1answer
2k views

Multiple sensors on one GPIO

I would like to know is it possible to connect for example: thermometer and pressure sensor to one GPIO?
1
vote
1answer
5k views

Is an external pull-up/down circuit mandatory for GPIO pins?

3 days ago I bought my first Raspberry Pi and it's a rev.B. I read that it provides through GPIO pins either 3,3V or 5V and the GPIO pins can handle between 2mA and 16mA each one. Moreover, to avoid ...
1
vote
1answer
275 views

Environmental Tolerance

I am planning a use for the RPi where it will be permanently connected to a car via the CAN-BUS. While other questions have discussed the stability of power, I am more concerned about the environment....
1
vote
2answers
163 views

Roadmap to leverage RPi to do signal processing from 4 inductive loops and data transmission in an outdoor environment [closed]

I'm currently weighing my options to build a semi-industrial outdoor device, which is aimed to do some signal processing from 4 inductive loops which have been laid in the ground to detect vehicle ...
1
vote
1answer
79 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 ...
1
vote
1answer
155 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 ...
1
vote
1answer
494 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 ...
1
vote
1answer
68 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
80 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
1answer
426 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 ...
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 ...
1
vote
1answer
2k views

Circuit to move a 12v actuator both ways? [closed]

I'm trying to build a system that at a specific hour, will slowly lift one side of the mattress (to almost literally "kick you out of bed"), then a while later put it back down. I was planning on ...
1
vote
3answers
433 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
1answer
335 views

I2C fails when pinball machine connected via MCP23017 draws high power

I bought an old broken pinball machine and I'm trying to control it with my Raspberry Pi 3. The pinball machine has multiple circuit boards. I removed the controller circuit board and replaced it with ...
1
vote
2answers
674 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 ...
1
vote
2answers
485 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
1answer
674 views

Simple solenoid valve control troubleshooting

I should mention that I am trained in biochemistry with a basic college-level physics background, but with no background in DIY electronics. I'm trying to make my Raspberry Pi control a simple valve. ...
1
vote
0answers
46 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
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
133 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 ...
1
vote
0answers
59 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
616 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
303 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
275 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
402 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
3answers
327 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 ...
1
vote
1answer
286 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
0answers
35 views

IOT hacking electricity safety [duplicate]

Please, excuse me if this question is ill-suited here. I am new and in need of guidance. I am studying Internet-of-things and I'm keen on starting a first project. The tutorial I'm planning to ...
1
vote
0answers
64 views

GPIO Wiring Check - Am I doing it right?

After almost frying my Pi with my last question, I thought I'd better ask if what I have seemingly working is ok and won't cause me any problems. I have a modern wireless doorbell that I am powering ...
1
vote
0answers
67 views

I broke C13, is it serious doctor?

EDIT: I got a good answer on electronics SE, you can check it out here. While desoldering the GPIO, I accidentally broke the capacitor C13 of my raspberry pi model B (2011.12 Rev7). It is the ...
0
votes
2answers
196 views

Temperature sensor

I've been looking at this tutorial: http://www.cl.cam.ac.uk/projects/raspberrypi/tutorials/temperature/ And I have some questions: Must we connect the data pin to GPIO4? Why not some other GPIO? How ...
0
votes
3answers
363 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 ...
0
votes
2answers
261 views

What happens if I put 3.9V into the GPIO Pin? [duplicate]

I have a sensor which gives an output of 3.9V when high and 0V when low. Perfect for the RPi, except is it? What happens if I put the 3.9V high signal directly into the GPIO and if bad things will ...
0
votes
2answers
165 views

Raspberry Pi jumper

This is a strange question, but I just want to see if it's possible. Basically, would I be able to safely connect the 3.3 or 5v cable to another GPIO pin as a sort of jumper? So for example, if if ...
0
votes
2answers
1k views

Best source for raspberry pi sensors and accesories [closed]

this is a bit of a vague question but I have been building my own pi robot and am just getting to the stage where I wish to start adding some sensing capability however I am not an experienced techie ...
0
votes
1answer
39 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 ...
0
votes
2answers
245 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
2answers
312 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 ...
0
votes
1answer
80 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 ...
0
votes
2answers
2k 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
2answers
439 views

Syncing multiple Pis operations via GPIO

I want to perform the same operation on 20 Pis exactly at the same time. What I am currently doing for 3 Pis (and a master) is I have a master Pi that says when to perform the operation And three ...
0
votes
1answer
432 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 ...
0
votes
1answer
80 views

GPIO Pins as digital LO/HI

To preface the question, my hook up works just fine, I only wish to understand a little better or if I am doing it wrong. I am working with a Pi, a stepper and a driver board for the stepper. https:/...
0
votes
2answers
2k views

Vehicle 12v detection or measurement

I have an idea that involves detecting and possibly measuring a 12v feed from a car but my electrics skills are a little limited and I'm using this idea to learn. My understanding is that the 12v feed ...
0
votes
1answer
1k views

I've run out of 5V ports on my Pi 3

I was loosely following this tutorial to drive some DC motors with an L293D chip via GPIO. Each chip can control two motors each, but what if I want to use 5 motors? I can use 2 chips to control 4 ...
0
votes
1answer
1k views

PI 3 OrCAD schematics

I am looking for schematics of the raspberry PI 3 suitable for use with OrCAD.
0
votes
2answers
3k views

Raspberry Pi - TSL2561 Lightsensor

I have a Raspberry Pi 2+ . Now I want control a light sensor ( TSL2561 ) . I connected it to the following schedule : Where I connect the 3V to the 3V0 (not in the picture) and now to the VIN . ...