-
CS chip selection enables, and low-level chips are enabled.
ch0 analog input channel 0, or as in+ -.
CH1 analog input channel 1, or used as IN+-.
The GND chip refers to 0 potential (ground).
DI data signal input, select channel control.
do data signal output, convert data output.
CLK chip clock input.
VCC REF power input and reference voltage input (multiplexed).
The ADC0832 is an 8-bit resolution AD converter with a resolution of up to 256 levels, which can be adapted.
General analogue conversion requirements. The multiplexing of the internal power input with the reference voltage enables the simulation of the chip.
The voltage input is between 0 5V. The chip conversion time is only 32 s, and there are dual data outputs available as data.
Verification to reduce data errors, fast conversion speed and strong stable performance. A separate chip enables inputs, so that .
Multi-device hook-up and processor control becomes more convenient. This can be easily achieved via the DI data input.
Selection of channel functions.
After connecting the wires, give a CLK signal to realize the conversion.
-
For microcontrollers, the ADC0832 is just an ordinary peripheral.
In terms of hardware connection, a certain address should be configured for ADC0832; The software only needs to write data to the peripheral.
Example: MSC51 series MCU:
mov dptr, #addr
movx @dptr, #data
The above addr is the address of the adc0832, and the data is the data to be exported to the adc0832.
-
The ADC0832 is an 8-pin integrated circuit chip with serial input and output.
The connection circuit with the single-chip microcomputer is very simple, and the program design is more troublesome.
The one on the first floor is more reliable;
The second floor is off track, and the circuit diagram you drew is not ADC0832.
Hehe, the third floor is also off track!
The ADC0832 is not a tri-bus parallel interface device, MOVX instruction, and is not suitable for it.
-
adc0809
Application note: 1) The ADC0809 has an internal output latch, which can be directly connected to the AT89S51 microcontroller.
2) During initialization, make both ST and OE signals low.
3) Send the address of which channel to be converted to ports A, B, and C.
4) Give a positive pulse signal at least 100ns wide at the ST terminal.
5) Whether the conversion is completed or not, we judge according to the EOC signal.
6) When the EOC becomes high, the OE is high, and the converted data is output to the microcontroller.
-
Look at your schematic to find out.
void key0()
if(p1_0!=1) *If the key 0 is pressed. >>>More
A: The bit-addressing area is located between 20F and 2Fh in the data memory. The registers in this interval can be bit-addressed, and they can be bit-manipulated and bit-arithmetic. >>>More
The introductory course of MCU C language programming is not difficult, it is not easy to say, and the first thing to understand is to understand what these two things are when learning MCU C language? The introductory programming of single-chip microcomputer is mainly to learn C language, followed by circuit and programming language. >>>More
It's too urgent now, you haven't learned the principle of microcomputer yet! >>>More
Crash, it may be that the on-site interference is too severe. Anyway, even have abandoned chips that don't have internal program memory and EEPROM. The reason is that it is often not a program problem, but a board and PCB design problem. >>>More