Questions tagged [raspberry-pi]

The Raspberry Pi is a credit-card sized computer that plugs into your TV and a keyboard. There have been several generations of the device with improved performance, more memory, and more connectivity. This tag should be used for electrical engineering questions that involve the use of a Raspberry Pi. For questions about the Raspberry Pi itself see the raspberrypi.stackexchange.com Raspberry Pi specific forum.

Filter by
Sorted by
Tagged with
1
vote
2answers
47 views

What kind of battery to choose for my electrical car project

I hope that this is the right place to ask this. I have a small RC car that I opened and added a raspberry pi in. Now I want to pick a battery. First of all I heard that Lipo batteries are really ...
0
votes
2answers
315 views

How to reduce noise in this circuit?

I'm using a Raspberry Pi in a circuit I'm building that includes a few elements. Elements in the circuit: PWM driver to control 3 servos Mic board for recording Class D Amplifier that drives 2x3W ...
0
votes
1answer
45 views

PWM Mosfet (and help identifying the right one)

I am building a project to control a 12 V, 10 A heating system from a Raspberry Pi. I have identified that I need to use a MOSFET transistor and I will control the output by using pulse width ...
3
votes
1answer
222 views

Amplify Raspberry Pi Zero W Audio with 60s Tube amplifier circuit

First of all, thank you for taking a look at my question. Electronics is not my field of expertise, and I have found myself a bit stuck. I have been restoring some old 50s and 60s tube amplified ...
-4
votes
0answers
46 views

How to repair keyboard which has motherboard issue? [on hold]

Do anyone know how to make DIY keyboard motherboard.. Or any boards that can be connected to keyboard membrane
0
votes
1answer
47 views

Can there be a voltage spike from ULN2803 to MCP23017?

I would like to ensure I have designed my circuit to operate safely. I am trying to control a 12V electric lock using Raspberry Pi. I have connected my SCL and SDA to MCP23017 and the output of ...
0
votes
0answers
22 views

Pi Compute LM832 wifi module

I am trying to attach LM832 wifi module to my Pi Compute CMIO board. However i am not able to detect the module on raspberry pi. I believe that wifi drivers are inbuilt in kernel (CYW43438 )? So what ...
0
votes
1answer
775 views

Connecting Raspberry Pi to Arduino Leonardo

Can any Raspberry Pi/Arduino experts tell me what are the best options of sending data from the RPi to a Leonardo given the following: Running Raspbian on the RPi. Running a Python script on the RPi ...
0
votes
1answer
238 views

How to reduce voltage with no earth?

I'm currently working with raspberry pi's that are going to be powered through an LED night light (its for being able to observe people working on experiments and giving light to the camera) and in ...
0
votes
2answers
43 views

Purpose of the Schmitt trigger in this midi circuit

I came across an instructable about using midi with a raspberry pi and I was a bit confused about the first circuit from step 2. What are those Schmitt triggers for and are they really necessary? . ...
0
votes
0answers
22 views

wifi, emi and shielding analog circuit

Hi I am building an USB sound card circuit for raspberry pi. It involves a button, LED and Sound card IC PCM2912A (TI). I am mounting raspberry pi over the 2 sided pcb on top (top has full digital ...
3
votes
1answer
991 views

How to use RPI 2 to debug RPI model B via JTAG with OpenOCD

I have a RPI 2 that I want to use for programming and debugging a RPI model B over JTAG for a bare metal project. Right now I'm having trouble to get the two boards to even talk to each other over ...
0
votes
1answer
34 views

DC automatic polarity inverter

I'm putting a Raspberry pi zero on a model train. The train tracks supply 12V DC which I step down to 5v with a Pi Jack. However, because the power is being supplied via the tracks, I can't be certain ...
0
votes
0answers
24 views

Connecting several slave BT modules to a Raspberry pi

I bought a couple of BlueTooth modules DSD TECH SH-M08 CC2541. These modules only work in slave mode. My idea is to stick them to several Blue pills, all already equipped with temperature and ...
1
vote
0answers
127 views

Help identify RJ11 pins on a relay board - No152133

I'm tinkering with my garage door motor (Marantec Comfort 220) which have a RJ11 6-pin connector (X10) for an accessory relay board. The board consists of three (3) relays driven via the RJ11 ...
0
votes
1answer
159 views

Latching switch to single pulse circuit? (monostable multivibrator with 555?)

I am looking at using a latching switch (SPDT) to momentarily connect two pins. This is for a power button for a raspberry pi, so to power the machine from a hold state you have to momentarily short ...
0
votes
1answer
215 views

Powered USB hub

I would like to know if the bellow montage is going to work. I will try to convert a cheap USB hub for a raspberry pi zero.
0
votes
2answers
134 views

Lighted button that also lights when another button is pressed

I've got a project, started 12 lighted and latching buttons in a circle, like a clock. Press a button, the button lights until it is pressed again. I need a second "clock" and if say the 2 o'clock ...
0
votes
1answer
215 views

MAG3110 and MPU6050 on one I2C bus connected to a Raspberry Pi

I am trying to use separate pre-built breakout modules containing a MAG3110 (Magnetometer) (module) and a MPU6050 (gyroscope) (GY-521 module) on one I2C bus connected to a Raspberry Pi. Although both ...
1
vote
1answer
489 views

Controlling DC motors and servos with a single pca9685

I have a Raspberry Pi project (robot with wheels and servos) and I'd like to control both motors and servos at the same time. I'm trying to use PCA9685 + L298N for driving the motors. The problem I'm ...
0
votes
1answer
54 views

Looking for a three state relay or switch

I need to control the link between three wires: Nothing touches == State 1 == Light is off Red touches brown == State 2 == Light is on Red touches grey == State 3 == Light blinks A little drawing: ...
0
votes
2answers
52 views

FET-based H-Bridge for bi-color LED

I've got a bi-color LED in a push-button that is red when powered in one direction and green in the other direction. I would like to control it from a Raspberry Pi GPIO pin, e.g. High=Red, Low=Green. ...
0
votes
1answer
205 views

Mini UPS schematic question

I found the following schematic for a rudimentary mini UPS: (Original source website) and in the description on the original website (link above) it says: D2 → Prevents backfeeding of 5v wall ...
0
votes
0answers
42 views

Servo doesn't move properly

I have a problem with my servo motor. I connected a servo to the PWA connection of a PCA9685, but powered the motor externally. There's no problem with that and it works fine with some smaller servo ...
0
votes
1answer
186 views

Passive Infrared (PIR) Motion Sensor

I want to have the PIR Motion Sensor: https://www.adafruit.com/product/189 Used to turn on a light whenever it detects motion. Simple enough, but would it be possible to have this done wirelessly? ...
1
vote
2answers
131 views

MOSFET as heating element for a RaspberryPi

I developed a PID autotuning algorithm that I want to test outside of a simulation environment. For this purpose, I got temperature sensors to send data to a RaspberryPi. Now I need something to ...
0
votes
1answer
193 views

Connecting KY-009 to GPIO of Raspberry Pi

We would like to connect the 3-color LED module (KY-009) to the GPIO pins of Raspberry Pi 3. We are going to use the {green, blue} LEDs only (5050 SMD LED) of the module. Because the LEDs require ...
0
votes
1answer
139 views

NPN common emitter transistor as a switch switches off as the current draw in collector falls

I am trying to switch power to a Pi Zero using an NPN transistor (2N2222) as a switch, as in the following diagram. simulate this circuit – Schematic created using CircuitLab The Ib is around ...
0
votes
0answers
53 views

Alternatives to common collector transistor switch?

I am trying to connect a Raspberry Pi / Arduino to a coffee machine. The coffee machine has a simple function, with a single button (momentary switch, on a DC cicuit) to dispense a coffee. I'm trying ...
0
votes
0answers
51 views

I2C and separate power source affects SDA signals

Despite the fact that I2C devices should be able to operate with different power sources I'm having problems with my setup. Specifically, it seems that when I have separate power sources the SDA ...
2
votes
1answer
50 views

How can I make smaller steps with my servo?

I've got a Raspberry Pi with which I control a servo. The servo controlls the rudder in an autonomous boat I'm building. I'm using Golang and this gpio library to control the PWM. The input I get ...
1
vote
1answer
243 views

Controlling a Piston Variable Pump with a Raspberry Pi

I'm involved in a team that is controlling an AA10VG axial piston variable pump using a Raspberry Pi 3 Model B V1.2. I've been delegated to design the circuit which will control the pump's ...
0
votes
1answer
112 views

How do I know the polarity of pins on a DC 2.1mm power connector using the schematic

So, I'm designing a PCB for a project I've been working on recently. I want to include a 2.1mm DC power jack, to power the components (LED strips in this case) I have found a suitable connector: ...
0
votes
2answers
409 views

WS2812 Led Strip Data Voltage Drop?

I was wondering how voltage drop works when using PWM from a Raspberry Pi to generate the data signal for a WS2812 LED strip. I already have experienced votlage drop when dealing with the 5 V, 300 ...
1
vote
1answer
81 views

Driving NPN with Raspberry Pi

When driving an NPN transistor using the GPIO output on a raspberry pi I assume no protection is needed on the GPIO side of the circuit? So nothing would really be needed beyond this to drive the ...
2
votes
1answer
42 views

Raspberry Pi input protection with optocoupler?

I need to isolate a noisy input to a Raspberry Pi 4. Would this be the most correct way to implement it? I feel like the protection on the input side of the Pi is overkill. Note: Schematic uses a ...
1
vote
2answers
106 views

RS-485 to USB converters (cable conversion)

I am working on a project that involves a Solar Charge Controller. The device ships with an Ethernet RS-485 communication interface as well as a RS-485 to USB cable, which is said to be able to ...
0
votes
1answer
263 views

Is it possible to drive a 12V DC motor with XL6009?

I am a beginner in robotics. I am planning to drive a 12V DC motor from Raspberry Pi 2 B . I know Pi does not have that capacity to drive such a device , so I am using L293D motor driver to control ...
0
votes
2answers
111 views

Can I apply 12V intermittently to a 5V 28BYJ stepper motor?

As the title suggests, am I able to apply 12V to each winding of the 28BYJ (5V version) to increase the torque? I understand that it's not ideal as it will overheat, but it won't be running non-stop. ...
4
votes
2answers
6k views

Is a N-Channel Mosfet save/reliable for level shifting UART from 3V3 to 5V?

I am busy with a design that needs to connect a Raspberry Pi to an Arduino via UART. Previously I have designed a circuit that worked okay. (source: protoneer.co.nz) But now I want start using SMD ...
1
vote
1answer
241 views

Battery powered RGB matrix board

I'm not sure if this is the best place to ask this but I'm not sure where else too For my graduation I'm trying to embed a Led RGB matrix display connected to a raspberry pi on my cap. Iv seen this ...
0
votes
1answer
44 views

Unable to read data from MCP9808 using i2c

I have a MCP9808 temperature sensor and a Raspberry Pi 3B plus. I had great success reading the temperature from this sensor via i2c on an Arduino Uno, but am not able to read the temperature with ...
0
votes
1answer
316 views

Debugging I2C, Effect of Oscilloscope Probes

Working on a simple I2C setup: Raspberry Pi connected to a WM8731 audio chip. The Raspberry Pi configures the WM8731 (which is write only) over I2C. Problem is WM8731 doesn't always respond with ...
5
votes
2answers
2k views

Odroid XU4 and Olimex MOD-IO by I2C via level converter

Long version Like some of you, I do electronics as a hobby and I'm relatively now to this, so I have a few questions regarding the communication between my Odroid XU4 and a nice I2C module from ...
1
vote
0answers
29 views

How to run raspberry pi compatible mipi csi camera on rock pi 4 b

I am trying to run a mipi csi camera on a rock pi 4 but I can't figure out how to get it working. I have the rock pi 4b running on Debian (Linux) and the camera is plugged in and the power led is lit. ...
0
votes
2answers
62 views

Drive Solenoid with RPi

I'm putting together this circuit, but am not clear how to wire up the part with the diode. This is what I have so far, but it doesn't seem right (how does the solenoid get power?). Components are: ...
21
votes
1answer
17k views

Understanding an 'ideal' diode made from a p-channel MOSFET and PNP transistors

The Raspberry Pi B+ models have a protection circuit between the USB connector and the 5V net on the board. They recommend putting a similar protection circuity on a Pi HAT before 'backpowering' the ...
0
votes
3answers
237 views

How to mount four 6-wire 10V load cells on Arduino or Raspberry Pi?

I want to connect four 6-wire load cells (Tedea Huntleigh Compression & Tension Load Cell 300kg, 15V dc, IP67, product page and datasheet) into an Arduino or Raspberry Pi and get four independent ...
0
votes
1answer
73 views

What type of sensor to detect if an object passes through?

(Sorry for my bad English) Hello guys, I need your help since I have no idea about electronic stuff. I have a table soccer and want to install motion sensors in the goals, so whenever the ball ...
0
votes
1answer
207 views

Raspberry Pi hat design

I am designing a Raspberry Pi hat that needs to be able to accept inputs from 3 different water meters. Two of the inputs are 4-20mA signals, the third input being a pulse signal. At the top I have ...