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
2answers
212 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
545 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
654 views

Can I use HDMI 1 instead of HDMI 0?

I am using a raspberry pi 4 and I only have an adapter, so it's to big to fit in HDMI 0 is there a way I can make it work with HDMI 0?
0
votes
2answers
315 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
185 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
49 views

How can I control a 4026 counter chip from my raspberry pi?

I have a 4026 counter chip controlling a seven segment LED display. The current set up is every time I press a button it advances by one digit on the display. See circuit below. This circuit runs on ...
0
votes
1answer
293 views

Connecting a USB Device by GND, VCC, RX, and TX

I have a few basic devices that utilize a mini USB port. Rather than plugging them into a USB hub, is it possible to connect them and have them recognized by a Raspberry Pi through the four GND, VCC, ...
0
votes
1answer
170 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
2k 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
400 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
132 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
3k 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
3answers
414 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 ...
0
votes
2answers
51 views

coin acceptor location instability (electricity)

i'm a software developer and a noob in electronics. I've built a photobooth for a friend of mine that runs by an ice cream stand. The wiring is like this; Coin acceptor | --> signal --> voltage ...
0
votes
1answer
483 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
138 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
3k 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
2k 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
2k 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 . ...
0
votes
1answer
996 views

Replace USB port with USB cable RPi Model A

Is it possible to remove the USB port on a model a and solder on a 4 wire USB cable? I know that theoretically it is possible but does anyone have any experience actually doing this? If anyone has ...
0
votes
2answers
1k views

Does anyone know of any Accelerometers that are easy to use in Python

I'm fairly new to GPIO programming and robotics with the Raspberry Pi, and was wondering what I should look out for to avoid pitfalls later when buying an accelerometer. I've heard that the GPIO pins ...
0
votes
1answer
44 views

How should I power multiple RPi 3 units from a beefy power supply? [closed]

I have to power 20 Raspberry Pi 3 units from a few 5V 10A power DC power supplies. I have little experience in electronics. The RPis can be up to 1.5m apart from one another. A friend of mine ...
0
votes
1answer
45 views

Keep running Pi while charging batteries [closed]

I would like to build a simple automatic irrigation system with Pi zero, the thing is that I don't have access to electricity outside. I thought to connect 5v solar panel + 3\4 chargeable batteries. ...
0
votes
1answer
52 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 ...
0
votes
1answer
341 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
392 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
1answer
334 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
223 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
29 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 ...
0
votes
1answer
470 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 ...
0
votes
2answers
802 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
2answers
1k views

Shielding Raspberry Pi from a 24V solenoid circuit

I'm attempting to control a 24V solenoid using a Raspberry Pi and I'd like to know the best method of shielding the Pi from the circuit (so the GPIO doesn't get burnt out). This is what I have so far:...
0
votes
1answer
234 views

Using a Raspberry Pi to detect activity in a circuit?

Is there some reasonable means by which to detect activity in a circuit using a Raspberry Pi? For example, say some device has a buzzer that goes off when it's done doing what it's doing and I want ...
0
votes
1answer
144 views

Controlling an Electric Ducted Fan via a Raspberry Pi

How could I connect an EDF to a raspberry pi to control importantly On/Off, and if possible the power supplied to it? The information for the specific EDF is Working Voltage: 3s-4s Motor : ...
0
votes
1answer
84 views

Simple circuit to check the data flow [duplicate]

This question is a follow up for this question. I have a classic servo motor (Vin, PWM, Ground), and a short program to work with it. The code is: import RPi.GPIO as GPIO import time GPIO.setmode(...
0
votes
1answer
553 views

Why do I need to connect servos to the ground of the battery and the ground of the RPi?

I'm trying to use two servos simultaneously and I've connected both servos to my battery pack which gives 6V (the servos require 6v). If I ground the servo only to the battery and I only use one of ...
0
votes
1answer
366 views

Why a resistance between signal and GPIO - External power source

I'm trying to power my servo from an external power source and control it with my Pi and I've found following circuit: http://razzpisampler.oreilly.com/images/rpck_1001.png Why is there a resistance ...
0
votes
1answer
811 views

Controlling a Solenoid With GPIO Output Using a Transistor

I'm trying to control a solenoid using the RasPi 2's GPIO pins. Since the solenoid needs more power than the RasPi can provide, I'm using a 9V battery to provide the power. I started with just wiring ...
0
votes
2answers
1k views

Raspberry pi location detection [closed]

Id like to create a small "car" alike robot (4 wheels and steering via servo) that will travel around my house. Id like the robot to be able to go and charge itself when its batteries are low, I do ...
0
votes
1answer
175 views

How to create DYI female jumper cables from male cables?

I just got a elctronics for Arduino/Raspberry Pi. The problem is that all the jumper cables included are male to male. I know I could easily just buy more cables, but I'm wondering if any of you know ...
0
votes
1answer
5k views

Controlling a brushed motor ESC from the Raspberry Pi

I've tried solutions from similar problems, but none of them gave me any usable results. I'm trying to control those http://www.ebay.com/itm/311177661450 electronic speed controls (ESCs) with ...
0
votes
1answer
171 views

What limits the number of LEDs I can connect to the GPIO?

If I just want to connect LEDs to the +3.3v pin and ground pin, what limits the number that I can connect? For example using green LEDs with a voltage drop of 2.2 V, I can only connect one with a ...
0
votes
1answer
30 views

DockerPi relay is wired backwards from others?

First off, apologies if I should have posted this elsewhere (such as under general electronics, etc.) I have two relays (JBTek, DockerPi relay hat) I have been experimenting with to control input ...
0
votes
1answer
23 views

How to physically turn the a Raspberry Touch display on and off?

I use a Raspberry Pi Touch Display that I connect like shown in the following picture to my Raspberry. The black and red wires are connected to thee GND and 5v pins respectively. Now I want to ...
0
votes
0answers
33 views

How to wire an electromagnetic lock to my raspberry pi

I am trying to build an RFID controlled electronic lock using my raspberry pi 4. I am still brand new to robotics and so far have only been able to turn a LED on and off. I bought the following ...
0
votes
0answers
22 views

RasPi Drive RB-01 C073A

Does anyone have info on the RasPi Drive electronic controller motor Driver? I can't find information on how it should be connected between the RP 3 and a small DC motor.
0
votes
1answer
46 views

Is it safe to put capacitor on 3v3 pin of raspberry

I am going to use INA220 ic for current monitoring, and the datasheet says: Use a 0.1-μF ceramic capacitor for power-supply bypassing, placed as closely as possible to the supply and ground pins. ...
0
votes
0answers
1k 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 ...