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 Can PWM0 -> GPIO18 handle moderate quality mono audio output?
  • 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 8 replies
  • Subscribers 675 subscribers
  • Views 1477 views
  • Users 0 members are here
  • gpio
  • pwm
  • raspberry_pi
  • raspberry-pi
Related

Can PWM0 -> GPIO18 handle moderate quality mono audio output?

Former Member
Former Member over 12 years ago

My partner (and electrical engineer and bare metal guru) and I (an experienced programmer and data center designer) have a (Wheezy) project, several months in the pipeline, using an RPi(B) that in the end needs simply needs to output stronger audio.  We've amped the PWM 3.5mm, and for some situations, that's adequate.  We also have a version that uses a usb dongle (109/related) out, with some improvement in quality and RMS, and that's working for some installations. 

 

But for some interfaces, it's just not a strong enough output.  My partner just built an add on board with an NTE823 and enough gadetry to drive 8 or 600 ohms with apparently adequate p2p to it.

 

This addon-board, which is functional in testing, is intended to be driven by (Alt5) PWM0 (delivering an ALSA/mpg321 out) signal via GPIO18 (pin 12).  Problem is I'm not getting that to happen yet, and would like some advice as to which way to go for 44KHz pwm audio.  I've tried wiringPi, #bin/sh ...export (which just looks inevitably too slow), and am about to try python.GPIO, but need to focus on a direction that can possibly succeed.  I need to accomplish this prior to a series of surgeries I begin late next week.

 

Anyone actually driven (single chan) audio out that way? I'll take the 11 bit quality in this case, but any dramatic deviations from the complex streaming, scheduling, self-monitoring set of php, c ,python,shell commands and installed packages for both audio and timed external comm that this unit have finally flawlessly came together, are out.

 

Any pointers, suggestions of directions, flat out statements of fact?  (or even help?)   I have searched this more than any single topic in recent memory, so it's not that I don't know how to use the search button.  Our problem is we have found the hole in our complimentary skills - he can't program other than deep metal, and I am seeing a this I/O assignment class of knowledge as one I don't yet have.  I'm not incapable of learning, but I would appreciate anyone who knows which one of these GPIO access options works for the task listed, to narrow the scope of what I need to learn and do.Thanks.

  • Sign in to reply
  • Cancel
Parents
  • Former Member
    0 Former Member over 12 years ago

    Hi Mark,

     

    Have you seen this add-on board at all. http://www.element14.com/community/community/raspberry-pi/raspberry-pi-accessories/wolfson_pi

     

    I'll see if I can get a datasheet for you with some spec.

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

    Thanks Chris - I'm checking looking at it now.  I guess it's existence implies this is indeed possible, which is a relief, and do look forward to that datasheet.

     

    Thanks!

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

    Thanks Chris - I'm checking looking at it now.  I guess it's existence implies this is indeed possible, which is a relief, and do look forward to that datasheet.

     

    Thanks!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
No Data
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