Stack Exchange Network

Stack Exchange network consists of 175 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.

3
votes
0answers
205 views

SPI comunication - Only receive 0xFF (Linux)

I've been stuck in setting up the SPI communication in Linux and can't figure out any solution. I working with a beagle bone black, which runs Linux. I have a piece of code that send data through the ...
2
votes
0answers
192 views

Can't get L293D to work with raspberry pi zero w

I have the following When i turn GPIO 17: high GPIO 22: high GPIO 27: low or GPIO 17: low GPIO 22: high GPIO 27: high ...
2
votes
0answers
492 views

Is it possible to make a Raspberry Pi transmit FM on several frequencies at the same time?

I have read a few questions here on transmitting on multiple frequencies at the same time. But all of them was about transmitting the same signal to all frequencies. The PiFM and PiTX projects are ...
2
votes
0answers
2k views

L293D 2 Phase Bipolar Stepper Motor

I have an M35SP-11NK stepper motor that I would like to be able to drive with an L293D driver chip. The circuit below is how I've got it wired up so far. I've derived this from numerous sources on the ...
1
vote
0answers
25 views

Raspberry Pi GPIO Input fires random high interrupts

I have a raspberry pi 3 model without anything attached. If I configure a GPIO as input with the internal pull up resistor enabled, the GPIO reads high as expected. ...
1
vote
0answers
37 views

Raspberry Pi I2C with multiple slaves behaves erratically

I have a Raspberry Pi 3B+ that I'm using with two I2C devices on the same bus. The first device is a DAC from Adafruit (product here). The second device is an accelerometer, also from Adafruit (...
1
vote
0answers
46 views

Raspberry Pi wake-up and battery power circuit

I am working on a Raspberry Pi (3B plus) project that - at times -needs to operate on battery power, and on external power whenever available. The RPI needs to operate only when a dedicated sensor ...
1
vote
0answers
39 views

How do I wire a Rasberry Pi 3B+ to a WS2812b RGB strip?

I am working on a project where I need to use a WS2812b RGB strip. I am really worried because I have already burnt 2 Raspberry Pis with my wiring. I just want to show my schematics, and be assured as ...
1
vote
0answers
64 views

Help identify RJ11 pins on a relay board - No152133

I'm tinkering with my garage door motor (Marantec Comfort 220) which have a RJ11 6-pin connector (X10) for an accessory relay board. The board consists of three (3) relays driven via the RJ11 ...
1
vote
0answers
37 views

MCP23017 working sporadically

So I've got two MCP23017's on the same I2C bus connected to a RPi. One is addressed 0x20, the other 0x24. The RPi is running my GUI which in turn controls the MCP's which switch 16-way relay boards. ...
1
vote
0answers
43 views

L298N motor driver not working after connecting SPST switch

So when I had all wired as depicted in the first image, it worked fine, no problems. The red LED on the L298N board was illuminated and the dc motor was following commands from my Raspberry Pi. Now I ...
1
vote
0answers
43 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 ...
1
vote
0answers
49 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 ...
1
vote
0answers
45 views

Sharing a 5v Supply

I want to deploy a Pi Zero in a weatherproof box. I need to provide 5v DC for the Pi and an 8 channel Relay Board and two 5v DC pumps. I have a 5VDC 5A 25W single output power supply that seems ...
1
vote
0answers
22 views

high pincount stackable header separation

I recently made myself a custom hat for a Raspberry Pi. To connect the Pi and the Hat there is a 2x20 stackable header. However, I find it extremely difficult to separate them once they are mated ...
1
vote
0answers
149 views

Turn ON/OFF 5V 2-5A by Raspberry Pi GPIO

I need to control few 5V 2-5A devices by rpi GPIOs, which has the 3.3V logic level. I come up with a simple circuit, but I'll appreciate any ideas, corrections, suggestions. The LOAD is something like ...
1
vote
0answers
174 views

Dac over raspberry pi spi troubleshooting

I am trying to output a signal with dac124s085 from python code on a raspberry pi 3b, running Raspbian Stretch (kernel 4.14.30-v7+ #1102). I am sure the spi master driver is enabled - dtparam=spi=on ...
1
vote
0answers
65 views

LAN9512 keeps disconnecting from RPi Compute Module

Main problem I'm using a RPi CM and I connected a LAN9512 to it. However it keeps disconnecting: ...
1
vote
0answers
183 views

Low frequency PWM Brushless DC Motor Speed Control

I am programming a L293D motor driver with a BLDC motor to spin at speeds of 60-300 RPM. It is for a hybrid drone/car where I want the motors to spin slowly while having the necessary torque to drive. ...
1
vote
0answers
371 views

How to control l298n voltage output

Recently I've been working on an RC car controlled by a Raspberry pi mounted on an RC car and connected to 2 motors via l298n dual h-bridge and im using a 12V battery to power the l298N However it ...
1
vote
0answers
105 views

Mini HDMI female - is one pin supposed to be shorter?

I have a Raspberry Pi Zero with Mini HDMI output. I acts kinda weirdly - it does work with a TV with HDMI input, but when plugged into a monitor with DVI input (with an appropriate HDMI>DVI cable) it ...
1
vote
0answers
138 views

OpAmp Clipping? Issues

I am trying to amplify a simple 120mVPP sine wave (4K Hz) to a 5VPP signal being made by an AD9850 being controlled by a raspberry pi. We started off using a 741 but realized after asking you guys ...
1
vote
0answers
194 views

Problem with Pyserial read time

I'm building a RS485 network with rpi3 as master and a bunch of c51 mcu as slaves. After sending an address, the master waits for the slave to respond and then starts to send data. I'm using Pyserial ...
1
vote
0answers
186 views

Hard on/off switch RPI with graceful shutdown

I am building a WiFI solution for a DSLR camera; so after connecting you can view the image via a webbrowser. For this I gutted a so called battery 'grip', which has buttons with which normally you ...
1
vote
0answers
197 views

Raspberry Pi controlling DC motor with 2N2222A

I'm new with the RasPi and I'm trying to build an automated irrigation system. The code is ok because it does what I want, it takes measurements of water content and when it's low, it changes one ...
1
vote
0answers
387 views

How to remove noise between raspberry pi PWM0 and SIM800L mic pin?

In my project SIM800L module(GSM Module) is interfaced with raspberry pi zero. Whenever user call Pi zero play an audio so that user can hear it. To send audio signal from pi zero to SIM800L, PWM0 pin ...
1
vote
0answers
110 views

MOSFETs are dimming my LED lights - checked other threads but it doesn't work

I'm trying to make an LED strip that I bought off Amazon work with my Raspberry Pi. It works just fine when I connect it through the included adapter which I took apart (shown below): However, it is ...
1
vote
0answers
77 views

High pitched feedback or interference in system with amplifier and Raspberry Pi

I have a system running on 12V currently provided by a current-limiting power supply. In parallel this source feeds an amplifier and a 12V to 5V transformer. The 5V transformer directly feeds a ...
1
vote
0answers
364 views

Controlling the GND rail

Okay so I'm running into trouble with my small setup, and I'm not sure how to go from here. I've drawn up a very (terrible) schematic of what I currently have wired up: So currently, I have 12v ...
1
vote
0answers
194 views

Software flashing attiny167 from RPi with avrdude

I am trying to flash a program onto an attiny167 (already bootloaded with the micronucleus bootloader) with a Raspberry Pi via avrdude and USB. Background I have 50 Raspberry Pi 3B's connected to an ...
1
vote
0answers
57 views

Host device data transfer to 10 slave devices

I have a project I'd like to prototype that requires a host device that can communicate with up to 10 small hand-held slaves at one time. I looked at the latest Raspberry Pi 3 and it may possibly ...
1
vote
0answers
180 views

Does pixel binning mitigate the rolling shutter effect?

Does pixel binning help to mitigate the rolling shutter effect of a full resolution capture? The idea behind this would be that when binned there is fewer data for readout and thus the image readout ...
1
vote
0answers
329 views

How to connect flexible flat cable

I'm trying to connect this to this. From another question I asked (I can't find it anymore) the cable is a flexible flat cable, and I should pull out the black plastic piece at the bottom right of the ...
1
vote
0answers
526 views

make an LED blink on rpi2 in assembly

I am trying to make an LED blink on assembly on my raspberry pi 2 model B to debug some startup code. However I don't see anything blink. Could someone tell me what I am forgetting? ...
1
vote
0answers
2k 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 ...
1
vote
0answers
873 views

Powering a Raspberry Pi Rover with Lithium Ion Batteries and Charging Them

I am working on a 4 wheeled rover project. As the rover needs to be operated remotely, I will need some sort of batteries onboard. The major parts that need to be powered by the batteries are: ...
1
vote
0answers
567 views

3 Phase power logger with ADC and Raspberry Pi

I am building a 3 phase power logger with the ability to measure 3-phase AC and 2 DC inputs as well for a final year project. A typical application would be measuring a small inverter for a solar ...
1
vote
0answers
311 views

Relay module not working

I bought this relay module and I tried connecting it to my raspberry pi. I attached the Vcc (one next to the inputs) to the 5v rail of the pi and gnd to gnd. I attached the input pins to various gpio ...
1
vote
0answers
205 views

Raspberry pi B+ internal power supply ckt?

I have just started to study about raspberry pi B+ (data sheet) Can somebody explain the working of power supply circuit (individual component wise) starting from pg 14. How and why it is ...
1
vote
0answers
157 views

Raspberry Pi parallel power

I have wired up 4 Raspberry Pis in parallel, each being activated by its own SPST toggle. The circuit is being powered by a 5V 5A switching power supply. Each time I power on a pi after the initial, ...
1
vote
0answers
741 views

USB battery charger and GPIO power supply schematic for Raspberry Pi

I'm trying to design a circuit in Eagle to provide reliable + safe battery power to a Raspberry Pi via the GPIO pins. The requirements are: Accept power input via micro USB (separate from the Pi). ...
1
vote
0answers
2k views

RFID race timing system using raspberry Pi?

I would like to build a race timing system using UHF RFID passive tags. I have seen self build systems described as per the following link which is being used in races with apparent success: http://...
1
vote
0answers
2k views

How do I connect a photodiode to a GPIO?

I'm trying to read serial data emitted through an IR led with a Raspberry Pi using an IR photodiode, but I'm not sure about the correct way to hook it up. Unfortunately I don't have a part number for ...
1
vote
0answers
251 views

Problems with Infrared circuit on a PCB - Is it the board or schematic?

I am using the toner transfer method to apply my circuit for 6 sets of infrared emitters and collectors connected to an RJ15 cable on a PCB for use with a Raspberry Pi B+ board (connected via IDE ...
1
vote
0answers
1k views

ADC input to raspberry pi - I2C vs I2S

I'm trying to create a microphone array and take readings into a raspberry pi. I'm having an 8 bit ADC connected to the pi via I2C (SCL and SDA pins). I'm able to read samples (0-255) into my pi using ...
1
vote
0answers
70 views

Capacitive where is the touch?

I am a newbie in the world of circuits and electronics. But we all started somewhere. I have this idea about a street sign that should be used as an instrument. All most like a Theremin. Touching it ...
1
vote
0answers
2k views

Detecting vehicle on parking spot

For a project we're working on we need to detect if a car is standing on a parking spot. We're using an ultrasonic sensor for this, SRF05. While using the correct timings we can only sense for about a ...
1
vote
0answers
207 views

MOSFET to be switched by a raspberry pi

My raspberry pi produces a 3.3V on it's GPIO. I want to buy a through hole MOSFET so I can simulate touch-events on a smartphone screen like this video. I'm trying to find something on Digi-Key, but I'...
1
vote
0answers
318 views

XBee module lockup/freeze

I am using Xbee series 2 modules to handle communications between my home automation modules. As my base station, I am using Raspberry PI with Xbee coordinator attached to it. It all seems to be ...
1
vote
0answers
361 views

What is the best way to take multiple near-simultaneous pictures from 6 cameras on a development board?

I thought I could use a powered usb hub, connect the 6 cameras to it, connect the hub to the raspberry pi and capture the images one after the other quickly using the motion package. But I can't find ...