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 4 - Exploring PiFace Digital
  • 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: ge0rgej
  • Date Created: 1 Sep 2013 11:41 AM Date Created
  • Views 194 views
  • Likes 0 likes
  • Comments 0 comments
  • piface_digital
  • home_automation
  • raspberryp-pi
Related
Recommended

4 - Exploring PiFace Digital

ge0rgej
ge0rgej
1 Sep 2013

image

 

As we are getting close to connecting components and running code now is a good time to start understanding how the PiFace Digital board is put together and which elements we will be using in this project.

 

Digital Inputs

 

The inputs are the set of terminals located at bottom left on the circuit board and is where we will be connecting our float switches. The furthermost left terminal is Pin 0 - followed by Pins 1 to 7 (left to right). The furthermost right terminal is where our 0v connection will be made.

 

Digital Outputs

 

There are eight open collector outputs located at the top of the board, with corresponding LED's, but since we dont need to physically use these outputs I am not going to go into too much detail about their use in this project. What is important about these outputs is that the first two outputs (located on Pin 0 and Pin 1) are by default configured to also trigger the output changeover relays. You will see in later sections how we use Pin 0 and Pin 1 outputs to activate the changeover relays using Python code.

 

 

Output Changeover Relays

 

The two output changeover relays are located on the right hand side of the board (the middle and bottom sets of terminals), we will be using both of these relays 1) to activate our mains water solenoid and 2) to activate our pump. As you look at the three terminals on each block the top terminal is our normally closed contact (n/c) - the middle terminal is our common terminal (c) and the bottom terminal is our normally open contact (n/o).

 

If you dont understand the terminology being used here dont worry. The relays operate no differently to how light switches are operated in our homes. We just need to tell the relays what to do .... and when.image

 

 

Please note that the two output relays are only capable of switching voltages up to 20V (maximum) and loads up to 5A (maximum). In this project we will only be switching the 0v side of a 12V DC supply - with the load being limited to an external relay coil.image

 

 

Jumper Connections

 

You will note from the picture at the top of this section that there are seven jumpers located around the PiFace Digital board. We dont need to concern ourselves too much with the functions of these jumper settings as we dont need to change these in this project - however with that said, all seven jumpers do need to be in place as shown.

 


 

In the next section we will make a few connections, fire up the PiFace Digital Emulator and see how the PiFace operates with switches connected.

 

 


  • 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 © 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