Skip to main content

Questions tagged [wiring]

Items referring to physical wiring. For question to the wiringPi library use the tag wiringPi.

Filter by
Sorted by
Tagged with
1 vote
1 answer
587 views

Set up on Adafruit Motor Hat

I recently bought the Adafruit Stepper Motor Hat, installed the software as per the instructions, and while it works flawlessly when running the DC motor, it will only turn the stepper motor in one ...
Steve French's user avatar
1 vote
1 answer
1k views

Questions about wiring raspberry, l298n, SG90 and HC-SR04

I've finished testing and mounting my hc-sr04 and sg90 and now i have to connect everything, but have doubts and questions. Here are the diagrams that show what I am thinking to do: This one shows how ...
archer66's user avatar
1 vote
1 answer
381 views

Can I get some help wiring up this GPS unit?

I got a microstack gps as a gift, and I would like to do something with Unfortunately, I do not also have the micro-stack base board. I am looking at the Documentation for the microstack base board ...
j0h's user avatar
  • 2,483
0 votes
1 answer
2k views

Cannot get ultrasonic sensor HC-SR04 to work(maybe I broke it with wrong wiring?)

I am trying to measure distance with HC-SR04 and Raspberry Pi A+ using Python on Raspbian. So here is how it is connected: VCC - to the 5V Out from L289N motor driver GND - to GND on the L298N motor ...
archer66's user avatar
1 vote
1 answer
158 views

AdaFruit PiPlate(LCD+Keys) + PWM port + DS18B20 temp sensor

I would like to know if it is possible to use at the same time, the Adafruit LCD+Keys + the PWM port(to control a MOSFET) + one temperature sensor (DS18B20) and its oneWire protocol? I was concerned ...
J4N's user avatar
  • 293
0 votes
1 answer
2k views

wiringPiSetupSys - input pin state does not change

I try to port my GPIO project from quick2wire to WiringPi. My aim is to read the state of a photocell connected to pin 24 of my raspberry pi (model B, revision 2). My code (python 3) looks like this: ...
speendo's user avatar
  • 133
0 votes
2 answers
2k views

Is it possible to power 2 devices using a powerboost charger?

I am putting together a PiPhone but with slight mod to the power. Is it possible to use powerboost 1000 charger to achieve the following? power up rpi + pitft and the sim module, recharge battery ...
Sean Lee's user avatar
  • 180
2 votes
3 answers
17k views

How can I use a LCD display with a I2C adapter?

I'd like to try to communicate to a 16x2 LCD display, however whole docs I found assume I should connect the whole pin-out however I got some kind of I2C adapter from mjkdz.com which makes a 4 pin ...
diegoaguilar's user avatar
1 vote
1 answer
7k views

How to wire up a DHT11 temperature sensor

I'm a Raspberry Pi (and hardware) noob and am trying to hook up a DHT11 temperature and humidity sensor. I've found two separate guides, and I'm seeking advice as to which I should follow. This UU ...
Stephen Lead's user avatar
15 votes
5 answers
25k views

How can I wire this SD card reader to RaspberryPi?

I need to add a second SD card reader to my Raspberry Pi for the project www.samplerbox.org (the RPi will be embedded in a box, so I need a user-SD-card reader). Here is what I would like to use (it ...
Basj's user avatar
  • 792
1 vote
1 answer
2k views

Does SPI port work on Raspberry B+

I've been trying talk to a MCP3008 ADC from the Raspbeery Pi B+. There are loads of examples of this working out there but I don't seem to be able to configure the port. I've followed the various ...
David Ritchie's user avatar
0 votes
1 answer
522 views

Can I wire a relay AND a breadboard?

I'm looking at 2 projects, one is using relay to a garage door opener. The other is using reed switches to monitor door openings and closings. The relay goes to the GPIO, the reed switches go to a ...
wlraider70's user avatar
2 votes
2 answers
3k 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 ...
Jeff Lambert's user avatar
3 votes
0 answers
954 views

PWM-based controlling an LED-strip using transistors, circuitry problems [closed]

I know there are some similar questions out there, but I'm really new to electronics and unfortunately they didn't provide me help. I want to control a tricolor LED strip (being able to dim each of ...
user1841833's user avatar
3 votes
1 answer
10k views

WiringPi + softPwm calculation to determine duty cycle

For my project we got a pre-installed rpi with all the working libraries and an example program to set a servo in middle position. The info: in a period of 20ms (50hz) we need 1,5ms to set it to ...
Guinn's user avatar
  • 133
0 votes
1 answer
2k views

ws2801 Wiring Problem?

I recently purchased a 5m long strip of ws2801 leds. I've been trying in vain to get them to light up. During part of my troubleshooting I decided to confirm that I was getting power across the strip ...
qu1ckdry's user avatar
  • 103
1 vote
1 answer
2k views

wiringPi interrupt not working

this program is supposed to blink led when I press button, but the led start blinking with the start of program and never stop. button wired to gpio 17 and ground (0 in wiringPi map) led wired to ...
user avatar
2 votes
4 answers
2k views

Connecting RTC DS1037, Pin 5 already occupied

I think of adding a RTC Module to my Raspberry Pi. I found the following tutorial. http://www.forum-raspberrypi.de/Thread-tutorial-realtime-clock-rtc-ds1307-am-raspberry-pi-betreiben In general it's ...
Christoph Daum's user avatar
1 vote
1 answer
1k views

Stepper motor troubles

I've been trying to setup my stepper motor with my RPI according to this guide: http://www.raspberrypi-spy.co.uk/2012/07/stepper-motor-control-in-python/ However, nothing seems to be happening, have ...
OXp1845's user avatar
  • 111
0 votes
2 answers
1k views

The 'ACT' LED is not blinking and the CPU is overheating.

So i was working on a project in which I had to use an ADC. I used WiringPi's Python modules to do so. For testing the ADC, I attached a 100k pot to its input pin, supplied it about 20V but used the ...
rishi's user avatar
  • 11
2 votes
1 answer
2k views

Arcade buttons on GPIO, multiple buttons on the same ground pin

I have noticed that while hooking up arcade buttons to the GPIO set on the model b board that along with the joystick I should be able (by assigning certain GPIO pins to ground) to connect 7 other ...
Caritaspax's user avatar
1 vote
1 answer
58 views

Logic State non-responsive

I need the raspberry Pi to respond to some buttons. I'm writing this in Pure C, using the wiringPi library. As such, I thought it prudent to use the gpio utlitily to make sure my pins were sane ...
user1833028's user avatar
0 votes
2 answers
3k views

Most Secure way to Attach Wires to Header?

I am constructing a portable device (a tool the enhance the quality of life for a blind user) but, alas, because it is portable, it must be able to survive the slings and arrows of outrageous fortune. ...
user1833028's user avatar
0 votes
1 answer
238 views

How to use Slice of Pi kit for prototyping?

I have a Slice of Pi prototype board, but I'm somewhat confused as to how I'm supposed to use it. None of the pads in the prototype area seem to be connected. How am I supposed to wire stuff together ...
Cajunluke's user avatar
  • 115
2 votes
0 answers
845 views

How do I wire this PIR motion sensor? [closed]

Apologies if this is off-topic; I'm not sure where else to ask. I've tried working through Adafruit's lovely tutorial, but it appears that the component I'm working with (EKMC1603112) is not set up ...
Sean Allred's user avatar
2 votes
2 answers
2k views

Driving Bi-Color LEDs

I have some LEDs that are Bi-Color so if you make a circuit like this: [+]-----[LED]-----[-] you get one color, and if you do it the opposite: [-]-----[LED]-----[+] You get the other color. I am ...
FoamyGuy's user avatar
  • 469
3 votes
2 answers
10k views

Triggering a solenoid off GPIO

this solenoid is killing me! I have it connected to a GPIO pin, and I've tried running it both from that to 3.3v, and to GND. Either way, with Low or High written to the pin, respectively, it doesn'...
economistdolly's user avatar
12 votes
4 answers
13k views

12V device to a Raspberry Pi

For my school engineering project, I have a coin acceptor device which I would like to link to the Raspberry Pi. However the device requires 12V in power. I have an idea of what to do to power the ...
ChaoticPanda's user avatar
1 vote
1 answer
663 views

What are the Ground power ratings? - Connecting ground with motor controller

Basically, what are the ratings for the Ground GPIO pins? I guess nothing above 5 Volts and 1 Amp, but knowing what they are would be helpful (for a similar project I am planning to do when I have ...
Wilf's user avatar
  • 2,533
1 vote
1 answer
2k views

Voltage issues with my Raspberry Pi

I'm having some trouble driving LEDs from my Raspberry Pi, so I started poking around with my multimeter, and the voltages seem very wrong. Compared the the ground port, the 5V0 ports show 4.6 V, ...
Cajunluke's user avatar
  • 115
3 votes
0 answers
449 views

Can I use the TX pin as a normal GPIO output alongside serial communications on the UART? [closed]

I'm using the raspberry pi's UART to interface with a third-party radio. At startup, the radio reads its RX pin (the pi's TX pin) to determine which baud rate should be used. I'm using Gordon's ...
RocketLauncher's user avatar
9 votes
2 answers
25k views

i2cdetect doesn't catch ANY address. How can I tell if I2C working correctly?

I'm having difficulties interfacing the Raspberry Pi to basically any I2C sensor. I've gone through a lot of tutorials on how to get the I2C driver to work and my connections are correct. Still, ...
Ahmed Farid's user avatar
0 votes
1 answer
209 views

Where is my mistake?

I am trying to run a c program which will wait for me to hit a key on a 4x4 keypad and then display the number I have hit. The program I have bit runs but ends just as soon as I start it and I can't ...
Marmstrong's user avatar
1 vote
4 answers
716 views

Building a case for a server

I want to order a RasPi soon, because it is very interesting. Well, I informed me about the RasPi and now I know: I want definitly a RasPi. Now, I have a older case of a 3.5" external enclosure, ...
Christopher300's user avatar
2 votes
0 answers
2k views

Controlling a Servo motor [closed]

I am having trouble running a servo motor with raspberry pi Here is what I have done so far , I have gotten a servo motor (http://goo.gl/67AsF), I have powered it with a 5 volt power source from a ...
Gautam's user avatar
  • 121
3 votes
3 answers
1k views

Light Controller System Help - What should I use in my build to individually control multiple lights?

I am currently working on a project with my Raspberry Pi.... I would like to be able to control 5 different lights at the same time, but only one of the lights will be on at a time. In theory, I ...
Zero's user avatar
  • 933

1 2
3