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
34 views

Can the watchdog on an STM32F373 trigger a reset while the RESET pin is held high?

The reset pin on an STM32 chip is being pulled high by a Raspberry Pi Zero W in the field via GPIO pin BCM 17. Will the watchdog on the STM32 be capable of triggering a reset while the pin is being ...
0
votes
1answer
42 views

Control current to one of two loads on PCB

I am currently working on a project where 2 batteries powers multiple components on a board. A raspberry pi, 2 thrusters and a winch. Each device is powered via the battery and a buck converter. The ...
0
votes
0answers
25 views

Easiest solution for DIY car/boat ECU system [on hold]

I am building a small smart kayak that uses solar energy to power a DC motor. I have planned to use an Arduino to collect sensor information and represent them to the human driver as a gauge, but I ...
0
votes
0answers
34 views

issue communicating between pi zero w and Arduino nano with nrf24l01

I am trying to communicate between a pi zero w and an arduino nano with the nrf24l01 module. I have got very far and there are no apparent issues, besides no messages not being sent between them. for ...
0
votes
3answers
69 views

Low Current From PNP S8550 Transistor as a switch circuit

I am using a GPIO pin from the Raspberry Pi to control the Base of a PNP S8550 Transistor and turn an LED on and off. I designed the circuit below: Base connects to GPIO from Raspberry Pi Collector ...
1
vote
2answers
67 views

DSP on the Raspberry Pi

For a project I am currently working on, I need to monitor a VHF radio frequency (RF) channel, using a software-defined radio (SDR) that is connected to a Raspberry Pi 3B. I have successfully ...
1
vote
1answer
60 views

Using 2 5V pins to get 10V [duplicate]

I want to to my RaspBerry Pi 4 with an old small CPU fan. However it's a 12V fan. Is it possible to use 2 of the 5V pins on the board to total to 10V? Sorry if this is a dumb question. I haven't ...
1
vote
2answers
61 views

Powering USB to serial CH340 converter - does it need to be powered from USB port?

I am creating simple expansion board for my Raspberry Pi with a few I2C components (EEPROM, RTC,...) and I would like to add a USB to serial converter to be able to connect to the RPi's serial port ...
1
vote
2answers
55 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
1answer
46 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 ...
0
votes
0answers
23 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
49 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
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 ...
0
votes
1answer
36 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 ...
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
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
0answers
54 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
2answers
169 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
52 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 ...
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 ...
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
82 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
44 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 ...
1
vote
0answers
30 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: ...
0
votes
1answer
46 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
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
2answers
47 views

Power a 12V Solenoid and a RPi Zero with the Same Wall Socket

I'm building this circuit using an RPi Zero and this 12V solenoid. I would like to be able to power the RPi and the solenoid from the same wall socket using a single power supply. For example, I've ...
0
votes
0answers
54 views

CS5340 does not generate clock signals correctly

I am trying to build a sound input for Raspberry Pi 3B using CS5340-CZZ as an ADC. I am basically using it according to the typical connection diagram in its datasheet, where I have a signal from a ...
0
votes
0answers
34 views

How turbocharger mobile charger works?

I have found a turbocharger from a motorola device which has 5V, 9V and 12V outputs. I want to use this charger to run raspberry pi 4. I need to know how tutbocharger changes the voltage? I am scared ...
0
votes
1answer
63 views

Help with understanding the Memory Map of MLX90393

(Using a Raspberry Pi 3 Model B+ and python) I needed some assistance in understanding the memory map of MLX90393 I've attached the memory map here and you could also find it in the datasheet. I'm a ...
0
votes
0answers
38 views

SEN0192 Microwave Doppler sensor sensitivity

I've integrated this doppler microwave detector to a raspberry pi 3 b+ and have been bench testing it -- and it works fine waving my hand in front of it. I've now moved it to the area where it needs ...
0
votes
1answer
57 views

getting noise when connecting speaker out of sim800l to raspberry pi

i was trying to make a roaming device which helps me route my calls through internet, to save my bills while on international roaming. my setup goes like this: gsm module sim800l, raspberry pi4, a ...
0
votes
2answers
56 views

MAX11612 to replace ADS1015

I'm looking to replace an ADC chip from an ADS1015 to a MAX11612. Currently I'm using an Adafruit ADS1015 breakout board, but I need an ADC that is truly bipolar and reads significantly faster (>...
0
votes
2answers
79 views

Is it possible to get a Raspberry Pi zero to wake a computer over a USB connection?

I would like to wake up my desktop computer (Mac or PC) from sleeping using a Raspberry Pi Zero. Is it possible to get the Zero to wake a computer over a USB connection? I can wake my Mac up using ...
0
votes
0answers
35 views

Brushless DC Control

I'm controlling a brushless motor using a raspberry pi. I use servo pulsess to control my motor. But i also need to turn it in the reverse direction. To do that, I have no idea what to do. Some say ...
0
votes
1answer
71 views

Would this MOSFET be suitable for use with an Arduino?

I'm looking for a MOSFET which can be controlled by an Arduino at 5V, and which can switch power on/off to a Raspberry Pi and peripherals (also 5V) that will peak around 3A of current. It's a battery-...
0
votes
1answer
50 views

ESC control with Raspberry Pi

I'm trying to control some ESC and brushless motors using a raspberry pi. I used the pigpio library to control them using servo pulses. But it seems that my motors wont increase rpm after a limit ...
1
vote
2answers
81 views

Powering Raspberry Pi Zero W and LED-Strip with 24v DC

I have a RGB LED-Strip from IKEA that is powered with a 24v DC adapter. My Plan is to Power a Raspberry Pi Zero W and the LED-Strip at the same time from the same power source. My circuit looks like ...
0
votes
1answer
89 views

Is the Raspberry Pi polarity protected on the USB? [closed]

I am building a Pi into some equipment just to drive a display. Now this is normally powered by a USB lead with the usual 5VDC. So I will have to cut the USB cable and put ferrules on the leads (...
0
votes
0answers
33 views

Rechargeable LiPo for Raspberry Pi without having to be unplugged to be charged

I tried researching this online but failed to find exactly what I'm looking for. I want to have a docking station for my Raspberry pi, where I just connect it to a micro-usb and it'll recharge the ...
-1
votes
2answers
106 views

What is the technical difference between wifi and Zigbee? [closed]

I was trying to use the WiFi-dongle in my raspberry pi as ZigBee transmitter. I figured since they both use the 2.4GHz ISM band I should be able to rewrite the protocols somehow to make my WiFi-dongle ...
0
votes
1answer
62 views

Simplest latching circuit with press-ON hold-OFF button that can cut power when Raspberry Pi halts

So I'm making a battery-powered Raspberry Pi project, and it would be ideal if it could cut off power to the Raspberry Pi after the Raspberry Pi shuts down. It would also be ideal if the power for ...
1
vote
2answers
72 views

RPI-arduino communication without UART

I'm working on a project where a raspberry pi zero will be the main controller. The pi has to receive information from a GPS module (gy-gps6mv2) over UART. The same pi will be controlling (receive and ...
1
vote
1answer
51 views

Reading mV from the MAX31856

I am trying to use a Type-C thermocouple with a MAX31856 thermocouple IC. This means that I must read the thermocouple voltage directly (in mV) and convert the voltage to temperature in software ...
0
votes
1answer
62 views

raspberry pi 3V LED. What resistor to use? [duplicate]

I will connect this button with a 3V LED to RP3. what resistor should I be using ? Do not know the amperage of the LED. https://www.amazon.co.uk/sourcing-map-Momentary-Button-Mounting/dp/B07FYSR7Y7/...