D/A conversion is mainly achieved using the MAX522 chip.
The MAX522 chip has two 8-bit voltage buffer output D/A converters (DAC A and DAC B), 8-pin saving package and DIP package, DAC A end buffer working current can reach 5mA, DAC B end buffer working current can reach 500μA, MAX522 works in a unidirectional voltage of +2.7V~+5.5V.
MAX522 has a 3-wire serial interface that is directly compatible with SPITM, QSPITM, and MicrowireTM. It has a 16-bit input shift register that contains 8-bit DAC input data and 8-bit DAC selection and shutdown control. Data can be stored in the DAC register on the positive edge of /CS.
The analog-to-digital conversion module circuit is shown in the figure. The PB0 port of the microcontroller is connected to the serial data input port DIN, PB1 is connected to the chip select signal /cs, and the PB2 port is connected to the clock signal SCLK. Select DAC A as the output, and connect a 0.1μF capacitor to the output and reference voltage input terminals respectively to improve the output stability of the circuit. The VDD and reference voltage terminals of the chip are both provided by a 5.12V voltage regulator circuit.
Figure analog-to-digital conversion and voltage stabilization circuit
The LM336 integrated circuit is a precision 5V voltage regulator, which works as a 5V Zener diode with a low temperature coefficient and a dynamic resistance of 0.2Ω. The fine-tuning terminal (G) can fine-tune the reference voltage and temperature coefficient. The output voltage of the LM336 is adjusted to 5.12V by adjusting the adjustable resistor. Therefore, the resolution of the MAX522 output voltage is 5.12/256=0.02V, which means that the voltage increases by 0.02V for every increase of 1 in the MAX522 digital input. Since the power supply output voltage range is 0~12V and the step accuracy is 0.1V, the maximum input data is 120 (the binary value is 11110000), and the MAX522 output value is 2.4V. That is, the output voltage of the MAX522 changes from 0 to 2.4V.
Previous article:Main power circuit (power conversion circuit diagram)
Next article:Switching voltage regulated power supply system design
- Popular Resources
- Popular amplifiers
- MathWorks and NXP Collaborate to Launch Model-Based Design Toolbox for Battery Management Systems
- STMicroelectronics' advanced galvanically isolated gate driver STGAP3S provides flexible protection for IGBTs and SiC MOSFETs
- New diaphragm-free solid-state lithium battery technology is launched: the distance between the positive and negative electrodes is less than 0.000001 meters
- [“Source” Observe the Autumn Series] Application and testing of the next generation of semiconductor gallium oxide device photodetectors
- 采用自主设计封装,绝缘电阻显著提高!ROHM开发出更高电压xEV系统的SiC肖特基势垒二极管
- Will GaN replace SiC? PI's disruptive 1700V InnoMux2 is here to demonstrate
- From Isolation to the Third and a Half Generation: Understanding Naxinwei's Gate Driver IC in One Article
- The appeal of 48 V technology: importance, benefits and key factors in system-level applications
- Important breakthrough in recycling of used lithium-ion batteries
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- New real-time microcontroller system from Texas Instruments enables smarter processing in automotive and industrial applications
- Design of wireless wide area Internet of Things application system based on LORA
- Experience in using TI DSP/BIOS and CCS
- [2022 Digi-Key Innovation Design Competition] ESP32S2 WIF Networking
- [NXP Rapid IoT Review] + Unboxing the real thing brings back a lot of thoughts!
- TMS320F28335 startup process
- Encoder Problems
- How does TI's MSP430 microcontroller (MCU) achieve both low power consumption and high performance?
- Share the method of deleting dangling line and via
- What is the difference between Fast channels and Slow channels of STM32 ADC?
- [Rawpixel RVB2601 development board trial experience] + webplayer experiment