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

0
votes
1answer
30 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 ...
-1
votes
0answers
34 views

connection between raspberry n plc

I'm very new to this place and the Raspberry Pi. I have to do a project where I have to connect a PLC and the RPi and wanted to check whether the programming is working or not. I'm using a PM554-t-ETH ...
3
votes
1answer
330 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
46 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
29 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
13 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
10 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
187 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
100 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 ...
0
votes
1answer
92 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
38 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
122 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
44 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
799 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
113 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
39 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
150 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
82 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
182 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
31 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
51 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
49 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
78 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
31 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
46 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
113 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
68 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
109 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
74 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
41 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
41 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
116 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
493 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
263 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
804 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
340 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
630 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
747 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
299 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
93 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
552 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 ...
0
votes
0answers
236 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 ...
0
votes
1answer
121 views

Connecting RPi GPIO into a relay that draw high ampere

So straight to the problem I need to connect My RPi's GPIO to a (or some) relay(s) that consume around 30 - 60 Amps to fire up and RPi GPIO only give around 16 mA/Pin(Accroding to this). My question ...
1
vote
2answers
324 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 ...
4
votes
3answers
2k views

Powering a 3-12V water pump on raspberry pi

I've got a 3-12V water pump, a raspberry pi, a relay (5V 10A/120VAC, and a breadboard power supply supply 3V-5V. The questions are : Is it possible, to rspi to breadboard power supply usb, and a ...
1
vote
3answers
229 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 ...
0
votes
0answers
343 views

Powering 3.5 inch LCD screen and RPi with 7.4V Lithium Polymer Battery

I am attempting to create a portable Raspberry Pi. I am wondering how I would go about running the RPi and the LCD screen from the same battery. The screen draws about 6.5V. I have a 5V voltage ...
0
votes
2answers
4k views

Can I control this ESC/Brushless Motor with a Raspberry Pi and/or Arduino

My friend and I have been reading up on articles talking about controlling ESC/Brushless Motors from a Arduino or Raspberry Pi. Articles i've read give caution on the idea that controlling such ...