WiringPi is a C language library for accessing GPIO pins.

learn more… | top users | synonyms

0
votes
1answer
20 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 ...
0
votes
0answers
27 views

Receive 433mhz signals and save them to mysql database [on hold]

I want to listen to 433mhz commands in the background that I get from an arduino weather station, and save the received data to a db. I installed wiringPi and 433Utils and checked out RFSniffer but I ...
0
votes
2answers
32 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 ...
0
votes
1answer
49 views

BCM 2835 library vs WiringPi library

What is the best library of these two? What are deference of these two libraries?
0
votes
1answer
18 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 ...
1
vote
1answer
107 views

WiringPi: using interrupts with Python

I want my RaspberryPi to perform some actions when the light in a room is switched on or off. To do so, I connected a photocell to the GPIO pins. Previously, I used some python 3 program that queried ...
0
votes
1answer
49 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: ...
1
vote
0answers
40 views

GPIO23 (BCM) is busy when using /sys/class/gpio but I am able to use wiringPi pin 4 (GPIO23)

I'm having a bit of trouble accessing GPIO23 using /sys/class/gpio/. To clarify a few terms (according to the table on this page): Header pin 16 is BCM GPIO 23, which is wiringPi pin 4. Header pin ...
0
votes
1answer
67 views

How can I get an SPI ADC (MCP3002) on RPi2

I would be happy if you give me a advice or show me the sample code. One year before, I wrote a luminosity sensor application on my RPi model B in Ruby. Thanks to the this library I could make app ...
0
votes
1answer
329 views

How to run 2 servos with wiringpi2 on Raspberry pi 2

Hello I want to use 2 servo with different gpio pins. But Raspberry has one hardware pwm (GPIO 18). first of all I tried another pin to run servo and my code: wiringpi.pinMode(18,2) ...
4
votes
3answers
171 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 ...
0
votes
1answer
37 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. ...
2
votes
2answers
297 views

Can we determine the mode of a GPIO pin?

As I understand it, the mode of a GPIO pin can be INPUT or OUTPUT (and I think there may be other modes such as PWM and I2C). I believe that the mode of a pin is a global and that if two applications ...
1
vote
1answer
88 views

How do I access the Wii Nunchuck using WiringPi

The Wii nunchuck is an I2C accessible device and can be wired to the I2C pins of a Pi. How do I read the data from a Wii nunchuck in C using the WiringPi library?