element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Personal Blogs
  • Community Hub
  • More
Personal Blogs
Legacy Personal Blogs 3b - Setting Up PiFace Digital
  • Blog
  • Documents
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: ge0rgej
  • Date Created: 31 Aug 2013 7:06 PM Date Created
  • Views 425 views
  • Likes 0 likes
  • Comments 0 comments
  • piface_digital
  • raspberry_pi
Related
Recommended

3b - Setting Up PiFace Digital

ge0rgej
ge0rgej
31 Aug 2013

image

 

Setting Up PiFace Digital

 

 

Assuming your Raspberry Pi is now setup with SSH enabled, has its own Static IP Address ... and is able to access the Internet,  we are now ready to install the PiFace Digital board, and start running a few Linux commands to get the PiFace software installed.

 

  • Ensuring that the power to the Raspberry Pi is OFF, carefully locate the PiFace socket with the Raspberry Pi GPIO pins and gently push into place,

 

  • Now power up the Raspberry Pi and PiFace and wait for the boot sequence to complete.

 

During this project you will be frequently performing Linux commands in the Terminal. If you want to do this in the comfort of your rocking chair via a laptop or other computer - now is as good a time as any to start getting used to using SSH to connect to your Raspberry Pi. If you are a Mac OSX user you can perform this task by using the Mac Terminal - if you are Windows user download and install Putty.

 

Providing you did not change the default username (pi) and password (raspberry) during the setup process, SSH into your Rasberry Pi by typing

 

ssh pi@192.168.xxx.xxx

 

(192.168.xxx.xxx being the static IP address you assigned to your Raspberry Pi during the setup process)

 

you will then be asked for your Password - type raspberry

 

you will then be taken to your Raspberry Pi's command prompt.

 

 


 

 

Piface Digital communicates with the Raspberry Pi using the SPI interface. The SPI interface driver is included in the NOOBS / Raspbian distribution that you previously setup when installing the Raspberry Pi - but is not enabled by default. To enable the driver we are going to use Nano (a command line text editor)

 

 

1 - In Linux Terminal, at the command prompt type :

 

   $ sudo nano etc/modprobe.d/raspi-blacklist.conf

 

      Hit return and scroll down to the line that reads

 

   blacklist spi-bcm2708


      insert a hash (#) at the start of the line

 

     #blacklist spi-bcm2708

 

      You now need to save the changes - Press Ctrl-X .... then Press Y .... Then Hit Return

 

 

Next on lthe list you need to install the PiFace Digital libraries and change the permissions of the SPI interface. The following install.txt script automates this process with the following commands.

 

 

2 - In Linux Terminal, at the command prompt type : $ sudo apt-get update


     Hit return and wait for the update process to complete

 

     When you are returned to the command prompt

     type : $ wget http://pi.cs.man.ac.uk/download/install.txt | bash

 

     Hit return and once the software has downloaded and completed installing and you returned to the

     command prompt

 

     type : $ sudo reboot


     ..... hit return and that is it.

 


 

 

In the next section we will start to explore the PiFace Digital board.

 

 

  

 

 

 


  • Sign in to reply
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube