Use the P0.0/AD0-P0.7/AD7 port of the AT89S51 microcontroller to connect the ah terminal of the digital tube. The S1-S8 of the 8-bit digital tube controls the bit selection terminal of each digital tube through the Y0-Y7 of the 74LS138 decoder. The P1.0-P1.2 of the AT89S51 microcontroller controls the A, B, and C terminals of the 74LS138. "12345678" is displayed cyclically from right to left on the 8-bit digital tube. The effect of the curtain can be seen relatively smoothly.
1. Connect P0.0/AD0-P0.7/AD7 in the "MCU System" area to the ah port in the "Dynamic Digital Display" area with an 8-core cable;
2. Connect Y0-Y7 in the "38 Decoding Module" area to S1-S8 ports in the "Dynamic Digital Display" area with an 8-core cable;
3. Connect the P1.0-P1.2 ports in the "MCU System" area to the A, B, and C ports in the "38 Decoding Module" area with three wires;
Previous article:Circuit diagram of 4-bit timer with preset number
Next article:Design and implementation of a sine signal generator
Recommended ReadingLatest update time:2024-11-15 20:56
- Popular Resources
- Popular amplifiers
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- LED chemical incompatibility test to see which chemicals LEDs can be used with
- Application of ARM9 hardware coprocessor on WinCE embedded motherboard
- What are the key points for selecting rotor flowmeter?
- LM317 high power charger circuit
- A brief analysis of Embest's application and development of embedded medical devices
- Single-phase RC protection circuit
- stm32 PVD programmable voltage monitor
- Introduction and measurement of edge trigger and level trigger of 51 single chip microcomputer
- Improved design of Linux system software shell protection technology
- What to do if the ABB robot protection device stops
- 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
- Keysight's new DAQ970A data acquisition instrument is now available for free trial!
- Tailingwei B91 Development Kit - Programming is back to square one (cannot program)
- [Espressif Home Smart Butler] ESP32-S2-Kaluga-1 development environment construction and demo routine running
- 5# Analysis of Bluetooth routines on STM32WB development board
- Embedded Systems: Hardware and Software Architecture
- Comparator
- [Analog Electronics Course Test] + Measurement and Optimization of ADC Frequency Domain Indicators
- TI C2000 microcontroller based 3.3KW on-board charger solution
- Please recommend a low-power DC motor driver chip!
- Microcontroller learning notes, three steps to teach you