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
0
votes
0answers
38 views

Raspberry pi CM4 I/O board 2-layer PCB design

I am beginner in PCB designing, well in past experience, designed an PCB with some sort of digital signals,power(AC/DC)lines and USB. Now I am working to design the pcb for CM4 I/O board with GPIOs,...
3
votes
3answers
525 views

ULN2803 not working like I expect, or at all

I am a total electronics noob trying to build a simple circuit for a jukebox that I'm making using a Raspberry Pi and an old jukebox wallbox. I'm a computer systems engineer by trade. And it's my ...
4
votes
4answers
949 views

My shift register is working when I use LEDs, but not a solenoid

I'm trying to operate a solenoid push pull motor with a shift register. It works fine with LEDs, but when I try to use the shift register to trigger my solenoid it doesn't work. I suspect it's a power ...
0
votes
0answers
19 views

TI Innovator Hub w/ Raspberry Pi 4 [closed]

Is there a way for me to connect my Raspberry Pi 4 to my TI Innovator Hub in such a way that I can send small amounts of data from the Pi to the Hub? I've never actually used a TI Innovator Hub before,...
0
votes
0answers
19 views

LiPo balanced charging circuit from USB, controllable by a Raspberry Pi

I am building an RC car controlled by a Raspberry Pi, and I'm not sure how to go about setting up the power delivery circuit. I plan to power it with a 5200mAh LiPo battery, 2 cells, 50C rating @ 7.4v....
1
vote
1answer
24 views

PSU Module for Raspberry Pi Zero

I need to build a small circuit to control some relays where I need to power a Raspberry Pi Zero from mains power using the GPIO pins. I saw this module: Mean Well IRM-05-5 5VDC 1A 5W. Is this module ...
0
votes
0answers
35 views

Powering Raspberry Pi from multiple DC voltage sources

I'd like to have some method of powering a Raspberry PI 3b project from a variety of sources, whilst being backed up by a battery: Internal battery Car cigarette lighter Mains (via a DC adapter, like ...
1
vote
0answers
41 views

Relay board for Raspberry Pi 3

I am looking to control 9 pumps using a relay module and a raspberry pi (3B and 4B). And since my experience with electronics is basically to lick the battery to check if it still works, I ask for ...
-2
votes
0answers
38 views

How do I connect an XLR microphone to a Raspberry Pi?

I have no idea what I'm doing so please don't scold me. I would like to learn by doing. I am trying to wire up a dynamic XLR microphone to be used as a microphone input when the RPi is connected to ...
0
votes
0answers
23 views

RPiBoot control jumper requirement?

Please, I need help with this schematic. I would like if there is something wrong on this schematic about Raspberry Compute Module 4 Carrier PCB design. I will only use PCI interface and some GPIO's. ...
0
votes
1answer
28 views

Use LMT86 temperature sensor with MCP3008 ADC

I'm currently working on a small project using LMT86 and MCP3008 as a temperature sensor for Raspberry Pi. The schematic is very simple: So a couple of questions that I have: The MCP3008 datasheet, &...
2
votes
2answers
77 views

Is there a way to output high quality pictures to a monitor with VGA using an Arduino?

So, I had a spare monitor lying around and I wanted to find a way to make it like a picture slideshow. I also have an Arduino Uno. I was wondering whether there is a way to take some pictures from an ...
1
vote
3answers
72 views

24 V DC to 5 V DC converter for Pi 3B

I set up an Octopi system for my 3d printer. I would love if the Pi turns on together with the printer. The printer PSU outputs 24 V DC and has a couple extra terminals. So to save a plug I would love ...
1
vote
0answers
97 views

SPI data lines look identical, but results are different, how is that possible?

I have a golden sample system which consists of 2 devices communicating via SPI. I swap one of the devices and bit bang the SPI to make it similar to the golden sample. However the bit banged device ...
0
votes
1answer
61 views

Strange behaviour Raspberry Pi 4

I am powering raspberry Pi using GPIO no 2, 4, and GND as recommended. The Pi only shows RED constantly ON led and does not boot. However, if I connect the USB power source it boots up. The power ...
0
votes
0answers
17 views

PCB Raspberry Compute Module 4 Carrier Design

I'm working on a PCB Carrier Design for Raspberry Compute Module 4, I have and question for PSU module. I want to supply it with +5V, 3A, and use the same USB-C Connector to Data Transfer to eMMC for ...
4
votes
3answers
260 views

Where is my audio noise coming from?

I am using a Raspberry Pi 3B to output music to an audio amplifier board. Without the Pi connected, there is no noise from the amplifier. Once the Pi is connected (but not outputing any music yet), ...
0
votes
1answer
23 views

How to troubleshoot a (possibly fried) ws2812b led strip

I have a 4.5m, 60led/m Ws2812b strip, hooked up on a raspberry pi running hyperbian. Raspberry works on its own psu, and I have a meanwell 5v 18a for the leds with common grounds. The setup was ...
0
votes
2answers
46 views

Controlling simple output with a button and a relay

Just a side-note, I am a complete beginner when it comes to circuitry. I am attempting to control a garage door controller with a relay powered and controlled by a Raspberry Pi. The garage door ...
1
vote
1answer
36 views

SI5351 I2C clock generator breakout board not detected on raspberry pi 3

I've recently bought a SI5351A I2C breakout board on Aliexpress (This listing) for a project. I was trying to test the board using a simple breadboard, a couple of jumper wires and my raspberry pi 3 (...
1
vote
2answers
67 views

Clean/reduce static in electret microphone caused by “dirty” Raspberry Pi pin output voltage

I'm currently trying to wire up an electret microphone to a Raspberry Pi. I just figured out how to wire it up to a button cell battery after a couple of days of struggling. Still learning electronics ...
0
votes
0answers
24 views

USB differential data lines pulled up to 5 V

My design uses the compute module 3+ board from the raspberry pi foundation. I used the FSUSB42MUX schematic from the CMIO board to have a slave/host USB port. My problem is the D+ and D- lines are ...
0
votes
1answer
47 views

Raspberry PI 4 Compute Wakeup Circuits

on the raspberry PI 3 computer IO boards datasheet it has on page 10 (first sheet) is has the option to connect jumper 13-14 to wake up the computer module by connecting global_en to run_pg run_pg is ...
0
votes
1answer
48 views

12V 4-pin Noctua NF-A8 on Raspberry Pi 4B

I am using a 12V 4-pin Noctua NF-A8 fan https://noctua.at/en/nf-a8-pwm and want to use the PWM functionality also read the rpm from it. Firstly, I went over dozens of forum discussions on a 5V 4-pin ...
0
votes
1answer
28 views

How to wire TLC59281 to a Raspberry Pi?

I have a 7 segment display that is driven by a TLC59281. How do I connect its pin to a Raspberry Pi in order to drive the display? Edit: It uses SPI interface. The datasheet can be found here.
0
votes
0answers
27 views

How to capture the I2S signal via Raspberry Pi Zero?

I would like to capture the I2S data from ADC CS5340 by raspberry Pi zero, but I could not find relevant I2S API to use in raspberry pi zero. Could anyone help me on this? Thanks!
1
vote
2answers
31 views

Raspberry Pi Single-channel relay with 6 pins pinout decipher needed

I've got this single-channel relay for my Raspberry Pi. The relay has 6 pins instead of the usual 3, more over out of the box there was a jumper connecting 2nd and 3rd pin (I'm counting pins from top ...
1
vote
3answers
34 views

Fine-tuning/calibrating DS18b20 thermometer via 1-wire

I am trying to enable remote reading of the temperature gauges in my furnace room by adding DS18B20 thermometers. Since I had some Raspberry Pis and DS18B20s, and ...
1
vote
0answers
26 views

Rx buffer overwrites Tx buffer in spidev xfer2

I'm setting up a comms link between an STM32F407 MCU and the Pi3B+. The code shown below works but when the data is printed out, it looks like the RX buffer overwrites the TX one. How do I stop that? ...
0
votes
0answers
47 views

Charge device and power other devices over the same USB port

I'm creating a raspberry pi based mobile device. It has a LiPo-battery and a lipo charger, which will power the raspberry pi. The device should have one usb port, over which the device can be charged ...
2
votes
1answer
28 views

Dotstar Light Strip Low Update Frequency

I've built the start of a persistence of vision display. The rotation platform itself is built and I have just mounted the LEDs. After doing some testing, I can only get very slow update speeds of the ...
0
votes
3answers
67 views

High current bus bars on PCB controlled with mosfet and Raspberry Pi

I need to be able to switch up to 100 amp @ 48v DC with a Raspberry Pi. I came across this video which is what I am trying to emulate: https://www.youtube.com/watch?v=dhIbZa6yg5k at 1:15 in the video ...
0
votes
1answer
55 views

Can I connect DTR Pin to CTS Pin?

I want to connect a Pixhawk 4 (It's a flight controller) to a Raspberry Pi 3. Therefor I purchased this FTDI USB adapter. Its pinout is the following: ...
0
votes
1answer
37 views

PCB GNSS module with RPi

I am trying to get a GNSS module to communicate with a raspberry pi serially. I was attempting to set this up with an ESP module but I don't think it will work, or at least I am missing something. In ...
0
votes
2answers
142 views

Reading SPI flash W25Q128FV with raspberry pi, what am I doing wrong?

This is the pinout I have for the flash memory W25Q128FV which I'm trying to interact with I'm trying to control it with a raspberry pi 3 B+. Here's how I wired everything: ...
0
votes
0answers
14 views

OpenOCD SAMD21 programming from RPI Error Flash write discontinued / NVM programming error

I am trying to use OpenOCD + RPi to program an ATSAMD21J18A via SWD. I have a connection, can see flash info but programming fails with a Flash write discontinued / NVM programming error. I have a ...
1
vote
1answer
51 views

Camera sensor to accept or reject the position in which a component is kept on a machine

The factory where I work has a hole punching and labeling machine, that basically needs to punch holes and stick labels onto a plastic container. The most important aspect is that the container needs ...
0
votes
2answers
82 views

Raspberry Pico and DHT11 not working C/C++

This is my Wiring here + is connected to 3v3, - to GND and OUT to pin28 I'm using this ...
0
votes
1answer
64 views

ESP32 UART to Raspberry Pi I2C

I am trying to understand how to connect an ESP32's UART pins to my raspberry pi 3B+'s I2C pins. I see several bridge chips available for this like TI's MSP430 Datasheet. But I am not very circuit ...
0
votes
1answer
39 views

HZX D882 transistor not blocking 12V DC current

I am not too savvy with electronics so I apologize in advance for any major ignorance on my part. I am trying to use a transistor (listed in the title) as a digital switch for my Raspberry Pi 4 to ...
1
vote
1answer
81 views

Why the pinout on the Raspberry Pi Pico development board, are labeled under the board?

It may seem a stupid question, because it is common for many careless manufacturers to print the pin markings under a development board; but not for a company which is known for its user friendly ...
0
votes
1answer
62 views

Controling steppermotor with raspberry pi

For a school project, I need to control a stepper motor with a raspberry pi or Arduino. I was thinking about a NEMA 17 or NEMA 23 motor. I study mechanical engineering so I don't have much experience ...
-2
votes
1answer
63 views

Can I drive a motor directly with GPIO pins?

I have a Raspberry Pi Zero with a DC motor attached (directly) to gpio. According to the Raspberry Pi Foundation: The operating voltage of the GPIO pins is 3.3v with a maximum current draw of 16mA. ...
0
votes
2answers
78 views

ADC is giving fault codes when I touch thermistor attached to it

I am working on writing a control program for my pellet smoker. I am having an issue with the meat thermometer that came with the smoker. I have a MAXIM 31865 ADC that is connected to a Raspberry Pi. ...
0
votes
0answers
44 views

Controlling 60v with mosfet through pwm

I got this setup for controlling high voltage with PWM through a Mosfet ranging from 0-60v. Im using the PCA9685 for generating the PWM signals and then the mosfet FQP30N06L for controlling the ...
1
vote
0answers
42 views

Help Designing an Impact Detector for Raspberry Pi

I am trying to design a little game where you throw a baseball at a 3x3 grid of 24x18" polycarbonate panels (1/4" thick), and the game detects which of 9 panels is struck. I'm aware there ...
0
votes
1answer
63 views

Control single-light LED strip with Raspberry pi and MOSFET

I'm trying to make my LED strip fade-in and fade-out by using Raspberry-pi 4, unfortunately for me, I am not an electronic expert. Every tutorial I saw so far was for RGB LED strips and I have a ...
0
votes
1answer
47 views

MCP23017 INT Pin always high - INT cannot be cleared

trying to enable INT on MCP23017 so that, in case of a state change on any PIN from Port A (e.g from low to high) an interrupt should be triggered on INTA. Unfortunately the INTA pin remains high as ...
0
votes
0answers
47 views

Motor controlled using Rpi 3 and 12V power supply

Could someone please assist me with the below circuit? I can't seem to get it to work. I am using a 12V power supply and Raspberry Pi 3. Apologies, I am very new to circuits. The DC motor does not ...
0
votes
0answers
17 views

Compute module 4 data protection

I am building a IoT device using Raspberry Pi Compute module 4, Using usbboot, we can read eMMC as a flash device with which we can read and write the eMMC from any computer. Is there any way we can ...

1
2 3 4 5
34