Questions tagged [electronics]

Use this tag for questions related to how to use control electronics from the Raspberry Pi, and how to control the Raspberry Pi from electronics.

Filter by
Sorted by
Tagged with
2
votes
2answers
7k views

How to measure DC current RPi?

I have recently bought a Raspberry Pi, and I would like to be able to measure the current flowing through the circuit in our Greenpower electric racing car. It would also be useful to record this for ...
2
votes
1answer
2k views

Run model train with RPi [closed]

I am trying to figure out how to run my model HO scale train using my Raspberry Pi. While I have found videos on YouTube of people operating their model via RPi, I can't find any way to do it myself. ...
2
votes
1answer
63 views

i2c-bus electrically damaged due to wrong wiring

In a hurry I mistakenly connected the VCC of the Bmp280 to ground and the ground of the Bmp280 to 5V. Afterwards, I checked the i2c-bus with another sensor but i2cdetect -y 1 only reported --. Q How ...
2
votes
2answers
1k views

Control several motors using Raspberry Pi : What kind of interface?

I'm setting up a small personal project, in which I need to control several motors (1-12), being able to set independently the speed (rpm), and direction of each motor (even changing direction ...
2
votes
1answer
772 views

How to start making and designing a raspberry pi “shield” [closed]

I would like to design a "shield" (arduino terminology) that will sit on top of the pi connected to the GPIO pins, although I have no idea how I should go about starting the design et.c Does anyone ...
2
votes
1answer
3k views

Cheap USB powered hub to work with the pi without backfeeding

I am trying to build a 3D printer farm with the pi, and I need a large USB hub. I found this hub. But don't know how to evaluate if its any good. Has anyone tried something like this? Do you have a 7+...
2
votes
1answer
111 views

Circuit complete near high voltage machine

I'm using raspberry pi 3b to collect data from industrial machine for IoT project. We can collect data without any problem from customer's old machines by manually installing magnetic sensors. ...
2
votes
1answer
5k views

How to connect a 12V Solenoid electric door lock to a Raspberry Pi?

I would like to create a lock that can be operated via Wi-Fi. To do this I decided to connect the following 12V solenoid electric door lock to a Raspberry Pi. However, I am not sure of the correct ...
2
votes
2answers
10k views

Connection guide for GT-511C3 Fingerprint Scanner and Raspberry Pi 2 Model B

I have a Fingerprint Scanner - TTL (GT-511C3) and I want to connect that with Raspberry Pi 2 Model B, through GPIO. I have referred this website, to understand what input will go for different pins ...
2
votes
1answer
898 views

GPIO HW PWM @ 143Hz and 20-80% duty cycle, with WiringPi's gpio utility

I've tried to find the solution from other threads but they all seem to miss the point to a certain degree, usually going into kHz and MHz, or into the SW GPIO territory that I don't need. I have a ...
2
votes
1answer
3k views

SPI communication with the MCP3008 in C

I am using SPI communication with between a Model B+ and an external ADC of 10 bit resolution, the MCP3008. I have wired it with accordance to the data sheet. I am also using the bcm2835 library and ...
2
votes
1answer
8k views

Raspberry PI as intercom?

I am currently looking for a way to connect an intercom to the raspberry pi, at the moment, the intercom wires are connected to a regular telefphone ( only two wires needed ), when someone dials the ...
2
votes
3answers
2k views

Capacitor C6 dislodged

I managed to break the C6 capacitor on Raspberry Pi Model B. Its the 220uF 16V EE6 capacitor. Nobody seems to have such low capacitance, low voltage capacitor (the least I can find is 220uF and 60V). ...
2
votes
1answer
116 views

L298N not working anymore

This is an image of how I had it routed up, it was working just fine until I attempted to add a rocker switch. I used the 2 pin on/off rocker switch that came with my smart car kit (https://www.ebay....
2
votes
1answer
309 views

Making a plug and play setup for devices connecting to the Pi

Hopefully I am asking in the right place, being electrical and code, not sure. In short, I want to create a plug and play setup for different devices(mostly sensors and relays) to be attached. ...
2
votes
1answer
1k views

433MHz receiver, flickering LED/signal, how to wire up correctly?

I've just bought a 433Mhz digital transmitter/receiver set and tried to wire them up using the pi. Unfortunately my electronic skills are very basic and now my receiver gives me a "pulsing" signal (...
2
votes
1answer
122 views

Is it okay to operate relay boards with less than voltage specified?

I was watching this video where the user explains that he is using Raspberry Pi to trigger the relay board, which requires 5v. But he says it's okay do it with the 3.2V that's from GPIO. Does doing ...
2
votes
0answers
135 views

Raspberry Pi as a Hi-Fi component

After reading the following post, I was wondering if I could achieve something similar with my own setup. I do own an old Technics SL505. However the nasty part of this setup is that each components ...
2
votes
0answers
378 views

Can I control 5050 RGB Strips with the Raspberry pi?

I have purchased 5 meters of a 5050 RGB Strip yesterday. I bought it for my PC case, but of course I don't want to use 5 meters in my case. I want to do some smart lighting in my room and a bias ...
2
votes
1answer
1k views

pull up resistors from rpi-gpio.js

I want to use the internall pull down resistor. In python the setup method accepts a parameter for that, like: GPIO.setup(18, GPIO.IN, pull_up_down=GPIO.PUD_UP) according the rpi-gpio.js ...
2
votes
0answers
333 views

USB devices gets new ttyU* while still attached raspberry pi 2

Conditions: I use RP2 for data collection purposes and i am testing its limits. I use it next to diesel engine and its alternator.(I know pi is not for industrial use and this is a prototype.) There ...
2
votes
1answer
547 views

GPIO pin PULL_DOWN would

I have set up a Arduino to send a 3.3V signal to my RPi if an object is detected in front of the UltraSonic sensor. I have measured the signal at 3.26V. But it does not work. Since the signal from ...
1
vote
3answers
114 views

Can a relay be on for 16 hours continuously?

A part of my engineering project involves a L.E.D tubelight staying on for 16 hours continuously. I am connecting the light to a relay module. Is it ok, if the relay stays on for so long? I mean, is ...
1
vote
3answers
140 views

How to electrically discharge myself before touching the Rpi? [closed]

I have seen here that I should discharge myself electrically before touching the RPi? The presenter suggests a bare metal water pipe. I don't have this at hand. Are there other ways I can discharge ...
1
vote
2answers
81 views

Calculating wiring and properties of a resistor for use with a pushbutton

Raspberry Pi 1 Model A here. I am planning on using this pushbutton in a hobby project that is very similar to this CamJam EduKit project. In that CamJam project link, on page 2, I see a simple ...
1
vote
1answer
374 views

Can I connect 5V to an OUTPUT GPIO pin?

I realize I can't put 5V in to an input pin, but I have a pin I'm going to configure as an output, which will be wired to one side of a normally open switch. The switch has 5V across it, so I just ...
1
vote
2answers
625 views

Is it possible to control DC motors without an Integrated Circuit chip?

I am working on a robot on a tight budget, I've been a bit daft as I made the DC motors go forwards and can't go backwards. So I looked at tutorials on-line and all of them suggest that you can't do ...
1
vote
2answers
1k views

Two servos connected causes shaking

I have two servos which I want to control from my RPi. My problem is that the servos start shaking if I use them both. Both servos are connected to the +5V pin and to the ground of the Pi. So I have ...
1
vote
2answers
814 views

My 3V relay doesn't work on GPIO but works on 5V pin with resistor

Ok, I have this awkward situation. I have a 3V relay that I need to implement in my project. When I connect it to a 5V pin on RPi, everything's working fine, I can hear the coil opening and current ...
1
vote
1answer
136 views

Is it harmful to write to a GPIO pin when there is nothing hooked up?

Is it possible to harm the Raspberry Pi by writing to a GPIO pin through software when there is nothing hooked up? From what I understand, this should not do any damage, but I want to make sure.
1
vote
2answers
47 views

What's wrong with my current calculation for an LED panel?

I am trying to understand how much current is required for one LED matrix panel, however, I don't quite understand it in general. Take this panel as an example. This is an 64x32 LED matrix, and its ...
1
vote
1answer
51 views

Controlling electromagnets in clock display

I have an electromechanical 7-segment clock display with each segment controlled by an electromagnet. A segment is 'on' depending on the polarity of the last pulse to its electromagnet. Can anyone ...
1
vote
1answer
1k views

Recording landline phone calls

My cell phone is recording all phone calls (using Automatical Call Recorder on Android) and this has helped me a lot of times (both because I didn't hear something very clearly or as evidence for ...
1
vote
1answer
2k views

12v+ on Raspberry Pi Ground Pin

I am currently working on a project that requires a 12V RGB led strip controller. basically this is the controller: Please note that I am using a raspberry pi 2 and that the pins in this diagram does ...
1
vote
2answers
2k views

Dimmer - How synchronize PWM with 230V power supply?

I need your's help with dimmer which is controlled by Raspberry PWM. My problem is lack of synchronization PWM with power supply. Unfortunately , I don't have oscilloscope waveforms to show my problem,...
1
vote
2answers
912 views

Limiting GPIO input voltage

I am a very recent new Pi owner and am setting up to build a 'lab board', with a breakout breadboard for the GPIO pins. I have read a great many dire warnings about frying the Pi if I accidentally ...
1
vote
1answer
728 views

MCP3008 returns sinusoidal values

Alright, I have to start off with the fact I'm a n00b. So there's a good chance I'm screwing something up. I've got an MCP3008 10-bit ADC hooked up to my Raspberry Pi B+ via a Cobbler. Here are the ...
1
vote
4answers
325 views

Plant watering installation

I'm building a device, which can water my plant after certain input. The whole problem I've got is connecting a water pump to RSPI - I more or less understand that I need a relay, but is it possible ...
1
vote
2answers
224 views

Need help with (ambitious?) project

I gave up on using my Pi as a VPN'd NAS, since the CPU is too slow to handle OpenVPN (see here Low bandwidth internet over VPN). So I want to set it up to do (all of) the following: Control a light ...
1
vote
1answer
43 views

AC Current sensing giving low readings (SCT013)

So now that I feel comfortable with using ADCs, I am attempting to measure the AC current with the SCT013 clamp with AC current sensor. Setup: I clamp the SCT013 around the HOT wire of a table lamp ...
1
vote
1answer
48 views

Can you directly connect two Rasberry Pis via GPIO?

My usecase is as such - I've got 2 RasPi Zeros, one of which is acting as an input for a USB device. I'd then want to forward some data via GPIO to the second one, which acts as a USB device connected ...
1
vote
1answer
39 views

control mecanno 4.7v motor with pi

I am trying to build an RC car and in order to make it work I want to control the motor with my pi.. The motor is Meccano Part #D469, a 4.7v motor. If I have this: https://www.ebay.com/itm/Adafruit-...
1
vote
1answer
828 views

How to wire an HC-SR04 without a breadboard?

I have a Raspberry Pi and a HC-SR04 integrated circuit for measuring distance. I have found many resources for how to connect the HC-SR04 to the GPIO of the Raspberry Pi, but because the HC-SR04 ...
1
vote
2answers
968 views

Power Raspberry Pi using two 3.7v Lipo batteries

I was having trouble while booting up my Raspberry Pi powered by LiPo batteries. Ignore the components inside the blue circle I am just connecting the batteries, the darlington transistor and the ...
1
vote
2answers
91 views

RPi 1 Model A input/output pin ratings

RPi 1 Model A here. Brand new to RPi and electronics in general. I'm finding a hard time finding the exact voltage/current "ratings" for my model but the closest I could find was a comment under this ...
1
vote
1answer
42 views

Raspberry Pi 1 Model A and peripheral component compatibility

I have a Raspberry Pi 1 Model A and have a simple hobby project I'm tinkering with. I will have two pushbuttons (PB1 and PB2 respectively) wired to the GPIO pins, as well as a buzzer and an LED. The ...
1
vote
2answers
63 views

What motor controller to use for this setup?

I'd like to run two unipolar stepper motors at 6V 1.2A each and two geared dc motors at 9W 1.2A each simultaneously on the same motor controller. What options are there for this particular setup, and ...
1
vote
1answer
222 views

I'm not sure how to ground the L293D Motor setup I'm using

According to Texas Instruments, the L293D has the following setup Enable 1, 2 Driver Channels (5V) [ u ] Chip Power (5V) Driver Input 1 [ ] Driver Input 4 ...
1
vote
1answer
286 views

Read 1.5v from motor

I want to detect when an air conditioner is blowing. I placed a PC fan in front of the unit and when it's running, the motor in the fan will generate about a 1.5v output. How do I detect that with a ...
1
vote
1answer
893 views

Audible humming when using USB-powered speakers on the RPi

I've built up a little stereo speaker system with USB-powered speakers(just powerd by USB, sound still comes from the 3.5mm jack) and the RPi 3. When I use the speakers on a seperate outlet everything ...