You don't need to mess with the ADC. The PWM is quite accurate and very deterministic. No need to measure! It is as accurate as Vcc and the timer resolution. Jim On Wed, 27 Oct 2004 01:19:29 +0200 "Lasse Madsen" <lasse.madsen@elektronik.dk> wrote: > Hi > > No AVR has DAC but what resolution do you need and at > what speed (it can > be done using the ADC and a PWM channel) > > Regards > Lasse > > > > -----Original Message----- > From: tfcsd [mailto:tfcsd@earthlink.net] > Sent: 27. oktober 2004 01:18 > To: AVR-Chat@yahoogroups.com > Subject: Re: [AVR-Chat] AVR with DAC? > > I am using an non AVR application that uses 2 dacs that > go 0-5v. Does > any AVR have dacs? > > Lasse Madsen wrote: > > > Hi > > >BTW, the built-in "Precision" ref is anything but... I'm > running one > >prototype board with a M128 who's 2.56V ref measures > 2.783V! > > > This is a common problem if you consult the datasheet you > will see it > specified with a large variation making it "unusable" for > anything that > requires precision I'm using the VCC through a RCL > network and this is > more accurate. > > Regards > L. Madsen > > > -----Original Message----- > From: Bruce Parham [mailto:obparham@jpl.nasa.gov] > Sent: 26. oktober 2004 18:27 > To: AVR-Chat@yahoogroups.com > Subject: Re: [AVR-Chat] AVR with DAC? > > > > > Do any of the AVRs have a programmable voltage > reference? I've gone > > through some of the datasheets and it doesn't look like > they do. > > > > Mike > > Not that I recall but, if you have an unused timer, you > can put it into > PWM mode and connect its output to the AREF pin via a > suitable R-C > filter. > > Bruce > > > > > > > > > Yahoo! Groups Sponsor > > > ADVERTISEMENT > > <http://us.ard.yahoo.com/SIG=129ol1hnu/M=315388.5529720.6602079.3001176/ > D=groups/S=1706554205:HM/EXP=1098919050/A=2372354/R=0/SIG=12id813k2/*htt > ps:/www.orchardbank.com/hcs/hcsapplication?pf=PLApply&media=EMYHNL40F210 > 04SS> click here > > > <http://us.adserver.yahoo.com/l?M=315388.5529720.6602079.3001176/D=group > s/S=:HM/A=2372354/rand=194258046> > > _____ > > Yahoo! Groups Links > * To visit your group on the web, go to: > http://groups.yahoo.com/group/AVR-Chat/ > > * To unsubscribe from this group, send an email > to: > AVR-Chat-unsubscribe@yahoogroups.com > <mailto:AVR-Chat-unsubscribe@yahoogroups.com?subject=Unsubscribe> > > > * Your use of Yahoo! Groups is subject to the > Yahoo! Terms of > <http://docs.yahoo.com/info/terms/> Service. --------------------------------------------------------------- The Think Different Store http://www.thinkdifferentstore.com/ For All Your Mac Gear ---------------------------------------------------------------
Message
Re: [AVR-Chat] AVR with DAC?
2004-10-26 by Jim Wagner
Attachments
- No local attachments were found for this message.