----- Original Message ----- From: "James Newton, webhost" To: Sent: Monday, January 20, 2003 4:16 PM Subject: Re: I need someone to help me with: > Hummm there seems to be a real lack of code and examples for this sort of > thing... A2D we have but not D2A. > > http://www.piclist.com/techref/postsearch.asp?qu=serial+AND+DAC&arch#result > Will get you some good discussion and references to parts... > > Maybe some of the manufacturers web sites will have "app notes" describing > how to use it with a PIC. > > I have CC'd the PICList mailing list to see if anyone else has done this... > I hope you don't mind my giving them your email address so they can reply > directly to you rather than to the list (since I don't think you are > subscribed). > > --- > James Newton, webhost piclist.com (former Admin #3) > jamesnewton@piclist.com 1-619-652-0593 fax:1-208-279-8767 > PIC/PICList FAQ: http://www.piclist.com or .org > > -----Original Message----- > From: El-Saify, A.A. [mailto:aaas2@leicester.ac.uk] > Sent: Monday, January 20, 2003 8:57 AM > To: webmaster@piclist.com > Subject: I need someone to help me with: > > Hi, > > I need someone to help me to find a good serial DAC can work with PIC16F877 > with simple example. > > Thanks, > > Saify This probably doesn't answer the query! Since it did not mention resolution, I thought I would share these tid-bits anyway. I have an 8-bit version and 9-bit using an additional op amp, I believe somewhere which doesn t use a external D/A chip. It uses a RC circuit at an output pin. Pending in the RC value, this output pin needs to be refreshed fairly often at proper intervals. The nine bit version, with an additional op-amp needs an extra I/O. I used this a long time ago when I had a free op-amp left over in the circuit. Worked good, timer/interrupt driven. Ripple is minimum. With the 9-bit version, we must adjust the A/D refresh value carefully for the transition from 8-bit to 9th bit crossover, in order not to get an erroneous output voltage dip at that time. 10 bits is possible with extra op-amp if available or feasible. I also have, in archives, a 3 phase sinusoidal circuit using three D/A s and a 17c42 which simulates delta or wye voltages. Works good for basic test at the front end of my power monitor unit and for a sanity check of AC values calculations. Regards, {slewrate} -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body