We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [wiringpi]

WiringPi is a C language library for accessing GPIO pins.

Filter by
Sorted by
Tagged with
0
votes
1answer
255 views

Unable to get input from RPi3 GPIO serial, crashes when using RX pin

I have a sensor which spits out information via serial and I am trying to receive that input on my Raspberry Pi 3 via the serial RX (BCM pin 15). I'm using the wiringPi library in a C++ program to ...
0
votes
0answers
151 views

wiringPiSetup() hangs system

My Pi user is a member of the group "gpio". I have a C++ programm calling "wiringPiSetup()". Whenever I forget to use sudo, my Pi is not reachable anymore and I have to do a power cycle. I know that I ...
0
votes
1answer
502 views

Rotary encoder is giving less PPR reading

I am testing 400 PPR(Pulses Per Revolution) rotary encoder using code.I am rotating it by using the hand. I have connected Phase A and Phase B and also, ground and Vcc properly. The code is giving ...
0
votes
1answer
586 views

wiring pi gpio - no output

On a standard Raspberry Pi Zero W, with Debian Jessie, I have no problem using the Wiring Pi GPIO command line utility. Wiring Pi was installed using git, following the Wiring Pi website's guide. Now,...
0
votes
2answers
555 views

WiringPi, PHP: Interrupt driven event counter

I am planning to set up an HTML-PHP website gui which opens up in Chromium Kiosk mode. I want the gui to count the number of falling edge interrupts and show the count on the GUI. I have achieved ...
0
votes
1answer
627 views

Wiringpi interrupts

If I make an interrupt and use a goto statement to go from the interrupt function to the main function will I start running into problems: with the flow of my program and with bugs. Will I start ...
0
votes
1answer
428 views

Does the run pin p6 pin 2 connect to ground

I already know that the run header resets the Pi. My question is does one of the pins lead directly to ground? I would like to use a common ground on the GPIO pins and connect it to the run pin 1. Is ...
0
votes
1answer
541 views

How to install wiringPi in Matlab Simulink for interface Raspberry Pi with ADC?

I like to use IC MCP3008 to change analogue signal to digital signal for Raspberry Pi interface with Matlab Simulink. But I getting the error missing file wiringPi.h and wiringPi.c. May I know how can ...
0
votes
1answer
403 views

DHT22 Temp sensor - first time connected very high readings

I have just connected a DHT22 sensor to my RPi3. I have a 10k resistor between the data line and the 3.3v. The readings i am getting when I run loldht are very high (Humidity 1100.8 % and Temp 614.4 *...
0
votes
0answers
113 views

Control 434 MHz US remote outlets without spoofing

I'm looking for hardware or a way to control remote outlets using my Pi, which are compatible to US-outlets and without using a spoofer to set it up. I tried to use Etekcity power outlets like ...
0
votes
1answer
584 views

Monitor data sent to 74HC595

I'm new to Python and Raspberry Pi, so please bear with me. I would like to intercept the bytes of data being sent to a 74HC595 switch register. GPIO pin 23 on my RPi is connected to the data pin of ...
0
votes
1answer
513 views

wiringPiSetup: mmap (PADS) failed: Cannot allocate memory

I've been trying to change the TLC5940NT library for Arduino that can be found here https://sites.google.com/site/artcfox/demystifying-the-tlc5940 so that I can use it on Raspberry Pi, but I keep ...
0
votes
1answer
155 views

Infinity cascade IO expand module [closed]

Has anybody used Infinity cascade IO expand module for Raspberry PI? Like the one described here http://www.bananapi.com/index.php/purchase/2-uncategorised/36-banana-pi-io-extend-board, but only red. ...
0
votes
3answers
1k views

Linking WiringPi library in CMakeLists

So, I have a C++ program that I've compiled with CMake and uses the OpenCV library which I'd like to integrate with wiringPi so I can use functions like digitalWrite(), digitalRead() etc... Before I ...
-1
votes
3answers
736 views

pwm fan on pin 18 help!

Can someone help me? I'm trying to control a fan using PWM and I cannot work out how to do it. This worked for a short amount of time and then stopped working. According to the docs, GPIO pin 18 ...
-1
votes
1answer
1k views

Serial Port & C Code

I have a sensor connected to an ODROID UART (Basically an RPi just a different name for the UART port) and using the WiringPi Serial library. I am able to echo/cat to the sensor via two terminal ...
-1
votes
2answers
3k views

using wiringPi and bcm2835

i am trying to make an aplication where i integrate rfid reader and an LCD, i have acomplished this by two different libraries, wiringPi for LCD and i found a library called rc522 for the rfid. and ...
-3
votes
2answers
76 views

Can somebody please tell me how to wire this?

I litterally cannot find it anywhere on how to wire this https://www.adafruit.com/product/2934 The only thing any of the pigrrl schematics show is connecting wires from b1,2,3,4 to pins on another ...