Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!snorkelwacker!mit-eddie!uw-beaver!milton!whit From: whit@milton.acs.washington.edu (John Whitmore) Newsgroups: sci.electronics Subject: Re: Single chip microcontrollers? Keywords: single chip microcontrollers Message-ID: <1715@milton.acs.washington.edu> Date: 3 Feb 90 02:19:04 GMT References: <10979@etana.tut.fi> <6194@ncar.ucar.edu> <1990Feb2.193856.11178@cec1.wustl.edu> Reply-To: whit@milton.acs.washington.edu (John Whitmore) Organization: University of Washington, Seattle Lines: 20 D/A and A/D converters on LSI chips are relatively costly (because their transistors have different specifications from logic transistors), but many microcontrollers have counters/timers which perform the digital part of either A/D or D/A functions. One uses a voltage-to-frequency converter (a '555 or even a simple CMOS Schmitt trigger can be connected with an op amp for this function), and counts the pulses as they come in. IBM game ports work this way. For D/A, either a charge pump (capacitor and a diode and resistor) for low accuracy or a voltage-to-frequency converter like a PLL chip (CD4046) for higher precision, can be run off a counter. One sets the counter divisor, clocking the input at some constant rate, and the PLL output voltage tracks the divided frequency. Analog usually means voltage, but current and frequency are also analog quantities; microprocessors are naturally easy to connect to frequency variables. I am known for my brilliance, John Whitmore by those who do not know me well.