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
1answer
19 views

Canbus over canberry with raspberry pi two messages together at the same time

Im using a canberry with raspberry pi. Is there any way possible to send two messages at the same time with same id and be received by the other raspberry without any particular chance of getting a ...
0
votes
0answers
24 views

ft24c02a EEPROM Raspberry Pi I2C issues reading

I have a digital scale that I am trying to take apart and feed the weight into a raspberry Pi. The digital scale has a FT24C02A EEPROM that is I2C enabled. I am guessing that the weight is calculated ...
0
votes
2answers
37 views

Taking 5v and converting it to 3.3v for Raspberry Pi GPIO?

Raspberry Pi 3b. For some reason I am having a hard time conceptualizing what I need to do to bring a 5v reading down to 3.3v so I can sense it with my Pi (without damaging it due to the Pi not ...
0
votes
2answers
28 views

5VDC Fan Circuit

I have a 5VDC fan (AUB0505HD), and my ultimate goal is to drive this fan using a 3.3V PWM signal from a Raspberry Pi Zero. I haven't worked with transistors much outside of EE school, so I don't ...
0
votes
0answers
34 views

Interfacing LAN9512 or LAN9514 to KSZ8895 Ethernet Switch for Raspberry Pi Compute Module 3+

I would like to add Raspberry Pi Compute Module 3+ to my design. My design has an ethernet switch KSZ8895 on board. The 5th port ...
1
vote
0answers
69 views

project with micro controller + micro computer: the eternal 3.3V vs. 5V [closed]

I want to start a new project that will include a mix of various small electronics as well as a microcontroller (a la Arduino) and a micro computer (a la Raspberry Pi). In my previous project, I ...
0
votes
0answers
49 views

Waves on raspberrypi camera feed, Ground loops? electrical interference?

I run a video recorder in a vehicle built on Jetson Nano (Very Similar to raspberry pi). It runs on 5V . The vehicle has a 24V power supply. I power the video recorder with an automotive-grade 24V to ...
0
votes
0answers
32 views

Interfacing non bluetooth speaker with Raspberry Pi 3

I want a wired connection between speaker and Raspberry pi 3 Model B. Bluetooth or Wireless connection is not my requirement. Regarding my speaker - it should NOT simply output buzzer sounds but is ...
1
vote
0answers
49 views

Raspberry PI Zero, pushbutton and pullup

I have a very simple schematic: GPIO12 -> pushbutton -> R(1.5 Kohm) -> ground The GPIO12 is set to IN mode and ...
0
votes
1answer
51 views

Multiple UART devices on Raspberry Pi

I want to connect multiple devices which are communicating through UART to Rapsberry Pi3b+. Given that Raspberry has only 1 set of Tx-Rx pins, I am unable to do so. I am designing a PCB so I have the ...
0
votes
3answers
58 views

ws2812 strips data grounding method & flickering

I know for ws2812 strips (60ppm) you can ground the data line at the far end to reduce the chance for "echos" and improve performance. My question is can you: Short the data tab to the ground tab at ...
0
votes
1answer
63 views

Raspberry Pi UPS circuit review request + improvements

Based on this question I created the following circuit: Since I made some (component) changes, first I would like to have a validation of the circuit for long-term usage (and some improvements). ...
1
vote
1answer
36 views

Powering two devices with a Li-Ion battery

I have a Li-Ion battery powered device that can be plugged in a computer for charging purposes as well as for data transfer. What I would like to do is have data transferred to the device via a ...
1
vote
2answers
76 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 ...
1
vote
0answers
25 views

Stepper motor and driver selection

I would appreciate some advice on selecting a proper stepper motor and driver for my project. I plan to create an autopilot for my small fishing boat using a Raspberry Pi controlling a stepper motor, ...
0
votes
1answer
89 views

I want to make a photo-trap for wildlife

I want to make a photo-trap with extra features. I tried using a Raspberry Pi for this, but I could not start the system in under 4 seconds. When other photo-traps detect motion, they start ...
0
votes
1answer
35 views

Overcurrent Protection Relay, How do I simulate it with Raspberry Pi?

I'm using RPi and MCP3208 to simulate an overcurrent relay. I managed to level shift the AC signal and now I get the voltage reading at 0-3.3V. As this is an overCURRENT relay, I was stuck for a ...
0
votes
1answer
59 views

How do I connect 24v NPN/PNP device to a Raspberry Pi GPIO without cooking the Pi?

As part of my "detecting the presence of an item on a conveyor" I'm looking at industrial through beam connectors. A lot of them are 3 wire NPN or PNP devices like this (highlighted): I'm wondering ...
0
votes
2answers
71 views

Driving a wire from a 1-bit reg from one bit of 8-bit reg (verilog)

I have wasted far too much time on this. So here goes. Started off coding up a basic SPI slave device, to work with a Raspberry Pi as SPI master. Using a Xilinx XC6SLX16 as the slave. Using a logic ...
0
votes
1answer
62 views

Fullsize HDMI vs microHDMI, electrical considerations

I'm going to use an HDMI cable in an industrial setting to connect a screen to a Raspberry Pi. We are considering using the Pi 4 instead of the Pi 3 which we have been using earlier. The Pi 4 has ...
0
votes
1answer
36 views

How to get a serial reading from an Ultrasonic Rangefinder on a Raspberry 3 B+?

I'm trying to set up a Maxbotix Ultrasonic Rangefinder (LV-EZ0) with a Raspberry Pi 3 B+. I've tried all the tips I could find: raspi-config disable serial interfacing for shell, but keep it on ...
0
votes
3answers
87 views

Help wiring a Raspberry Pi and odd DB9 connection

I need to send a signal from a Raspberry Pi 4 to a PC running software that listens on a COM port and I'm having some trouble understanding the necessary wiring. Here is the documentation I have for ...
0
votes
1answer
40 views

~150 WS2812b LED's with Pi Zero and SN74AHCT125N

I'm planning to control about 150 WS2812b LEDs with my Pi Zero and a 5v 11a power source (PC molex connector). Following this guide: https://www.thegeekpub.com/15990/wiring-ws2812b-addressable-leds-to-...
0
votes
0answers
19 views

Possible dead Raspberry Pi 1 B [migrated]

My first ever owned Raspberry Pi suddenly died yesterday. I had it working non-stop for like a month until last Friday (I had to hot unplug it). Since I did a lot of troubleshooting in the previous ...
0
votes
2answers
77 views

Can I get Pull-push pulses to a PC?

Is there any way to connect a sensor that outputs pulses in a PC system? For instance, it can be connected via raspi via the GPIOs. Is there another and most robust way to get the input to a PC?
1
vote
1answer
142 views

Control several binary outputs with raspberry pi, CD74HC273 D-type flip flops and 5v relays

I am using a system with a raspberry pi and multiple d-type flip flop (CD74HC273), its role is to be able to control several digital outputs with a web app. I use 8 raspbery GPIO bits as data/input ...
1
vote
5answers
163 views

Electromagnetic 7-segment flip display: H-Bridge alternatives?

I have an electromagnetic 7-segment flip display which has 28 electromagnets for 4 digits. They run on 20V, have a 7.5W power rating and need alternate polarity applied to switch between the 'on' and ...
0
votes
1answer
60 views

How do I increase the height of a prop using a linear actuator and raspberry pi in under 35 dollars

For a competition, we need prop that will start at 2 feet, and rise (using a linear actuator or anything suggested) to at least 2.5 feet. We need this prop to be under 35 dollars (However we can spend ...
0
votes
1answer
57 views

What is the use of 5V pins on Raspberry Pi GPIO?

On a Raspberry Pi, GPIO pins are 3V3 tolerant. And there are two 3V3 pins that we can use to play with GPIO (driving LEDs or sensing Buttons). But what is the purpose of the two 5V pins? edit: I am ...
1
vote
1answer
81 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
votes
1answer
130 views

2n2222 can not make it work as gate

simulate this circuit – Schematic created using CircuitLab I am trying to make a simple switch with the 2N2222, so i can send 5 volts from a 3.3 V output pin on an arduino/raspberry pi. I have ...
0
votes
2answers
52 views

How to receive the digital data from an ASK/FSK Receiver (E.g. TDA 5210)

While reading the specs on a FSK/ASK Receiver (E.g. TDA 5210 ) I am asking myself how actually the (non Manchester encoded) digital data look like and how to I receive it when sending from another ...
0
votes
2answers
94 views

Control USB power by USB power

I'm trying to power a Raspi from a Power Supply but I would like to switch it on and off depending on if the USB out from the TV is on or off (the USB from TV is not needed for anything except ...
0
votes
0answers
38 views

MCP23S17 not outputing the desired output

I have a MCP23S17 GPIO expansion connected to my raspberry pi. I am using it to switch mosfets that controls multiple LEDs I am using this RPIMCP23S17 python library upon trying its example code that ...
0
votes
1answer
54 views

Analog reading in raspberry pi

I am trying to read an analog input using a raspberry pi zero W, but all of the GPIO are digital. Can you guys maybe suggest on how to get around this or maybe point me to forums or guide regarding ...
0
votes
1answer
55 views

AD5231 Digital Pot programming/ Hardware issue

I am trying to use the AD5231 Digital potentiometer in a school project. However, I am having a lot of trouble with it. It's supposed to be connected to raspberry pi (model 2 B+) and I've trying to ...
0
votes
1answer
60 views

How to immediately turn WS2812 LED strip on after power on?

I built a table lamp with a 1m WS2812 LED strip controlled by a RPI Zero W. It has a decent power supply that outputs 5V directly to the LED strip and also powers the RPI. The RPI takes approximately ...
0
votes
2answers
35 views

3v output to switch on transistor for 5v fan

Im having trouble selecting resistors for my circuit. I have a 5v supply and my wemos board has a digital pin output of 3v. I want to use the wemos output pin to switch a transistor (BC547) on to ...
0
votes
0answers
71 views

I2C on STM8S overstretching clock

How can I fix the super long delay and weird ACK glitch with I2C on STM8S? I'm having some troubles with I2C communications between a raspberry pi and STM8S. The STM8S is a slave transmitter and I2C ...
0
votes
2answers
61 views

Is there an easier way to signal this active low relay module for the pi?

Two parts to this question: Part 1: I am planning on setting up this relay module with my pi (which afaik has gpio pins set to LOW at startup). 1.) Does this mean if I hook it up as the picture ...
0
votes
2answers
97 views

What makes a input GPIO pin so sensitive?

I know that an input pin has a high impedance, but how a high impedance makes such pin be so sensitive? According to https://forum.arduino.cc/index.php?topic=454553.0 -- #4 mentioned If the input ...
0
votes
1answer
41 views

Read serial data from unknown source using Raspberry pi

I have a fuel dispenser, which has one keypad and two displays, each display has three of 7 segment LCDs. I want to control the fuel dispenser with a PC or a phone. The way to do this in my knowledge ...
13
votes
6answers
5k views

Is a pull up/down resistor really necessary?

Logical reading (1 or 0) of a micro-controller input GPIO pin may float if it is neither connected to VCC nor GND; someone said it is because of surrounding RF interference. When a floating GPIO ...
0
votes
2answers
93 views

Raspberry Pi with 74HC14 connecting to LED strip (WS2812B)

This might be a stupid question, but I can't seem to figure out how to convert 3.3V to 5V with the 74HC14. I have a power source which can supply 5V (see the power adapter at the left), and use it to ...
37
votes
8answers
3k views

Add a passive hardware token using a 3.5mm jack

I have a box that I made for my niece, which allows her to exchange voice messages with me. It is powered by a Raspberry Pi and features two buttons, a LED, a microphone and a speaker. Now, for ...
0
votes
0answers
79 views

Unable to intercept the code of my remote control at 433 MHz with RaspberryPi

I'm trying to reproduce the code generated by my universal 4-channel radio control with ...
0
votes
0answers
34 views

WM8960 on Pi detected but not working

I am trying to create custom board with WM8960 IC with Raspberry Pi. I am able to use Wolfson drivers for pi to detect the IC via I2C but I am not able to play or record any audio. This is the ...
0
votes
2answers
76 views

How to amplify 3.3 volts PWM to 5 volts PWM

im working on a project to drive a motor using a motor driver that accepts 5 volts PWM (for 100% duty cycle) but im using raspberry pi 3 that has a PWM of 3.3 volts (for 100% duty cycle) as a result, ...
0
votes
1answer
95 views

Stand-alone flashing of STM32

I'm developing a fixture tool to test a custom PCB with ST Bluenrg1 (STM32 M0 core + bluetooth). This fixture tool has its own MCU working at 5V. I would like to flash automatically first previous ...
0
votes
0answers
36 views

is briefly connecting same voltage/different capacity batteries safe

Ok, so I am working on a project that has two battery packs: a: 7.4v 2Ah - 8 x 3.7v 500mAh b: 7.4v 500mAh - 2 x 3.7v 500mAh These packs will be powering a raspberry pi clone, a handful of servos, ...

1 2 3 4 5 28