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
1answer
910 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

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
261 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
242 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
233 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
103 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
28 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
379 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
610 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
600 views

Long length of wire off of GPIO pins

I am building a circuit with the Raspberry Pi that requires a button about fifty feet away from the central circuit. I am planning on using speaker wire for the connection from the Pi to the button. ...
0
votes
1answer
200 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
127 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
463 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
217 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
743 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
158 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
4k 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
163 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
436 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
0answers
131 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 ...
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 ...
0
votes
0answers
101 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'...
0
votes
0answers
29 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 ...
0
votes
1answer
476 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
0answers
240 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’...
0
votes
1answer
54 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
1answer
38 views

Raspberry Pi 1 Model A and Pushbuttons: Simple solution [closed]

I have a Raspberry Pi 1 Model A and am interested in attaching pushbuttons to its GPIO pins so that when you physically push the button, the button sends a signal to the GPIO pin that can then be ...
0
votes
1answer
876 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
0answers
75 views

Wireless Communication with Electronics

I'm working in an Escape room, I have a pi as main brain of the thing using a nodejs server, but I want some small stuff away from the pi to talk to it wirelessly. My first approach would be to have ...
0
votes
1answer
567 views

pigpio ESC (Electronic speed control) problem

I'm trying to control a BLHeli ESC (link) controlling a Gemfan motor (Gemfan RT-2205 2300KV - 3-4S - 425W - 1160g) with a Raspberry Pi 3B with a python program which I've written two days ago: from ...
0
votes
2answers
1k views

Is it possible to run Pi Zero from Phone Battery

I would like to create a retro game project and I have to be able to have a portable Pi without being plugged into a electric socket. I have been looking into my phone battery and saw that it's 4.2v ...
0
votes
1answer
329 views

Which GPIO pins does the 2.4 inch monitor use (for Pi Zero)

Which GPIO pins does the 2.4 inch Adafruit monitor use on the Pi Zero? I am an amateur at soldering so I would only like to solder the minimum amount of pins in order to minimize the risk of messing ...
0
votes
2answers
284 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
1answer
338 views

4 way infrared sensor board interfacing with Raspberry

I wanted to expand my Raspberry Pi robot and bought 2x 4 way channel infrared boards with adjustable distance, but I didn't research if I would actually be able to connect these to the raspberry ...
0
votes
2answers
173 views

Tips for keeping a motor in sync?

So I got this motor, and I need to be able to control its angle with a raspberry pi; its okay if there is a little inaccuracy, but I don't want it to lose precision over time. Any tips on how to ...
0
votes
0answers
107 views

How can I get a Raspberry Pi to monitor a large number of Switches and Relays?

I have a raspberry pi, and I a significant number of relays in my house that I want to monitor. How can I use the Raspberry pi to monitor these relays, I do know a bit of electronic knowledge and good ...
0
votes
0answers
709 views

Powering 3.5 inch LCD screen and RPi with 7.4V Lithium Polymer Battery

I am attempting to create a portable Raspberry Pi. I am wondering how I would go about running the RPi and the LCD screen from the same battery. The screen draws about 6.5V. I have a 5V voltage ...
0
votes
1answer
174 views

Connecting RPi GPIO into a relay that draw high ampere

So straight to the problem I need to connect My RPi's GPIO to a (or some) relay(s) that consume around 30 - 60 Amps to fire up and RPi GPIO only give around 16 mA/Pin(Accroding to this). My question ...
-1
votes
2answers
34 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?
-1
votes
1answer
31 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
votes
1answer
61 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(...
-2
votes
1answer
83 views

How to get started with basic Raspberry Pi electronics?

I have received a RPi 3 kit as a gift with tons of sensors, cables, resistors, etc. I have managed to get the typical LED demo working by following literal instructions but I don't understand how to ...