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
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 ...
0
votes
3answers
60 views

Drive very long WS2812B RGB strip (80 meters) [closed]

I have to drive an 80 meters long RGB strip. 100 LEDs/m. What's the best option? I read Arduino hasn't enough RAM to drive them all so I was thinking about split the strip in slices and every slice be ...
0
votes
0answers
11 views

CAN protocol communication with .Net Core Application

I have a ASP .NET core web application hosted on raspberry pi and this raspberry pi which is connected to CAN shield need to get CAN commands and send it to .NET Core web application. Is it possible ...
0
votes
1answer
91 views

I2C slave device address bouncing around

I am interfacing an SHT20 with a Raspberry Pi via I2C. In Linux, I am using i2cdetect from the i2c-tools package. The issue is that I'm expecting to see a static address in this table, but instead I ...
0
votes
0answers
29 views

Raspberry PI - Emergency Battery Run

I have a Raspberry PI and an 12V LCD board for a laptop salvaged LCD. I'd like to have a battery backup system when there is no electricity. I've designed such diagram. Please let me know if you see ...
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&...
0
votes
0answers
38 views

Raspberry Pi Connected to CH340 on STM32F103. Broken Pi and USB interface

I have a 3D printer that's running based on a STM32 chip. Included on the mainboard is a CH340 serial to USB converter. I connected this board with to my Raspberry pi 3 which I powered using the 24v ...
0
votes
0answers
29 views

Will this MUX work for my application?

I'm having a hard time determining if this mux will work for my application: https://www.mouser.com/datasheet/2/256/MAX14752-MAX14753-1515255.pdf I'm trying to use 2 of these together in a PCB I'm ...
2
votes
1answer
504 views

Generating analog signal (PPM) Raspberry Pi

I am trying to generate a PPM signal like the one used by RC receivers, using a raspberry pi. I am using the pigpio library. Here's what I have so far. Here's the header file: ...
1
vote
2answers
50 views

RC522 has other pins than shown in all the tutorials

I've bought an RFID RC522 module which I intend to use with my Raspberry Pi 3B+. I read the following tutorials and I noticed that their modules have other pins than the one I bought: https://www....
1
vote
2answers
273 views

How to drive an AD9850 at 100 kHz/s sweep using arduino or rasberry pi?

The basic problem I am interested in doing is using an ADXXX chip to make a linear frequency sweep through the HF bands, from 1-20 MHz. The sweep rate I would like to achieve is 100 kHz/s, which ...
0
votes
1answer
79 views

Stepper motor failing - caused by PWM or else?

As suggested over at my original question at raspberrypi.stackexchange.com, I'm also posting my issue here, you'll find it verbatim at the bottom of this question. Because this is an electrical ...
2
votes
0answers
31 views

5V Battery Backup Supply for GPS

I designed a circuit to do the switching from a 12v car battery to a 8.4v Li-Po battery with a relay, both batteries go through a LM7805 regulator to supply a constant 5v to a raspberry, however when ...
0
votes
0answers
45 views

Attaching Arduino TFT LCD screen to Pi 4 without soldering it on?

Note: Already asked on raspberry stack-exchange. I was directed to this community instead. So I have this product: https://learn.adafruit.com/2-8-tft-touch-shield/lcd-test My goal is to connect it to ...
2
votes
1answer
171 views

Connecting BMS to charge controller and load

Im trying to design a circuit that the load will get power from solar panel or a battery (in case the solar panel will not deliver enough current\voltage) Also wanted to mention that this is a hobby, ...
0
votes
0answers
47 views

WS2813 Lead Wire Issues

I've wired a set of WS2813 leds to a Raspberry Pi. The led strip is found here: https://www.amazon.com/gp/product/B077J27Y4X/ref=ask_ql_qh_dp_hza When I have this strip connected via the short cable/...
0
votes
3answers
39 views

Multiple Big Stepper Motors on Raspberry Pi

I am fairly new to the world of stepper motors, drivers and RPis, so I might have some potentially naive questions. Firstly, I am using two NEMA 34 stepper motors and planning to connect them with ...
0
votes
1answer
60 views

Can't control DC motor with PWM on Raspberry Pi

I recently bought a 24V brushless DC motor from ebay (link: https://www.ebay.com/itm/392320171299). I've been able to connect it to a 24V power source and it runs. I've been trying to control it via ...
-1
votes
0answers
43 views

Magnetic field generated by the engine alternator affects GPIO value

I am working on a dashboard for a motorcycle. I created a Qt application on my Raspberry Pi 4 on a Raspberry Pi OS Lite. I have configured one of my GPIO as interrupts using the WiringPi library. In ...
1
vote
1answer
214 views

How do I easily flip odd and even pins between a Raspberry Pi and Pi hat?

My group built a custom hat for a Pi but when we integrated it we discovered a problem with our implementation. Our even and odd pins were reversed. On the Pi, the headers are ...
0
votes
0answers
29 views

Raspberry Pi : White/Blank screen with new shielded cable

I'm currently passing EMC tests at a test lab. For the purpose of the tests, I made a custom DSI cable for the official Raspberry Pi 7" screen with shield against EMI as the PCB of the official ...
0
votes
0answers
43 views

Custom PCB with ADC for monitoring Lifepo4 battery bank voltages

I designed a custom PCB board to allow me to monitor the individual battery cell voltages in my Lifepo4 48v battery bank. Here is a schematic of the PCB: Basically I'm using a molex micro fit junior ...
0
votes
0answers
44 views

Autonomous Robot Power Supply Redesign

I am getting started in electronics/robotics by making a Raspberry Pi robot. I have a (somewhat) working prototype but realized that I need to have a single rechargeable power source. Currently, I ...
1
vote
1answer
66 views

Making a Darlington transistor (eg: TIP120) with D882 to drive 12V LEDs with 3.3V or 5V input RPi

I am getting into circuits and trying to improve my knowledge but even though it might sound like a silly question but here is my story short: What I am trying to do I am building a circuit to drive ...
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 ...
0
votes
0answers
17 views

Ideas to for range prediction algorithm for electric scooter battery

We are working on an electric scooter (moped) project and would like to get the distance reading (that goes to the odometer from the hall sensor / bldc controller) on our IoT device. The scooter uses ...
0
votes
0answers
14 views

How to read & interpret the hall sensor or get the dashboard odometer readings for an electric scooter?

We are working on an electric scooter (moped) project and would like to get the distance reading (that goes to the odometer from the hall sensor / bldc controller) on our IoT device. The scooter uses ...
0
votes
0answers
15 views

How to simulate immobilizer (RC remote control anti theft device) signals using a motor controller and sensors?

We are working on an electric scooter (moped) project. We have added a PCB to it. The scooter has a remote functionality anti theft system (radio controlled like most cars). We would like to retain ...
1
vote
1answer
54 views

Resistor Value for controlling 5V relay

Regarding the post from: https://www.bambusekd.cz/dev/raspberry-control-5V-relay Hi I create raspberry pi project for fun and I followed this post for controlling my relay. What formula is used to ...
0
votes
2answers
592 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 the ...
2
votes
2answers
51 views

How to increase range of IR emitter

I have an infrared emitter connected to a Raspberry Pi which allows me to send signals to my air conditioner so that I can turn it on / off / set settings etc. The problem with my current electric ...
0
votes
2answers
290 views

How to measure multiple objects' weights with load cells and Raspberry Pi 4?

I am working on a class project that involves a raspberry pi and strain gauge load cells. . The goal is to measure the weight of two or more objects using a set of two load cells (In the picture it ...
0
votes
0answers
66 views

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

I am a 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 ...
3
votes
3answers
574 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 ...
0
votes
2answers
1k views

Powering Raspberry-pi using ESC

Currently I am building a quadcopter with Raspberry Pi and I have four 20A Tunigy Electronic Speed Controller (ESC). I was wondering about could I use ESC's red wire to power my Raspberry-Pi? (tying 4 ...
0
votes
1answer
148 views

CAN Bus with RS485 CAN HAT for Raspberry PI

I have set up a CAN bus between 2 STM32 Nucleo's, where one is only sending messages and the other one is only reading them. This works, I have also validated this by connecting them to another CAN ...
4
votes
4answers
987 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 ...
1
vote
3answers
76 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 ...
0
votes
1answer
65 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
22 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....
0
votes
1answer
27 views

PSU Module for Raspberry Pi Zero [closed]

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
36 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
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: ...
0
votes
0answers
24 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. ...
2
votes
2answers
82 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 ...
0
votes
1answer
32 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, &...
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 ...
4
votes
4answers
2k views

How to create a touch switch to use with a Raspberry Pi

I'm trying to make my own wakeup lamp. I have a lamp with a large metal base to hide all the components in. I also have a Velleman K8064 DC Controlled Dimmer Kit which I have put together and is ...
1
vote
1answer
41 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 (...
0
votes
0answers
18 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 ...

1
2 3 4 5
35