CN109331480B - Modular programming toy set and programming method thereof - Google Patents

Modular programming toy set and programming method thereof Download PDF

Info

Publication number
CN109331480B
CN109331480B CN201811224173.6A CN201811224173A CN109331480B CN 109331480 B CN109331480 B CN 109331480B CN 201811224173 A CN201811224173 A CN 201811224173A CN 109331480 B CN109331480 B CN 109331480B
Authority
CN
China
Prior art keywords
function
program
information
chinese character
input interface
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811224173.6A
Other languages
Chinese (zh)
Other versions
CN109331480A (en
Inventor
马寅初
马润甜
马卫华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Individual filed Critical Individual
Priority to CN201811224173.6A priority Critical patent/CN109331480B/en
Publication of CN109331480A publication Critical patent/CN109331480A/en
Application granted granted Critical
Publication of CN109331480B publication Critical patent/CN109331480B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63HTOYS, e.g. TOPS, DOLLS, HOOPS OR BUILDING BLOCKS
    • A63H33/00Other toys
    • A63H33/04Building blocks, strips, or similar building parts
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F3/00Board games; Raffle games
    • A63F3/04Geographical or like games ; Educational games
    • A63F3/0457Geographical or like games ; Educational games concerning science or technology, e.g. geology, chemistry, statistics, computer flow charts, radio, telephone

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Chemical & Material Sciences (AREA)
  • Environmental & Geological Engineering (AREA)
  • General Engineering & Computer Science (AREA)
  • General Health & Medical Sciences (AREA)
  • Organic Chemistry (AREA)
  • Probability & Statistics with Applications (AREA)
  • Educational Technology (AREA)
  • Multimedia (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a modular programming playset and a programming method thereof. A modular programming playset, comprising: a start program element, an end program element, a start element, an end element, a number element, a character element, a variable element, an arithmetic element, a logic element, an execution element, an end element, an if element, an else element, an if element, an while element, a from element, a to element, a step element, a function start element, a function return element, a function name element, a control cart element, a persistence element, an output element, an infrared obstacle avoidance element, a program generator, an intelligent cart. During programming, only one main program is provided, namely, the program element is started, and the program element is ended to end the main program. When the program middle part is programmed, the method of sequential programming, conditional programming and circular programming can be adopted, and if a function exists, the function can be called by a function name element. The programming of the function is independent of the main program, outside of the main program. After the program is programmed, the program is generated by using the generated keys of the program generator.

Description

Modular programming toy set and programming method thereof
Technical Field
The invention relates to the field of toy programming, in particular to a toy set which is assembled and programmed according to a certain method module, executes program instructions and develops intelligence of children.
Background
Conventional programming is typically accomplished by entering a text language through a keyboard. This programming is inconvenient for children and young children to understand and use, mainly because of the grammar and complex instructions in the traditional programming language, which are difficult for children to understand and memorize, and also require a great deal of input work by children. For children who have not mastered English professional programming terms, the text editing mode of the program lacks intuition, and the children cannot create own programs by adopting the traditional programming mode to find the programming fun.
To this end, the present invention proposes a playset through which children can perform programmed learning and manipulation. In addition, the invention uses the Chinese character programming mode, so that children can understand and master the programming method and skill as soon as possible, and a foundation is laid for learning programming languages.
Disclosure of Invention
A modular programming playset, comprising: a start program element, an end program element, a start element, an end element, a number element, a character element, a variable element, an arithmetic element, a logic element, an execution element, an end element, an if element, an else element, an if element, an while element, a from element, a to element, a step element, a function start element, a function return element, a function name element, a control cart element, a persistence element, an output element, an infrared obstacle avoidance element, a program generator, an intelligent cart.
The program generator of the modular programming playset is a device for generating and uploading programs; the intelligent trolley is a device for program result inspection; all the elements except the program generator and the intelligent trolley are devices assembled by the program.
The modular programming playset, when programmed, begins a program element, ends an element, otherwise the elements occupy a row; executing the element, if the element, when the element, from the element, function start element, function return element are to be placed at the head of each row; the digital element, the character element, the variable element, the arithmetic element, the logic element, the arrival element, the step length element, the function name element, the control trolley element, the continuous element, the output element and the infrared obstacle avoidance element are arranged in the middle of each row; the tail of the line is provided with a tail element; each complete program starts with a start program element and ends with an end program element.
The structure of the conditional programming is either { element … if element … else } or { element … if element … else if element … else }. The two-way one selection can be implemented in a program with a { if element … else element … } structure based on if element row information, whether the row between the if element and the else element is true, the row between the starting element and the ending element after the else element is skipped, whether the row between the if element and the else element is false is skipped, and whether the row between the if element and the else element is started and the ending element after the else element is executed, or with a { if element … else if element … else element … } structure based on if element row information, whether the row between the if element and the else element is true is executed, whether the row between the if element and the else element is false is executed, and whether the row between the else element and the starting element and the ending element after the else element is executed, other rows in the structure are not executed, three-way one-out selection is realized, and one-out-of-multiple selection can also be realized by nesting.
There are two types of cycling programming, namely, when the element cycles and from the element cycles. When the element loop structure is { when the element logic element … }, the loop body starts the loop with the start element and ends the loop; the element cycle structure is { from element … to element … step element … }, and then the cycle is started by a start element and ended by an end element, and if only one row exists between the start element and the end element in the element cycle structure, the start element and the end element can be omitted, and the row next to the bottom of the element is a cycle body.
The function is programmed by starting with the function start element and ending with the function return element. If the function has parameters, the right side of the function starting element is connected with a variable element, and the tail of the line ends the line with a tail element; if there are no parameters, the function start element right side connects to the end element to end this row. When the function returns, if a return value exists, the right side of the function return element is connected with the variable element, and the tail of the line ends the line with the tail element; if no value is returned, the function returns to the right of the element and the trailing element is connected to end this row. The programming of the function is independent of the main program, outside the main program, and there may be more than one function program.
During programming, only one main program is provided, namely, the main program starts with a starting program element and ends with a finishing program element. When the program middle part is programmed, the method of sequential programming, conditional programming and circular programming can be adopted, and the function with the function name element can be used for calling the function. The start component and the end component are considered as a whole and need to be paired, otherwise the program will be erroneous and unable to generate the program.
After the program is programmed, the program is generated by using the generated keys of the program generator. If the program has errors, displaying information such as the errors of the program in which line on a display screen of the program generator; if the program has no error, the information of the program generation completion and the like is displayed on the display screen of the program generator, and the program can be viewed according to the requirement of an operator. The effect of the program can be checked, the program generator can be connected with the intelligent trolley through a USB (universal serial bus) connection line, the uploading key of the program generator is uploaded to a single chip microcomputer of a control panel of the trolley, and information such as successful program uploading is displayed on a display screen of the program generator; and if the program generator has errors, displaying information such as program uploading failure and the like on a display screen of the program generator.
The outstanding substantive features and remarkable progress of the technical scheme of the invention are mainly reflected in that:
1. a modular programming toy suitable for young children and a programming method thereof are provided. Each toy module of the given modularized programming toy set is marked with the Chinese characters with the functions of the toy module, so that children can easily master the toy, and the difficulty of programming for the children is reduced.
2. A method adopting function modular programming is provided, a plurality of children are supported to cooperatively program, a relatively large program is jointly completed, the cooperative ability of the children can be exercised, and the method can be used as a tool for programming games of the children.
3. Compared with other programming methods, the modular toy set programming method does not need a computer programming system, can exist independently, is low in cost and is easy to popularize.
Drawings
FIG. 1 is a schematic diagram of the starting program element structure.
Wherein: 1-functional signage; 2, a wireless uploading module; 3-vertical input interface.
FIG. 2 is a diagram of the structure of the ending program element.
Wherein: 4-vertical output interface.
Fig. 3 is a schematic view of the starting element structure.
Fig. 4 is a schematic structural view of the terminating element.
Fig. 5 is a schematic structural diagram of a digital device.
Wherein: 5, a horizontal output interface; 6-horizontal input interface; 7-digital option; 8, a miniature display screen; 9-Fine adjustment button.
FIG. 6 is a schematic diagram of a character element structure.
Wherein: 10-character option.
Fig. 7 is a schematic diagram of a variable element structure.
Wherein: 11-optional variables.
FIG. 8 is a diagram illustrating a structure of an operation device.
Wherein: 12-optional operation.
Fig. 9 is a schematic diagram of a logic device structure.
Wherein: 13-logical optional.
Fig. 10 is a schematic diagram of an actuator structure.
FIG. 11 is a schematic diagram of the structure of the terminating element.
Fig. 12 is a schematic view of the structure of the element.
FIG. 13 is a schematic diagram of an otherwise configured device.
FIG. 14 is a schematic view of an otherwise conventional component.
FIG. 15 is a schematic view of the structure of the device.
Wherein: and 14, selecting variables.
Fig. 16 is a schematic view of the slave component structure.
Wherein: 15-optional variables.
Fig. 17 is a schematic view of the element structure.
Fig. 18 is a schematic view of a step element structure.
Fig. 19 is a schematic diagram of a function start element structure.
Wherein: 16-function name option; 17-wireless uploading module.
Fig. 20 is a schematic diagram of a function return element structure.
FIG. 21 is a diagram illustrating the structure of function name components.
Fig. 22 is a structural schematic diagram of a control trolley element.
Wherein: and 18, optional control trolley parts.
FIG. 23 is a schematic view of a sustaining element structure.
Fig. 24 is a schematic diagram of an output device structure.
Fig. 25 is a schematic structural view of an infrared obstacle avoidance element.
Wherein: 19-port option; and 20, detecting optional elements.
Fig. 26 is a schematic diagram of the structure of the program generator.
Wherein: 21-a wireless receiving module; 22-type a USB interface; 23-generate button; 24 type options; 25 an upload button; 26-optional pieces of equipment; 27-TFT liquid crystal screen; 28-screen-turning button.
Fig. 27 is a schematic structural diagram of the intelligent trolley.
Wherein: 29-a 1 port; 30-a 2 port; 31-B type USB port
Fig. 28 is a diagram of an embodiment of sequential programming and execution using a modular playset.
Fig. 29 is a block diagram of conditional programming implemented using a modular playset.
Fig. 30 is a diagram of an embodiment of a conditional programming construct implemented with a modular playset if element … otherwise element ….
Fig. 31 is a diagram of an embodiment implementing the if element … or else element … conditional programming construct using a modular playset, omitting the start and end elements.
Fig. 32 is a diagram of an embodiment of a conditional programming construct implemented with a modular playset if element … otherwise if element … otherwise element ….
Fig. 33 is a block diagram illustrating the implementation of component cycling programming using a modular playset.
Fig. 34 is a diagram of an embodiment of programming an element recycling structure using a modular playset.
Fig. 35 is a block diagram of a slave component cycle programming implemented using a modular playset.
Fig. 36 is a diagram of an embodiment for implementing programming from a component loop architecture using a modular playset.
Fig. 37 is a diagram of an embodiment of programming to implement omission of start and end elements from an element recycling structure using a modular playset.
Fig. 38 is a diagram of an embodiment for implementing function programming using a modular playset.
FIG. 39 is a diagram of an embodiment of function calls and execution implemented using a modular playset.
Detailed Description
The technical scheme of the invention is further explained by combining the attached drawings and specific examples.
A modular programming playset having an initial program element, as shown in figure 1; end program element, fig. 2; the starting element, fig. 3; a finishing element, as in fig. 4; digital components, such as fig. 5; character elements, as in FIG. 6; variable elements, such as FIG. 7; an arithmetic element, such as FIG. 8; logic elements, such as fig. 9; an actuator, as in FIG. 10; trailing elements, fig. 11; if the element, as in FIG. 12; otherwise, element, as in fig. 13; otherwise if the element, as in FIG. 14; when the element, as in fig. 15; a slave element, fig. 16; to elements, such as fig. 17; step size element, fig. 18; function start element, fig. 19; function return element, fig. 20; function name element, FIG. 21; control cart components, fig. 22; a continuation element, as in fig. 23; output element, fig. 24; an infrared obstacle avoidance element, as shown in fig. 25; a program generator, as in fig. 26; intelligent car as shown in fig. 27.
In addition to the smart car, other components have a label indicating the function of the component. The program generator is generated as a program as the label of fig. 26, when the label of the element as fig. 15 is in … circulation, the label of the element as fig. 16 is in … start, the function start element as the label of fig. 19 is in function start, the function name element as the label of fig. 21 is in function name, the control trolley element as the label of fig. 22 is in control trolley, the infrared obstacle avoidance element as the label of fig. 25 is in infrared obstacle avoidance, and the labels of other elements are in Chinese characters on the drawing.
Starting program element as figure 1, ending program element as figure 2, starting element as figure 3, ending element as figure 4, otherwise element as figure 13, taking one row for programming; if the execution element is as shown in FIG. 10, if the execution element is as shown in FIG. 12, otherwise if the execution element is as shown in FIG. 14, when the execution element is as shown in FIG. 15, the function start element is as shown in FIG. 16, the function return element is as shown in FIG. 20, and the program is placed at the head of each row; the digital element is shown in figure 5, the character element is shown in figure 6, the variable element is shown in figure 7, the operation element is shown in figure 8, the logic element is shown in figure 9, the step element is shown in figure 17, the function element is shown in figure 18, the function element is shown in figure 21, the control trolley element is shown in figure 22, the continuous element is shown in figure 23, the output element is shown in figure 24, and the infrared obstacle avoidance element is shown in figure 25, and the digital element, the character element, the function element, the control trolley element, the continuous element, the output element and the infrared obstacle avoidance element are arranged in the middle of each row during programming; the ending element is shown in FIG. 11, and is programmed to be at the end of each row.
The starting program element has a longitudinal input interface 3 as shown in figure 1, the ending program element has a longitudinal output interface 4 as shown in figure 2, the starting element has a longitudinal input interface 3 as shown in figure 3, the ending element has a longitudinal input interface 4 as shown in figure 4, the else element has a longitudinal input interface 3 and a longitudinal output interface 4 as shown in figure 13, the executing element has a longitudinal output interface 4 as shown in figure 10, the else element has a longitudinal output interface 4 as shown in figure 12, the else element has a current element as shown in figure 15, the from element has a function starting element as shown in figure 16, the function starting element has a function starting element as shown in figure 19, the function returning element has a longitudinal input interface 3, a longitudinal output interface 4 and a transverse input interface 6 as shown in figure 20, the digital element has a character element as shown in figure 6, the variable element has a figure 7, the operating element has a figure 8, the logic element has a figure 9, the yet the element has a figure 17, the step element has a figure 18, the function name element has a figure 21, the control dolly element has a figure 22, the continuation element has a continuous element has a figure 23, the output element has a figure 24, The infrared obstacle avoidance element has a transverse input interface 6 and a transverse output interface 5 as shown in fig. 25, and the trailing element has a transverse output interface 5 as shown in fig. 11. The vertical input interface 3, the vertical output interface 4, the horizontal input interface 6, and the horizontal output interface 5 are interfaces of an electrical connection structure, such as a USB type interface. The longitudinal input interface 3 and the longitudinal output interface 4 are one type of interface, the longitudinal input interface 3 is a female port, and the longitudinal output interface 4 is a male port. The transverse input interface 6 and the transverse output interface 5 are interfaces of another type, the transverse input interface 6 is a female port, and the transverse output interface 5 is a male port. The interfaces are electrically connected. The longitudinal interface and the transverse interface are different and can not be mutually plugged.
The numerical range of numeral option 7 (-32768 to 32767) amounts to 65536 integer numbers.
The value range of the characters of the character option 10 is 38 characters { a, B … Z,0,1, … 9, =, blank space }.
The variable options 11, 14 and 15 are the same type of variable options, and the value range is 260 variables { A, B … Z, A1, B1 … Z1, A2 … Y9 and Z9 }.
The range of values of the optional calculation element 12 is 6 { +, -, ×, - Λ, ﹦ }.
The range of values of the logic option 13 is 10 { ﹦ ﹦, > ﹦, < ﹦, and, or, not, true, false }.
The function name range of the function name option 16 is 100 in total for function 1, function 2, …, function 100.
The range of values for the control cart option 18 is 4 in total { open forward, open backward, open left, open right }.
The value range of the port option 19 is 2 in total { left A1, right A2}
The range of values of the detection option 20 is 2 in total { detected, undetected }
The value range of the type option 24 is 3 { Hex file, C language file, Arduino file }
The value range of the optional equipment 26 is 2 (small cars and computers)
The fine adjustment button 9 of the number selectable part body 7 is pressed upwards to increase the number by 1, and is pressed downwards to decrease the number by 1, and when the fine adjustment button is pressed upwards or downwards and is not placed, the number can be automatically increased.
And a screen turning button of the program generator presses the screen upwards to turn one screen upwards, and presses the screen downwards to turn one screen downwards.
The start element, fig. 3, and the end element, fig. 4, need to be paired, otherwise the program will be erroneous and unable to generate a program.
Fig. 28 is a diagram of an embodiment of sequential programming and execution using a modular playset. The program starts with a start program element and ends with an end program element; the executive component is arranged at the head of each row, and a control trolley component, a continuous component and a digital component are arranged in the middle of the executive component; each row has a trailing element at the end of the row. After the program is programmed, the program is generated by using the generated keys of the program generator. At this time, the wireless receiving module 21 of the program generator wirelessly connects to the wireless uploading module 2 which starts the program element. If the program has errors, displaying information such as the errors of the program in which line on a display screen of the program generator; if the program has no error, the information of the program generation completion and the like is displayed on the display screen of the program generator, and the program is generated according to the requirement of an operator and can be viewed. When the effect of the program is checked, the A-type USB interface 22 of the program generator can be connected to the B-type USB interface of the intelligent trolley through a USB connection line, the program is uploaded to a single chip microcomputer of a control panel of the intelligent trolley according to an uploading key of the program generator, and information such as successful program uploading is displayed on a display screen of the program generator; and if the program generator has errors, displaying information such as program uploading failure and the like on a display screen of the program generator.
Fig. 29 is a block diagram of conditional programming using a modular playset. The structure of the conditional programming is either { element … if element … else } or { element … if element … else if element … else }. The { if element … else element … } structure may be used in a program to implement a two-way one, based first on the if element row information, performing a row between the if element and the else element for true, skipping a row between the begin element to the end element after the else element, and performing a row between the begin element to the end element after the else element for false, the particular embodiment being shown in FIG. 30; when there is only one row between the start element and the end element, the start element and the end element may be omitted, and a specific embodiment is shown in fig. 31. Three-way one selection can also be achieved by using a { if element … else if element … else element … } structure, performing the row between the if element and the else if element first according to the if element row information, performing the row between the if element and the else if element, performing the row between the else if element and the else element for a true according to the else if element row information, performing the row between the else if element and the else element for a false, performing the row between the else element to start element to end element for a false, and performing no other row in the structure; nesting may also be performed to implement one-out-of-multiple, a specific embodiment of which is shown in fig. 32. The programming effect of the embodiment needs to be uploaded to the intelligent trolley, and the trolley is enabled to complete corresponding tasks according to the programming requirement.
Fig. 33 is a block diagram illustrating the implementation of component recycling programming using a modular playset. When the element loop structure is { when element logic … }, the loop body starts the loop with the start element and ends the loop. And executing the loop opening body when the condition is met, and quitting the loop when the condition is not met. When the element loops, there is a row in the middle to change the value of the variable element, otherwise, dead loops are caused. A specific embodiment is shown in fig. 34. According to the generation key generation program of the program generator, the program operation result "sum = 5050" is displayed on the TFT liquid crystal panel 27 of the program generator.
Fig. 35 is a block diagram illustrating the use of modular playsets to implement slave component cycling programming. The loop structure from element is { from element … to element … step element … }, followed by beginning the loop with the beginning element and ending the loop with the beginning value of the digital element from element to element and the end value of the digital element between element and step element, and incrementing the value of the digital element between the step element and the end element once per loop. An embodiment is shown in FIG. 36; when there is only one row between the start element and the end element in the element circulation structure, the start element and the end element may be omitted, as shown in fig. 37, in which case a row immediately below the start element is a circulation body.
Fig. 38 is a diagram of an embodiment of programming functions using a modular playset. The function is programmed by starting with the function start element and ending with the function return element. The function start element is connected to the variable element to the right, and the tail of the line ends the line with the end element. When the function returns, the right side of the function return element is connected with the variable element, and the tail of the line ends the line with the tail element.
Fig. 39 is a diagram of an embodiment of function calling and executing using a modular playset. During programming, only one main program is provided, namely, the program element is started, and the program element is ended to end the main program. The main program may call the function with a function name element. The programming of the function is independent of the main program, outside of the main program. After the program is programmed, the program is generated by using the generated keys of the program generator. At this time, the wireless receiving module 21 of the program generator is wirelessly connected with the wireless uploading module 2 for starting the program element, when the program generator finds that the main program has the function name element, the wireless receiving module 21 of the program generator is wirelessly connected with the wireless uploading module 17 for starting the function, and finally the program generator generates the program required by the operator according to the wirelessly transmitted information.
The circulating body of the circulating structure of the invention is arranged behind the element and can also be arranged in front of the element.
The intelligent trolley is a device for program result inspection, and other function elements can be added, so that the trolley can complete stronger functions. The execution effect of the program is not limited to the intelligent trolley, and other programmable intelligent devices (such as unmanned aerial vehicles, robots and the like) can be used on the premise of adding other function elements to achieve the effect of checking the program.
The present invention is not limited to the above preferred embodiments, and any structural changes made by anyone in light of the teaching of the present invention, which are the same or similar to the technical solutions of the present invention, belong to the protection scope of the present invention.

Claims (2)

1. A modular programming playset, comprising: a start program element, an end program element, a start element, an end element, a number element, a character element, a variable element, an arithmetic element, a logic element, an execution element, an end element, an if element, an else element, an if element, a when element, a from element, a to element, a step element, a function start element, a function return element, a function name element, a control cart element, a persistence element, an output element, an infrared obstacle avoidance element, a program generator, an intelligent cart;
the programming characteristics are as follows:
the modular programming toy set comprises a starting program element, a starting element, an ending program element, an ending element and an executing element, a judging element, a function starting element and a function returning element, wherein the starting element, the ending element and the ending element occupy one row when programming, the executing element, the judging element, the function starting element and the function returning element are arranged at the head of each row, a digital element, a character element, a variable element, an arithmetic element, a logic element, a reaching element, a step size element, a function name element, a control trolley element, a continuous element, an output element and an infrared obstacle avoidance element are arranged at the middle position of each row, the tail of each row is provided with an ending element, and each complete program starts with the starting program element and ends with the ending program element;
the conditionally programmed structure is { if element … else element … } or { if element … else if element … else element … }, the structure of { if element … else element … } may be used in a program to perform a row between the if and else elements for true, skip a row between the start element to the end element after the else element for true, skip a row between the if and else elements for false, perform a row between the start element to the end element after the else element for false, implement a one-by-two selection, or may be used to perform a structure of { if element … else if element … else element 35 … } based on the row information of the if element, perform a row between the if element for true, perform a row between the if element and else element for false, perform a row between the else if element and else element for true, in order to execute the row between the starting element and the ending element behind the other element in a false mode, other rows in the structure are not executed any more, three-way one-selection is realized, and one-way one-selection can also be realized by nesting;
there are two types of loop programming:
i.e. when the element is circulating and when the slave element is circulating;
when the element loop structure is { when the element logic element … }, the loop body is to start the loop with the start element and end the loop with the end element, execute the loop body when the condition is satisfied, and quit the loop when the condition is not satisfied;
from the element cycle structure { from element … to element … step size element … }, the cycle body is to start the cycle with the start element and end the cycle with the end element, if there is only one row between the start element and the end element in the element cycle structure, the start element and the end element can be omitted, and the row next to the bottom element is the cycle body;
when the function is returned, the function return element right side is connected with the variable element, the line tail ends the line, the function programming is independent of the main program and outside the main program, and a plurality of function programs can be provided;
only one main program is needed during programming, namely the main program which starts with a starting program element and ends with the ending program element, when the main part of the program is programmed, the methods of sequential programming, conditional programming and circular programming can be adopted, the main function with function programming can be called by a function name element, and the starting element and the ending element are regarded as a whole and need to appear in pairs;
the starting program element has a starting program Chinese character label indicating the function of the element; the wireless uploading module is used for uploading the program to the program generator; a vertical input interface is used for receiving the information of the next line;
the ending program element has an ending program Chinese character label indicating the function of the element; a vertical output interface is used for uploading information to the upper line;
said initiation element having an initiation Chinese character tag indicating the function of the element; a vertical input interface is used for receiving the information of the next line; a vertical output interface is used for uploading information to the upper line;
the ending element has an ending Chinese character label indicating the function of the element; a vertical input interface is used for receiving the information of the next line; a vertical output interface is used for uploading information to the upper line;
the digital element has a digital Chinese character label indicating the function of the element; a transverse output interface for uploading information to a previous element; a transverse input interface for receiving information of a following element; the digital selectable part consists of a miniature display screen and a fine adjustment button, and the number range of the digital selectable part (-32768 to 32767) is 65536 integer numbers;
the character element has a character Chinese character label indicating the function of the element; a transverse output interface for uploading information to a previous element; a transverse input interface for receiving information of a following element; the character selectable part comprises a micro display screen and a fine adjustment button, and the value range of the characters of the character selectable part is 38 (A, B … Z,0,1, … 9, blank space);
the variable element is provided with a variable Chinese character label which indicates the function of the element; a transverse output interface for uploading information to a previous element; a transverse input interface for receiving information of a following element; the variable selectable part consists of a micro display screen and a fine adjustment button, and the value range of the variable selectable part is 260 variables of { A, B … Z, A1, B1 … Z1, A2 … Y9 and Z9 };
the operation element is provided with an operation Chinese character label which indicates the function of the element; a transverse output interface for uploading information to a previous element; a transverse input interface for receiving information of a following element; the device comprises an optional operation part, wherein the optional operation part consists of a micro display screen and a fine adjustment button, and the value range of the optional operation part is 6 { +, -x ÷ Λ, ﹦ };
the logic element has a logic Chinese character label indicating the function of the element; a transverse output interface for uploading information to a previous element; a transverse input interface for receiving information of a following element; the logic selectable part consists of a micro display screen and a fine adjustment button, and the value range of the logic selectable part is 10 in total, wherein the value range is { ﹦ ﹦, >, < > ﹦, < ﹦, and, or, not, true and false };
the executing element has a Chinese character starting sign indicating the function of the element; a vertical input interface is used for receiving the information of the next line; a vertical output interface is used for uploading information to the upper line; a transverse input interface for receiving information of a following element; the main function is to receive horizontal and vertical information and transmit upwards;
said trailing element having a lateral output interface for transmitting a line end mark to a preceding element;
the if element has an if Chinese character label, the function of the element is indicated; a vertical input interface is used for receiving the information of the next line; a vertical output interface is used for uploading information to the upper line; a transverse input interface for receiving information of a following element;
the said or element has a or Chinese character label, point out the function of the element; a vertical input interface is used for receiving the information of the next line; a vertical output interface is used for uploading information to the upper line;
if the element has one or not, indicating the function of the element; a vertical input interface is used for receiving the information of the next line; a vertical output interface is used for uploading information to the upper line; a transverse input interface for receiving information of a following element;
the current element has a current Chinese character label and a circulating Chinese character label, and indicates the function of the element; a vertical input interface is used for receiving the information of the next line; a vertical output interface is used for uploading information to the upper line; a transverse input interface for receiving information of a following element; the variable selectable part consists of a micro display screen and a fine adjustment button, and the value range of the variable selectable part is 260 variables of { A, B … Z, A1, B1 … Z1, A2 … Y9 and Z9 };
the slave element has a Chinese character label and a slave Chinese character label for indicating the function of the element; a vertical input interface is used for receiving the information of the next line; a vertical output interface is used for uploading information to the upper line; a transverse input interface for receiving information of a following element; the variable selectable part consists of a micro display screen and a fine adjustment button, and the value range of the variable selectable part is 260 variables of { A, B … Z, A1, B1 … Z1, A2 … Y9 and Z9 };
the destination element has a destination Chinese character label indicating the function of the destination element; a transverse output interface for uploading information to a previous element; a transverse input interface for receiving information of a following element;
the step length element is provided with a step length Chinese character label which indicates the function of the element; a transverse output interface for uploading information to a previous element; a transverse input interface for receiving information of a following element;
the function starting element is provided with a function starting program Chinese character label which indicates the function of the element; the wireless uploading module is used for uploading the program to the program generator; a vertical input interface is used for receiving the information of the next line; a transverse input interface for receiving information of a following element; a parameter Chinese character label is provided to indicate that the information received by the horizontal input interface is a parameter; the optional piece under the indication of the Chinese character label of the function name is the optional piece of the function name; there is an option for function names, which range is 100 functions { function 1, function 2, … function 100 };
the function return element is provided with a function return Chinese character label which indicates the function of the element; a vertical output interface is used for uploading information to the upper line; a transverse input interface for receiving information of a following element;
the function name element has a function name Chinese character label which indicates the function of the element; a transverse output interface for uploading information to a previous element; a transverse input interface for receiving information of a following element; the function name selectable part consists of a micro display screen and a fine adjustment button, and the value range of the function name is 100 in total { function 1, function 2, … function 100 };
the control trolley element is provided with a control trolley Chinese character label which indicates the function of the element; a transverse output interface for uploading information to a previous element; a transverse input interface for receiving information of a following element; there is a speed (0-255) Chinese character label, point out horizontal input interface information and requirement; the selectable control trolley part consists of a micro display screen and a fine adjustment button, and the value ranges of the selectable control trolley parts are 4 (forward opening, backward opening, left opening and right opening);
the continuous element has a continuous Chinese character label indicating the function of the element; a transverse output interface for uploading information to a previous element; a transverse input interface for receiving information of a following element;
the output element has an output Chinese character label indicating the function of the element; a transverse output interface for uploading information to a previous element; a transverse input interface for receiving information of a following element;
the infrared obstacle avoidance element is provided with an infrared obstacle avoidance Chinese character label plate which indicates the function of the element; a transverse output interface for uploading information to a previous element; a transverse input interface for receiving information of a following element; the port selectable part consists of a micro display screen and a fine adjustment button, and the value ranges of the port selectable part are 2 (the left side A1 and the right side A2); having a port label indicating information of the port option; the method comprises the following steps that a detection optional part is provided, the detection optional part consists of a micro display screen and a fine adjustment button, and the value range of the detection optional part is 2 (detected, undetected); the barrier Chinese character sign board provides Chinese character information for detecting the selectable parts;
the program generator has a program for generating Chinese character label to indicate the function of the element; the wireless receiving module is used for receiving information sent by the wireless uploading module of the program starting element and the wireless uploading module of the function starting element; the A-type USB interface is used for uploading the program to the intelligent trolley or the computer; a generating button is arranged to enable the wireless receiving module to receive the information sent by the wireless uploading module and generate a program; the method comprises the following steps that a type selectable part is provided, the type selectable part consists of a micro display screen and a fine adjustment button, and the value range of the type selectable part is 3 { Hex file, C language file and Arduino file }; an upload button is provided to connect the program generator to the cart or computer and then to transfer the program to the cart or computer; the device comprises an optional device, wherein the optional device consists of a micro display screen and a fine adjustment button, and the value range of the optional device is 2 { trolley, computer }; a TFT liquid crystal screen for displaying error information, success information and output information of the program; a screen turning button is used for turning screen to watch the error information, success information and output information of the program;
the intelligent trolley is provided with an A1 port, an A2 port and a B-type USB port; the A1 port and the A2 port are infrared obstacle avoidance ports; the B-type USB port is used for being connected with the A-type USB interface of the program generator and receiving the information uploaded by the program generator.
2. A modular programming playset according to claim 1, wherein the elements are electrically connected.
CN201811224173.6A 2018-10-19 2018-10-19 Modular programming toy set and programming method thereof Active CN109331480B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811224173.6A CN109331480B (en) 2018-10-19 2018-10-19 Modular programming toy set and programming method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811224173.6A CN109331480B (en) 2018-10-19 2018-10-19 Modular programming toy set and programming method thereof

Publications (2)

Publication Number Publication Date
CN109331480A CN109331480A (en) 2019-02-15
CN109331480B true CN109331480B (en) 2021-08-31

Family

ID=65310563

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811224173.6A Active CN109331480B (en) 2018-10-19 2018-10-19 Modular programming toy set and programming method thereof

Country Status (1)

Country Link
CN (1) CN109331480B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5270480A (en) * 1992-06-25 1993-12-14 Victor Company Of Japan, Ltd. Toy acting in response to a MIDI signal
CN1383905A (en) * 2001-02-09 2002-12-11 麦特尔公司 Programmable toy car capable of running along hand drawn path
CN205867595U (en) * 2016-04-06 2017-01-11 苏州乐派特机器人有限公司 Formula programming concatenation module in kind is inhaled to magnetism
CN107134205A (en) * 2017-07-06 2017-09-05 深圳市魔块智能有限公司 Wireless programmable electronic modular system and its control method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5270480A (en) * 1992-06-25 1993-12-14 Victor Company Of Japan, Ltd. Toy acting in response to a MIDI signal
CN1383905A (en) * 2001-02-09 2002-12-11 麦特尔公司 Programmable toy car capable of running along hand drawn path
CN205867595U (en) * 2016-04-06 2017-01-11 苏州乐派特机器人有限公司 Formula programming concatenation module in kind is inhaled to magnetism
CN107134205A (en) * 2017-07-06 2017-09-05 深圳市魔块智能有限公司 Wireless programmable electronic modular system and its control method

Also Published As

Publication number Publication date
CN109331480A (en) 2019-02-15

Similar Documents

Publication Publication Date Title
CN103489347B (en) Intelligent tutoring electronic building blocks and using method thereof
Cuéllar et al. Design and implementation of intelligent systems with LEGO Mindstorms for undergraduate computer engineers
KR101843831B1 (en) Unplugged Real Coding Block
Khamphroo et al. MicroPython-based educational mobile robot for computer coding learning
CN101376065B (en) Interactive toy system thereof control method thereof
CN108228153A (en) A kind of material object programming method and system towards cooperation
CN109331480B (en) Modular programming toy set and programming method thereof
US20200234609A1 (en) System and method for teaching computer programming
CN104809922B (en) A kind of information combination system based on module relative position
KR102069878B1 (en) Augmented reality-based educational programming language authoring system using block smart toys
KR20200113827A (en) Codable block teaching aid for kid&#39;s computational thinking enhancement
CN113380113A (en) Material object programming children drawing toy, control method and computer equipment
KR20190045005A (en) Smart toy for play and education
CN108491203A (en) Material objectization puzzle type programming instruction module identifies plate
US20200105153A1 (en) Interactive system for teaching sequencing and programming
WO2022010031A1 (en) Block coding device
CN211979874U (en) Programming auxiliary jigsaw component and auxiliary programming system
CN112598970A (en) Graphic programming block suite system
CN112382142A (en) Graphic programming block suite system
CN212044742U (en) Modularization color recognition robot
KR102229422B1 (en) Method and system for learning coding using light emitting diode blocks
KR102251867B1 (en) System and method for providing coding education using star topology in Internet of things
KR20210142305A (en) AI-based coding coaching service system
KR102452991B1 (en) Modular physical block-based EPL augmented reality simulator system
Xu Military Education Robot Based on Wireless Signal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant