Comments on: PiFace on the Raspberry Pi – Problem Solved! https://photobyte.org/piface-on-the-raspberry-pi-problem-solved/ Freelance Technical Author, Illustrator & Photographer Sat, 20 Aug 2022 14:37:22 +0000 hourly 1 https://wordpress.org/?v=6.4.3 By: Bill https://photobyte.org/piface-on-the-raspberry-pi-problem-solved/#comment-389687 Sat, 20 Aug 2022 14:37:22 +0000 https://photobyte.org/?p=1720#comment-389687 In reply to Mike Richards.

Hi Mike
I am working headless and github will not allow me to access packages over internet even though I setup an account with username and password. Still at first base. I tried the installation from the piface site and although it appeared to work I cannot find piface directory.
thanks
Bill

]]>
By: Bill https://photobyte.org/piface-on-the-raspberry-pi-problem-solved/#comment-389436 Fri, 19 Aug 2022 16:26:11 +0000 https://photobyte.org/?p=1720#comment-389436 In reply to Mike Richards.

Thanks Mike
I will try instructions as advised
Bill

]]>
By: Mike Richards https://photobyte.org/piface-on-the-raspberry-pi-problem-solved/#comment-389333 Fri, 19 Aug 2022 08:56:08 +0000 https://photobyte.org/?p=1720#comment-389333 In reply to Mike Richards.

Hi again Bill,

I decided to go ahead and try running the Piface Digital 2 on a Pi4B. I used the manufacturer’s instructions and they worked perfectly so they must have corrected the problems that blighted the original release. I suggest you follow their instructions, here’s the link: PiFace Digital 2 installation

Regards,

Mike

]]>
By: Mike Richards https://photobyte.org/piface-on-the-raspberry-pi-problem-solved/#comment-389149 Thu, 18 Aug 2022 16:30:36 +0000 https://photobyte.org/?p=1720#comment-389149 In reply to Bill.

Hi Bill, What model Pi are you using? I’ve got a PiFace2 here so will set one up to make sure it works ok and let you know the details.

Regards,

Mike – G4WNC

]]>
By: Bill https://photobyte.org/piface-on-the-raspberry-pi-problem-solved/#comment-389111 Thu, 18 Aug 2022 13:57:20 +0000 https://photobyte.org/?p=1720#comment-389111 Hi Mike I have struggled to get my pifaced2 to work after updates. I will try your solution as from above it appears to be very successful. As I am a real beginner I hope you will excuse me if I appear to ask a couple of silly questions. Firstly are the updates now in place and what would I need to do to installpifaced2 package and secondaly at what point do I fit the pifaced2 board in the installation.thirdly does the emulator work
Thanks
Bill

]]>
By: Chazza https://photobyte.org/piface-on-the-raspberry-pi-problem-solved/#comment-157882 Thu, 07 Jan 2021 22:31:43 +0000 https://photobyte.org/?p=1720#comment-157882 Hi mike
Thank you for this post. Very useful. I have a piface digital 2.
I have purchased a Pi 4 and downloaded the latest OSI have followed all your instructions and installed python 3.7.3 as well
When I use Thorny it shows python 3.7.3 as the version I am using.
I am getting an error on line 2 which is the p.init()
The error given is
Traceback (most recent call last):
File “/home/pi/pifacetest.py”, line 2, in
p.init() # initialise the Piface board
File “/usr/local/lib/python3.7/dist-packages/pifacedigitalio/core.py”, line 166, in init
raise failed_boards[0]
File “/usr/local/lib/python3.7/dist-packages/pifacedigitalio/core.py”, line 162, in init
init_board)
File “/usr/local/lib/python3.7/dist-packages/pifacedigitalio/core.py”, line 82, in __init__
self.init_board()
File “/usr/local/lib/python3.7/dist-packages/pifacedigitalio/core.py”, line 107, in init_board
h=self.hardware_addr, b=self.bus, c=self.chip_select))
pifacedigitalio.core.NoPiFaceDigitalDetectedError: No PiFace Digital board detected (hardware_addr=0, bus=0, chip_select=0).

I am guessing this is something to do with the SPI speed. (SPI is enabled).
Might I ask you if you now what might be causing this and how to correct it please? I think it might be an SPI speed mismatch between the pi and the piface.
Thanks in advance

]]>
By: Anibal https://photobyte.org/piface-on-the-raspberry-pi-problem-solved/#comment-139695 Tue, 20 Oct 2020 19:09:13 +0000 https://photobyte.org/?p=1720#comment-139695 Hello Mike. Anibal here. With an (old) Piface and its old partner Raspberry Pi B+ (have a 4B too) everywhere have raspbian buster working fine. Should like to know if my piface is still alive so I tried for now with your directions THANK YOU VERY MUCH for them and for this page. In brief: wrote your instructions in a file and running got a “No module named pifacedigitalio”. A new run of sudo pip3 install pifacedigitalio yields a “Requirement already satisfied: pifacedigitalio in /usr/local/lib/python3.7/dist-packages (3.0.5) so I assume either a link or a different invocation for the library is advisable, though I don’t know which it should be. I tried python first though I use C and other languages ’cause I need a quick way to figure out if my piface can run or it’s already dead.
Thanks for your help.
LU5DWZ
Anibal (available on QRZ.com)

]]>
By: Mike Richards https://photobyte.org/piface-on-the-raspberry-pi-problem-solved/#comment-106366 Tue, 02 Jun 2020 11:25:08 +0000 https://photobyte.org/?p=1720#comment-106366 In reply to Loulli.

Thanks Loulli,

Glad to hear its working for you. Everyone needs to switch to python 3 and it’s a simple change.

]]>
By: Loulli https://photobyte.org/piface-on-the-raspberry-pi-problem-solved/#comment-106179 Mon, 01 Jun 2020 15:29:54 +0000 https://photobyte.org/?p=1720#comment-106179 Many thanks. Works fine with my PiFace Digital 1, Raspberry Pi 3, Raspberry Pi OS (kernel: v4.19). I just had to replace “python” by “python3.7” as used by Thonny Python IDE.

]]>
By: Mike Richards https://photobyte.org/piface-on-the-raspberry-pi-problem-solved/#comment-91532 Fri, 03 Apr 2020 14:13:57 +0000 https://photobyte.org/?p=1720#comment-91532 In reply to Gordon.

Hi Gordon,

Glad to hear it worked for you. Mike

]]>