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
180 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 ...
3
votes
0answers
2k views

How to fix RaspberryPi HDMI-DDC/CEC issue while keeping ESD protection?

The RaspberryPi (Type B, all revisions before B+) shows a more or less well known issue with the CEC/DDC of connected HDMI devices. When powered down CEC between the connected TV set and other devices ...
2
votes
0answers
161 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
442 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
1k 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
39 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
41 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
43 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
124 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
141 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
51 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
157 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
166 views

NiMH Smart Charging Circuit with Load-Share for Autonomous Robot

a couple of questions/issues for creating a NiMH smart charging circuit with load-sharing. Background I have a functional autonomous robot based on different MCU including Arduinos and a Raspberry ...
1
vote
0answers
325 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
93 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
125 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
186 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
156 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
163 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
331 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
100 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
66 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
363 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
179 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
55 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
161 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
262 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
481 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
829 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
526 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
288 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
193 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
149 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
699 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
242 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
69 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
206 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
306 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 ...
1
vote
0answers
1k views

Raspberry Pi with SMBus SmartBattery

I'm trying to interface a Raspberry Pi with the mini-box OpenUPS. It claims to implement the Smart Battery SMBus specifications. I can read data from the device using the i2c_smbus_read_word_data() ...
0
votes
0answers
27 views

DC biased sine generation using raspberry pi

I'm trying to make a sine wave generator using a Raspberry Pi. I need an sine wave(1Vpp) with user supplied frequency riding on a 4V DC bias. The SoX package seems useful to generate sine waves and ...
0
votes
0answers
56 views

Acquire a “TIC” signal from a power meter

I'm trying to acquire the tic signal of a french power meter. From the datasheet available here of the TIC signal we can find out that the signal is (page 7/38): 6 Vrms +/- 10% at 50 kHz It comes ...
0
votes
0answers
61 views

Component that returns GUID when connected to two pins of a microcontroller

I am looking for the name or concept of a component that can identify itself when connected to a micro-controller like the Raspberry Pi. The component would be embedded into an object, so it should ...
0
votes
0answers
28 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. ...