CN220155023U - UART programming teaching test box based on Loongson chip - Google Patents

UART programming teaching test box based on Loongson chip Download PDF

Info

Publication number
CN220155023U
CN220155023U CN202321003678.6U CN202321003678U CN220155023U CN 220155023 U CN220155023 U CN 220155023U CN 202321003678 U CN202321003678 U CN 202321003678U CN 220155023 U CN220155023 U CN 220155023U
Authority
CN
China
Prior art keywords
chip
loongson
module
pin
voltage conversion
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202321003678.6U
Other languages
Chinese (zh)
Inventor
王旭韬
杨园京
周权
赵菲菲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanxi Yunxin New Generation Information Technology Research Institute Co ltd
Original Assignee
Shanxi Yunxin New Generation Information Technology Research Institute Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanxi Yunxin New Generation Information Technology Research Institute Co ltd filed Critical Shanxi Yunxin New Generation Information Technology Research Institute Co ltd
Priority to CN202321003678.6U priority Critical patent/CN220155023U/en
Application granted granted Critical
Publication of CN220155023U publication Critical patent/CN220155023U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Microcomputers (AREA)

Abstract

The utility model belongs to the technical field of teaching equipment, solves the problems of high cost and less teaching test opportunities of the existing teaching equipment, and provides a UART programming teaching test box based on a Loongson chip. The device comprises a Loongson chip, a power supply module, an LCD display screen, a noise sensor, a TTL-to-RS 232 module and an all-in-one air quality sensor. The power module is used for supplying power, the input and output end of the noise sensor is in bidirectional connection with the URAT interface of the Loongson chip through a wiring terminal J52, the output end of the all-in-one air quality sensor is connected with the input end of the TTL-to-RS 232 module, the output end of the TTL-to-RS 232 module is in unidirectional connection with the URAT interface of the Loongson chip through the wiring terminal J52, and the output end of the Loongson chip is connected with the input end of the LCD display screen through a PFC connector U273. The utility model has low cost and convenient use, and achieves the purpose of familiarizing and mastering the processor.

Description

UART programming teaching test box based on Loongson chip
Technical Field
The utility model belongs to the technical field of teaching and training equipment, and particularly relates to a test box for UART programming teaching based on a Loongson chip.
Background
At present, the experimental teaching environment of specialized basic courses such as computers, software engineering and the like is relatively poor, the existing hardware platform is relatively used for years, and experimental technology means and the like are relatively behind. The related teaching platform is designed by taking an import processor as a basic platform, has high product cost, is limited by experimental conditions in practical teaching, has large volume of a test box and other problems, has little test opportunity and operation time of students, cannot perform flexible experimental practical training, is familiar with hardware structures and software programming, and cannot perform more full comprehensive and innovative experiments.
Therefore, in order to increase the test training opportunities of students and reduce the cost, a programming test platform designed based on a domestic processor is selected. "Loongson" is a high-performance general serial processor which is independently developed in China, and is expanded based on an MIPS basic instruction set, and has complete independent development and design capability from core microstructure design, physical layout to upper BIOS, kernel source code and the like, and a series of products are formed at present, and large-scale industrial popularization and application are carried out. Therefore, in order to facilitate students to complete programming experiments based on domestic processors, and to understand computer hardware structures and software programming more familiar, it is necessary to provide a programming teaching test box based on Loongson chips.
Disclosure of Invention
The utility model provides a UART programming teaching test box based on a Loongson chip, which aims to solve the problems of difficult programming teaching and less teaching test opportunities in the prior art.
The utility model adopts the following technical scheme: the UART programming teaching test box based on the Loongson chip comprises the Loongson chip, a power supply module, an LCD display screen, a noise sensor, a TTL-to-RS 232 module and an all-in-one air quality sensor, wherein the power supply module is used for supplying power, the input and output ends of the noise sensor are in bidirectional connection with the URAT interface of the Loongson chip through a wiring terminal 1J52, the output end of the all-in-one air quality sensor is connected with the input end of the TTL-to-RS 232 module, the output end of the TTL-to-RS 232 module is in unidirectional connection with the URAT interface of the Loongson chip through a wiring terminal 1J52, and the output end of the Loongson chip is connected with the input end of the LCD display screen through a PFC connector U273.
Further, the novel air quality control box further comprises a box body and a box cover, wherein the Loongson chip, the power supply module, the noise sensor, the TTL-to-RS 232 module and the all-in-one air quality sensor are arranged in the box body, and the LCD display screen is arranged on the inner surface of the box cover.
Further, the model number of the Loongson chip is LS2K500.
Further, the device also comprises a Flash storage chip connected with the Loongson chip.
Further, the device further comprises a first clock circuit and a second clock circuit, wherein the first clock circuit comprises a magnetic bead L1, a capacitor C5, a capacitor C6, a resistor R1 and a 3.3M crystal oscillator chip U1, one end of the magnetic bead L1 is connected with a positive electrode of a power supply, the other end of the magnetic bead L1 is grounded through the capacitor C5 and the capacitor C6 which are connected in parallel, the other end of the magnetic bead L1 is also connected with a pin VCC of the 3.3M crystal oscillator chip U1, the resistor R1 is arranged between a pin VCC and a pin EN of the 3.3M crystal oscillator chip U1, and a pin OUT of the 3.3M crystal oscillator chip U1 is connected with a pin SYS_XTAL1 of the Loongson chip;
the second clock circuit comprises a magnetic bead L2, a capacitor C7, a capacitor C8, a resistor R2 and a 100M crystal oscillator chip U2, one end of the magnetic bead L2 is connected with the positive electrode of a power supply, the other end of the magnetic bead L2 is grounded through the capacitor C7 and the capacitor C8 which are connected in parallel, the other end of the magnetic bead L2 is also connected with a pin VCC of the 100M crystal oscillator chip U2, a resistor R4 is arranged between the pin VCC and a pin EN of the 33M crystal oscillator chip X2, and a pin OUT of the 33M crystal oscillator chip X2 is connected with a pin PCI_CLK of the Loongson chip.
Further, the power supply module comprises a first voltage conversion module, a second voltage conversion module and a third voltage conversion module; the first voltage conversion module converts 5V direct current voltage into 3.3V and then supplies power to an IO pin of the Loongson chip, the second voltage conversion module converts 5V direct current voltage into 1.5V and then supplies power to a DDR_VDDE pin of the Loongson chip, and the third voltage conversion module converts 5V direct current voltage into 1.1V and then supplies power to a VDD_CORE pin of the Loongson chip.
Further, the primary chip model of the first voltage conversion module, the second voltage conversion module and the third voltage conversion module is TPMP1470.
Further, the power module further comprises a wiring terminal 2J53 and a wiring terminal 3J54, wherein one end of the wiring terminal 2J53 is connected with the output end of the first voltage conversion module, and the other end of the wiring terminal is connected with the power input end of the TTL-to-RS 232 module; the connection terminal 3J54 is used for supplying 5V direct current to the noise sensor.
Compared with the prior art, the utility model has the beneficial effects that:
1. the utility model provides a UART programming teaching test box based on a Loongson chip, which is characterized in that a noise sensor, a TTL-to-RS 232 module and an all-in-one air quality sensor are arranged on a box body, the noise sensor is connected with a UART port of the Loongson chip, the all-in-one air quality sensor is connected with the UART port of the Loongson chip through the TTL-to-RS 232 module, students can learn and practice UART programming teaching of the Loongson chip by adopting UART protocol and equipment communication through reading data from the corresponding UART port by programs, and the teaching efficiency is improved by using an actual interface.
2. In the utility model, one of the two paths of sensors is unidirectional transmission and the other is bidirectional transmission, so that students can further adopt unidirectional communication and bidirectional communication programming principles in URAT communication.
3. The utility model adopts a Loongson single-core processor with the model LS2K500, the frequency is 500-800 MHz, and the architecture is Loongorch. The processor runs a simplified linux system, which is beneficial for students to be familiar with and master the use of the operating system of the architecture and the programming process on the operating system.
Drawings
FIG. 1 is a schematic block diagram of the present utility model;
FIG. 2 is a schematic diagram of a Loongson chip circuit in an embodiment of the utility model;
FIG. 3 is a schematic circuit diagram of another part of a Loongson chip according to an embodiment of the present utility model;
FIG. 4 is a schematic circuit diagram of a TTL to RS232 module;
FIG. 5 is a schematic circuit diagram of a first voltage conversion module;
FIG. 6 is a schematic circuit diagram of a second voltage conversion module;
FIG. 7 is a schematic circuit diagram of a third voltage conversion module;
Detailed Description
In order that the utility model may be readily understood, a more particular description of the utility model will be rendered by reference to specific embodiments thereof which are illustrated in the appended drawings. By using the technical scheme of the utility model or under the inspired by the technical scheme of the utility model, a similar technical scheme is designed by a person skilled in the art, so that the technical effects are achieved, and the technical effects fall into the protection scope of the utility model.
The embodiment provides a UART programming teaching test box based on Loongson chip, as shown in the figure, include: loongson chip, power module, LCD display screen, noise sensor, TTL change RS232 module, unify air quality sensor more. The power module is used for supplying power, the input and output end of the noise sensor is in bidirectional connection with the URAT interface of the Loongson chip through the wiring terminal 1J52, the output end of the all-in-one air quality sensor is connected with the input end of the TTL-to-RS 232 module, the output end of the TTL-to-RS 232 module is in unidirectional connection with the URAT interface of the Loongson chip through the wiring terminal 1J52, and the output end of the Loongson chip is connected with the input end of the LCD display screen through the LCD interface of the PFC connector U273. One is unidirectional transmission and the other is bidirectional transmission, so that students can further use unidirectional communication and bidirectional communication programming principles in URAT communication. The Loongson chip, the power supply module, the noise sensor, the TTL-to-RS 232 module and the all-in-one air quality sensor are arranged in the box body, and the LCD display screen is arranged on the inner surface of the box cover.
The all-in-one air quality sensor can collect the carbon dioxide concentration, formaldehyde concentration, total volatile organic compound concentration, PM2.5, PM10, temperature value and humidity value in the air; the noise sensor collects ambient noise values. The Loongson chip receives data collected by the all-in-one air quality sensor and the noise sensor, and the collected various air quality values are displayed in the LCD display screen. The noise sensor is connected with the UART port of the Loongson chip, the all-in-one air quality sensor is connected with the UART port of the Loongson chip through the TTL-to-RS 232 module, students can learn and practice to adopt UART protocol and equipment communication by reading data from the corresponding UART port through programs, UART programming teaching of the domestic Loongson chip is realized, and teaching efficiency is improved by using an actual interface.
Specifically, as shown in fig. 4, the TXD interface of the noise sensor is connected to pin uart5_rxd on the connection terminal 1J52, and the RXD interface of the noise sensor is connected to pin uart5_txd on the connection terminal 1J 52; the TXD of the all-in-one air quality sensor is connected with the RXD interface of the TTL-RS 232 module, and the TXD interface of the TTL-RS 232 module is connected with the pin UART2_RXD on the wiring terminal 1J 52.
Specifically, as shown in fig. 2-3, the model of the Loongson chip is LS2K500.LS2K0500 is a single-core processor with a Loongch frequency of 500-800 MHz and a Loongorc architecture, and the processor runs a simplified linux system, so that students can be familiar with and master the use of an operating system of the architecture and the programming process on the operating system.
The UART programming teaching test box based on the Loongson chip in the embodiment comprises a Flash storage chip connected with the Loongson chip, wherein the chip model of the Flash storage chip is W25Q128FVIQ, the Flash storage chip is used for storing an operation program, the capacity of the Flash storage chip is 128Mb, and the experimental program can be easily accommodated.
As shown in fig. 2, the UART programming teaching test box based on a loongson chip further comprises a first clock circuit and a second clock circuit, wherein the first clock circuit comprises a magnetic bead L1, a capacitor C5, a capacitor C6, a resistor R2 and a 100M crystal oscillator chip X1, one end of the magnetic bead L1 is connected with a positive electrode of a power supply, the other end of the magnetic bead L1 is grounded through the capacitor C5 and the capacitor C6 which are connected in parallel, the other end of the magnetic bead L1 is also connected with a pin VCC of the 100M crystal oscillator chip X1, the resistor R2 is arranged between the pin VCC and a pin EN of the 100M crystal oscillator chip X1, and a pin OUT of the 100M crystal oscillator chip X1 is connected with a pin sys_xtal1 of the loongson chip; the second clock circuit comprises a magnetic bead L2, a capacitor C7, a capacitor C8, a resistor R4 and a 33M crystal oscillator chip X2, one end of the magnetic bead L2 is connected with the positive electrode of a power supply, the other end of the magnetic bead L2 is grounded through the capacitor C7 and the capacitor C8 which are connected in parallel, the other end of the magnetic bead L2 is also connected with a pin VCC of the 33M crystal oscillator chip X2, the resistor R4 is arranged between the pin VCC and a pin EN of the 33M crystal oscillator chip X2, and a pin OUT of the 33M crystal oscillator chip X2 is connected with a pin PCI_CLK of the Loongson chip.
Specifically, as shown in fig. 5-7, the power supply module includes a first voltage conversion module, a second voltage conversion module, and a third voltage conversion module; the first voltage conversion module converts 5V direct current voltage into 3.3V and then supplies power to an IO pin of the Loongson chip, the second voltage conversion module converts 5V direct current voltage into 1.5V and then supplies power to a DDR_VDDE pin of the Loongson chip, and the third voltage conversion module converts 5V direct current voltage into 1.1V and then supplies power to a VDD_CORE pin of the Loongson chip. In this embodiment, the primary chip model of the first voltage conversion module, the second voltage conversion module, and the third voltage conversion module is TPMP1470.
Specifically, the power supply module further comprises a wiring terminal 2J53 and a wiring terminal 3J54, wherein one end of the wiring terminal 2J53 is connected with the output end of the first voltage conversion module, and the other end of the wiring terminal is connected with the power input end of the TTL-to-RS 232 module; the connection terminal 3J54 is used for supplying 5V direct current to the noise sensor. The pin P3V3 of the wiring terminal 2J53 is connected with the VCC interface of the TTL-to-RS 232 module, and the pin GND of the wiring terminal 2J53 is connected with the GND interface of the TTL-to-RS 232 module.
The utility model provides a UART programming teaching test box based on a Loongson chip, which is characterized in that the Loongson chip, a power module, a noise sensor, a TTL-to-RS 232 module, an all-in-one air quality sensor and the like are arranged in the box body, an LCD display screen is arranged on the inner surface of a box cover, and the one-way and two-way noise sensor and the all-in-one air quality sensor are respectively connected with a UART port of the Loongson chip, so that students can further carry out one-way communication and two-way communication programming principles in URAT communication, and acquired data are directly displayed on the LCD screen, thereby visually displaying programming results, improving teaching effects, and the utility model has the advantages of simple structure and convenient carrying.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present utility model, and are not limiting; although the utility model has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some or all of the technical features thereof can be replaced with equivalents; such modifications and substitutions do not depart from the spirit of the technical solutions according to the embodiments of the present utility model.

Claims (8)

1. The UART programming teaching test box based on the Loongson chip is characterized by comprising the Loongson chip, a power supply module, an LCD display screen, a noise sensor, a TTL-to-RS 232 module and an all-in-one air quality sensor, wherein the power supply module is used for supplying power, the input and output ends of the noise sensor are in bidirectional connection with the URAT interface of the Loongson chip through a wiring terminal 1J52, the output end of the all-in-one air quality sensor is connected with the input end of the TTL-to-RS 232 module, the output end of the TTL-to-RS 232 module is in unidirectional connection with the URAT interface of the Loongson chip through the wiring terminal 1J52, and the output end of the Loongson chip is connected with the input end of the LCD display screen through a PFC connector U273.
2. The UART programming teaching test box based on a loongson chip according to claim 1, wherein: still include box and case lid, loongson chip, power module, noise sensor, TTL change RS232 module, unification air quality sensor setting in the box, LCD display screen sets up on the case lid internal surface.
3. The UART programming teaching test box based on a loongson chip according to claim 1, wherein: the model of the Loongson chip is LS2K500.
4. The UART programming teaching test box based on a loongson chip according to claim 1, wherein: the device also comprises a Flash storage chip connected with the Loongson chip.
5. The UART programming teaching test box based on a loongson chip according to claim 1, wherein: the device comprises a power supply, a magnetic bead L1, a capacitor C5, a capacitor C6, a resistor R2 and a 100M crystal oscillator chip X1, wherein one end of the magnetic bead L1 is connected with the positive electrode of the power supply, the other end of the magnetic bead L1 is grounded through the capacitor C5 and the capacitor C6 which are connected in parallel, the other end of the magnetic bead L1 is also connected with a pin VCC of the 100M crystal oscillator chip X1, the resistor R2 is arranged between a pin VCC and a pin EN of the 100M crystal oscillator chip X1, and a pin OUT of the 100M crystal oscillator chip X1 is connected with a pin SYS_XTAL1 of the Loongson chip;
the second clock circuit comprises a magnetic bead L2, a capacitor C7, a capacitor C8, a resistor R4 and a 33M crystal oscillator chip X2, one end of the magnetic bead L2 is connected with the positive electrode of a power supply, the other end of the magnetic bead L2 is grounded through the capacitor C7 and the capacitor C8 which are connected in parallel, the other end of the magnetic bead L2 is also connected with a pin VCC of the 33M crystal oscillator chip X2, the resistor R4 is arranged between the pin VCC and a pin EN of the 33M crystal oscillator chip X2, and a pin OUT of the 33M crystal oscillator chip X2 is connected with a pin PCI_CLK of the Loongson chip.
6. The UART programming teaching test box based on a loongson chip according to claim 1, wherein: the power supply module comprises a first voltage conversion module, a second voltage conversion module and a third voltage conversion module; the first voltage conversion module converts 5V direct current voltage into 3.3V and then supplies power to an IO pin of the Loongson chip, the second voltage conversion module converts 5V direct current voltage into 1.5V and then supplies power to a DDR_VDDE pin of the Loongson chip, and the third voltage conversion module converts 5V direct current voltage into 1.1V and then supplies power to a VDD_CORE pin of the Loongson chip.
7. The UART programming teaching test box based on a loongson chip according to claim 6, wherein: the primary chip model of the first voltage conversion module, the second voltage conversion module and the third voltage conversion module is TPMP1470.
8. The UART programming teaching test box based on a loongson chip according to claim 7, wherein: the power module further comprises a wiring terminal 2J53 and a wiring terminal 3J54, wherein one end of the wiring terminal 2J53 is connected with the output end of the first voltage conversion module, and the other end of the wiring terminal is connected with the power input end of the TTL-to-RS 232 module; the connection terminal 3J54 is used for supplying 5V direct current to the noise sensor.
CN202321003678.6U 2023-04-28 2023-04-28 UART programming teaching test box based on Loongson chip Active CN220155023U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202321003678.6U CN220155023U (en) 2023-04-28 2023-04-28 UART programming teaching test box based on Loongson chip

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202321003678.6U CN220155023U (en) 2023-04-28 2023-04-28 UART programming teaching test box based on Loongson chip

Publications (1)

Publication Number Publication Date
CN220155023U true CN220155023U (en) 2023-12-08

Family

ID=89006977

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202321003678.6U Active CN220155023U (en) 2023-04-28 2023-04-28 UART programming teaching test box based on Loongson chip

Country Status (1)

Country Link
CN (1) CN220155023U (en)

Similar Documents

Publication Publication Date Title
CN102156515B (en) Embedded developing board having strong expansibility
CN203520727U (en) Portable STM32 one-chip microcomputer teaching experiment instrument
CN101021551A (en) Intelligent comprehensive electronic measuring instrument
CN201765731U (en) Open and modular singlechip teaching and learning experimental device
CN204116993U (en) A kind of temperature control system
CN105513472A (en) Multicore single-chip microcomputer embedded teaching experiment platform
CN205881242U (en) Multinuclear heart embedded development system
CN203405756U (en) Embedded mainboard
CN204348194U (en) A kind of single-chip microcomputer and experimental panel for programmable logic device
CN202362992U (en) Comprehensive experiment box for single chip microcomputer development
CN220155023U (en) UART programming teaching test box based on Loongson chip
CN201795814U (en) Integrated temperature and humidity monitoring device
CN201387605Y (en) Portable device
CN200993840Y (en) USB single-chip computer simulating experimental instrument
CN205449410U (en) Gas appearance system of leaking hunting based on singlechip
CN201352395Y (en) Singlechip testing board capable of being programmed and debugged online
Intel
CN204595681U (en) A kind of debugging board
Zheng et al. Application of virtual instrument technology in the teaching of embedded system course
CN220155038U (en) Portable programming teaching test box based on Loongson chip
CN203117963U (en) Debugging system and device for providing graphical pin interface
CN208569612U (en) A kind of intelligence copybook device
CN219800340U (en) Programming teaching test box based on Loongson 2K1000LA chip
CN215770107U (en) Actual combat teaching equipment for cultivating cloud Internet of things software and hardware development technology
Mu et al. Hardware/software integrated training on embedded systems

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant