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 Pi. For questions about the Raspberry Pi itself see the raspberrypi.stackexchange.com Raspberry Pi specific forum.

-1
votes
0answers
22 views

Noisy Signal over FFC

I have an FFC connector between a Raspberry Pi camera and a PCB which is in turn connected to a Raspberry Pi. The signal over this is noisy and usually causes the RPI to freeze when I try to take ...
0
votes
2answers
43 views

A GPIO pin opening/closing a high power circuit?

sorry if this a very beginner question but I'm still quite new to the field of electronics generally. I have a requirement to connect a Raspberry Pi to an existing electronic lock, and hopefully use ...
-3
votes
0answers
61 views

Raspberry Pi motor [on hold]

does the Raspberry pi motor have to be set into a loop to continue running? I only have python (3) to run this program off of and was wondering if anyone who has tried this may help me code the Pi in ...
2
votes
0answers
56 views

Arduino-like microcontroller with more ram for image processing [on hold]

I want to build a device to perform image acquisition and processing, but I don't know which kind of board/microcontroller to use. My idea is to use a low-res camera, take a shot, analyze it and ...
0
votes
2answers
33 views

Pcf8574ap to to manage the 4 address pins of 4067 multiplexer?

I have a question. I have a 4067 multiplexer connected to my Raspberry Pi, 4 GPIOs turned on or off, control the channel of the multiplexer. My problem is that if no channel is changed, my code is ...
0
votes
1answer
21 views

Trigger motor through Raspberry Pi if it's plugged in, otherwise through touch sensor

I'm trying to design a custom PCB that is powered through USB (5V DC), has a touch sensor, powers a DC motor and can optionally have a Raspberry Pi Zero plugged into it through a GPIO header. If the ...
1
vote
1answer
34 views

Controlling the brightness of LED panel via GPIO pins

I'm trying to control an LED panel like the one in this link. I notice it comes with an LED driver. But what I'm wanting to do is to be able to control the brightness of this light through the GPIO ...
0
votes
2answers
81 views

Unable to activate an Nmosfet gate with raspberry pi

So I've been trying to control a motor using a MOSFET transistor, where the gate is controlled by a raspberry pi. My circuit is wired as follow: The diodes represent the raspberry pi ground and gpio ...
0
votes
0answers
28 views

Ultra Low Power BLE Device w/ GPIO [closed]

Here is my use case: I have a battery powered Raspberry Pi reading a couple of sensors that I want to turn on when I walk near it (within a couple hundred feet) and turn off when I walk away. I want ...
0
votes
0answers
23 views

Raspberry Pi + L293D to switch 12V solenoid valves

I am porting an Arduino project to Raspberry Pi. On the Arduino I switched two 12V solenoid Valves with the help of a L293D IC. It worked perfectly. Now I am porting this system to a Raspberry Pi. ...
0
votes
1answer
25 views

ultrasonic-sensor to Logic Level Converter to raspberry pi

Trying to connect Ultrasonic sensor to my raspberry Pi. Im aware of two methods: connect the trig to a 1k resister before connecting to raspberry pi Use a 8-Channel Logic level converter I trying ...
0
votes
3answers
78 views

Possible reasons for differences in voltage between garage opener circuit and Raspberry Pi

I am attempting to use my Raspberry Pi's GPIO to activate a garage door opener (specifically Craftsman 139.5364812). As far as I can tell, the garage door is operated by shorting two terminal screws ...
0
votes
2answers
74 views

Swapping two 500kohm pots with one MCP42010 10k ohm digital pot

What additional elements do I need in my circuit to compensate for changing a pair of manual 500k ohm pots to a pair of digital 10 ohms? I'm a beginner implementing an Atari Punk Console on Raspberry ...
0
votes
1answer
25 views

Need to synchronize stepper motors

am using two A4988 drivers to control two NEMA 17 stepper motors with 1.8 degree full step resolution on Rpi 2b. I am using them as wheels. The motors are initially given ramp signal using PGPIO ...
1
vote
1answer
58 views

Why isn't my transistor outputting enough voltage when switched?

So, I'm a software guy, and this is a bit out of my element. I'm working with a Raspberry Pi, and I want to power one of an LED button, a push button with a pair of integrated green LEDs wired in ...
0
votes
1answer
44 views

Solar Powered Green House

I'm thinking of making a RaspberryPi solar powered smart "green house", with LED lights, water pumps and a few sensors. I would like to point out the "green house" would be about 6ftx2ftx2ft - more of ...
2
votes
2answers
687 views

Is it possible to convert 19.5V 3.33A to 12V 5.5A?

I have a laptop charger which has 19.5 V 3.33 A output. I want to use it for raspberry, which needs 5V and 2.5A and for monitor which needs 12V 3A. Is that charger strong enough to run the whole ...
0
votes
1answer
66 views

RC transmitter and receiver for Raspberry Pi possible? [closed]

I've got a pet project in which I'm trying to write/build a self learning autopilot for my rc plane. I've got a Raspberry Pi with an IMU and a pitot tube in the plane and it can now control the servos ...
0
votes
0answers
22 views

chances of A4988 motor driver creating back current through the STEP and DIR pins

I am trying to drive 2 stepper motors using A4988 motordrivers and I am using the following circuit diagram as shown in the image Only change from the above circuit diagram is that I have not ...
-2
votes
0answers
18 views

Arduino Modbus - Rtu slave with Raspberry pi using MAX-485 [migrated]

I am trying to use Arduino as Modbus- RTU slave and Raspberry Pi as a Modbus master I have interfaced Max485 (RS485 to TTL converter) with Arduino and Rs485 to USB converter in Raspberry Pi, Initially,...
0
votes
0answers
57 views

I used a compression load cell, a HX711 and a Raspberry and I get really terrible inconsistent readings, are these devices incompitable?

I wanted to create a 10-200 lbs scale using a FX1901-200 lbs load cell (https://www.digikey.ch/product-detail/en/te-connectivity-measurement-specialties/FX1901-0001-0200-L/223-1531-ND/5277314), a ...
0
votes
0answers
37 views

MCP 3008 Re: Raspberry pi

I am new to circuitry. Naturally, this presents a few problems when asking a question: One often does not know enough to formulate a well-formed question. My apologies in advance. I use a ...
-1
votes
0answers
72 views

How to deal with long distance I2C

I have 8 SRF02 ultrasonic rangers connected into I2C bus. They have to be integrated into a robot of dimensions 600mm x 800mm (for safety system purpose). I tested the setup on a breadboard with ...
0
votes
0answers
16 views

OSError: [Errno 121] Remote I/O error or pigpio.error: 'I2C read failed' on MPU6050

So I use MPU6050 to get acceleration from stepper motor linear rail movement(steper motor working in thread, I use pigpio for the motor) by make the MPU6050 can work on threading and it can show data ...
0
votes
1answer
49 views

Connection For simulation touch using 1ch relay

http://gameautomators.com/book/Electronics/4-simulation.html Hi here is a reference to make a touch simulation with rpi and 1ch relay I can't understand how to connect gpios with relay. There are ...
0
votes
1answer
47 views

Receive same GPIO input signal on multiple raspberry's from one source

I'm having 7 raspberry Pi's 3 connected to 7 screens, running an python 2.7 app to download different images from google drive, every raspberry has different images. Geeqie is displaying those images ...
0
votes
0answers
46 views

Serial communication between raspberry and laptop not giving right values

I want to communicate between a Raspberry Pi 3 model B and a laptop using a USB to RS-232 cable and this RS-232 to 3.3V TTL converter via the serial module in Python: GND is connected to board pin #6 ...
2
votes
1answer
95 views

DHT22 bad readings on long rj45 cable

Duplicate of https://raspberrypi.stackexchange.com/questions/91781/dht22-bad-readings-on-long-cable, I figured there is chances people here have a solution for me. Hi, I'm preparing a setup with a ...
0
votes
2answers
49 views

is the intel quark capable of running an opencv webcam unity application for linux? [closed]

I built a fairly simple application in Unity that uses a webcam and opencv to overlay graphics in realtime to a user's face. I am looking for a low cost microcontroller/computer to run the ...
1
vote
1answer
55 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
2answers
47 views

AttributeError: 'NoneType' object has no attribute 'send' pigpiod

So I create an another program that can run stepper motor clockwise and counter clockwise with a ramp up and ramp down in there and adding limiter switch on GPIO 16 and 26 to stop the ...
1
vote
0answers
38 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 ...
0
votes
2answers
72 views

The output of a boost converter doesn't stay at 5 V

Let me start by apologizing for my english in advance :) I'm trying to build an UPS for my raspberry Pi (even though I have basically zero experience in electronics). When the power cuts out, I want ...
-1
votes
0answers
77 views

Smoothing steper motor movement when chage the direction

So, I'm driving a NEMA34 bipolar stepper motor and it is being driven by a DM860 leadshine. I create a program in raspberry pi using pigpio library, the program that that make stepper motor change ...
0
votes
2answers
84 views

Is my amplifier correct?

My goal was to amplify audio signal coming from Raspberry PI's audio jack, so it is louder. I have basically no clue what I am doing, but it seems to work - when I connect the speaker directly to the ...
-1
votes
1answer
48 views

Raspberry pi zero + Arduino Lilypad

I was hoping to make a gesture+flex sensor controlled glove using an Arduino Lilypad and Raspberry Pi Zero W. I was wondering how I could connect the two boards to communicate between them? This is ...
0
votes
4answers
165 views

Who uses single board computers? [closed]

I don't know if this is the right place to ask so please tell me. I am puzzled by devices like "nvidia jetson tegra" or "Snapdragon 835 Mobile Hardware Development Kit" and many many others. What ...
0
votes
1answer
86 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 ...
-1
votes
1answer
47 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
109 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
107 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
23 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
2answers
50 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
70 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
42 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
36 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
62 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
89 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 ...
0
votes
0answers
15 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 ...
-6
votes
1answer
103 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.