Go Back   Home > Forums > Amplifiers > Class D
Home Forums Rules Articles Store Gallery Blogs Register Donations FAQ Calendar Search Today's Posts Mark Forums Read

Class D Switching Power Amplifiers and Power D/A conversion

Please consider donating to help us continue to serve you.

Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving
Reply
 
Thread Tools Search this Thread
Old 22nd April 2010, 01:40 PM   #1
diyAudio Member
 
Join Date: Mar 2010
Default Building Class D amplifier with PIC16F877A

I am thinking of building a Class D amplifier with PIC16F877A.
This micro-controller has everything I need.
It has 2 comparators and the output of comparator can be used as interrupt (bad idea for audio) and directly as PIN output (this is the way to go).

Then it has oscillator and it can be set to any frequency and it is very accurate.
I am thinking of programming it with MikroC or MikroPascal because I don't know ASM very good.

What do you think about this idea? I started making some hand drawn schematics but I am still confused about the feedback.
  Reply With Quote
Old 22nd April 2010, 04:26 PM   #2
areza is offline areza  Bangladesh
diyAudio Member
 
Join Date: Jun 2007
bad idea for audio, ok for motor controll and sine wave 50/60 hz pwm stuff, need lot of work though,
  Reply With Quote
Old 22nd April 2010, 10:10 PM   #3
savu is offline savu  Romania
diyAudio Member
 
savu's Avatar
 
Join Date: Feb 2007
Location: Cluj - Napoca
Send a message via MSN to savu Send a message via Yahoo to savu
Quote:
Originally Posted by RealForce View Post
I am thinking of building a Class D amplifier with PIC16F877A.
This micro-controller has everything I need.
It has 2 comparators and the output of comparator can be used as interrupt (bad idea for audio) and directly as PIN output (this is the way to go).

Then it has oscillator and it can be set to any frequency and it is very accurate.
I am thinking of programming it with MikroC or MikroPascal because I don't know ASM very good.

What do you think about this idea? I started making some hand drawn schematics but I am still confused about the feedback.
hello RealForce,

I have seen wonders done with PIC microcontrollers, even audio, but you will defenetly need to use a dsPIC. have't tryed antithing like you are going to try.

BUT ... you can get irs2092s at a reasonable price and you will have loads of documentations at hand. some people even built "Killer Amps" with this chip, 1000w, 8 ohm powered from rectified 220v line. (tough I tend to thing that is just stupid and can easily send you in to nonexistance)

My advice is to try and build something that is allready done and then try to figuer out why does it work. do measurments, tests and so on. try something cheap like 100w class d amp with low voltages. A +/-90V suppy can be nasty if not treated with respect.

Best regards and keep on trying, the good thing after all the long nights and money spent on parts is that you end up with a lot of Know How (the most expensive thing on the market)
__________________
1'st rule of chess:
The only way to get smarter is by playing a smarter opponent.
  Reply With Quote

Reply


Hide this!Advertise here!

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Building a 1000W @ 8ohms class D amplifier from zero moro696 Class D 79 21st December 2011 10:31 AM
Building a Monster... Class A Adrculda Solid State 335 27th August 2009 01:33 AM
class T for building waveguides twenty Class D 11 5th September 2006 05:12 AM


New To Site? Need Help?

All times are GMT. The time now is 01:39 PM.

Page generated in 0.08094 seconds (72.51% PHP - 27.49% MySQL) with 10 queries

Copyright ©1999-2012 diyAudio