The PiFace includes a relay (2 actually) the clicking sound you hear is the relay (the small black boxes) activating and deactivating. Inside the relay is a small metal arm that moves to make electrical contact. The clicking is normal. This video explains how a relay works.
Please be aware that telnet is not considered to be secure.
You need to run a telnet server on the Raspberry Pi. The following command will install and run a telnet server.
sudo apt-get install telnetd
You can then use telnet to login to the Pi, e.g.
$ telnet dick
Connected to dick.
Escape character is '^]'.
Raspbian GNU/Linux 8
The first 26 pins are the same between the old and new boards. So physically they should work. There are a few caveats to that however:
most 26 pin headers will not clear the extra pins on the newer B+ and Pi2.
The method used to enable I2C, spi and other kernel modules has changed.
the software (drivers etc.) may not work with the newer OS images.
As @Ghanima implied, I don't believe you need to check the url flat out - that's not great for all the other internet users either. Maybe once every 5mins would be enough. You could use something like
if time.time() > next_check
feed = feedparser.parse(url)
# etc. all the url stuff here
next_check = time.time() + 300
and carry on running the ...
I did manage to get this working, but only by cloning the project directly from github.
Even then I still had further problems relating to dependencies which were incorrect. The python code seems to reference a lirc module which doesn't seem to exist. I did find a pylirc module which I installed with apt-get install python-pylirc.
Ultimately I had to ...
I have just had the exact same problem and emailed support who told me the issue is to do with upstream packages and they are planning on getting it fixed. Please see the link below for a quick fix.
Edit the spi.py file in the referenced directory.
I know this will be a late reply. But this resolved my issues.
I had the same issue. It turns out (thanks to gam3t3ch ) that the later kernels for RPI3 uses an incompatible frequence for the SPI serial channel (basically it is higher than what PiFace Digital 2 can handle - lowering this makes the display work again,
You are using the variable pfr twice, so the first assignment gets lost. If you change your code to use different variable names like so:
pfr_motor = pifacerelayplus.PiFaceRelayPlus(pifacerelayplus.MOTOR_DC)
pfr_relay = pifacerelayplus.PiFaceRelayPlus(pifacerelayplus.RELAY)
should work. Similarly, if you want to do ...
The power supply you are using to plug the Raspberry Pi to the mains is probably unable to deliver the required power.
You don't say where in the world you are. In the UK, one of these should do the trick.
I'm guessing because in the answer to that other question, Octopus was working as root. You need privileges to edit sources.list, and this kind of thing:
sudo echo "whatever" >> /only/root/can/write/file
Won't work because of the >> redirection. The echo runs sudo, but the redirection is done by your shell, which does not. To get around this,...
I don't have a PiFace, but there is a PiFace_Get_Started.pdf (at least on the Element14 site). I don't think you will find a 3.3v connections, because inputs and outputs are 5v.
To connect a reed switch, connect from one of the input pins to the common pin.
Posting on this ancient question because it is still or again an issue with PiFace Control and Display boards purchased recently.
I had success with installing the python module using pip to install it straight from GutHub:
pip3 install git+https://github.com/piface/pifacecad.git
You'll need to install the pre-requisites ( git+https://github.com/piface/...