Embedded remote experiment module
By designing an embedded remote experiment module, users can remotely connect the experiment board and the interface board, and use the camera's real-time video data to conduct experiments, solving the problems of limited offline experiment resources and inflexible time, and achieving an efficient and convenient remote experiment experience.
Patent Information
- Application Number
- CN202420411213.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-04
- Publication Date
- 2025-04-11
- Estimated Expiration
- 2034-03-04
Smart Images

Figure CN222749068U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the field of embedded remote experiment, in particular to an embedded remote experiment module. Background Art
[0002] Student experiments are a very important part of higher education. They can provide practical opportunities, improve students' thinking ability, and stimulate interest and innovation. At present, student experiments are mainly conducted offline. Although this is a traditional teaching method, it also has some shortcomings and disadvantages:
[0003] Offline laboratory resources are limited and cannot meet the needs of a large number of students. Students may need to wait in line and use limited instruments and equipment together, resulting in wasted experimental time. The laboratory space is limited and cannot accommodate a large number of students to conduct experiments at the same time. This may prevent students from participating in experiments in person, reducing students' practical opportunities. Offline laboratories usually have fixed opening hours or require advance reservations. Students need to conduct experiments at the prescribed time, which limits the efficiency of laboratory use. Such a time arrangement may not be flexible enough for students to conduct experiments according to their own learning progress and interests. Offline experiments require going to the laboratory or conducting experiments on site, which increases the user's transportation and time costs. The conduct of offline experiments requires various operations, including instrument connection, experimental preparation, and experimental process recording, which limits the efficiency of the experiment.
[0004] Based on the above situation, the utility model proposes an embedded remote experiment module to effectively solve the above problems. Utility Model Content
[0005] In order to solve the problems existing in the background technology, the utility model provides an embedded remote experiment module.
[0006] The utility model adopts the following technical solutions:
[0007] An embedded remote experiment module, the embedded remote experiment module includes an experiment board, an interface board and a camera, the camera is located above the experiment board, the camera is used to shoot the experiment board and upload real-time video data to a computer, the camera is connected to a power supply through a power cord, and is connected to a computer through a communication line, and the experiment board and the interface board are connected to the computer;
[0008] The experimental board includes an embedded microprocessor, an LED display, a digital tube display, a keyboard input and an I / O interface; the interface board includes a processor, and the processor is used to control the on-off status between the microprocessor pins in the experimental board and the pins of other functions; the experimental board and the interface board are respectively connected to the computer through a communication interface, the input and output pins of the experimental board are connected to the interface board processor pins, and the interface board processor is connected to the experimental board processor.
[0009] Furthermore, the input and output pins of the experimental board include LED pins, digital tube pins, keyboard pins and I / O pins.
[0010] Furthermore, the camera is connected to electricity via a power cord.
[0011] Furthermore, the experimental board classifies pins with different functions or different input and output forms.
[0012] Furthermore, the interface board is located below the experimental board, and the minimum main frequency of the processor of the interface board is more than 5 times the main frequency of the experimental board.
[0013] Furthermore, a system of embedded remote experiment modules includes a chassis, a lighting mechanism, a computer and a remote shared experiment platform, wherein the chassis is provided with a plurality of embedded remote experiment modules; the lighting mechanism is located above the embedded remote experiment modules, and the embedded remote experiment modules are arranged in the chassis.
[0014] The embedded remote experiment module provided by the utility model: Compared with the existing offline experiment method, the remote experiment eliminates the need for users to operate on site, saving time for equipment preparation and self-wiring. Users can arrange experiments according to their own time and place, which greatly improves the convenience and flexibility of experiments and improves the utilization efficiency of laboratories and experimental equipment. Remote experiments allow users to share experimental resources through the network, reducing the cost of experiments. Users can archive experimental videos by themselves, providing a more convenient way to record experiments, which is convenient for users to review experiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1 This is the layout diagram of the embedded remote experiment module of the utility model;
[0016] Figure 2 This is a layout diagram of the embedded remote experiment system of the utility model.
[0017] The serial numbers marked in the figure are: 1-experimental board, 2-camera, 3-lighting mechanism, 4-interface board, 5-router, 6-computer, 7-power supply. DETAILED DESCRIPTION
[0018] The utility model is further described in detail below in conjunction with the accompanying drawings and specific implementation methods.
[0019] Embodiment 1:
[0020] See attached Figure 1 The embedded remote experiment module includes an experiment board 1, an interface board 4 and a camera 2. The camera 2 is located above the experiment board 1. The camera 2 is used to shoot the experiment board 1 and upload real-time video data to the computer 6. The camera 2 is connected to the power supply 7 through a power cord, connected to the computer 6 through a communication line, and connected to the router 5 through a network cable. The experiment board 1 and the interface board 4 are connected to the computer 6. The router 5 is connected to the computer 6, and the router can provide a network for the camera 2 and upload videos.
[0021] The experimental board includes an embedded microprocessor, the model of which is an MCS51 microprocessor, and has functions such as LED display, digital tube display, keyboard input, and other I / O interfaces;
[0022] The interface board includes an STM32 processor, which can control the on-off status between the microprocessor pins in the experimental board and the pins of other functions; the input and output pins of the experimental board are connected to the interface board processor pins, and the input and output pins of the experimental board include LED pins, digital tube pins, keyboard pins, and other I / O pins, etc. The interface board processor is connected to the experimental board processor.
[0023] The input and output pins of the experimental board include LED pins, digital tube pins, keyboard pins and I / O pins. The camera is connected to the power supply through a power cord. The experimental board classifies pins with different functions or different input and output forms. The interface board is located below the experimental board, and the minimum main frequency of the processor of the interface board is more than 5 times the main frequency of the experimental board.
[0024] The experimental board classifies pins with different functions or different input and output forms, such as processor pins, digital tube pins, keyboard pins, other I / O pins, etc., into groups of one, four, eight or sixteen, and connects to the interface board in groups. The interface board can control the on-off status between the microprocessor pins in the experimental board and the pins of other functions according to the pin table provided by the user.
[0025] The method of using the embedded remote experiment module is as follows:
[0026] Step 1. Connect your computer to the Internet;
[0027] Step 2. The user remotely connects to the computer;
[0028] Step 3. The camera acquires the video image of the experimental board and uploads the real-time video to the computer. The user can observe the image remotely.
[0029] Step 4. The user fills in the pin table or imports the pin table in the specified format and uploads it to the computer remotely;
[0030] Step 5. The user remotely uploads the code to be burned and burns the code;
[0031] Step 6. The user obtains the real-time video image of the experimental board by remotely connecting to the computer, and observes the running result display of the experimental board after burning;
[0032] Step 7. Repeat steps 4-6 to complete the experiment.
[0033] The following is a line connection method between an experimental board and an interface board: as shown in Table 1:
[0034]
[0035]
[0036]
[0037] Table 1
[0038] The experimental board has a total of 32 MCS51 processor IO pins, which are divided into four groups, namely P0 to P3: the first group P00-P07 is connected to the PD15-PD8 pins of the interface board STM32; the second group P10-P17 is connected to the PD7-PD0 pins of the interface board; the third group P20-P27 is connected to the PC0-PC7 pins of the interface board; the fourth group P30-P37 is connected to the PE7-PE0 pins of the interface board.
[0039] The experimental board has 5 motor pins in total: MT1-MT5 are connected to the interface board PB3-PB7 pins.
[0040] The experimental board has 12 digital tube pins in total, which are divided into two groups: the first group A-DP is connected to the interface board PE15-PE8 pins; the second group PUT1-PUT4 is connected to the interface board PC9-PC12 pins.
[0041] The experimental board has 8 LED pins in total: L1-L8 are connected to the interface board PA7-PA0 pins.
[0042] The experimental board has one relay pin: JD1 connected to the interface board PC14 pin.
[0043] The experimental board has one buzzer pin: BEEP connected to the interface board PC15 pin.
[0044] The experimental board has one infrared sending pin: DR1 which is connected to the interface board PB12 pin.
[0045] The experimental board has one infrared receiving pin: HWERR connected to the interface board PB13 pin.
[0046] The camera 2 can shoot the experimental board and upload real-time video data to the computer 6. The camera 2 is located above the experimental board 1, and the camera 2 is connected to the power supply 7 through a power line and connected to the computer 6 through a communication line; the experimental board 1 and the interface board 2 are respectively connected to the computer 6 through a communication interface.
[0047] Embodiment 2:
[0048] like Figure 2 As shown, an embedded remote experiment system includes a chassis, a lighting mechanism 3, a computer 6 and a remote shared experiment platform, wherein a plurality of embedded remote experiment modules are arranged in the chassis; the lighting mechanism 3 is located above the embedded remote experiment module, the embedded remote experiment module is arranged in the chassis, the embedded remote experiment module includes an experiment board 1, an interface board 4 and a camera 2, the camera is located above the experiment board 1, the camera 2 is used to shoot the experiment board 1 and upload real-time video data to the computer 6, the camera 2 is connected to a router 5 via a network cable, the router 5 is connected to the computer 6, the experiment board 1 and the interface board 4 are connected to the computer, the router 5 can provide a network for the camera 2 and upload videos, and the lighting mechanism 3 can provide basic lighting for the experiment board;
[0049] The experimental board includes an embedded microprocessor, an LED display, a digital tube display, a keyboard input and an I / O interface; the interface board includes a processor, and the processor is used to control the on-off status between the microprocessor pins in the experimental board and the pins of other functions; the experimental board and the interface board are respectively connected to the computer through a communication interface, the input and output pins of the experimental board are connected to the pins of the interface board processor, and the interface board processor is connected to the processor of the experimental board;
[0050] The remote shared experiment platform includes a simulated keyboard, and keyboard input is achieved by clicking the simulated keyboard button on the remote shared experiment platform. The signal input by the simulated keyboard is transmitted to the processor of the structure board, which is used for the processor to control the on and off of the corresponding keyboard pins on the interface board, and transmit the control information to the embedded microprocessor of the experiment board. The simulated keyboard includes the following operating steps:
[0051] Step 1. Click the button of the simulated keyboard;
[0052] Step 2. After clicking Success, the platform will prompt Success;
[0053] Step 3. The remote shared experiment platform obtains click data;
[0054] Step 4. The platform sends a signal simulating keyboard clicks to the processor of the experimental board through the processor of the interface board;
[0055] Step 5. The breadboard processor processes the analog signal.
[0056] The lighting mechanism is LED lighting, which is located above the corresponding experimental board and is no more than one meter high from the experimental board. It can illuminate the corresponding experimental board and ensure that the output displays of the experimental board in the real-time camera screen, such as LED display and digital tube display, are clearly visible.
[0057] The system also includes a USB extender, the interface boards are respectively connected to the USB extender through communication interfaces, and the USB extender is connected to the computer.
[0058] The input and output pins of the experimental board include LED pins, digital tube pins, keyboard pins and I / O pins. The camera is connected to the power supply through a power cord; the lighting mechanism is connected to the power supply through a power cord. The experimental board classifies pins with different functions or different input and output forms. The interface board is located below the experimental board, and the minimum main frequency of the processor of the interface board is more than 5 times the main frequency of the experimental board. The specific interface method of the experimental board is the same as that of Example 1, and will not be repeated here.
[0059] The method for using the system of the embedded remote experiment module comprises the following steps:
[0060] Step 1. The user logs in to the remote shared experiment platform, opens the remote shared experiment platform, and logs in to the platform using an account and password;
[0061] Step 2. Select the embedded remote experiment module;
[0062] Step 3. Obtain the video image of the experimental board: The corresponding camera of the embedded remote experiment module uploads the real-time video image to the remote shared experiment platform; the user can observe the video image remotely.
[0063] Step 4. Configure pins, upload and burn the program;
[0064] Step 5. Repeat step 4 to complete the experiment.
[0065] Furthermore, the remote shared experiment platform described in step 2 provides two embedded remote experiment module selection methods: if the user chooses the system to allocate an embedded remote experiment module, the system will allocate an idle embedded remote experiment module for the user to use; if the user chooses an embedded remote experiment module by himself, the system will determine whether the embedded remote experiment module is idle.
[0066] Furthermore, the remote sharing experiment platform described in step 4 provides two ways to configure pins: the user fills in the pin table; imports the pin table in a specified format;
[0067] Furthermore, in step 4, the program code to be burned is uploaded remotely to the remote shared experiment platform, and the remote shared experiment platform controls the burning of the program code. After the burning is successful, the remote shared experiment platform returns a success prompt.
[0068] This system can realize and is not limited to the following experiments, as follows.
[0069] Experiment 1
[0070] Experiment name: LED running water light.
[0071] Experiment description: Light up the LED lights one by one in sequence, and the LED lights will flow from one end to the other like water, forming the effect of flowing water lights.
[0072] The operation process is as follows:
[0073] Step 1. Log in to the remote shared experiment platform, open the remote shared experiment platform, and log in to the platform using the account and password;
[0074] Step 2. Select the embedded remote experiment module;
[0075] Step 3. Obtain the video image of the experimental board: the camera corresponding to the embedded remote experiment module uploads the real-time video image to the remote sharing experiment platform;
[0076] Step 4. Configure the pins. Connect the LED pins of the experiment board to the processor pins of the experiment board, that is, connect the LED pins L1-L8 to the processor pins P00-P07.
[0077] Step 5. Write the program: Open the integrated development environment, such as Keil C, and create a new project. Import the header file into the program, declare the data type, and define the control pin of the LED. Write the delay function delay(), write the LED running light program in the main function main(), compile the code, modify and check the code, generate an executable file and export it, upload and burn the program;
[0078] Step 6. Debug and test: After the programming is successful, observe the running results of the experimental board and the LED running light effect should start running. If the LED beads do not run in the expected order, it may be due to circuit connection errors, program logic errors, etc. At this time, you need to carefully check the pin configuration and program code to troubleshoot;
[0079] Step 7. When the LED water light effect meets expectations, the production is completed. You can take screenshots or record video images of the experimental board to save the experimental results.
[0080] The two pin filling methods for the above experiment are as follows:
[0081] a. Fill in the pin table; the pin table is divided into several groups according to the pin functions of the experimental board. The first column of the pin table of each group is the functional pin number of the experimental board. The user needs to select the processor pin of the experimental board connected to the corresponding functional pin in the second column of the pin table. That is, in the LED function classification, fill in the P00-P07 processor pins corresponding to the L1-L8 pins.
[0082] The following is an example pinout, as shown in Table 2:
[0083]
[0084] Table 2
[0085] b. Import the pin table in the specified format: Create a new pin table and fill in the pin table according to the circuit design. The first column of the table is the processor pins P00-P01, P10-P17, P20-P27, P30-P37 of the experimental board; the second column of the table is filled with the functional pins that the processor pins of the experimental board need to be connected to. That is, fill in the L1-L8 LED pins at the corresponding positions of the P00-P07 processor pins.
[0086] The following is an example pinout, as shown in Table 3:
[0087]
[0088]
[0089] Table 3
[0090] Experiment 2
[0091] Experiment name: Matrix Button.
[0092] Experimental description: Press the buttons S1-S16 on the matrix button, and the digital tube will display the corresponding number.
[0093] The operation process is as follows:
[0094] Step 1. Log in to the remote shared experiment platform, open the remote shared experiment platform, and log in to the platform using the account and password;
[0095] Step 2. Select the embedded remote experiment module;
[0096] Step 3. Obtain the video image of the experimental board: the camera corresponding to the embedded remote experiment module uploads the real-time video image to the remote sharing experiment platform;
[0097] Step 4. Configure the pins. The digital tube pins A-DP of the experimental board are connected to the processor P00-P07 of the experimental board. The digital tube pins PUT1-PUT4 of the experimental board are connected to the processor P24-P27 of the experimental board. The matrix keyboard pins H1-H8 of the experimental board are connected to the processor P30-P37 of the experimental board.
[0098] Step 5. Write the program: Open the integrated development environment, such as Keil C, create a new project, write the program, compile the code, modify and check the code, generate an executable file and export it, upload and burn the program;
[0099] Step 6. Debug and test: After the programming is successful, observe the running results of the experimental board. When the user clicks the 1-16 keys on the simulated keyboard, the digital tube displays the corresponding key value. If the digital tube does not display the corresponding number as expected, it may be due to circuit connection errors, program logic errors, etc. At this time, you need to carefully check the pin configuration and program code to troubleshoot;
[0100] Step 7. When the effect meets the expectation, the production is completed. Users can take screenshots or record video images of the experimental board to save the experimental results.
[0101] The two pin filling methods for the above experiment are as follows:
[0102] a. The user fills in the pin table: the pin table is divided into several groups according to the pin functions of the experimental board. The first column of the pin table of each group is the functional pin number of the experimental board. The user needs to select the processor pin of the experimental board connected to the corresponding functional pin in the second column of the pin table. That is, in the 8-pin function classification of the digital tube display, the A-DP pins are filled in with the P00-P07 processor pins; in the 4-pin function classification of the digital tube control, the PUT1-PUT4 pins are filled in with the P24-P27 processor pins; in the matrix keyboard function classification, the H1-H8 pins are filled in with the P30-P37 processor pins.
[0103] The following is an example pinout, as shown in Table 1:
[0104] Digital tube display 8 pin Configuration Pins Digital tube control 4 pins Configuration Pins Analog matrix keyboard Configuration Pins A P00 PUT1 P24 H1 P30 B P01 PUT2 P25 H2 P31 C P02 PUT3 P26 H3 P32 D P03 PUT4 P27 H4 P33 E P04 H5 P34 F P05 H6 P35 G P06 H7 P36 DP P07 H8 P37
[0105] Table 1
[0106] b. Import the pin table in the specified format: Create a new pin table and fill in the pin table according to the circuit design in step 2. The first column of the table is the processor pins P00-P01, P10-P17, P20-P27, P30-P37 of the experimental board; the second column of the table is filled with the functional pins that need to be connected to the processor pins of the experimental board. That is, fill in the A-DP digital tube display pins at the corresponding positions of the P00-P07 processor pins; fill in the PUT1-PUT4 digital tube control pins at the corresponding positions of the P24-P27 processor pins; fill in the H1-H8 matrix keyboard pins at the corresponding positions of the P30-P37 processor pins.
[0107] The following is an example of a pinout, as shown in Table 2:
[0108]
[0109]
[0110] Table 2
[0111] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention is described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
Claims
1. Embedded remote experiment module, characterized in that: The embedded remote experiment module includes an experiment board, an interface board and a camera, wherein the camera is located above the experiment board, and is used to shoot the experiment board and upload real-time video data to a computer. The camera is connected to a power supply through a power cord and to a computer through a communication line, and the experiment board and the interface board are connected to the computer; The experimental board includes an embedded microprocessor, an LED display, a digital tube display, a keyboard input and an I / O interface; the interface board includes a processor, and the processor is used to control the on-off status between the microprocessor pins in the experimental board and the pins of other functions; the experimental board and the interface board are respectively connected to the computer through a communication interface, the input and output pins of the experimental board are connected to the interface board processor pins, and the interface board processor is connected to the experimental board processor.
2. The embedded remote experiment module according to claim 1, characterized in that: The input and output pins of the experimental board include LED pins, digital tube pins, keyboard pins and I / O pins.
3. The embedded remote experiment module according to claim 1, characterized in that: The interface board is located below the experimental board, and the minimum main frequency of the processor of the interface board is more than 5 times the main frequency of the experimental board.
Citation Information
Cited By
Embedded remote experiment module, system and use method
CN118506629A