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 & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • 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
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • 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 PI Face Digital 2 with real PWM
  • 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
  • State Not Answered
  • Replies 2 replies
  • Subscribers 676 subscribers
  • Views 683 views
  • Users 0 members are here
  • i2c
  • piface-digital
  • pwm
  • bus
  • raspberry-pi
  • servo_control
  • piface
Related

PI Face Digital 2 with real PWM

balearicdynamics
balearicdynamics over 10 years ago

It's just an idea and before trying to make tests i'd like to ask your vision.

 

The power of the PI Face Digital is that there are a certain number of elements, including a couple of good quality relays, ready to use. Then there is a missing component (as for what I think maybe really useful) that is a way to support PWM. As a matter of fact there is a soft PWM library in the specific Wire library but frankly I don't trust so much to trash 10% or more of the CPU to manage servos and PWM motors. Not only but the program should run to be sure that the PWM signal is kept at the desired frequency.

 

Based on these premises it is almost cheap and simple to make up to 6 PWM with a small board to connect to the PI Face Digital, consuming only 2 PINs of the board outputs. The point is that to control the PWM small circuit it is needed an I2C signal so my question is the following:

 

As it is possible to put more than one PI Face boards on a small bus, changing the PI Face board number last two bits (that is, the chip address signal of the I2C bus), why not to use one of the available bus connectors (that are well documented) to manage something different with the I2C protocol? Does is sounds correct ?

  • Sign in to reply
  • Cancel
  • clem57
    0 clem57 over 10 years ago

    Just my two cents worth alert. The Pi best feature was the arm is a powerful Linux computer with some real time interfacing available. But it does lake lack any DAC/ADC interfaces as well as PWM like on the Arduino. Arduino processor although not powerful to run Linux is a great real time environment. The only only ones to marry the two are the PCdruino V3 nano at a very reasonable cost.

    Clem

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • balearicdynamics
    0 balearicdynamics over 10 years ago in reply to clem57

    You say correct, it is a Linux machine (embedded) and these are just the differences with Arduino. One is NOT a processor but is a microcontroller so almost every pin includes a special feature aiming the designers to save as much components as possible. Vice Versa it is expected that on a linux machine, the GPIO goes to the board with the microcontroller, the one you mentioner or the chipkit pi or the same AVR328p. The point is the special case to match pwm with the specific, strongly PLC oriented features of the PiFace Digital.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • 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