Building block with indicating lamp and building block system

By designing the building blocks with indicator lights, using the lamp band to represent variable types and transmission processes, solve the problems of variable type changes and non -intuitive transmission process in existing technologies, and achieve a more intuitive programming learning experience and better eye use. Health protection.

CN222421159UActive Publication Date: 2025-01-28WUHAN PAIYOU TECH LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202420608043.7
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-03-27
Publication Date
2025-01-28
Estimated Expiration
2034-03-27

AI Technical Summary

Technical Problem

In the existing visual programming technology, the variable type changes and variable transmission process during program operation are not intuitive, and it is difficult to quickly observe and distinguish by program builders, especially for beginners to cause confusion.

Method used

A building block with indicator lights is designed. Through the luminous unit and controller, the form of variable type and variable transmission process is intuitively represented by the form of the light band, including the numerical variable indicator light band and the Boolean variable indicator light.

Benefits of technology

Make the programmaker observe the variable type change and transmission process without a screen, simplify programming learning, reduce the risk of eye health, and increase the clarity of cognition of variable type.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN222421159U_ABST
    Figure CN222421159U_ABST
Patent Text Reader

Abstract

The utility model discloses a building block and a building block system with indicating lamps, which comprise building blocks which can be mutually spliced and connected, a circuit board is arranged in each building block, a light-emitting unit is arranged on each circuit board, a preset strip-shaped pattern is displayed on the surface of a building block shell when the light-emitting unit emits light, and the preset strip-shaped pattern is used for indicating variable types of program transmission. And when different data variables are transmitted, the corresponding indicator light belts are lightened, so that the process that a builder observes program variable transmission 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. The program running process is often accompanied by the process of variable transfer, and the variable types actually transferred between different statements and the process of variable changes between different types are not easy to observe during the program running stage. The existing technology often uses computers and electronic devices with screens to display variable types or use numbers or letters for program builders to observe and distinguish. The use of screen display violates the principle of freeing programming from the constraints of the screen and is not conducive to long-term code writing. In the process of direct observation, it is not easy for program builders to significantly distinguish rapidly changing variables. The transfer of variables and the change of variable types during program running are not intuitive enough, and it is easy for program beginners to confuse variable types. Utility Model Content

[0004] In view of the problems existing in the prior art, the utility model provides a building block with an indicator light, aiming to solve the technical problem in the prior art that the transmission between different statements during program running is difficult to intuitively observe.

[0005] Based on the above purpose, the utility model provides a building block with an indicator light, including a building block housing, a circuit board and one or more light-emitting units, the circuit board is provided with a controller and an electronic connection interface, the circuit board is inside the building block housing, and the electronic connection interface is exposed on the building block housing, the controller is electrically connected to the electronic connection interface through a circuit, the controller can transmit information to other devices with controllers through the electronic connection interface circuit, the electronic connection interface can be spliced ​​and combined with the other devices with controllers to establish a stable connection, the building block and the other devices with controllers jointly construct a program representing logic, the light-emitting unit is arranged on the circuit board, the light-emitting unit is arranged in one or more strips, the light emitted by the light-emitting element can display a predetermined strip pattern on the surface of the building block after passing through the slot on the building block housing or passing through the light guide located on the building block housing, forming one or more light strips, namely, a numerical variable indicator light strip and a Boolean variable indicator light strip, which are used to indicate the type of variables transferred by the program and the change of variables from Boolean variables to numerical variables or from numerical variables to Boolean variables or the process of variable transfer to this building block.

[0006] Furthermore, the building block shell is provided with a slot or a light guide, and the slot or the light guide is arranged corresponding to the position of the light emitting unit to form a light strip.

[0007] Furthermore, the light guide is a light-transmitting or semi-light-transmitting strip, sheet or film.

[0008] Furthermore, a controller and an electronic connection interface are provided on the circuit board, the circuit board is inside the building block shell, the electronic connection interface is exposed from the building block shell, the controller and the electronic connection interface are electrically connected through a circuit, the controller transmits information to an external device through the electronic connection interface circuit, or is spliced ​​and combined with a designated device with a controller through the electronic connection interface to establish a stable connection.

[0009] Furthermore, characters, patterns or lights representing program semantics are arranged on the surface of the building block shell.

[0010] Furthermore, the light strip has a bifurcated structure, and the bifurcated structures are respectively connected to corresponding data display components on the building blocks.

[0011] Furthermore, the light-emitting units on the light strip are arranged in one or more strips, and adjacent light-emitting units light up in sequence according to a specified order.

[0012] The utility model also provides a building block system with indicator lights, comprising a plurality of building blocks as described above, wherein the electronic connection interfaces of the building blocks are connected to each other when the building blocks are spliced ​​together.

[0013] Furthermore, the plurality of building blocks are connected together by magnetic attraction, and the plurality of building blocks are located on the same plane after being connected together.

[0014] Furthermore, after the multiple building blocks are connected to each other, the light strips of each building block are connected head to tail.

[0015] The technical effect of the utility model is that the program builder can observe the type change of the variable or the process of processing the variable or passing the variable to the program statement without using a screen during the program running process. When the variable performs an erroneous operation, the program builder can also be given corresponding information, which is beneficial for the program builder to correct program loopholes in time. The clear distinction between Boolean variables and numerical variables is also beneficial for the program builder to have a clearer understanding of variables during the learning stage. 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 of a building block with indicator lights in one embodiment of the utility model.

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

[0019] Figure 3 It is a top view of a building block with the upper half of the shell opened in one embodiment of the utility model.

[0020] Figure 4 It is a schematic diagram of the structure of building blocks in another embodiment of the utility model.

[0021] Figure 5 It is a schematic structural diagram of a building block with the upper shell opened in another embodiment of the utility model.

[0022] Figure 6 This is a top view of a building block with the upper half of the shell opened in another embodiment of the utility model.

[0023] Figure 7 It is a structural schematic diagram of a left building block in another embodiment of the utility model.

[0024] Figure 8 It is a schematic diagram of the structure after the building blocks are assembled in one embodiment of the utility model. DETAILED DESCRIPTION

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

[0026] Reference Figure 1-Figure 8The utility model provides a building block with an indicator light, the building block is a numerical constant block 40, the building block is a non-row first block, that is, it is not at the first position of each line in the program. Figure 8 As shown. The numerical constant block 40 includes a numerical constant block shell 1, the surface of which is provided with characters or patterns or lights representing program semantics. The numerical constant block shell 1 is provided with strip-shaped slots. The numerical constant block shell 1 can be composed of an upper shell and a numerical constant block lower shell 2, or can be integrally formed. It is made according to actual conditions and is not limited here. The numerical constant block 40 also includes a numerical constant block circuit board 3 with a controller. The numerical constant block circuit board 3 is inside the numerical constant block shell 1. The numerical constant block circuit board 3 is provided with a controller, an electronic connection interface, an analog signal acquisition circuit, and a detection device for detecting the position information of the operating part. The electronic connection interface includes a numerical constant block left electronic connection interface 4 and a numerical constant block right electronic connection interface 5. The numerical constant block electronic connection interface is exposed on the numerical constant block shell. The controller is electrically connected to the numerical constant block left electronic connection interface 4 and the numerical constant block right electronic connection interface 5 through a circuit. The numerical constant block 40 also includes a numerical constant block numerical variable indicator light strip 301 and / or a numerical constant block Boolean variable indicator light strip 302. In this embodiment, the numerical constant block numerical variable indicator light strip 301 and the numerical constant block Boolean variable indicator light strip 302 are both composed of one or more light-emitting units, and the light-emitting units are composed of LED lamps. The light-emitting units are arranged on the numerical constant block circuit board 3. The multiple light-emitting units are arranged in one or more strips, and the adjacent light-emitting units light up in sequence according to the specified order. Furthermore, a predetermined strip pattern is displayed on the surface of the numerical constant block housing 1 to form one or more light strips, and the light strips have a numerical constant block bifurcation structure 303, such as Figure 3 The numerical constant block bifurcation structure 303 is connected to the corresponding numerical display component on the numerical constant block 40, and the numerical display component is a digital dial or a digital tube. The numerical variable indicator light strip 301 is used to indicate that the variable type transferred by the program is a numerical value, or to indicate the change process of the variable from a Boolean variable to a numerical variable. The Boolean variable indicator light strip 302 is used to indicate that the variable type transferred is Boolean or to indicate the change process of the variable from a numerical variable to a Boolean variable.

[0027] In one embodiment, the controller transmits information to an external device through an electronic connection interface circuit, or is spliced ​​and combined with a designated device with a controller through an electronic connection interface to establish a stable connection. There are also a left magnetic magnet 701 and a right magnetic magnet 703 inside the numerical constant block shell 1, so that the numerical constant block 40 can more conveniently transmit information to an external device through the left electronic connection interface 4 or the right electronic connection interface 5 of the numerical constant block or construct a program representing logic together with another building block.

[0028] In actual use, the controller, the left spring pin 401 of the numerical constant block, the right spring pin 501 of the numerical constant block, the numerical variable indicator light strip 301 of the numerical constant block indicating program running, and the Boolean variable indicator light strip 302 of the numerical constant block are welded on the numerical constant block circuit board 3, the left magnetic magnet 701 and the right magnetic magnet 703 are assembled in the magnet slot of the lower shell 2 of the numerical constant block, the left electronic connection interface 4 of the numerical constant block and the right electronic connection interface 5 of the numerical constant block are assembled on the spring pins, and the numerical constant block circuit board 3 is placed on the lower shell 2 of the numerical constant block, as shown in FIG. Figure 2 By snapping the numerical constant block housing 1 together, a complete numerical constant block 40 with a controller inside can be obtained. At this time, the numerical constant block housing 1 has a numerical variable indicator light strip 301 representing program semantics, i.e., a numerical variable indicator light strip 302 which is itself a numerical type, and the Boolean variable indicator light strip 302 is blocked by the numerical constant block housing 1 .

[0029] Figure 4 The figure shows another building block with an indicator light provided by the utility model. The following is the output block 30, which is also the first block in the row, that is, the first block in each row when the program is spliced. Figure 8 As shown. The program output block 30 includes an output block shell 8 printed with characters or patterns or lights representing program semantics, and a strip-shaped slot is provided inside the output block shell 8. The output block shell 8 can be composed of an upper shell and an output block lower shell 9, or can be integrally formed. It is made according to actual conditions and is not limited here. The output block 30 also includes an output block circuit board 10 with a controller, an output block transfer numerical variable indicator light strip 101, and an output block transfer Boolean variable indicator light strip 102. In this embodiment, the output block numerical variable indicator light strip 101 and the output block Boolean variable indicator light strip 102 are both composed of one or more light-emitting units, and the light-emitting units are composed of LED lamps. The light-emitting units are arranged on the output block circuit board 10, and multiple light-emitting units are arranged in one or more strips, and adjacent light-emitting units light up in sequence according to a specified order.

[0030] In one embodiment, the output block housing 8 is provided with a slot or a light guide, and the slot or the light guide is arranged corresponding to the position of the light emitting unit to form the above-mentioned light strip; specifically, a predetermined strip pattern is displayed at the slot of the output block housing 8 to form one or more light strips, and the light strip has an output block bifurcation structure 103, such as Figure 5, the output block bifurcation structure 103 connects the display components of the corresponding required variables on the building blocks as numerical variables. The output block numerical variable indicator light strip 101 is used to indicate that the variable type received by the program is numerical, and the Boolean variable indicator light strip 102 is used to indicate that the variable type received by the program is Boolean, thereby indicating the variable type required by the device output corresponding to the output block 30. Inside the output block housing 8, there are also output block upper and lower connected female connectors 11, output block upper and lower connected male connectors 13, output block left and right connected female connectors 12, output block upper magnetic magnet 161, output block lower magnetic magnet 165, and output block left and right magnetic magnets 163.

[0031] In actual use, the controller, the right spring pin 121 of the output block, the Boolean variable indicator light strip 102 of the output block, and the numerical variable indicator light strip 101 of the output block are welded on the output block circuit board 10, the upper magnetic magnet 161 of the output block, the lower magnetic magnet 165 of the output block and the right magnetic magnet 163 of the output block are assembled in the magnet slot of the lower shell 9 of the output block, the upper and lower male connectors 13 of the output block, the female connector 11 of the output block, and the left and right female connectors 12 of the output block 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 5 By snapping the output block shell 8 together as shown, a complete output block 30 with a controller inside can be obtained. At this time, the output block 30 has an output block numerical variable indicator light strip 101 and an output block Boolean variable indicator light strip 102 on the output block shell 8, which represent the program semantics, i.e., indicate that the variable type received by itself is a numerical variable or a Boolean variable. Both light strips are blocked by the output block shell 8.

[0032] In this embodiment, after the output block 30 is electrically connected to the right numerical variable block 40, as shown in FIG. Figure 8 As shown, at this time, the output block numerical variable indicator light strip 101 is connected head to tail with the numerical constant block numerical variable indicator light strip 301. If a numerical variable is to be transmitted, the numerical constant block transmission numerical variable indicator light strip 301 on the horizontal numerical constant block 40 and the output block numerical variable indicator light strip 101 on the output block 30 light up in sequence, which can be observed by the program builder through the output block housing 8, forming a complete running light strip, indicating that the transmitted data is a numerical value.

[0033] Figure 7 The building block shown is another building block with an indicator light provided by the utility model. The following is a Boolean variable block 60. This building block is a non-row head block, that is, it is not at the first position of each row in the program. Figure 8As shown. The Boolean variable block 60 includes a Boolean variable block housing 26 printed with characters or patterns or lights representing program semantics. The housing can be formed by enclosing a Boolean variable block upper shell and a Boolean variable block lower shell 27, or it can be integrally formed. It is made according to actual conditions and is not limited here. The Boolean variable block 60 is also similar to the numerical constant block 40. It has a Boolean variable block circuit board 31 with a controller inside. The Boolean variable block Boolean variable indicator light strip 311 and the Boolean variable block electronic connection interface 28 are exposed on the Boolean variable block housing 26. Its internal structure and assembly method are the same as those of the numerical constant block 40, and will not be described in detail here. The Boolean variable block 26 of the complete Boolean variable block 60 with a controller inside has a Boolean variable indicator light strip 311 representing program semantics, that is, a Boolean type Boolean variable block itself.

[0034] In this embodiment, after the output block 50 is electrically connected to the right Boolean variable block 60, as shown in FIG. Figure 8 As shown, at this time, the output block Boolean variable indicator light strip 102 is connected head to tail with the Boolean variable block Boolean variable indicator light strip 311. If a Boolean variable is transmitted, the Boolean variable block Boolean variable indicator light strip 311 on the horizontal Boolean variable block 60 and the output block Boolean variable indicator light strip 102 on the output block 50 light up in sequence, which can be observed by the program builder through the output block housing 8 or the light-transmitting film, forming a complete running light strip, indicating that the transmitted data is Boolean.

[0035] In another embodiment of the utility model, some building blocks are covered with light guides to enhance the lighting display effect. In the previous embodiment, the numerical constant block Boolean variable indicator light strip 302 is blocked by the numerical variable block housing 1, and the output block numerical variable indicator light strip 101 and the output block Boolean variable indicator light strip 102 are both blocked by the output block housing 8. In this embodiment, the light guide is a light-transmitting film, and the numerical constant block Boolean variable indicator light strip 302 and the output block numerical variable indicator light strip 101 and the output block Boolean variable indicator light strip 102 are electrically connected. After the controller circuit is electrically connected, light can be irradiated onto the light-transmitting film through the slots on the building block, and can be observed through the light-transmitting film, indicating the process of numerical variable or Boolean variable transmission. The light-transmitting film can prevent the light on the building block circuit board from being exposed to the building block housing, while ensuring that the building block is waterproof and dustproof, while enhancing the lighting display effect, making the light more uniform and continuous. The light guide can also be a light-transmitting or semi-light-transmitting strip, sheet or film, which is not limited here.

[0036] When all building blocks are assembled, the numerical constant block 40 is as follows Figure 1 , output block 30 such as Figure 4, Boolean variable block 607, you can start building the program, where the upper and lower connections are taken as an example of the connection between the output block 30 and another output block 50. When the two are close to each other, the lower connection magnet 165 of the output block and the upper connection magnet 161 of the other output block 50 attract each other, and the upper and lower connection male connector 13 of the output block slides into the upper and lower connection female connector 11 of the output block, so that the two building blocks reach the correct connection position, and the upper spring pin 131 of the output block and the lower spring pin 111 of the output block in the electronic connection interface are in contact, and the output block 30 establishes a reliable connection with the circuit board of the other output block 50. Take the connection between the output block 30 and the numerical block 40 as an example. When the numerical block 40 approaches the right side of the output block 30, the output block right connection magnet 163 and the numerical block left connection magnet 701 attract each other, and the numerical block left and right connection male connector 4 slides into the output block left and right connection female connector 12, so that the two building blocks reach the correct connection position. The left spring pin 401 of the electronic connection interface numerical constant block and the right spring pin 121 of the output block are in contact, and a reliable and stable connection is established between the output block 30 and the numerical block 40 circuit boards. The splicing effect is as follows: Figure 8 shown.

[0037] The utility model also provides a building block system with indicator lights, including the above-mentioned building blocks. The above-mentioned is the splicing process of some building blocks. After the splicing is completed, the building blocks form a complete building block system. Because different building blocks are provided with logic and different characters, patterns or lights representing program semantics are set, when all building blocks are spliced, a complete program logic can be formed. At this time, the electronic connection interfaces are connected to each other when the building blocks are spliced. The building blocks are spliced ​​by magnetic attraction, and are in the same plane after splicing. At this time, the light strips of each building block are connected head to tail, that is, multiple light strips are connected head to tail to form one or more light strips indicating the transfer process of numerical variables or Boolean variables, so that the process of variable transfer and change can be observed by the program builder.

[0038] In summary, the utility model uses magnetic building blocks to build programs, uses spring pins and male and female interfaces to establish stable and reliable circuit connections between different building blocks, and uses an internal controller to instruct the lights on the building blocks to light up in a predetermined manner. Among them, the data transmission indicator light makes the program variable transmission process more intuitive, simplifies the programming learning process, and the attribute of no screen display also alleviates the eye health problem of the program builder.

[0039] 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 indicator light, characterized by: It includes a building block shell, a circuit board and one or more light-emitting units arranged in the building block shell. The light-emitting unit is arranged on the circuit board. When the light-emitting unit emits light, a predetermined strip pattern is displayed on the surface of the building block shell to form one or more light strips. The light strips are numerical variable indicator light strips and Boolean variable indicator light strips used to indicate the type of variables transferred by the program. The numerical variable indicator light strips and the Boolean variable indicator light strips are also used to indicate the change process of the variable from a Boolean variable to a numerical variable or from a numerical variable to a Boolean variable.

2. The building block with indicator light according to claim 1, characterized in that: The building block housing is provided with a slot or a light guide, and the slot or the light guide is arranged corresponding to the position of the light emitting unit to form the light strip.

3. The building block with indicator light according to claim 2, characterized in that: The light guide is a light-transmitting or semi-light-transmitting strip, sheet or film.

4. The building block with indicator light according to claim 1, characterized in that: A controller and an electronic connection interface are provided on the circuit board. The circuit board is inside the building block shell, and the electronic connection interface is exposed outside the building block shell. The controller and the electronic connection interface are electrically connected through a circuit. The controller transmits information to an external device through the electronic connection interface circuit, or is spliced ​​and combined with a designated device with a controller through the electronic connection interface to establish a stable connection.

5. The building block with indicator light according to any one of claims 1 to 4, characterized in that: Characters, patterns or lights representing program semantics are arranged on the surface of the building block shell.

6. The building block with indicator lights according to any one of claims 1 to 4, characterized in that: The light strip has a bifurcated structure, and the bifurcated structures are respectively connected to corresponding data display components on the building blocks.

7. The building block with indicator lights according to any one of claims 1 to 4, characterized in that: The light-emitting units on the light strip are arranged in one or more strips, and adjacent light-emitting units light up in sequence according to a specified order.

8. A building block system with indicator lights, characterized by: It comprises a plurality of building blocks according to any one of claims 1 to 7, wherein the electronic connection interfaces of the building blocks are connected to each other when the building blocks are spliced ​​together.

9. The building block system with indicator lights according to claim 8, characterized in that: The plurality of building blocks are spliced ​​together by magnetic attraction, and the plurality of building blocks are located on the same plane after being spliced ​​together.

10. The building block system with indicator lights according to claim 8, characterized in that: After the multiple building blocks are connected to each other, the light strips of each building block are connected head to tail.