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.

learn more… | top users | synonyms

3
votes
0answers
35 views

GPIO to hifi amplifier's trigger input (remote power on). Protection? Circuit?

I use my raspberry 1 B+ with a DAC board (like hifiberry) and volumio/moode audio distribution. The board is working as a pre-amp and it's connected to my hifi amplifier RCAs input, sending analog ...
0
votes
0answers
11 views

Running multiple Led's from GPIO pins [duplicate]

How can I run multiple Led's from few GPIO pins? I am building a smart home and I want to control lights in three rooms. I have already succeeded in controlling 3 led's from 3 GPIO pins. Can I control ...
0
votes
2answers
64 views

What happens if I put 3.9V into the GPIO Pin? [duplicate]

I have a sensor which gives an output of 3.9V when high and 0V when low. Perfect for the RPi, except is it? What happens if I put the 3.9V high signal directly into the GPIO and if bad things will ...
0
votes
1answer
29 views

4 way infrared sensor board interfacing with Raspberry

I wanted to expand my Raspberry Pi robot and bought 2x 4 way channel infrared boards with adjustable distance, but I didn't research if I would actually be able to connect these to the raspberry ...
1
vote
2answers
77 views

Can I use a relay board safely without an external power source?

This is question built purely on impatience. I've just got the Pi 3 and I'm still awaiting any components GPIO related to arrive in the mail, other than this relay shield. It matches the ...
0
votes
1answer
101 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 ...
0
votes
2answers
83 views

Raspberry Pi - TSL2561 Lightsensor

I have a Raspberry Pi 2+ . Now I want control a light sensor ( TSL2561 ) . I connected it to the following schedule : Where I connect the 3V to the 3V0 (not in the picture) and now to the VIN . ...
0
votes
2answers
53 views

Tips for keeping a motor in sync?

So I got this motor, and I need to be able to control its angle with a raspberry pi; its okay if there is a little inaccuracy, but I don't want it to lose precision over time. Any tips on how to ...
0
votes
1answer
47 views

Why do I need to connect servos to the ground of the battery and the ground of the RPi?

I'm trying to use two servos simultaneously and I've connected both servos to my battery pack which gives 6V (the servos require 6v). If I ground the servo only to the battery and I only use one of ...
3
votes
1answer
449 views

Common ground with 9V?

I'm new to pi's extending. I've a MB102 breadboard, coupled with a powersupply. I plugged a 9V power supply, and it's working (powersupply => resistor => led on). I'd like to interface some ...
0
votes
2answers
80 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 ...
0
votes
1answer
34 views

Why a resistance between signal and GPIO - External power source

I'm trying to power my servo from an external power source and control it with my Pi and I've found following circuit: http://razzpisampler.oreilly.com/images/rpck_1001.png Why is there a resistance ...
1
vote
0answers
15 views

IOT hacking electricity safety [duplicate]

Please, excuse me if this question is ill-suited here. I am new and in need of guidance. I am studying Internet-of-things and I'm keen on starting a first project. The tutorial I'm planning to ...
0
votes
0answers
11 views

Reuse old smartphone's screen as PI touch screen? [duplicate]

I have an old smartphone (Samsung Omnia 7) that is broken. I wonder if there any chance to disassemble it, extract the screen and plug my PI 2 on it. Any advise?
3
votes
4answers
305 views

How to read values from an clamp-on ammeter with an raspberry pi?

I want to use a clamp-on ammeter (like this one) to detect whether a table saw (230V) is switched on or not. The clamp-on ammeter is meant to be used with a volt meter and has an 1 mVAC / A output ...
2
votes
3answers
226 views

reverse engineering: Transcend digital photo frame display to Raspberry Pi

I have a Transcend [TS-PF705B] digital photo frame lying around with me for a while. And since the day i got this unit, i always gave a thought to do some thing with, like hooking it up with my ...
1
vote
1answer
148 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 ...
1
vote
0answers
44 views

Splitting mains power into individually-controllable circuits [closed]

Introduction My goal is to split a 1-gang mains power extension lead into three, have my Pi plugged into one of the ouputs and have it able to switch the other two using relays. (Incidentally, I ...
1
vote
2answers
275 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 ...
2
votes
1answer
53 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. ...
5
votes
5answers
841 views

Is there a component out there that can push a button i.e. will extend a rod about 1 inch and then retract it?

I'm basically trying to find something that can push a button for me. I want to be able to control it through code, just like you can with motors, LEDs etc.. via the GPIO on a Pi. I want it to extend ...
5
votes
2answers
157 views

Easy way to switch on and off of 12V DC current

I recently bought a compressor and now I want to be able to turn it on and off programmatically using my Raspberry Pi Model B. Since I know nothing about electronics, it seems like the safe option ...
2
votes
2answers
43 views

Is it safe to drive a current between a GPIO output at 0V (LOW) and the 3.3V supply?

Normally I would drive a current between a GPIO output at 3.3V (HIGH) and GND, for example to light a LED (with a resistor included of course). I am now wondering if it is safe to drive the current in ...
3
votes
1answer
220 views

Using WiringPi with Jasper (voice recognition)

I am using Jasper. The voice control part works, however the function I call when a certain word is said, does not. I'm trying to control a robot, sending high signals to certain pins on an L293D ...
2
votes
2answers
110 views

Using an L293D chip (to control a motor) with a separate power supply

I've got an L293D Motor Driver chip powered by 4.5v via some batteries and am trying to send high signals via the GPIO library in Python to control a motor, however this does not seem to work. My code ...
4
votes
1answer
320 views

Connecting a standard telephone through GPIO

I am wondering if you can interface a standard, RJ11 telephone through GPIO, and input an output through the phone, even using asterisk to connect to voip. The phone I have is a GE model number ...
1
vote
0answers
33 views

GPIO Wiring Check - Am I doing it right?

After almost frying my Pi with my last question, I thought I'd better ask if what I have seemingly working is ok and won't cause me any problems. I have a modern wireless doorbell that I am powering ...
2
votes
1answer
84 views

Not getting 3.3v from GPIO Pin

I hope this is the right place to ask this kind of question. I'm quite new to this, so I expect there is a simple explanation. Basically, I have a small electro magnet (the type from an old ...
1
vote
2answers
62 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 ...
0
votes
1answer
100 views

Controlling a Solenoid With GPIO Output Using a Transistor

I'm trying to control a solenoid using the RasPi 2's GPIO pins. Since the solenoid needs more power than the RasPi can provide, I'm using a 9V battery to provide the power. I started with just wiring ...
0
votes
0answers
40 views

How can I get a Raspberry Pi to monitor a large number of Switches and Relays?

I have a raspberry pi, and I a significant number of relays in my house that I want to monitor. How can I use the Raspberry pi to monitor these relays, I do know a bit of electronic knowledge and good ...
0
votes
2answers
49 views

Raspberry Pi jumper

This is a strange question, but I just want to see if it's possible. Basically, would I be able to safely connect the 3.3 or 5v cable to another GPIO pin as a sort of jumper? So for example, if if ...
0
votes
1answer
154 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 ...
1
vote
1answer
96 views

GPIO's firing every ~3 milliseconds

I'm currently building a project using adafruits arcade buttons, and seem to be having a bit of an electrical problem. Using a Raspberry Pi 2 , and after confirming that wires aren't touching in ...
1
vote
1answer
133 views

Trying to shortcircuit a computer motherboard pin with the Raspberry Pi

So I'm working on a project which requires me to compile the kernel of my desktop machine at the office. But I do a lot of work at home using SSH. As the kernel is very delicate, it causes a lot of ...
0
votes
2answers
100 views

Raspberry pi location detection [closed]

Id like to create a small "car" alike robot (4 wheels and steering via servo) that will travel around my house. Id like the robot to be able to go and charge itself when its batteries are low, I do ...
1
vote
0answers
44 views

I broke C13, is it serious doctor?

EDIT: I got a good answer on electronics SE, you can check it out here. While desoldering the GPIO, I accidentally broke the capacitor C13 of my raspberry pi model B (2011.12 Rev7). It is the ...
0
votes
1answer
47 views

How to create DYI female jumper cables from male cables?

I just got a elctronics for Arduino/Raspberry Pi. The problem is that all the jumper cables included are male to male. I know I could easily just buy more cables, but I'm wondering if any of you know ...
0
votes
1answer
149 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 ...
2
votes
1answer
709 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 ...
4
votes
2answers
302 views

Cannot open 12V Solenoid Valve

I am a beginner in DIY electronics, and I am attempting to control a 12V Solenoid valve from a Pi B2 connected to a 12V Battery and WiringPi Pin 1. I am using a 1kOhm Resistor between the gpio pin ...
3
votes
1answer
1k views

Do I need a current limiting resistor in series with a magnetic door sensor?

I'm building an alarm system and I'm using a magnetic door sensor, conected to ground and a pin of the gpio set up with an internal pull-up resistor. As far as I know, this means that the pin will be ...
1
vote
1answer
414 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
2answers
787 views

Simple DC Solenoid Valve Circuit, How to size components?

I'm trying to build a circuit controlled by a 3.3V GPIO pin on a raspberry pi to open / close a 12VDC Solenoid Valve. Part of me feels I'm in over my head and I should back away slowly, but hopefully ...
0
votes
1answer
1k views

Controlling a brushed motor ESC from the Raspberry Pi

I've tried solutions from similar problems, but none of them gave me any usable results. I'm trying to control those http://www.ebay.com/itm/311177661450 electronic speed controls (ESCs) with ...
2
votes
3answers
1k views

I am getting ghosting/bouncing on my digital input

I am meassuring data pulses from my electrical meter, giving me one pulse per Watt used. I have 4 electrical meters connected to my Raspberry Pi model B. I have connected them directly like this (no ...
1
vote
1answer
339 views

Simple solenoid valve control troubleshooting

I should mention that I am trained in biochemistry with a basic college-level physics background, but with no background in DIY electronics. I'm trying to make my Raspberry Pi control a simple valve. ...
2
votes
2answers
95 views

Is there a display that can be turned on/off via a Pi?

I have seen many small displays that work with the Pi, however I am wondering if any of them can be turned completely on/off via the Pi. If so, what should I look for? many are GPIO based (especially ...
4
votes
4answers
668 views

How can I combine many inputs on one pin?

Forgive my naivety but I seem to lack a vocabulary for the whole electronics domain... I'm interested in building something to measure wind direction. Inspired by this design I would like to build a ...
1
vote
1answer
1k 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 ...