element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • 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
Raspberry Pi
  • Products
  • More
Raspberry Pi
Raspberry Pi Forum PiFace 2
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Raspberry Pi to participate - click to join for free!
Featured Articles
Announcing Pi
Technical Specifications
Raspberry Pi FAQs
Win a Pi
Raspberry Pi Wishlist
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 3 replies
  • Subscribers 665 subscribers
  • Views 831 views
  • Users 0 members are here
  • piface 2
  • raspberry_pi
Related

PiFace 2

maxx13
maxx13 over 6 years ago

Can not start emulator. Tried the editor to #blacklist-bcm2708 but the editor comes up with a blank screen. blink.py works okay.

Have looked and tried a lot of things. Emulator says can't detect pifacedigitalio.

  • Sign in to reply
  • Cancel
Parents
  • jomoenginer
    jomoenginer over 6 years ago

    Please post the error message you are seeing when you run the emulator, or show the last part of the output of 'dmesg'.   You can check '/var/log/messages' for any errors that may prevent from seeing the Digital I/O 2 board.

     

    I'm guessing you have gone through the pages at the following link:

    https://pifacedigitalio.readthedocs.io/

     

    You may try the Web Control option shown here:

    https://pifacedigitalio.readthedocs.io/simplewebcontrol.html

     

    Ensure SPI is enabled on your RasPi.

    cat /boot/config.txt |grep spi
    dtparam=spi=on

     

    If this is not found in your config.txt, use 'raspi-config' to enable it.

     

    You should see 2 SPI devices configured if enabled.

    ls /dev/*spi*
    /dev/spidev0.0  /dev/spidev0.1

     

     

    Check the jumper setting on your Digital I/O 2. Both jumpers should be at the '0' position for address 0.

     

    How are you viewing the Emulator tool?

    You may have to try another GL driver which can be set from the Advanced area of 'raspi-config'.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • maxx13
    maxx13 over 6 years ago in reply to jomoenginer

    pifacedigitalio.core.addrNoPiFaceDigitalDetectedError: No PiFace Digital board deteced (hardware_addr=0, bus=0, chip_select=0).

    Ensure SPI Yes this was correct

    2 SPI Yes this was correct

    Checked jumpers

    E: Unable to locate package python3-piface

    digital-emulator command not found

    This is a different computer than the one I run on piface2 it does not have email service working on it.

    Have photos of screen errors but don't know to send them yet.

    Thanks

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • maxx13
    maxx13 over 6 years ago in reply to jomoenginer

    pifacedigitalio.core.addrNoPiFaceDigitalDetectedError: No PiFace Digital board deteced (hardware_addr=0, bus=0, chip_select=0).

    Ensure SPI Yes this was correct

    2 SPI Yes this was correct

    Checked jumpers

    E: Unable to locate package python3-piface

    digital-emulator command not found

    This is a different computer than the one I run on piface2 it does not have email service working on it.

    Have photos of screen errors but don't know to send them yet.

    Thanks

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
  • jomoenginer
    jomoenginer over 6 years ago in reply to maxx13

    Ensure you have the piface software installed for python 3

     

    Unable to locate package python3-pifacedigital-emulator on rpi stretch

     

    https://github.com/piface/pifacedigitalio/issues/35

     

    For the Emulator not detecting the PiFace Digital 2, you may have to change the speed of the SPI device.

    https://github.com/piface/pifacedigitalio/issues/36

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