Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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 ...

0
votes
0answers
3 views

printing the data received through UART in Rpi [migrated]

I need to send a character from raspberry pi to arduino via zigbee. Upon receiving the character arduino should send some numbers back to pi. Data send from the arduino is received till the zigbee ...
0
votes
1answer
50 views

2N7000 driver circuit Raspberry Pi

I am using a 2N7000 N Channel FET as a switch similar to the circuit below. The load is a 12V LED lamp and is connected to 12V not the shown 5V below. Most of the time the circuit works perfectly ...
0
votes
1answer
39 views

I need to connect a 12V device to Raspberry pi

I need to connect a 16mm press Push Button Switch flat round Latching Self-locking 1NO 1NC with 12V rating to Raspberry pi3. (https://www.aliexpress.com/item/16mm-Metal-brass-Push-Button-Switch-flat-...
-1
votes
4answers
76 views

Controlling DC 90V motor with Raspberry Pi or Arduino

I have project where 90v dc rotating motors(4 of them) must be controlled via Laptop. What is the most simple solution, Can I go with raspberry pi or need to go lower with arduino or there are ...
1
vote
1answer
45 views

Ultrasonic Pulse Generator using Power Mosfet and Gate Driver. Confused about datasheet compatibility

I'm working on a project for University. The goal is to create an ultrasonic flaw detector that can measure flaws within a piece of metal. I have only taken introductory courses in the different ...
0
votes
0answers
17 views

Converting the output of a Proportional Control System to a meaningful drive of a Peltier

Trying to create a PID controller for temperature control using a Peltier element, I decided to take it step by step and create first the Proportional and then the Integral and the Derivative ...
1
vote
0answers
44 views

OpenOCD on Raspberry Pi Zero to flash STM32F410 via SWD

I followed the Adafruit guide (https://learn.adafruit.com/programming-microcontrollers-using-openocd-on-raspberry-pi) to flash an STM32F410 (on a Nucleo Board, but I get rid of the STLink parts and ...
1
vote
2answers
44 views

ULN2003 Saturation Voltage help

I'm busy designed a PCB that will use a Raspberry Pi's GPIOs to to drive several optoisolators. Additionally I'm also interfacing with an IO module that works with HIGH > 1V. Because of the number ...
1
vote
2answers
59 views

How much current will this LED draw?

Sorry if this is a really basic question - software engineer here, so I'm a little out of my element. I'm working on an IoT project, and I'm planning on using this button with a red LED inside of it. ...
0
votes
0answers
40 views

Calculating the Duty Cycles for the Syren 10A Motor Driver

I bought the Syren 10A to drive a Peltier element using python and a raspberry-pi zero + 12V power supply. After reading and talking I concluded to use the Driver in the R/C Failsafe Timeout Mode ...
0
votes
0answers
33 views

I2C line pulled low by MCP23017

A simple interface of MCP23017 with Rpi using I2C lines. Since there is already an internal pull-up resistor of 1.8k on rpi I didn't use any pull-ups n I2C lines. Running ...
0
votes
2answers
61 views

How to measure 2.5 volts out of 5 volts and serial resistors?

I have a circuit that's being run from a 5v and is essentially a series of resistors. I want to be able to "tap" it to get 2.5v - 3v out of it, which I think would be straightforward, but I want to do ...
0
votes
1answer
66 views

SPI communication between STM32F4 and Rasberry Pi produces garbage

I trying to make an SPI communication between a RPi (as MASTER) and an STM32F410 (as SLAVE, on a Nucleo board). My PoC is simple, I send 8 bytes from the Rpi and print them out with the UART-over-USB ...
2
votes
0answers
39 views

How to get 2 threads working properly on a Raspberry Pi? [migrated]

I've an electric car that I need it to travel specific distance. In order to do that I've an 2 phase rotary encoder attached to one of the rear wheels. I am currently driving all things using a ...
0
votes
0answers
13 views

sht sensor overexposure to high air humidity

has anyone encountered SHT Sensors returning higher humidity readings after certain periods of overexposure to high air humidity? I'm using weatherproof sht10 sensor bought from aliexpress, running ...
-2
votes
0answers
24 views

Raspberry Pi 3 bluetooth version [migrated]

I want to verify my raspberry's bluetooth module version. Is there some command through terminal that returns the Bluetooth version? Also, according to the RPI's CYW43438 communication chip's ...
-5
votes
1answer
57 views

Arduino MKR Vidor 4000 [closed]

Can it capture the image in full Rpi camera resolution and save it somewhere? Thank you for your time.
0
votes
1answer
52 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
votes
0answers
66 views

Raspberry Pi zero project activated by 'unconnected' light switch

simulate this circuit – Schematic created using CircuitLab So i've just connected my first RPI project. It's pretty basic, essentially it takes completes a circuit on a pre-existing door ...
0
votes
2answers
58 views

Powering a wireless camera

I'm trying to design a camera system for use in my bike shed. The bikeshed is in range of wifi but has no power. First I thought I could use a Raspberry Pi with a Picam, and have video streamed to an ...
0
votes
2answers
43 views

Let two LEDs blink with Raspberry Pi

I have written a simple Python program which runs on a RPi to make an LED blink. For that I connected my RPi using GPIO 23 with the anode of the LED, and before going back to ground, I added a ...
0
votes
1answer
58 views

Raspberry Pi 3 B+ can't be powered by battery using regulator 7805 and LM2596, requires higher current. Help! [closed]

I want to power my Raspberry Pi 3 model B+ using a battery. It turned on and worked perfectly with: 1) a 5V 1A powerbank or adapters 2) and a 5.5V(4.2+1.3) battery connected directly. However, i ...
-1
votes
0answers
38 views

Relay 5v Raspberry turned off after few seconds

I connected a raspberry to a relay. This is the relay I used: This is the final scheme (but I used Raspberry Pi Zero w): Then I write a very simple python script as below: ...
0
votes
1answer
38 views

Getting valid input from Ultrasonic range finder

(I am posting this question here since I feel that the issue is a part of my lacking understanding of the electronics, and not a ) I am trying to monitor the feed hopper for my pellet furnace. I had ...
0
votes
1answer
38 views

7 segment display

i recently bought a 7 segment display for research purposes. I have connected this to the raspberry pi and i got an output. The thing is that, the segment has 4 digit display and all the displays show ...
0
votes
1answer
52 views

Raspberry Pi Zero - PWM & Python Help

Disclaimer: I am very new to electrical engineering, but I'm determined to figure this project out. I'm currently working on electronic solenoid lock. Here's a image of what I have so far. I have a ...
0
votes
2answers
154 views

Increase the ramp up stepper motor performance

I'm driving a NEMA34 bipolar stepper motor with the following specifications: Holding torque 5.9 Nm Step angle 1.8° Resistance / phase 0.33±10% Ω Inductance / phase 3.00±20% mH Max load axial 65 N ...
2
votes
1answer
65 views

Raspberry Pi losing power

We are building a Raspberry Pi with 2 servo motors connected to one power supply. But whenever the servo motors are provided with a signal to power and then move, the raspberry pi's green light turns ...
1
vote
1answer
26 views

What kind of relay should be used to control a thermostat terminal?

I'm building a remote controller for my thermostat, and the only step I have remaining is the connection between the Raspberry Pi and the thermostat terminal. Essentially, the Rpi will be replacing my ...
0
votes
4answers
58 views

How to power an Atmega328P and Pi from 12V?

I have a bare-bones Arduino (basically an Atmega328P) and a Raspberry Pi 2. I have them communicating with each other over I2C and a 5v/3.3v logic level converter. Right now I power the Pi (micro-usb)...
1
vote
1answer
38 views

Controlling DC motors and servos with a single pca9685

I have a Raspberry Pi project (robot with wheels and servos) and I'd like to control both motors and servos at the same time. I'm trying to use PCA9685 + L298N for driving the motors. The problem I'm ...
0
votes
1answer
54 views

Looking for design advice for custom electronic lock

I'm building a door lock that will be controlled by a Raspberry Pi Zero W. Here's a link to the lock I'm using: Electronic Cabinet Lock With Status Reporting (MA1208S-T) From what I understand, this ...
-1
votes
0answers
30 views

AC 220V testing with relay and Raspberry Pi

I am trying to determine whether the 220V wire is live. For this I am using a mobile adapter which can give me 5V digital output (at AC 220V) and giving 5V as a signal to relay. On the output side of ...
0
votes
1answer
32 views

Powering a RPi and a motor driver with the same LiPo battery

I have a 2-cell LiPo battery, a RPi3, and a motor driver with 2 DC motors. I wanted to use the same LiPo for both, instead of a LiPo for the driver, and a Power Bank for the RPi3. My idea was to use ...
1
vote
0answers
31 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 ...
4
votes
1answer
81 views

Problem with SPI Communication between Arduino/Atmega328P and Raspberry Pi

I have an Atmega328P chip (being used as an Arduino) that I would like to connect to a Raspberry Pi via SPI. I originally had an Atmega328P running on 3.3V using its own internal 8MHz crystal ...
4
votes
2answers
1k views

Long wires causing Raspberry Pi to die?

I've been working on a simple project involving a Raspberry pi and some switches. I would never thought I would have any problem for something as simple as a switch, but here I am. The 2 wires from ...
-1
votes
0answers
45 views

Can I connect two GL850G in order to have 7 usb ports?

I'm designing a interface PCB for the CM3 (Raspberry) module with 7 USB ports. I have search for IC's, and I have encountered the GL850G which I think is the best for my application. My question is, ...
0
votes
2answers
121 views

What do smartphone manufacturers do differently with their cameras than the Raspberry Pi module camera

There is a huge difference in quality between the image/video taken by the latest iPhone or Samsung smartphone compared to that taken by the Raspberry Pi camera module. What is different about the ...
0
votes
4answers
164 views

How to control a motor driver (BTS7960) without PWM

Using a Raspberry Pi 3B+, I need to control a motor which works in 12V and can draw up to 2A. It doesn't use PWM. It just goes in one direction or the other (reverse/forward) when interchanging the +/-...
0
votes
3answers
88 views

Practical limits on Raspberry Pi GPIO pin voltages

I know the Raspberry Pi GPIO uses 3.3V, and you should never connect voltages higher than that to the pins. However, when connecting an I2C device I accidentally put 3k pull-up resistors to 5V (...
0
votes
2answers
40 views

Relay not outputting voltage

I'm currently having trouble with my relay, and I suspect it's a problem with my setup. Here's how I have it setup. I have a raspberry pi 3 B. I want to power something using the 5V output, so I ...
0
votes
1answer
118 views

Debugging I2C, Effect of Oscilloscope Probes

Working on a simple I2C setup: Raspberry Pi connected to a WM8731 audio chip. The Raspberry Pi configures the WM8731 (which is write only) over I2C. Problem is WM8731 doesn't always respond with ...
2
votes
1answer
89 views

Communication between a Computer and Microcomputers

I am currently working on a project that require me to communicate between several Raspberry Pi's and a computer. I'll display data that sent by Raspberry Pi on that computer. Since I am using ...
0
votes
1answer
83 views

PC to Rasberry Pi Serial Communication

Im trying to communicate to my pc using my raspberry pi using a software called Docklight. I'm using a serial cable (that i ripped apart) and my breadboard as shown below. Now, you can also see I ...
0
votes
0answers
28 views

Powering on ESC causes backfeeding on PWM line

This question is on behalf of the robotics team I am a part of. Our robot's electrical system has been working great. However, we noticed that once in a while our Teensy or Raspberry PI would crash ...
1
vote
1answer
108 views

Fast, cheap, wireless data transmission with Raspberry Pi [closed]

I need some advice on a project. I want to wirelessly transmit packets of data from a Raspberry Pi to several microcontrollers (Arduino or other). The frequency must be at least 15 packets/s per ...
0
votes
1answer
88 views

2 Computers 1 USB Device (circuit help) [closed]

I have a project with a custom USB device that pumps out a stream of data every 1.125 seconds to a Raspberry Pi running Windows 10 IoT, and occasionally receives an 8-byte command. The USB device and ...
0
votes
5answers
96 views

How to measure voltage of a floating GPIO (Raspberry Pi)

I would like to measure that voltage of a floating GPIO on a Raspberry Pi 3. When I use a multi meter or an oscilloscope it looks like the pin is pulled to ground and shows 0. Another way of asking ...
0
votes
1answer
37 views

Can I add an INA219 voltage\current sensor to this USB powerbank?

I have a Raspberry Pi Zero in a small robot that I have been powering off a USB powerbank and it works great. Unfortunately when the USB battery goes flat the power is cut and the Pi crashes. I want ...