Questions tagged [piface]
PiFace is a series of expansion boards available for the RPi.
17
questions
0
votes
0
answers
71
views
importing cv2 error
Hey i have working on 2Rpi One is working fine but the other one is giving me this error.
ImportError: /home/pi/.local/lib/python3.7/site-packages/cv2/cv2.cpython-37m-arm-linux-gnueabihf.so: undefined ...
1
vote
1
answer
240
views
Is PiFace Digital 2 compatible with Raspberry Pi Zero W rev 1.1?
Can anybody definitively say if the "PiFace Digital 2" is compatible with the "Raspberry Pi Zero W rev 1.1" or not ?
I cannot find any Information on the web - besides a mention in ...
0
votes
0
answers
138
views
PiFace Digital2 and LED display
I'm building a home alarm system with Raspberry Pi 3 B+ and the PiFace Digital 2 board.
I will have used all 8 inputs, and maybe 4 outputs.
Now, my question is, If I would like to connect a 16x2 ...
0
votes
0
answers
27
views
pifacecad file or directory not found
The pi itself works. Pifacecad was installed using the Farnell setup pages and seemed to be accepted. However when testing the sysinfo.py file it reported that the file or directory could not be ...
0
votes
0
answers
106
views
Raspberry Pi piface pi4j java
I am new to Raspberry Pi and am trying to use pi4j library to run one of the java samples of pi4j provided. When I issue gpio commandline on my pi, I am able to set the output high or low on the ...
0
votes
2
answers
386
views
Failed to initialize PiFace Relay+
When trying to initialize the Piface Relay+ with:
pfr = pifacerelayplus.PiFaceRelayPlus(pifacerelayplus.RELAY)
I get these errors:
Traceback (most recent call last):
File "/home/pi/Documents/...
0
votes
1
answer
2k
views
PiFace Digital 2 and Raspberry Pi 3
I have a PiFace Digital 2 and a Pi i 3 with the latest Debian and Pixel installed. My first question is, is the PiFace digital 2 compatible with the Pi 3? From what I can tell they are.
Secondly, I ...
0
votes
1
answer
358
views
How to combine Piface Relays + and Motor Control
I have a Raspberry, a relay plus and a motor control.
In python, I'm not able to address the both instructions at the same time.
I use : pfr ton initialize :
#Now initialise your Relay+.
pfr = ...
2
votes
1
answer
2k
views
Control PiFace via telnet
I am using Raspberry Pi with PiFace as automation device. I have some python scripts which control PiFace in Raspberry. I need run the scripts remotely from Windows PC and I have to use Telnet... So ...
1
vote
1
answer
1k
views
Sensing soil moisture levels with the RPI - ADC/GPIO & ADC/USB solutions anyone?
I bought a 'Soil Moisture Sensor' like this https://www.tiagoespinha.net/wp-content/uploads/2014/05/2014-05-09-12.51.20.jpg from ebay, and it turns out it's really nothing of the sort (just a ...
1
vote
1
answer
63
views
Cause of PiFace Output LED Noise
So I've got some code that looks like this:
import pifacedigitalio as p
import time
p.init()
while True:
p.digital_write(0, 1)
time.sleep(0.1)
p.digital_write(1, 0)
time.sleep(0.1)
...
1
vote
1
answer
79
views
My Pi shorts every time I run my program. [PiFace]
Every time I press a button on the wiimote controlling my robot (Rover 5 with PiFace), the pi restarts. My code is as follows:
import cwiid
import time
import pifacedigitalio as pfio
pfio.init()
...
0
votes
1
answer
210
views
How do i install pifacecad?
I have tried the work found here, but the line below gives me errors, when I run sudo apt-get update.
echo "deb http://archive.raspberrypi.org/debian/ wheezy main" >> /etc/apt/sources.list
...
2
votes
1
answer
97
views
Are RPi peripherals from version 1 compatible with RPi B?
I have some original Raspberry Pi devices that I want to use with the RPi B version. Are old Raspberry Pi Shields compatible with the new Raspberry pi?
Specifically, I have an Xtrinsic MEMS Sensor ...
1
vote
1
answer
1k
views
Raspberry Pi Freezes after running Python script for a few hours
I am using the Pi to check for any weather statements and if it sees a tornado warning it uses a PiFace to set off an alarm. Program is in continuous loop but the problem is raspberry pi freezing ...
0
votes
1
answer
279
views
Which pins on a PiFace are positive/negative/ground?
I am brand new to electronics, and have found it to be very difficult to find any documentation on the PiFace that is geared for noobs
I have a schematic for a reed switch to connect to an Raspberry ...
2
votes
2
answers
3k
views
How do I install the piFace Control & Display
I bought one of these (PiFace Control & Display) and according to the online instructions here, it says to run:
apt-get install python3-pifacecad
but when I do that I get:
Reading package lists....