DIP switch can be defined as an array of simple two terminal On-Off electromechanical switches (Single Pole Single Throw) that are commonly used in electricity operations. The word DIP is an acronym for Dual In-line Package which means that the electrical contacts are in two rows. DIP switches are surface mountable and are used in those applications where multiple numbers of switches are involved in output generation. For instance, in a universal remote control, the DIP switch is used to set the frequency according to the device that is being operated. On a computer motherboard, DIP switches help in optimizing the clock speed and configuration settings according to the type of processor mounted.
How to interface ADC0808 using clock from 8051 microcontroller (AT89C51)- (Part 25/45)
An analog-to-digital converter is a device which converts continuous signals to discrete digital numbers. Typically, an ADC is an electronic device that converts [[wysiwyg_imageupload::]]an input analog voltage (or current) to a digital number proportional to the magnitude of the voltage or current. This circuit demonstrates the interfacing ofADC0808 using 8051 microcontroller (AT89C51). The digital output is taken on a set of LEDs. This is an intermediate circuit which finds several applications. This circuit depicts a way to provide the external clock, required for ADC, from the microcontroller.Analog-to-digital converters are among the most widely used devices for data acquisition. Digital computers use binary values, but in physical world everything is analog. Therefore, we need an analog-to-digital converter to translate these analog signals to digital signals.An ADC has n-bit resolution where n can be 8,10,12,16 etc. The ADC chips are either parallel or serial. Parallel ADC has 8 or more pins dedicated to bring out the binary data. ADC0808 is such a parallel ADC with 8-bit resolution.