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 PWM on Raspberry Pi
  • 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 2 replies
  • Subscribers 677 subscribers
  • Views 318 views
  • Users 0 members are here
  • raspberry_pi
Related

PWM on Raspberry Pi

Former Member
Former Member over 12 years ago

Hallo,

 

ich überlege den Raspberry PI für Steuerzweke eines Gerätes zu nutzen. Weiss jemand wie ist der kleinste Wert (Breite) des PWM Pulses bei diesem SOC ( bzw. wo finde ich diesen Wert )?

Ist es möglich gleichzeitig den Raspberry PI auf den ausgeführten GPIO für 2 voneinander unabhängige  PWM Ausgänge zu konfigurieren ?

 

Vielen Dank

 

Zbig

  • Sign in to reply
  • Cancel
  • guzunty
    guzunty over 12 years ago

    Zbig Wittmann wrote:

     

    Hallo,

     

    I think about the Raspberry PI Steuerzweke to use for a device. Does anyone know what is the smallest value (width) of the PWM pulse in this SOC (or where can I find this value)?

     

    Is it possible to simultaneously configure the GPIO running on the Raspberry PI for 2 independent PWM outputs?

     

     

    Vielen Dank

     

    Zbig

     

    There is a single hardware PWM on GPIO18 alternate function 5, directly from the SOC. For more PWMs, there is a software only solution you can try this:

     

    https://github.com/sarfata/pi-blaster/

     

    I do not know what the minimum width is. If I recall correctly, this software allows multiple GPIO pins to be modulated.

     

    For a hardware solution, there is this:

     

    https://github.com/Guzunty/Pi/wiki

     

    Guzunty can be clocked at 125 MHz which would give a minimum pulse width of 8 nS. It can support 4 PWMs at 8 bit resolution or 8 PWMs at 5 bit resolution depending on the core you choose to load.

     

    HTH,

     

    Derek

     

    --------

     

    Es gibt eine einzige Hardware-PWM auf GPIO18 alternative Funktion 5, direkt von der SOC. Für weitere PWMs, gibt es eine Software-Lösung nur Sie dies versuchen können:

     

     

    https://github.com/sarfata/pi-blaster/

     

     

    Ich weiß nicht, was die minimale Breite ist. Wenn ich mich richtig erinnere, ermöglicht diese Software mehrere GPIO Pins zu modulieren.

     

     

    Für eine Hardware-Lösung gibt, ist dies:

     

     

    https://github.com/Guzunty/Pi/wiki

     

     

    Guzunty kann bei 125 MHz getaktet werden was eine minimale Pulsbreite von 8 nS geben. Es können bis zu 4 PWMs bei 8 Bit Auflösung oder 8 PWMs bei 5 Bit Auflösung je nach Kern Sie laden zu unterstützen.

     

    HTH,

     

    Derek

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 12 years ago in reply to guzunty

    Hi Derek,

     

    Super, besten dank für Beides .

     

    Best Regards from Görlitz

     

    Zbig

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