element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Members
    Members
    • Benefits of Membership
    • Achievement Levels
    • Members Area
    • Personal Blogs
    • Feedback and Support
    • What's New on element14
  • Learn
    Learn
    • Learning Center
    • eBooks
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • Experts & Guidance
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Dev Tools
    • Manufacturers
    • Raspberry Pi
    • RoadTests & Reviews
    • Avnet Boards Community
    • Product Groups
  • 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
Personal Blogs
  • Members
  • More
Personal Blogs
Legacy Personal Blogs Getting started with PiFace
  • Blog
  • Documents
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Blog Post Actions
  • Subscribe by email
  • More
  • Cancel
  • Share
  • Subscribe by email
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: Former Member
  • Date Created: 27 Dec 2013 4:46 PM Date Created
  • Views 402 views
  • Likes 0 likes
  • Comments 1 comment
  • getting
  • started
  • piface
Related
Recommended

Getting started with PiFace

Former Member
Former Member
27 Dec 2013

I used to play with a Lego train set with BBC Basic on the BBC microcomputer 30 years ago and thought that I'd now like to do the same with the Raspberry Pi and the PiFace Digital interface. However, it all seems far more complicated than BBC Basic! I  connected everything up and followed the instructions in the PiFace Digital Guide. I typed:

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

and was presented with some sort of text editor, where I was told to add a # to the line blacklist/spi2708. However, there was no text there at all so I couldn't do this.

Instead I tried the alternative of loading the SPI driver by hand. The commands sud modprobe spi-bcm2708 seemed to load a succession of data and I proceeded as far as the sudo reboot instruction as requested. Thereafter I tried to start the PiFace emulator with the request  piface/scripts/piface-emulator, but was told that this didn't exist.

 

Assuming that I therefore did not have the PuiFace software installed I tried the instructions in the "install.txt" file (with sudo apt-get install .... etc.) but was told that this couldn't be done.

 

So! Can anyone one tell me what I need to do to get started?

 

Having failed, after another hour of trying, I decided to try Python instead. I followed the instructions on page 153 and 154 of theUser Guide  tofor  writing the  HelloWorld progarm, but, when I click on the RUN NOW option, or press F5, I get the message "Invalid Syntax". I've checked and double-checked, but I have written it EXACTLY AS IN THE BOOK.

 

What am I doing wrong?

  • Sign in to reply
  • videogame95
    videogame95 over 9 years ago

    go on to your terminal widow

    go into sudo raspi conf

    enable spi

    sudo apt-get update

    y

    sudo apt-get install upgrade

    yes or what ever comes up ?

    sudo reboot

     

    type in terminal window  sudo apt-get install python3-pifacedigital-emulator

    when load type y

    sudo reboot

    Then do the piface emulator will be on you desktop and will work I v'e  just done this again today and it work well

     

     

    kick on link below this will give you a lots of up to date code programmes etc.

    how to install piface etc.

    hope this works for you

    James Harris

     

    PiFace – PiFace Digital

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
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 © 2023 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