Building block with identification information input device and building block system

By introducing an input device with identification information into the programming building blocks, and using analog signal acquisition circuits and controllers to identify device identification, the problem of unclear device correspondence in programming is solved, intuitive control and simplification of the programming process, and the writing is reduced Cost and eye health risks.

CN222145671UActive Publication Date: 2024-12-10WUHAN PAIYOU TECH LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202420607612.6
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-03-27
Publication Date
2024-12-10
Estimated Expiration
2034-03-27

AI Technical Summary

Technical Problem

There is a lack of intuitive structural design in existing visual programming, especially the unclear correspondence between program statements and input and output devices, which affects development efficiency and is not portable during the writing process using a large number of code blocks.

Method used

The building blocks with identification information input devices are designed, and the identification information of the second building block is identified by the combination of the first building block and the second building block through the combination of the first building block and the second building block, thereby realizing intuitive control of the input and output devices and simplifying the programming process.

Benefits of technology

By identifying the identification information of the second building block, program builders can intuitively see the specific input and output devices controlled by the written program, reduce the number of code building blocks, reduce the learning threshold, improve readability, and save writing costs and alleviate eye use. Health issues.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN222145671U_ABST
    Figure CN222145671U_ABST
Patent Text Reader

Abstract

The utility model discloses a building block with an identification information input device and a building block system, the outer surface of the building block is provided with a contact, the contact is connected with an analog signal acquisition circuit in the building block, the building blocks can be mutually spliced and connected, the building block is internally provided with a circuit board, the circuit board is provided with a controller, and the controller is connected with the identification information input device. The controller can transmit information to other devices with the controllers through the electronic connection interface circuit, and is spliced and combined with other building blocks with the controllers to construct a program representing logic. The utility model further discloses a building block with the identification information input provided with the contact and the passive device. According to the utility model, the building block with the controller inside acquires the identification information through the analog signal acquisition circuit and inputs the identification information into the electrical characteristics of the passive device of the building block, so that the process of changing program-controlled input and output equipment by a builder is more intuitive, and the learning and development efficiency of developers is greatly improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model relates to the field of program construction, in particular to a modular program combination building block. Background Art

[0002] At present, the development of youth programming is in full swing. In a simple sense, programming means converting human ideas into codes and languages ​​that can be recognized by computers according to certain coding rules, so that computers can help us realize mathematical operations, transaction processing and information query functions. Programming, as a creative activity that teenagers can generally participate in, can not only strengthen teenagers' logical thinking ability, systematic thinking ability, and organizational coordination ability, but also stimulate teenagers' innovative and creative ability, and has a strong auxiliary effect on teenagers' learning ability. In programming learning, the use of computers and compilers to write programs has been well known to the public, but this programming method has a high entry threshold for beginners and a high learning cost, thus generating graphical programming software such as scratch. However, these programming methods can never be separated from computers, and programmers cannot intuitively feel the running effect of the programs they write during the computer compilation process. At the same time, whether it is a computer or other electronic device, programming can never be separated from the screen, and keeping the programmer in front of the screen for a long time is not conducive to the user's eye health. In order to be separated from computers or other electronic devices and make the program writing process more intuitive and easy to understand, in the prior art, visual programming mostly uses building blocks as code components.

[0003] However, the current visual programming lacks a structural design that can intuitively indicate the program running status, especially the correspondence between the input and output devices specifically controlled by the program and the program statements, which affects the learning and development efficiency of program developers. When program developers in the prior art use building blocks as codes, if only one type of building block is used in the scenario of controlling multiple input and output devices, the identification information on the building block is not clear enough, that is, there is a lack of correspondence between program statements and devices, which is not conducive to the programmer observing which input and output device is actually controlled during the program running process. If each device uses a corresponding code building block, then when building a large input and output device control system, the excessive number of code building blocks is not convenient for programmers to carry. Utility Model Content

[0004] In view of the problems existing in the prior art, the utility model provides a building block with an identification information input device, aiming to solve the technical problem that the identification information of the existing building blocks is not clear enough.

[0005] Based on the above purpose, the utility model provides a building block with an identification information input device, including a first building block and a second building block, the first building block includes a housing, a circuit board and a first contact, the housing of the first building block has a matching structure 1, the circuit board is provided with a controller and an electronic connection interface and an analog signal acquisition circuit electrically connected to the controller respectively. The first contact is electrically connected to the analog signal acquisition circuit, the circuit board is in the building block housing, the electronic interface is exposed to the building block housing, the first building block is connected to another first building block or a designated device with a controller through the electronic interface to form a building block for representing a logic program; the second building block includes a housing and a second contact and an internal circuit provided on the housing, the internal circuit is electrically connected to the second contact, the housing is provided with an identification structure for indicating the control mode of the first building block, the housing is provided with a matching structure 2, the second building block is fixed to the first building block through the matching structure 2 and the matching structure 1, and the first contact is in contact with the second contact.

[0006] Furthermore, the first contact is exposed on the first building block housing, and the first contact is a metal or graphite contact.

[0007] Furthermore, the internal circuit is a single electronic component, and the second contact is a contact on the single electronic component.

[0008] Furthermore, when the first contact point contacts the second contact point, the analog signal acquisition circuit detects the electrical characteristics between the first contact point and the second contact point, and sends the electrical characteristics to the controller, so that the controller identifies the identification information content of the second building block based on the electrical characteristics.

[0009] Furthermore, the analog signal acquisition circuit is a voltage or current sampling circuit, and the electrical characteristic is the resistance or capacitance of the single electronic component.

[0010] Furthermore, the shell of the first building block is provided with characters, patterns or lights representing program semantics, and the matching structure on the first building block includes an arrow.

[0011] Furthermore, the identification structure on the shell of the second building block represents the characters or patterns of the input or output device, so that the controller receives and recognizes the information content of the identification structure of the second building block, and the matching structure 2 on the second building block includes at least one arrow.

[0012] Furthermore, the matching structure 1 on the first building block matches the matching structure 2 by interference fit or a slide rail.

[0013] Furthermore, there are at least two groups of first contacts, the two groups of first contacts include common contacts or do not include common contacts, and when the second building block is spliced ​​and combined with the first building block, the second contact connects to any group of the first contacts.

[0014] The utility model also provides a building block system with an identification information input device, comprising a plurality of the above-mentioned building blocks, wherein the electronic interface is exposed on the building block housing, and the electronic connection interfaces of the building blocks are connected to each other after the building blocks are spliced ​​together.

[0015] By using the building block with the identification information input device, when there is no computer for program building, the switching of multiple input and output devices controlled by the first building block is changed from the switching of the first building block to the change of the second building block with the information input device. After the first building block and the second building block are assembled, after the first contact point contacts the second contact point, the first building block can identify the second building block as the input and output device identification information. The program builder can directly see the specific input and output device controlled by the written program from the identification information on the second building block, quickly change the input and output device controlled by the program, simplify the program modification process, lower the threshold for beginners to learn programming, improve the readability of the program, reduce the number of code first building blocks required to control multiple input and output devices, and use another miniaturized second building block to control the actual device, saving the program writing cost and making it more convenient for the program builder to carry. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] The drawings described herein are used to provide further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute improper limitations on the present application.

[0017] Figure 1 It is a schematic diagram of the structure after the first building block and the second building block are spliced ​​together in one embodiment of the utility model.

[0018] Figure 2 It is a schematic structural diagram of the first building block with the upper shell opened in one embodiment of the utility model.

[0019] Figure 3 It is a top view of the first building block in one embodiment of the utility model.

[0020] Figure 4 It is a structural schematic diagram of a first building block in another embodiment of one embodiment of the utility model.

[0021] Figure 5 It is a front view of a second building block in one embodiment of the utility model.

[0022] Figure 6 It is a schematic diagram of the reverse side of the second building block in one embodiment of the utility model.

[0023] Figure 7 It is a schematic diagram of a first building block matching structure 1 in another embodiment of one embodiment of the utility model.

[0024] Figure 8 It is a schematic diagram of a second building block matching structure 2 in another embodiment of the first embodiment of the utility model.

[0025] Fig. 9 It is a top view of the first building block and the second building block after being spliced ​​together in one embodiment of the utility model.

[0026] Fig.10 It is a schematic diagram of the structure after the first building block and the second building block are spliced ​​together in one embodiment of the utility model. DETAILED DESCRIPTION

[0027] The present invention will be described in further detail below in conjunction with the accompanying drawings.

[0028] Figure 1 The building block with identification information input device provided by the utility model includes a first building block 7 and a second building block 14. The first building block 7 is the first block of the row, that is, the first block in each row when the program is spliced. Fig. 9 As shown. In this embodiment, the first building block is a program output block 30, that is, a building block that controls the output device in the program, hereinafter referred to as the output block 30. The output block 30 includes an output block circuit board 10 with a controller, a first contact 141, and an output block shell 8 printed with characters, patterns, or lights representing the semantics of the program. The output block shell 8 can be composed of an upper shell and an output block lower shell 9, or can be integrally formed. The specific production is based on actual conditions and is not limited here. The output block 30 also includes a female connector 11 connecting the output block to the upper and lower parts, a male connector 13 connecting the output block to the upper and lower parts, a female connector 12 connecting the output block to the left and right parts, an upper magnetic magnet 161 on the output block, a lower magnetic magnet 165 on the output block, and left and right magnetic magnets 163 on the output block.

[0029] The output block housing 8 has a matching structure 4, and the output block circuit board 10 is provided with a controller and an electronic connection interface 11 electrically connected to the controller, and the electronic interface is exposed to the output block housing 8. The output block circuit board 10 is also provided with an analog signal acquisition circuit connected to the controller, and the first contact 141 is electrically connected to the analog signal acquisition circuit. The output block circuit board 10 is inside the output block housing 8. The output block 30 is connected to another first building block 7 that is the same as the building block or a designated device with a controller through the electronic connection interface to form a building block for representing a logic program. In this embodiment, the electronic connection interface includes a female connector 11 connected to the upper and lower parts of the output block, and a male connector 13 connected to the upper and lower parts of the output block.

[0030] In actual use, the controller, the output block is connected to the male spring pin 131 up and down, the output block is connected to the female spring pin 111 up and down, the output block is connected to the female spring pin 121 left and right, the light bar 103 indicating program running, the light bar 101 indicating data transmission, and the first contact 141 connecting the input and output device building block are welded on the circuit board, the upper magnetic magnet 161 of the output block, the lower magnetic magnet 165 of the output block and the left and right magnetic magnets 163 are assembled in the magnet groove of the lower shell 9 of the output block, the male 13 connected to the output block up and down, the female connector 11 connected to the output block up and down, and the female connector 12 connected to the output block left and right are assembled on the spring pins, and the output block circuit board 10 is placed on the lower shell 9 of the output block, as shown in FIG. Figure 3 As shown, by snapping the upper shell together, a complete building block 30 with a controller inside can be obtained, and at this time, the first contact 141 is exposed outside the output block shell 8.

[0031] The second building block 14 is a building block indicating an input or output device, including a shell with a logo structure of characters or patterns representing input or output devices, and a second contact and an internal circuit provided on the shell. The internal circuit and the second contact are electrically connected. In this embodiment, the internal circuit is a single electronic component, such as a resistor 32, and the second contact 32 is a contact on the resistor. The shell of the second building block 14 is provided with a logo structure for indicating the control mode of the first building block, and the shell is provided with a matching structure 143. In this embodiment, the matching structure 143 and the logo structure are both Figure 6 As shown by two arrows 143, the second building block 14 is fixed to the first building block 7 through the matching structure 2 143 and the matching structure 1 4. At this time, the first contact 141 is in contact with the second contact 32. In this embodiment, the first contact 141 is a metal spring. In another embodiment, the first contact 141 is a graphite contact.

[0032] When all the building blocks are assembled, Figure 1, you can start building the program. In this embodiment, the first building block 7 is an output block, and the upper and lower connection is taken as an example of the connection between the output block 1 30 and another output block 2 50. When the two are close to each other, the magnetic magnet 165 under the output block and the magnetic magnet 161 on the output block 50 attract each other, and the upper and lower output block male connector 13 on the output block 50 slides into the upper and lower output block female connector 11 on the output block 30, so that the two building blocks reach the correct connection position, and the upper and lower output block male spring pins 131 and the upper and lower output block female spring pins 111 in the electronic connection interface are in contact, and a reliable connection is established between the circuit boards of the two output blocks. Take the connection between the output block 30 and another building block 40 with a controller as an example. When the other building block 40 approaches the right side of the output block 30, the output block left and right connection magnets 163 and the magnets on it attract each other, and the left and right connection male connectors on the other building block slide into the left and right connection female connectors 12 of the output block, so that the two building blocks reach the correct connection position. The male spring pins in the electronic connector interface contact the left and right connection female spring pins 121 of the output block, and a reliable connection is established between the output block 30 and the circuit board of the other building block 40 with a controller. The splicing effect is as follows: Fig. 9 As shown, at this time, after the building blocks are assembled, the electronic connection interfaces of the above-mentioned building blocks are connected to each other.

[0033] The above is the splicing process of some building blocks. Because different building blocks are provided with different characters, patterns or lights representing program semantics, when all building blocks are spliced, a complete program logic can be formed. In this embodiment, the program builder can replace different second building blocks 14, and press the matching structure 2 143, which is recessed into an arrow shape on the second building block 14, and the matching structure 1 4, which is convex in shape, on the output block 30 into place. In this embodiment, the matching method of matching structure 1 4 and matching structure 2 143 is interference fit. In another embodiment, it can also be connected by a slide rail. Matching structure 1 4 and matching structure 2 143 are in the shape of arrows. The downward arrow represents input from the device, and the upward arrow represents output to the peripheral device. Matching structure 2 143 on the building block indicating the input and output device is an arrow that can indicate whether it can be combined with the input block or output block with a controller, and the direction is the same as the convex direction. There are two matching structures 143, which can be in different positions when matching with matching structure 1 4 with a controller building block, so as to cover a part of the upper and lower light bars, and are used to indicate the data type transmitted by the input and output devices represented. At this time, there are three first contacts 141, which can be divided into two groups. The two groups of first contacts 141 include common contacts or do not include common contacts. The common contacts are middle contacts. When the second building block 14 is spliced ​​and combined with the first building block 7, the second contact 32 is connected to any point among the first contacts 141. In a specific embodiment, when the second contact 32 is connected to the left group of the first contacts 141, it indicates that the data type transmitted by the input and output devices is a numeric type. When the second contact 32 is connected to the right group of the first contacts 141, it indicates that the data type transmitted by the input and output devices is a Boolean type.

[0034] In another embodiment, the matching structure is Figure 7 The slide-in matching structure 1 6 and the matching structure 2 are Figure 8 As shown in the slide-in matching structure 2 5, the matching method of the slide-in matching structure 1 6 and the slide-in matching structure 2 5 is a slide rail. When the slide-in matching structure 1 6 and the slide-in matching structure 2 5 are matched, the resistor 32 contained in the upper cover 14 contacts the first contact 141 on the output block, and the first contact 141 contacts the second contact 32. The analog signal acquisition circuit detects the electrical characteristics between the first contact 141 and the second contact 32 and sends it to the controller. The controller identifies the identification information content of the second building block 14 based on the electrical characteristics, that is, the second building block 14 is connected at this time, and the controller determines the input and output device that the builder wants to connect, such as Figure 5The input / output device to be connected is a lamp 142, which is marked on the front of the second building block 14, and then the detection circuit transmits the result to the controller as an identification. In this embodiment, the analog signal acquisition circuit is a voltage sampling circuit, and the electrical characteristic between the contacts is the resistance value of the resistor. In another embodiment, the analog signal acquisition circuit is a current sampling circuit, and the electrical characteristic between the contacts is the capacitance value of a capacitor.

[0035] In summary, the utility model uses magnetic building blocks to build programs, and uses spring pins and male and female interfaces to establish stable and reliable circuit connections between different building blocks, so that the building blocks can pass their own second building block 14 identification information to other building blocks, and instruct the internal controller to light up the lights on the building blocks in a predetermined manner. Among them, the second building block 14 makes the changes of program input and output devices more intuitive, simplifies the process of programming learning, and the attribute of no screen display also alleviates the eye health problem of the program builder.

[0036] The utility model also provides a building block system with an identification information input device, including the building blocks in any of the above embodiments, the building blocks including an electronic interface and a building block shell, the electronic interface is exposed from the building block shell, and the electronic connection interfaces of the building blocks are connected to each other after the building blocks are spliced ​​together.

[0037] The above embodiments only express the preferred implementation of the utility model, and the description is relatively specific and detailed, but it cannot be understood as limiting the scope of the utility model patent. It should be pointed out that for ordinary technicians in this field, several modifications and improvements can be made without departing from the concept of the utility model, which all belong to the protection scope of the utility model. Therefore, the protection scope of the utility model patent shall be based on the attached claims.

Claims

1. A building block with an identification information input device, characterized in that: The invention comprises a first building block and a second building block, wherein the first building block comprises a first building block housing, a circuit board and a first contact, the first building block housing is provided with a matching structure 1, the circuit board is provided with a controller and an electronic connection interface and an analog signal acquisition circuit respectively electrically connected to the controller, the first contact is electrically connected to the analog signal acquisition circuit, the circuit board is in the first building block housing, and the first building block is connected to another first building block or a designated device with a controller through the electronic connection interface to form a building block for representing a logic program; The second building block includes a shell, a second contact and an internal circuit arranged on the shell, the internal circuit and the second contact are electrically connected, the shell is provided with an identification structure for indicating a control mode of the first building block, the shell is provided with a matching structure 2, the second building block is fixed to the first building block by matching the matching structure 2 with the matching structure 1, and the first contact is in contact with the second contact.

2. The building block with identification information input device according to claim 1, characterized in that: The first contact is exposed on the first building block housing, and the first contact is a metal or graphite contact.

3. The building block with identification information input device according to claim 1, characterized in that: The internal circuit is a single electronic component, and the second contact is a contact on the single electronic component.

4. The building block with identification information input device according to claim 3, characterized in that: When the first contact point contacts the second contact point, the analog signal acquisition circuit detects the electrical characteristics between the first contact point and the second contact point, and sends the electrical characteristics to the controller, so that the controller identifies the identification information content of the second building block according to the electrical characteristics.

5. The building block with identification information input device according to claim 4, characterized in that: The analog signal acquisition circuit is a voltage or current sampling circuit, and the electrical characteristic is the resistance or capacitance of the single electronic component.

6. The building block with identification information input device according to claim 1, characterized in that: The first building block housing is provided with characters, patterns or lights representing program semantics, and the shape of the first building block matching the structure 1 includes an arrow.

7. The building block with identification information input device according to claim 1, characterized in that: The identification structure on the shell of the second building block represents the characters or patterns of the input or output device, the controller receives and recognizes the information content of the identification structure of the second building block, and the shape of the matching structure 2 on the second building block at least includes an arrow.

8. The building block with identification information input device according to claim 1, characterized in that: The matching mode between the matching structure 1 on the first building block and the matching structure 2 is interference fit or a slide rail.

9. The building block with identification information input device according to claim 1, characterized in that: There are at least two groups of the first contacts, the two groups of the first contacts include common contacts or do not include common contacts, and when the second building block is spliced ​​and combined with the first building block, the second contacts are connected to any group of the first contacts.

10. A building block system with an identification information input device, characterized in that: The invention comprises a plurality of building blocks according to any one of claims 1 to 9, wherein the electronic connection interface is exposed on the first building block shell, and the electronic connection interfaces of the building blocks are connected to each other after the building blocks are spliced ​​together.