Modularized embedded teaching device
By using a magnetic connection method for modular embedded teaching devices, the problem of high connection complexity in intelligent hardware systems is solved, enabling flexible connection between experimental modules and the main control board, adapting to the simplicity of operation and miniaturization of equipment in various scenarios.
Patent Information
- Application Number
- CN202411577869.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-07
- Publication Date
- 2025-11-21
AI Technical Summary
Existing smart hardware systems lack learning capabilities, cannot adapt to complex and ever-changing real-world application scenarios, and are bulky, complex to connect, and inconvenient to operate.
The modular embedded teaching device adopts multiple sets of module magnetic interfaces and main control board magnetic interfaces on the bottom plate of the experimental box. The experimental modules are connected to the main control board by magnetic attraction, which simplifies the connection operation and improves flexibility.
It achieves flexible connection between experimental modules and main control board, reduces connection complexity, adapts to complex and ever-changing application scenarios, has a small size, is easy to operate, and improves learners' innovation ability and initiative.
Smart Images

Figure CN120998099A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of embedded teaching technology, and in particular to a modular embedded teaching device. Background Technology
[0002] With the rapid development of IoT technology, smart hardware devices are widely used in various fields. However, existing smart hardware systems lack learning capabilities and can only execute pre-set programs. Once the behavior changes, the program must be rewritten and re-programmed, which is time-consuming and labor-intensive, and cannot adapt to complex and ever-changing real-world application scenarios. At the same time, similar products on the market are also quite bulky, requiring significant time and space for use and relocation. Since existing smart hardware products are built with a specific application scenario in mind, learners can only learn the capabilities specific to that scenario. Summary of the Invention
[0003] The purpose of this application is to provide a modular embedded teaching device that reduces the complexity of connecting experimental modules to the motherboard and improves the flexibility of connecting experimental modules to the main control board.
[0004] To achieve the above objectives, this application provides the following solution:
[0005] In a first aspect, this application provides a modular embedded teaching device, comprising: an experimental box, a main control board, and multiple experimental modules. The bottom plate of the experimental box is provided with multiple sets of module magnetic interfaces and a set of main control board magnetic interfaces. Each set of module magnetic interfaces is connected to the main control board magnetic interface inside the experimental box in the same way. The main control board magnetic interface is used to connect to the main control board, and each set of module magnetic interfaces is used to connect to any one of the experimental modules. The main control board is used to execute a target test program and display the execution result of the target test program.
[0006] Optionally, the experimental box includes six adapter boards, one of which is connected to the main control board, and the other five adapter boards are connected to the adapter board connected to the main control board via ribbon cables.
[0007] Optionally, each group of the module magnetic interface includes 28×2 magnetic attraction pins, and the main control board magnetic interface includes 9×6 magnetic attraction pins;
[0008] The main control board uses an STM32 microcontroller.
[0009] Optionally, the experimental modules include a 4×4 matrix keyboard module, a WS2812 tri-color LED module, a WIFI module, a DC motor module, a stepper motor module, a four-digit LED display module, a human body sensor module, a relay module, a fingerprint recognition module, an environmental sensor module, an analog-to-digital converter module, a Bluetooth module, and an intelligent voice recognition module; the human body sensor module is used to measure the number of steps a person takes.
[0010] Optionally, the keys on the 4×4 matrix keyboard module are backlit plastic keys. When the 4×4 matrix keyboard module is connected to the main control board, the backlight on each plastic key will light up.
[0011] Optionally, the WS2812 tri-color LED module is a dot matrix display screen composed of 64 WS2812 RGB LED beads.
[0012] Optionally, the chip model of the WIFI module is ESP8266.
[0013] Optionally, the DC motor module includes a DC motor, which is equipped with a fan blade and two pins. The fan blade is used to reflect the direction of the DC motor, one pin is used to control the direction of the DC motor, and the other pin is used to output pulse width modulation to adjust the speed of the DC motor.
[0014] Optionally, the environmental sensor module is used to monitor the temperature, humidity, air pressure, and altitude of the environment in real time.
[0015] Optionally, the intelligent voice recognition module uses a chip model of SU-30T.
[0016] According to the specific embodiments provided in this application, the following technical effects are disclosed:
[0017] This application provides a modular embedded teaching device. The experimental box has multiple sets of module magnetic interfaces and one set of main control board magnetic interfaces on its base plate. The module magnetic interfaces and the main control board magnetic interfaces are connected in the same way inside the experimental box. In use, after the main control board is attached to the main control board magnetic interface, the experimental module to be tested can be directly attached to any module magnetic interface to achieve communication connection between the experimental module to be tested and the main control board. There is no need to check the pins, which simplifies the operation, reduces the complexity of connecting the experimental module and the motherboard, and improves the flexibility of connecting the experimental module and the main control board. Attached Figure Description
[0018] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0019] Figure 1 A schematic diagram of a modular embedded teaching device provided in one embodiment of this application;
[0020] Figure 2 This is a schematic diagram showing the connection relationship of various modules in a modular embedded teaching device provided in an embodiment of this application. Detailed Implementation
[0021] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0022] To make the above-mentioned objectives, features and advantages of this application more apparent and understandable, the application will be further described in detail below with reference to the accompanying drawings and specific embodiments.
[0023] This application provides a modular embedded teaching device, such as Figure 1 As shown, the modular embedded teaching device includes: an experimental box, a main control board, and multiple experimental modules. The bottom plate of the experimental box is equipped with multiple sets of module magnetic interfaces and one set of main control board magnetic interfaces. Each set of module magnetic interfaces is connected to the main control board magnetic interface inside the experimental box using the same connection method. The main control board magnetic interface is used to connect to the main control board, and each set of module magnetic interfaces is used to connect to any one of the experimental modules. The main control board is used to execute the target test program and display the execution result of the target test program.
[0024] Each module's magnetic interface connects to each pin on the main control board to ensure that it can be stacked arbitrarily.
[0025] When using this application, after the main control board is attached to the magnetic interface of the main control board, the experimental module to be tested can be directly attached to any module magnetic interface to achieve communication connection between the experimental module to be tested and the main control board. There is no need to check the pins, the operation is simple and the complexity of connecting the experimental module and the motherboard is reduced.
[0026] The base plate is located inside the box. The box is responsible for housing the base plate, main control board, and experimental modules. The box contains six adapter boards, one of which is connected to the main control board, and the other five adapter boards are connected to the adapter board connected to the main control board via ribbon cables.
[0027] Each module's magnetic interface includes 28×2 magnetic attraction pins, and the main control board's magnetic interface includes 9×6 magnetic attraction pins, which are in the form of spring pins.
[0028] The main control board connects to the main control board magnetic interface on the base plate via magnetic attraction feet on the back. The experimental module connects to the base plate via the magnetic interface, ensuring that its 28×2 magnetic attraction feet are in contact with the base plate.
[0029] like Figure 2 As shown, the 13 experimental modules are a 4×4 matrix keyboard module, a WS2812 tri-color LED module, a WIFI module, a DC motor module, a stepper motor module, a four-digit LED display module, a human body sensor module, a relay module, a fingerprint recognition module, an environmental sensor module, an analog-to-digital converter module, a Bluetooth module, and an intelligent voice recognition module; the human body sensor module is used to measure the number of steps a person takes.
[0030] The 4×4 matrix keyboard module, WS2812 tri-color LED module, stepper motor module, four-digit LED display module, and relay module are all connected to the main control board through general-purpose input / output (GPIO) interfaces. The human body sensor module is connected to the main control board through an inter-integrated circuit (IIC) bus, and the relay module is also connected to the main control board through an inter-integrated circuit (IIC) bus.
[0031] In one exemplary embodiment, the base plate is provided with 8 sets of magnetic interface modules. Each experimental module can be connected to any set of magnetic interface modules on the base plate through the magnetic interface. Each set of magnetic interface modules is divided into a left part and a right part. The left part of each set of magnetic interface modules corresponds to the same pins on the main control board, and the right part also corresponds to the same pins. This allows the experimental module to be directly attached to any magnetic interface module when connecting to the main control board, thus enabling communication between the experimental module under test and the main control board without having to check the pins, avoiding the problem of incorrect insertion. Any set of 8 magnetic interface modules can be selected for use, and experimental modules can be stacked for use.
[0032] Suitable for teaching embedded systems, students can connect the main control board and experimental modules through the experimental box base. One or more experimental modules can be placed to communicate with the main control board, and the phenomena of each experimental module can be clearly observed through the main control board. The experimental modules cover almost all the knowledge points of embedded development, and students can learn embedded related knowledge by developing the experimental modules.
[0033] Traditional embedded experimental boxes require dedicated programmers to download programs. However, the experimental box in this application only requires a regular Type-C data cable to download programs. Users can combine different experimental modules into a usage scenario, and then write a program for these experimental modules to uniformly process the data of different experimental modules to simulate a real product. Finally, the written control program is burned into the main controller, thus adapting to complex and ever-changing real-world application scenarios.
[0034] The 4×4 matrix keyboard module features backlit plastic keys. When the module is connected to the main control board, the backlight on each key illuminates, indicating whether the magnetic interface between the module and the main control board is secure. The keys on the 4×4 matrix keyboard module can be used simultaneously with other modules; only the specific function of each key needs to be configured.
[0035] The WS2812 tri-color light module is a dot matrix display screen composed of 64 WS2812 RGB LED beads. When in use, it can display three colors: red, green, and blue to achieve the effect of ambient lighting.
[0036] The WIFI module uses an ESP8266 chip. By sending corresponding AT commands to the ESP8266 chip, the chip's mode, WIFI connection, and server connection can be configured, enabling it to connect to hotspots and send and receive data with servers connected to the same hotspot. AT commands are a common command format in embedded systems; the main control module sends AT commands to the ESP8266 chip to instruct it to perform network connections and data acquisition.
[0037] The DC motor module includes a DC motor and a drive circuit. A fan blade and two pins of the drive circuit are mounted on the rotating shaft of the DC motor. The fan blade is connected to the DC motor and is used to respond to the direction of the DC motor. One pin is used to control the direction of the DC motor, and the other pin is used to output pulse width modulation (PWM) to adjust the speed of the DC motor.
[0038] The stepper motor module consists of a four-phase five-wire stepper motor and two photoelectric switches. The stepper motor's rotation is controlled by sequentially inputting high and low voltage levels to its four pins. The rotation direction changes after passing through the photoelectric switches. The stepper motor drives a leadscrew, converting the motor's rotation into leadcrew translation. When the leadscrew reaches its leftmost position, it triggers the left photoelectric switch. The main controller detects this signal and switches the leadscrew's direction of movement. Similarly, when the leadscrew reaches its rightmost position, it triggers the right photoelectric switch, again switching the leadscrew's direction of movement.
[0039] The four-digit LED display module is a common-cathode four-digit integrated LED display driven by a 74HC595 chip. When in use, it can display the program running time, or be used as a key counter. When used with other modules, it can achieve different functions.
[0040] The human body sensor module can measure the number of steps a person takes. It determines whether a person is walking by analyzing changes in acceleration and angular velocity along the x, y, and z axes compared to the previous measurement. If walking is detected, the number of steps is counted. Experimenters can tilt the experimental box left or right to simulate taking a step. The human body sensor module allows researchers to learn about sensor data acquisition and processing.
[0041] The relay module is used to control the switching on and off of the circuit power supply, and is used in conjunction with other components on the relay module.
[0042] The fingerprint recognition module can enroll and query fingerprints. The main control board sends corresponding commands to the fingerprint recognition module via serial port, which enables the fingerprint module to enroll fingerprints. Similarly, it can also query new fingerprints to see if there is a corresponding fingerprint in the fingerprint database. It can be used in conjunction with other experimental modules to enrich its functionality.
[0043] The environmental sensor module is used to monitor the temperature, humidity, air pressure, and altitude of the environment in real time. The environmental sensor module includes a temperature and humidity sensor unit and an air pressure unit.
[0044] The Analog-Digital Converter (ADC) module can acquire externally input voltage values and input them to the main control board. The acquired voltage values are then displayed as waveforms on the main control board's screen.
[0045] The intelligent voice recognition module uses the SU-30T chip. When using it, the firmware package needs to be configured and downloaded to the SU-30T chip. A wake word can be set to make the SU-30T chip perform related actions. It can be used in conjunction with other experimental modules to obtain or output information from other experimental modules.
[0046] The main control board uses an STM32 microcontroller. The STM32 microcontroller model is STM32F407ZET6. The main control board also includes an LCD screen, a USB interface, and 9×6 magnetic attraction pins. The LCD screen is used to display parameters and other data during the execution of the target test program.
[0047] In actual operation, the main control board is plugged into the bottom plate of the experimental box via its magnetic interface (the main control board's plug-in position is fixed; the appearance of the main control board's magnetic interface differs from the other five sets of module magnetic interfaces—the main control board's magnetic interface is a 9×6 pin interface, while the other five sets are 28×2 pin interfaces). The experimental box does not have an independent power supply; during use, the main control board is connected to the computer or power supply via a serial cable. The main control board is connected to the computer or power supply via a USB interface to power the entire experimental box. Regardless of the experimental module used, the main control board must be magnetically attached to the bottom plate before subsequent operations can be performed. The bottom plate of the experimental box consists of six adapter boards, one of which connects to the main control board. The other five adapter boards are connected to the main control board's adapter board via ribbon cables. Before use, the main control board must be magnetically attached to the designated position and powered on. If other experimental modules are to be used, any other position can be selected. Attachment can be performed at any time, either before or after power-on.
[0048] The main control board is primarily used for programming and powering the entire experimental box. It has external TYPE-C cables with 3.3V and 5V outputs. Once the main control board is attached to the base plate, the voltage of all magnetic connectors on the base plate can be measured. The experimental modules to be used need to be attached to the base plate. The main control board and the experimental modules are connected via the base plate of the experimental box, allowing the main control board to control the experimental modules.
[0049] This application allows for programmatic control of experimental modules. The programmed code can be burned into the main control board, and the corresponding pins on the main control board will be connected to the pins of the experimental modules attached to the baseboard, thereby controlling the experimental modules. Each experimental module uses different pins during the design process, so multiple experimental modules can be attached to the baseboard during the experiment, allowing the main control board to control multiple experimental modules simultaneously and achieve more complex operations.
[0050] This application presents a modular embedded teaching device that offers advantages over existing technologies in terms of high flexibility. Each part can operate independently or in conjunction with other parts, making it highly customizable. When using it, you only need to add the corresponding module. The operation is simple; you only need to attach the module to the board to use it without having to check the pins.
[0051] This application also has the advantage of high real-time performance: by viewing the changes in various parameters and the values of various parameters in the product in real time, the sensor can be used to realize real-time perception of environmental information, ensuring the accuracy and timeliness of the data.
[0052] This product utilizes a base, main control module, and expansion modules design, allowing for independent assembly and combination using a building block-like approach. Users can flexibly select different expansion and main control modules. The experimental modules employ magnetic attachment and a stackable design, facilitating easy assembly and significantly saving space, thus reducing the device's size. Because of its modular design, learners can flexibly choose which experimental modules to use based on their own scenarios to achieve different effects, fostering their innovation and initiative.
[0053] This application allows multiple experimental modules to be used together. The programs of each experimental module can be directly downloaded to the main control board. Whichever experimental module is used can be used independently without downloading the program again, which can adapt to complex and ever-changing real-world application scenarios.
[0054] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0055] This document uses specific examples to illustrate the principles and implementation methods of this application. The descriptions of the above embodiments are only for the purpose of helping to understand the methods and core ideas of this application. Furthermore, those skilled in the art will recognize that, based on the ideas of this application, there will be changes in the specific implementation methods and application scope. Therefore, the content of this specification should not be construed as a limitation of this application.
Claims
1. A modular embedded teaching device, characterized in that, The modular embedded teaching device includes an experimental box, a main control board, and multiple experimental modules. The bottom plate of the experimental box is equipped with multiple sets of module magnetic interfaces and one set of main control board magnetic interfaces. Each set of module magnetic interfaces is connected to the main control board magnetic interface inside the experimental box using the same connection method. The main control board magnetic interface is used to connect to the main control board, and each set of module magnetic interfaces is used to connect to any one of the experimental modules. The main control board is used to execute the target test program and display the execution results of the target test program.
2. The modular embedded teaching device according to claim 1, characterized in that, The experimental box includes six adapter boards, one of which is connected to the main control board, and the other five adapter boards are connected to the adapter board connected to the main control board via ribbon cables.
3. The modular embedded teaching device according to claim 1, characterized in that, Each module magnetic interface includes 28×2 magnetic attraction pins, and the main control board magnetic interface includes 9×6 magnetic attraction pins; The main control board uses an STM32 microcontroller.
4. The modular embedded teaching device according to claim 1, characterized in that, Multiple experimental modules include a 4×4 matrix keyboard module, a WS2812 tri-color LED module, a WIFI module, a DC motor module, a stepper motor module, a four-digit LED display module, a human body sensor module, a relay module, a fingerprint recognition module, an environmental sensor module, an analog-to-digital converter module, a Bluetooth module, and an intelligent voice recognition module; the human body sensor module is used to measure the number of steps a person takes.
5. The modular embedded teaching device according to claim 4, characterized in that, The 4×4 matrix keyboard module has backlit plastic keys. When the 4×4 matrix keyboard module is connected to the main control board, the backlight on each plastic key will light up.
6. The modular embedded teaching device according to claim 4, characterized in that, The WS2812 tri-color LED module is a dot matrix display screen composed of 64 WS2812 RGB LED beads.
7. The modular embedded teaching device according to claim 4, characterized in that, The chip model in the WIFI module is ESP8266.
8. The modular embedded teaching device according to claim 4, characterized in that, The DC motor module includes a DC motor, which is equipped with a fan blade and two pins. The fan blade is used to indicate the direction of the DC motor, one pin is used to control the direction of the DC motor, and the other pin is used to output pulse width modulation to adjust the speed of the DC motor.
9. The modular embedded teaching device according to claim 4, characterized in that, The environmental sensor module is used to monitor the temperature, humidity, air pressure, and altitude of the environment in real time.
10. The modular embedded teaching device according to claim 4, characterized in that, The intelligent voice recognition module uses the SU-30T chip.