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
0
votes
0answers
18 views

Electret MIC MAX4466 with ADC ADS1015 in python with rasberrypi 3

I have been trying to read the values from this mic https://www.adafruit.com/product/1063 with the this ADC https://www.adafruit.com/product/1083 in python. I am confused about the readings, because ...
0
votes
1answer
46 views

LEDs flicker when I move my circuit

I'm building an LED driver circuit, CD4504B and TLC5916 controlled by a Raspberry Pi: simulate this circuit – Schematic created using CircuitLab I'm finding that sometimes when I move the ...
0
votes
2answers
49 views

How to easily power multiple components with differing requirements?

I'm a long-term software developer who hasn't touched a soldering iron since Uni. I've been mulling an idea for a hardware project for some time, and have cajoled a raspberry pi into managing the ...
-2
votes
0answers
72 views

Can i build anti-jamming with arduino or raspberry-pi using machine learning? [on hold]

I work in a tracking services company, and I'm trying to understand jamming technology. And I had an idea to build some anti-jamming using arduino or raspberry pi. But i have no idea what it's the ...
1
vote
2answers
111 views

Writing commands to a microcontroller with a STM32f chip from python

Manual to the micro controller: https://drive.google.com/file/d/0B8PmY6nhQadKSVc5OE04c3ZJaFU/view?usp=sharing , where page 18-19 introduces the serial communication protocol. The micro controller on ...
0
votes
2answers
100 views

Correct way to control 12V relay from a Raspberry Pi

I am working on a project where I need to control a couple of relays from the GPIO header on a Raspberry Pi. I tried getting a PCB with the layout like the right version in the image below, but I ...
0
votes
1answer
31 views

MCP2515 wake up CAN device

I am using a CAN Bus shield for a raspberry pi which uses MCP2515. I want to wakeup the connected CAN device, send a message, and put it back to sleep. I am aware there is a sleep mode on CAN ...
1
vote
0answers
19 views

Off Statement of Relay Module [closed]

I am trying to control relay module with Pi. I wired the all cables perfectly with in 2 circuits with 3 modules. I am sure there is no sort or leak. But in the OFF statement, there are still 40V power ...
2
votes
3answers
782 views

Simple LED driver, transistor and GPIO

I'm trying to figure out how to create a driver for a led from the GPIO pins of the raspberry and a NPN 2N3904 transistor. I am currently following what seems to be a good sparkfun tutorial. On this ...
0
votes
1answer
50 views

SENT (Single edge nibble transmission) signal to analog signal conversion

I'm currently getting a SENT signal output feedback(IC MLX90367 used in the simple actuator) from an actuator. For closed loop control, I have to feed this signal back to the motor controller. ...
0
votes
0answers
16 views

Accessing Raspberry Pi JTAG randomly fail [migrated]

I am trying to debug Raspberry Pi 3B (rev 1.2) bare metal application using JTAG. I have no JTAG adapter so I am using another Raspberry Pi (3B rev 1.2) as JTAG adapter. I am using OpenOCD and it ...
-1
votes
2answers
95 views

Does 1200mAh Lipo battery will kill my circuit? help me to read the data sheet please!

I've found old arduinio project from Gitlab which runs the circuit with Lithium Ion Polymer Battery - 400mAh Unfortunately i wont be able find any Lip 400mAh in my country.Lucky enough i found one ...
1
vote
2answers
37 views

Using serial-input latches from Pi to drive 24V load (LEDs)

TL;DR: LEDs when 'on' are great, however, they're too bright when they should be 'off'. I'm trying to build a custom, large 7-segment LED display driven by a Raspberry Pi. I'm a coder so the bit ...
0
votes
2answers
95 views

Measure volt, amps, watt and kWh of an external 12 V DC system

I saw online some cheap hardware ~10$ that can measure volt, amps, watt and kWh and display the results on an LCD screen. I could buy and plug these on my 12 V solar panel system to monitor it. (5 of ...
3
votes
1answer
117 views

Raspberry Pi, too much load on GPIO

I'm a complete noob when it comes to electronic so if you feel the need to call me stupid for not figuring this out on my on, I wont be offended. I have searched Stack Exchange without finding an ...
0
votes
2answers
94 views

Why does this 5 V power supply work and the other one doesn't?

This is my first post here, I hope I'm in the correct area. This is my problem, I bought this circuit to receive caller ID over protocol DTMF. I have a few 5V power supplies here, (0.45A ,1A and 4....
0
votes
1answer
36 views

CAN Problems with MCP2515, MCP2561 and Rpi

I work with some devices which used STM32 MCU and MCP2561. Theses devices talks on a CAN Bus. Everything is ok. But when i plug a Raspberry Pi with a MCP2515(Spi) and a MCP2561. I see a lot of ...
0
votes
0answers
46 views

IC for audio amplification of 3W and 4Ohms 2 speakers with Raspberry Pi

I was using a PAM8403 amplifier with Raspberry Pi to run 3W 4Ohms 2 speakers but the sound is low. So I am thinking of building an amplifier circuit. Sound low means when I connected this to mobile ...
2
votes
1answer
47 views

Can I Use a Transformer to feed a Mains current to a RPI GPIO pin

I have a standard mains (240v) motion detector that activates an outdoors lamp. I want to notify my Raspberry Pi when the lamp is activated. My plan is to use a 240v to 3.3v transformer that I have ...
1
vote
0answers
27 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. ...
0
votes
2answers
84 views

Raspberry Pi Zero 12V Battery backup to 5V - do I need the resistor?

I found this diagram on the internet which seems to divide the voltage down to 5V and still be able to deliver 1A with the 7805 just like I want. It will use a 12V lead acid battery and a 12V IN ...
1
vote
1answer
47 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 (...
0
votes
2answers
61 views

3 to 8 line Decoder Not switching off LEDS

So i'm currently working with a SN74AHCT138N 3-8 line decoder and the whole point of this ciruit is to switch on and switch off a series of LEDS. I connected buttons to the inputs of the IC and LEDS ...
0
votes
1answer
54 views

Combining power input and USB data port for a Raspberry Pi Zero (W)

I am attempting to design some peripheral circuit around a Raspberry Pi Zero W for a portable project. It will be powered by a lithium battery. I want to bring out the USB port of the Pi; I also ...
2
votes
1answer
294 views

How to “listen” to existing circuit

I have a joystick that is connected to an arcade board. I would like to “listen” for movement on the joystick using a Raspberry Pi or similar. The joystick runs on 12V, and I would be using the ...
0
votes
1answer
122 views

Help me identify power issues with this PCB

I bought the following UPS module for my Raspberry Pi: Power Pack Pro The module kinda works, when I unplug the power cable, the module instantly switches to battery powered mode without restarting ...
0
votes
1answer
37 views

Custom charger with solar cell

I want to make kind of autonomous power supply for my RPi. So that I am planning to use 12V solar cell and batteries for this project. Also I will use Arduino to controll all of this stuff - to ...
0
votes
1answer
35 views

BLDC ESC Reverse Direction with MOSFETS

I have a basic hobby ESC connected to a motor, and the ESC inherently is unidirectional (without firmware changes, which I am trying to avoid). Is it possible to wire up 4 MOSFETS to two of the phases ...
0
votes
0answers
70 views

How make a pulse acquisition from an electrical meter directly into a raspberry pi?

I would like to acquire pulse informations from a french electrical meter. There is a picture of the outputs of this electrical meter. These pulses vary in frequency and after acquisition, we can ...
0
votes
1answer
32 views

Connecting a standalone temperature probe to a Raspberry Pi [closed]

I have a standalone temperature probe. I have also a raspberry pi. I would like to get the data from the temperature probe to the pi. I have thought about cutting the probe and using direct but ...
-1
votes
1answer
38 views

MOSFET switch, ATtiny10, Raspberry Pi

I had posted a question earlier but I was using a BJT at the time and the solution provided led me to use a MOSFET for my application instead. I switched to the FET but still unable to provide stable ...
0
votes
0answers
65 views

Mbus Optical readout of energy meter?

I have a Sharky 775 energy meter, that I would like to read data from periodically, either using an Arduino/ESP8266/ESP32 or a Raspberry Pi and gather/display data via MQTT. The datasheet and ...
1
vote
0answers
50 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 ...
0
votes
1answer
111 views

Calculate transistor collector and base resistors values for driving LED with GPIO

I try to learn how to use a transistor and how to calculate the necessary resistances. Here's what I calculate for the moment. I do not know at all if I left properly and if my equations are good. I ...
0
votes
2answers
79 views

Powering a servo with 9V battery and other questions

I'm working on a small project. I want to make an internet-connected dog food dispenser to attach to my dog's crate so I can dispatch a network command remotely to dispense it. I have a Raspberry Pi ...
0
votes
1answer
94 views

Transistor as a switch for 3A collector current

I am using: ATtiny10 w/ 10Ohm Resistor in series to drive Base of transistor Transistor is ZTX688B Vcc is 5V and 3A source Load is a Raspberry Pi connected to Collector simulate this circuit –...
0
votes
4answers
367 views

Voltage divider does not work with LM393 sound sensor

I have a sound sensor which I want to connect to a RaspberryPi. RaspberryPi input voltage on GPIO is 3.3V and this sound sensor output gives 5V. I've made voltage divider that looks like this: It ...
1
vote
1answer
52 views

Raspberry Pi 3 SPI speed and ADC sampling rate

I have been working on a project where I am collecting data from an AD8232 ECG sensor in my Raspberry Pi 3. The raw signal is so distorted and I am guessing I may have an issue with SPI speed and ...
1
vote
1answer
79 views

Inconsistent SPI communication between STM32F4 (Slave) and Raspberry Pi (Master)

I've been having a very specific issues with large SPI transaction and after few days of debugging and trying different approaches I haven't progressed anywhere. To briefly explain the system: Slave: ...
1
vote
0answers
42 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
2answers
64 views

Powering a 14v incandescent bulb with Raspberry Pi & Transistors

I am trying to drive 14V #73 incandescent wedge bulbs using a Raspberry PI and separate GPIO pins (which run at 3.3V), combined with transistors, to control them 100% electronically. I understand the ...
0
votes
0answers
33 views

adjustable voltage controlled current source with negative values

I have a MEMS mirror which can tilt based on the input current. The current can vary between -15mA to +15mA in order to change the angle of the mirror from -15 to +15 degree. Now, I need to have an ...
0
votes
1answer
46 views

Can I apply 12V intermittently to a 5V 28BYJ stepper motor?

As the title suggests, am I able to apply 12V to each winding of the 28BYJ (5V version) to increase the torque? I understand that it's not ideal as it will overheat, but it won't be running non-stop. ...
0
votes
0answers
24 views

Uln2003 stepper motor controller chip fried?

So I may have fried 6 boards and am a little unsure as to why. The apparatus is a rubiks cube solver. A quick Google search says the torque required to rotate a face is between 38mnm and 247mnm which ...
0
votes
3answers
83 views

Replace some LEDs with diodes in relay circuit

I need to know if I can replace the input LEDs (IN1, IN2, IN3, IN4) by a diode or resistor and if this can help me to reduce the voltage consumption generated by these LEDs. The circuit is a 4 relay ...
1
vote
1answer
31 views

Buck Converter and WS2812 LEDs

So to start off I am powering 70 LEDs through a 24V 6A power supply. The WS2812 LEDs require 5V operating voltage and about 50mA at their brightest setting (white light). I'm having this really ...
1
vote
0answers
68 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
3answers
80 views

Controling Mosfet by 3,3V Raspberry Pi GPIO Pin

So I'm currently working on a project where I need an IR camera with two IR Leds attached to it. The camera looks something like this: https://rads.stackoverflow.com/amzn/click/com/B01ICLLOZ8 These ...
2
votes
2answers
36 views

Power 9 IR LEDs 850 nm with a forward voltage of 1.7 V and forward current of 100mA

I am looking to power 9 IR LEDs 850 nm with a forward voltage of 1.7 V and current of 100mA. i want to make a circuit where i can use a small power supply or could I use the raspberry pi to power it? ...
1
vote
1answer
103 views

First time using a Raspberry 3B+ for 1.8v SPI BIOS flashing, I have some questions first

So this is the first time I'm attempting to flash a BIOS chip using a Raspberry Pi 3B+. I have the following items with me, a SOIC-8 clip, a Bi-Directional Logic Level Converter, and a Raspberry Pi ...