CN220085495U - Test platform - Google Patents

Test platform Download PDF

Info

Publication number
CN220085495U
CN220085495U CN202223526150.5U CN202223526150U CN220085495U CN 220085495 U CN220085495 U CN 220085495U CN 202223526150 U CN202223526150 U CN 202223526150U CN 220085495 U CN220085495 U CN 220085495U
Authority
CN
China
Prior art keywords
circuit
external
interface
power supply
pins
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
CN202223526150.5U
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.)
Zhengzhou Coal Machinery Intelligent Working Face Technology Co ltd
Original Assignee
Zhengzhou Coal Machinery Intelligent Working Face Technology 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 Zhengzhou Coal Machinery Intelligent Working Face Technology Co ltd filed Critical Zhengzhou Coal Machinery Intelligent Working Face Technology Co ltd
Priority to CN202223526150.5U priority Critical patent/CN220085495U/en
Application granted granted Critical
Publication of CN220085495U publication Critical patent/CN220085495U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Tests Of Electronic Circuits (AREA)

Abstract

The utility model discloses a test platform which is characterized by comprising a key scanning circuit, a power supply and external interface circuit, a program downloading interface, a power supply conversion circuit, an external serial port circuit, an sd card interface circuit, a flash memory circuit, a liquid crystal circuit and a backlight control circuit. The network label corresponding to the key scanning circuit is connected to pins of the PC15-PC13, the three pins are configured into a pull-up input state after the singlechip is electrified, and then a key scanning task is created through the rtos system and used for scanning the level change of the corresponding pins of the keys. The device is simple and portable, the difficulty of the upper hand is low, and the testing platform with strong universality can meet the requirements of mass production of products and equipment testing under complex working conditions.

Description

Test platform
Technical Field
The utility model relates to the technical field of intelligent testing, in particular to a testing platform.
Background
In the past Canopen master-slave equipment test process is more complicated, a pc computer is needed, host computer software is needed, usb changes can and other equipment, the Canopen protocol is relatively complicated, a plurality of communication instructions are needed to be sent during the test, the data transmission capacity is relatively large during the communication, the test result is not easy to observe, in addition, different Canopen equipment has different object dictionaries, data are needed to be sent and received strictly according to the communication format specified by the object dictionary during the test, the object dictionary is specially used for describing the communication information of a Canopen node, and a tester must master the related knowledge of the Canopen protocol and can read the content of the object dictionary.
The information disclosed in this background section is only for enhancement of understanding of the general background of the utility model and should not be taken as an acknowledgement or any form of suggestion that this information forms the prior art already known to a person of ordinary skill in the art.
Disclosure of Invention
The utility model aims to provide a remote controller testing tool.
In order to achieve the above purpose, the utility model provides a test platform, which comprises a key scanning circuit, a power supply and external interface circuit, a program downloading interface, a power supply conversion circuit, an external serial port circuit, an sd card interface circuit, a flash memory circuit, a liquid crystal circuit and a backlight control circuit.
Preferably, the network label corresponding to the key scanning circuit is connected to pins of the PC15-PC13, the three pins are configured into a pull-up input state after the singlechip is electrified, and then a key scanning task is created through the rtos system for scanning the level change of the corresponding pins of the keys.
Preferably, the power supply and external interface circuits have the key functions from top to bottom respectively
The power interface is 5.5V-36V wide voltage input, and is compatible with most industrial electrical equipment;
the can communication interface is used for testing the can communication access of the equipment;
VCC, GND external power supply output 3.3v;
and the network is directly connected to an external interrupt pin of the singlechip, and a rising edge or a falling edge is generated when the external level changes, so that the external interrupt of the singlechip is triggered to analyze the K2 state in an external interrupt function of a program, and corresponding logic processing is executed.
Preferably, the program downloading interface needs to be connected with a GND and VCC two-wire system for supplying power.
Preferably, the liquid crystal circuit adopts a 16/8 bit parallel MCU data bus, and LEDA and LEDK respectively represent an anode and a cathode of the liquid crystal backlight.
Preferably, the backlight control circuit outputs high and low levels through BL control, and controls the triode to be turned off or turned on.
Compared with the prior art, the remote controller testing tool has the following beneficial effects:
the device is simple and portable, the difficulty of the upper hand is low, and the testing platform with strong universality can meet the requirements of mass production of products and equipment testing under complex working conditions.
Drawings
Fig. 1 is a circuit diagram of a key scanning circuit according to an embodiment of the present utility model.
Fig. 2 is a circuit diagram of a power supply and external interface circuit according to an embodiment of the present utility model.
Fig. 3 is a circuit diagram of a program download interface according to an embodiment of the present utility model.
Fig. 4 is a circuit diagram of a power conversion circuit according to an embodiment of the present utility model.
Fig. 5 is a circuit diagram of an external serial circuit according to an embodiment of the present utility model.
Fig. 6 is a circuit diagram of sd card interface circuit according to an embodiment of the present utility model.
Fig. 7 is a circuit diagram of a flash memory circuit according to an embodiment of the present utility model.
Fig. 8 is a circuit diagram of a liquid crystal circuit according to an embodiment of the present utility model.
Fig. 9 is a circuit diagram of a backlight control circuit according to an embodiment of the present utility model.
Detailed Description
The following detailed description of embodiments of the utility model is, therefore, to be taken in conjunction with the accompanying drawings, and it is to be understood that the scope of the utility model is not limited to the specific embodiments.
Throughout the specification and claims, unless explicitly stated otherwise, the term "comprise" or variations thereof such as "comprises" or "comprising", etc. will be understood to include the stated element or component without excluding other elements or components.
The remote controller test platform according to the preferred embodiment of the present utility model.
As shown in fig. 1, the key scanning circuit has key functions of "turn down", "turn up", "confirm" and buttons from top to bottom, respectively. The corresponding network label is connected to pins of the PC15-PC13, the three pins are configured into a pull-up input state after the singlechip is electrified, then a key scanning task is created through the rtos system and used for scanning the level change of the corresponding pin of the key, when the key is pressed down, the pin of the singlechip is changed from a high level state to a low level state, so that the key is pressed down, a corresponding key value is generated, and the key value is sent to other tasks for logic judgment through the message queue.
Second function of "flip up" key: long press of "Return"
Judgment logic: and if the key scanning function judges that the upturning key is pressed, counting and delaying operations are executed, and when the preset program value is counted, the secondary key can be judged to be in a long-press state, so that a corresponding key value is generated and sent to other tasks for logic judgment through a message queue.
As shown in FIG. 2, the power supply and external interface circuits have the key functions from top to bottom respectively
The power interface is 5.5V-36V wide voltage input, and is compatible with most industrial electrical equipment;
and the can communication interface is used for testing the can communication access of the equipment.
VCC, GND external power supply output 3.3v.
And the network is directly connected to an external interrupt pin of the singlechip, and a rising edge or a falling edge is generated when the external level changes, so that the external interrupt of the singlechip is triggered to analyze the K2 state in an external interrupt function of a program, and corresponding logic processing is executed.
As shown in FIG. 3, the SWD is a serial debugging interface, and compared with the JTAG, the SWD only needs two wires of SWCLK and SWDIO, so that the occupation of the GPIO port of the singlechip is reduced. SWCLK is a serial clock line providing the required clock signal and SWDIO is a serial data line for reading and writing data. In addition, two-wire system of GND and VCC is needed to supply power.
As shown in fig. 4, the power supply is led into the power supply module (5.5-36V) through an external interface to output 5V/6W of power, and the working temperature is as follows: -40 ℃ to +85 ℃, and has the functions of input under-voltage protection, output over-voltage, over-current and short-circuit protection. The 5V voltage system is used for a can transceiver module and external serial communication equipment supplies power (serial screen).
AMS1117-3.3 is a forward low dropout voltage regulator maximum output current 1A with an output voltage of 3.3V, and is suitable for high-efficiency linear voltage regulators, and the working junction temperature range is as follows: -40-125 ℃.
The 3.3V voltage system is used for the stm32 singlechip and a core circuit thereof, an external flash memory, a sd card, a tft liquid crystal and backlight circuit, and external voltage output and power supply.
As shown in fig. 5, the external serial circuit, the single-chip TTL communication interface, the support for 5V voltage output, the default baud rate 115200, are used for expanding the man-machine interaction device, the serial screen, and the keyboard module.
As shown in fig. 6 and fig. 7, the two memory system circuits are respectively SD and off-chip flash powered by 3.3v, both of which are hung on the same SPI bus, and the single-chip microcomputer selects different memory devices to perform read/write operations by pulling down the chip select pins of both of them.
The characteristics and functions of the two are divided into:
SD: the device has large storage capacity, supports 32GB at maximum, can be plugged and plugged easily and is easy to replace, the functions on the device are designed into data examination and external data examination generated in operation,
flash: the storage space is 8 Mbytes, the memory is small, the reading and writing are convenient, the service life is long, and the functions on the equipment are designed as follows: the character files and gui interface icon files required by the system are stored, the operation data is temporarily stored, and the equipment firmware is stored.
As shown in FIG. 8, the LCD liquid crystal circuit, ILI9342, is a 26144 color monolithic driver that supports an a-TFT LCD with a resolution of 240RGBx320 dots.
The 16/8 bit parallel MCU data bus is adopted, and LEDA and LEDK respectively represent an anode and a cathode of the liquid crystal backlight.
Lcd_rest reset signal.
A1-a16 data lines.
W16_8 switches the 16-bit/8-bit data parallel bus through a 0 ohm resistance.
Lcd_rd reads the command signal.
Lcd_wd write command signal.
Lcd_rs data command select signal.
Lcd_cs chip select signal.
As shown in fig. 9, the backlight control circuit outputs high and low levels through BL control, and controls the transistor to be turned off or on;
high level: the triode is conducted with the LEDK to be grounded and the back is bright;
at low level: the triode is turned off, and the loop is turned off to extinguish the backlight;
BL is connected to singlechip timer channel pin, thereby can utilize pwm control triode on-current to realize backlight adjustment.
The foregoing descriptions of specific exemplary embodiments of the present utility model are presented for purposes of illustration and description. It is not intended to limit the utility model to the precise form disclosed, and obviously many modifications and variations are possible in light of the above teaching. The exemplary embodiments were chosen and described in order to explain the specific principles of the utility model and its practical application to thereby enable one skilled in the art to make and utilize the utility model in various exemplary embodiments and with various modifications as are suited to the particular use contemplated. It is intended that the scope of the utility model be defined by the claims and their equivalents.

Claims (1)

1. The test platform is characterized by comprising a key scanning circuit, a power supply and external interface circuit, a program downloading interface, a power supply conversion circuit, an external serial port circuit, a sd card interface circuit, a flash memory circuit, a liquid crystal circuit and a backlight control circuit;
the network label corresponding to the key scanning circuit is connected to pins of a PC15-PC13, the three pins are configured into a pull-up input state after the singlechip is electrified, and then a key scanning task is created through the rtos system and used for scanning the level change of the corresponding pins of the keys;
the power supply and external interface circuit has the key functions from top to bottom respectively
The power interface is 5.5V-36V wide voltage input, and is compatible with most industrial electrical equipment;
the can communication interface is used for testing the can communication access of the equipment;
VCC, GND external power supply output 3.3v;
the K2 digital signal input is directly connected to an external interrupt pin of the singlechip, and a rising edge or a falling edge is generated when the external level changes, so that the external interrupt of the singlechip is triggered to analyze the K2 state in an external interrupt function of a program, and corresponding logic processing is executed;
the program downloading interface needs to be connected with GND and VCC two-line systems for supplying power;
the liquid crystal circuit adopts a 16/8 bit parallel MCU data bus, and LEDA and LEDK respectively represent an anode and a cathode of the liquid crystal backlight;
and the backlight control circuit outputs high and low levels through BL control and controls the triode to be turned off or turned on.
CN202223526150.5U 2022-12-25 2022-12-25 Test platform Active CN220085495U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202223526150.5U CN220085495U (en) 2022-12-25 2022-12-25 Test platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202223526150.5U CN220085495U (en) 2022-12-25 2022-12-25 Test platform

Publications (1)

Publication Number Publication Date
CN220085495U true CN220085495U (en) 2023-11-24

Family

ID=88817722

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202223526150.5U Active CN220085495U (en) 2022-12-25 2022-12-25 Test platform

Country Status (1)

Country Link
CN (1) CN220085495U (en)

Similar Documents

Publication Publication Date Title
CN102650975B (en) Realization method of I2C bus for multi-hardware platform FT server
CN108228509B (en) USB interface switching device and electronic equipment
US7818469B2 (en) USB device and peripheral device changing functional module to activate in accordance with descriptor
CN201489794U (en) LCM testing device
CN101957802B (en) USB device with driving program
CN208848137U (en) Mainboard with charging function
CN107807558B (en) Multi-bus communication board card circuit based on PCI9054 and control method
CN220085495U (en) Test platform
CN110245048B (en) Intelligent management system and management method for chassis
CN204496490U (en) The address card that a kind of upper pull-up voltage is adjustable
CN208508138U (en) Modularized core plate and electronic equipment
CN115525099B (en) Terminal equipment and method for detecting keyboard access
CN115858426A (en) Hard disk interface, hard disk and electronic equipment
CN204992516U (en) Computer protection device and power equipment
Gay Custom Raspberry Pi Interfaces: Design and build hardware interfaces for the Raspberry Pi
CN110908673B (en) Digital power supply chip burning method
CN207939643U (en) Device for shuangping san
CN215867834U (en) M.2B KEY interface, computer mainboard and computer equipment
CN101840384B (en) Computer device
KR20040052675A (en) USB Memory Device Combined with Charging and Data Link
CN217606001U (en) Current test system of sample chip
CN111045973A (en) Integrated circuit, bus system and control method thereof
CN220154914U (en) Fool-proof circuit of PS2 interface and electronic equipment
Gay Custom Raspberry Pi Interfaces
CN212588408U (en) Converter for converting TYPE-C signal into HDMI signal

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant