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.

315 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1
vote
0answers
327 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. ...
1
vote
0answers
128 views

Power Distribution for multiple 5V consumers

I'm a newby in the field of Electrical Engineering (only basic knowledge from school). Nevertheless, I need to power up to 10 Raspberry Pis (5V, 2A) with Dupont Connectors and AWG24 cables over GPIO ...
1
vote
1answer
70 views

Adding Raspberry Pi Hat edge-cuts and holes in Kicad (after schematic capture)

I'm looking for a way (in KiCad 5x) to build a Raspberry Pi HAT around a design that has already been completed. That is, I did not start with a Pi Hat TEMPLATE ... I hope to find a way to add it ...
1
vote
0answers
67 views

Raspberry Pi GPIO Input fires random high interrupts

I have a raspberry pi 3 model without anything attached. If I configure a GPIO as input with the internal pull up resistor enabled, the GPIO reads high as expected. ...
1
vote
0answers
73 views

Raspberry Pi wake-up and battery power circuit

I am working on a Raspberry Pi (3B plus) project that - at times -needs to operate on battery power, and on external power whenever available. The RPI needs to operate only when a dedicated sensor ...
1
vote
1answer
322 views

Raspberry Pi 3 SPI speed and ADC sampling rate

I have been working on a project where I am collecting data from an AD8232 ECG sensor in my Raspberry Pi 3. The raw signal is so distorted and I am guessing I may have an issue with SPI speed and ...
1
vote
0answers
73 views

How do I wire a Rasberry Pi 3B+ to a WS2812b RGB strip?

I am working on a project where I need to use a WS2812b RGB strip. I am really worried because I have already burnt 2 Raspberry Pis with my wiring. I just want to show my schematics, and be assured as ...
1
vote
0answers
594 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 relay board is quite expensive and I don't actually need the ...
1
vote
0answers
46 views

MCP23017 working sporadically

So I've got two MCP23017's on the same I2C bus connected to a RPi. One is addressed 0x20, the other 0x24. The RPi is running my GUI which in turn controls the MCP's which switch 16-way relay boards. ...
1
vote
0answers
178 views

L298N motor driver not working after connecting SPST switch

So when I had all wired as depicted in the first image, it worked fine, no problems. The red LED on the L298N board was illuminated and the dc motor was following commands from my Raspberry Pi. Now I ...
1
vote
1answer
181 views

Sudden raspbery pi power cut or random long delay when running stepper motor using pigpiod

So I wrote another program that can run stepper motor nema 34 using leadshine DM860 driver and this is the example of my code: ...
1
vote
0answers
50 views

Why does my GPIO only show 2V when connected to the Gate Termina lof NTE2390?

I've got a circuit set up with a motor that matches this diagram. When a 3 V power supply is connected to the Gate terminal, the motor spins. However, when I replace the 3V supply at the Gate ...
1
vote
1answer
189 views

Separate two batteries getting charged by one charger with diodes?

I've got a robot that I use two batteries on. One of the batteries power the servos and engines and the other is for the digital boards. The servos need 5 V. The control board and LCD run on 5&...
1
vote
0answers
188 views

Flashing firmware using RPi3

I have been trying to flash firmware onto the PC Engines APU2 platform. I'm using an SPI interface. RPi3's SPI is hooked up to the three-state quad buffer SN74LV125AD. For now, it is just a proof of ...
1
vote
0answers
48 views

Sharing a 5v Supply

I want to deploy a Pi Zero in a weatherproof box. I need to provide 5v DC for the Pi and an 8 channel Relay Board and two 5v DC pumps. I have a 5VDC 5A 25W single output power supply that seems ...
1
vote
0answers
24 views

high pincount stackable header separation

I recently made myself a custom hat for a Raspberry Pi. To connect the Pi and the Hat there is a 2x20 stackable header. However, I find it extremely difficult to separate them once they are mated ...
1
vote
2answers
186 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: ...
1
vote
0answers
251 views

Turn ON/OFF 5V 2-5A by Raspberry Pi GPIO

I need to control few 5V 2-5A devices by rpi GPIOs, which has the 3.3V logic level. I come up with a simple circuit, but I'll appreciate any ideas, corrections, suggestions. The LOAD is something like ...
1
vote
0answers
309 views

Dac over raspberry pi spi troubleshooting

I am trying to output a signal with dac124s085 from python code on a raspberry pi 3b, running Raspbian Stretch (kernel 4.14.30-v7+ #1102). I am sure the spi master driver is enabled - dtparam=spi=on ...
1
vote
0answers
126 views

LAN9512 keeps disconnecting from RPi Compute Module

Main problem I'm using a RPi CM and I connected a LAN9512 to it. However it keeps disconnecting: ...
1
vote
0answers
250 views

Low frequency PWM Brushless DC Motor Speed Control

I am programming a L293D motor driver with a BLDC motor to spin at speeds of 60-300 RPM. It is for a hybrid drone/car where I want the motors to spin slowly while having the necessary torque to drive. ...
1
vote
0answers
497 views

How to control l298n voltage output

Recently I've been working on an RC car controlled by a Raspberry pi mounted on an RC car and connected to 2 motors via l298n dual h-bridge and im using a 12V battery to power the l298N However it ...
1
vote
0answers
197 views

Mini HDMI female - is one pin supposed to be shorter?

I have a Raspberry Pi Zero with Mini HDMI output. I acts kinda weirdly - it does work with a TV with HDMI input, but when plugged into a monitor with DVI input (with an appropriate HDMI>DVI cable) it ...
1
vote
0answers
160 views

OpAmp Clipping? Issues

I am trying to amplify a simple 120mVPP sine wave (4K Hz) to a 5VPP signal being made by an AD9850 being controlled by a raspberry pi. We started off using a 741 but realized after asking you guys ...
1
vote
0answers
242 views

Problem with Pyserial read time

I'm building a RS485 network with rpi3 as master and a bunch of c51 mcu as slaves. After sending an address, the master waits for the slave to respond and then starts to send data. I'm using Pyserial ...
1
vote
0answers
217 views

Hard on/off switch RPI with graceful shutdown

I am building a WiFI solution for a DSLR camera; so after connecting you can view the image via a webbrowser. For this I gutted a so called battery 'grip', which has buttons with which normally you ...
1
vote
0answers
329 views

Raspberry Pi controlling DC motor with 2N2222A

I'm new with the RasPi and I'm trying to build an automated irrigation system. The code is ok because it does what I want, it takes measurements of water content and when it's low, it changes one ...
1
vote
0answers
532 views

How to remove noise between raspberry pi PWM0 and SIM800L mic pin?

In my project SIM800L module(GSM Module) is interfaced with raspberry pi zero. Whenever user call Pi zero play an audio so that user can hear it. To send audio signal from pi zero to SIM800L, PWM0 pin ...
1
vote
0answers
132 views

MOSFETs are dimming my LED lights - checked other threads but it doesn't work

I'm trying to make an LED strip that I bought off Amazon work with my Raspberry Pi. It works just fine when I connect it through the included adapter which I took apart (shown below): However, it is ...
1
vote
0answers
190 views

What are the materials needed for boiling milk alarm sensor?

I have recently bought raspberry pi to start working on it. I have never ever used it before. I am thinking of doing very basic task of led bulb on/off for getting into it. I am curious on developing ...
1
vote
1answer
330 views

Wiring a WS2801

simulate this circuit – Schematic created using CircuitLab I have a set of WS2801 LED's that I'm trying to connect to a Raspberry Pi, using a 'hat' that I bought. On the hat, I have four points ...
1
vote
3answers
808 views

Raspberry Pi reset circuit

After extensive research and finding very helpful circuits for the rest of the system I still have not found what im looking for. I am building a PoE raspberry pi weather station that will be mounted ...
1
vote
0answers
100 views

High pitched feedback or interference in system with amplifier and Raspberry Pi

I have a system running on 12V currently provided by a current-limiting power supply. In parallel this source feeds an amplifier and a 12V to 5V transformer. The 5V transformer directly feeds a ...
1
vote
0answers
380 views

Controlling the GND rail

Okay so I'm running into trouble with my small setup, and I'm not sure how to go from here. I've drawn up a very (terrible) schematic of what I currently have wired up: So currently, I have 12v ...
1
vote
0answers
315 views

Why do I need a resistor across VCC in this circuit?

I'm newer to electronics and am currently working on a project using a raspberry pi and a set of neopixels (WS2812) leds. I finally decided to get everything running off the same 5v power supply but ...
1
vote
0answers
245 views

Software flashing attiny167 from RPi with avrdude

I am trying to flash a program onto an attiny167 (already bootloaded with the micronucleus bootloader) with a Raspberry Pi via avrdude and USB. Background I have 50 Raspberry Pi 3B's connected to an ...
1
vote
0answers
63 views

Host device data transfer to 10 slave devices

I have a project I'd like to prototype that requires a host device that can communicate with up to 10 small hand-held slaves at one time. I looked at the latest Raspberry Pi 3 and it may possibly ...
1
vote
1answer
93 views

Distance considerations between analog output and ADC input?

I have read about distance limitations of timing critical signals like communication over SPI. In order to get more distance between my Pi and my sensor I am considering using an analog sensor and an ...
1
vote
0answers
661 views

make an LED blink on rpi2 in assembly

I am trying to make an LED blink on assembly on my raspberry pi 2 model B to debug some startup code. However I don't see anything blink. Could someone tell me what I am forgetting? ...
1
vote
1answer
3k views

LCD driver board M.NT68676.2 issue: Screen compressed, fills only part of display

I am trying to build a portable Raspberry Pi/Retropie system with an LCD screen I got from my old laptop (the idea is to have a portable gaming console to be used in a car). To drive the screen, I am ...
1
vote
0answers
964 views

Powering a Raspberry Pi Rover with Lithium Ion Batteries and Charging Them

I am working on a 4 wheeled rover project. As the rover needs to be operated remotely, I will need some sort of batteries onboard. The major parts that need to be powered by the batteries are: ...
1
vote
0answers
764 views

3 Phase power logger with ADC and Raspberry Pi

I am building a 3 phase power logger with the ability to measure 3-phase AC and 2 DC inputs as well for a final year project. A typical application would be measuring a small inverter for a solar ...
1
vote
0answers
437 views

Relay module not working

I bought this relay module and I tried connecting it to my raspberry pi. I attached the Vcc (one next to the inputs) to the 5v rail of the pi and gnd to gnd. I attached the input pins to various gpio ...
1
vote
0answers
253 views

Raspberry pi B+ internal power supply ckt?

I have just started to study about raspberry pi B+ (data sheet) Can somebody explain the working of power supply circuit (individual component wise) starting from pg 14. How and why it is ...
1
vote
0answers
227 views

Raspberry Pi parallel power

I have wired up 4 Raspberry Pis in parallel, each being activated by its own SPST toggle. The circuit is being powered by a 5V 5A switching power supply. Each time I power on a pi after the initial, ...
1
vote
0answers
816 views

USB battery charger and GPIO power supply schematic for Raspberry Pi

I'm trying to design a circuit in Eagle to provide reliable + safe battery power to a Raspberry Pi via the GPIO pins. The requirements are: Accept power input via micro USB (separate from the Pi). ...
1
vote
0answers
2k views

RFID race timing system using raspberry Pi?

I would like to build a race timing system using UHF RFID passive tags. I have seen self build systems described as per the following link which is being used in races with apparent success: http://...
1
vote
0answers
2k views

How do I connect a photodiode to a GPIO?

I'm trying to read serial data emitted through an IR led with a Raspberry Pi using an IR photodiode, but I'm not sure about the correct way to hook it up. Unfortunately I don't have a part number for ...
1
vote
0answers
266 views

Problems with Infrared circuit on a PCB - Is it the board or schematic?

I am using the toner transfer method to apply my circuit for 6 sets of infrared emitters and collectors connected to an RJ15 cable on a PCB for use with a Raspberry Pi B+ board (connected via IDE ...
1
vote
0answers
1k views

ADC input to raspberry pi - I2C vs I2S

I'm trying to create a microphone array and take readings into a raspberry pi. I'm having an 8 bit ADC connected to the pi via I2C (SCL and SDA pins). I'm able to read samples (0-255) into my pi using ...

1
2
3 4 5
7