please dont rip this site

Digital to Analog Conversion


Microchip PIC specific D2A

Ubicom SX specific D2A

Analog to Digital Conversion

See:

Don Hyde says:

An R-2R ladder can be used to turn a group of [digital] output pins into a DAC for a few cents. Below is a 3-bit DAC. Using 3 [digital] output pins (beware of the odball open drain pins, they're no good for this), this circuit will provide 0 - Vcc*(7/8) volts out, with a 2R source impedence.

It can be extended to more bits by replicating the MSB R-2R end of the ladder.

Up to 4 bits can be achieved with 5% resistors.

Up to 6 bits can be achieved with 1% resistors.

...

In many applications, it would be advisable to buffer the output with an op-amp.

A circuit like this can achieve waaay higher output frequencies than PWM, and can be easier to filter, at the expense of using up a bunch of pins.

OUT o--+-/\/\/\/\----o MSB
       |    2R
       \
       /
       \ R
       /
       |
       +-/\/\/\/\----o Middle bit
       |    2R
       \
       / R
       \
       /
       +-/\/\/\/\----o LSB
       |    2R
       \
       /
       \ 2R
       /
       |
      ---
      ///

PICList Thread '[EE]: high res DA challenge'

Also:

See also:


file: /techref/io/d2a.htm, 2KB, , updated: 2007/2/20 19:17, local time: 2009/11/7 18:42,
TOP NEW HELP FIND: 
38.107.191.83:LOG IN
©2009 PLEASE DON'T RIP! DO: LINK / DIGG! / MAKE!

 ©2009 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it!
<A HREF="http://www.piclist.com/techref/io/d2a.htm"> D2A, Sigma Delta, Digital to Analog Conversion</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

 
Here is a great gift for computer geeks or widows:
The Backwoods Guide to Computer Lingo
 

Robotics nuts!

Check out http://www.verinet.com/~dlc/ email: dlc@verinet.com... This guy ROCKS! He has made (and sells but also releases code, docs, etc...) for a number of cool little robotic modules including whiskers, IR proximity detect and remote control, Sonar proximity detect, PWM, Servo, compass. Most of these use the little PIC 12C508 controller which costs basically nothing and is soooo tiny.
The 4 servos, 2400 baud serial servo controller is a wonder of magic and he sells the programmed chip for $8. Wow!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .