CN109331480A - Modularization programming playset and its programmed method - Google Patents

Modularization programming playset and its programmed method Download PDF

Info

Publication number
CN109331480A
CN109331480A CN201811224173.6A CN201811224173A CN109331480A CN 109331480 A CN109331480 A CN 109331480A CN 201811224173 A CN201811224173 A CN 201811224173A CN 109331480 A CN109331480 A CN 109331480A
Authority
CN
China
Prior art keywords
function
information
program
programming
selectable unit
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.)
Granted
Application number
CN201811224173.6A
Other languages
Chinese (zh)
Other versions
CN109331480B (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

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 kind of modularization programming playset and its programmed methods.A kind of modularization programming playset, comprising: if start program element, terminate program element, start element, terminate element, digital element, character element, variable element, arithmetic element, logic element, executive component, ending element, element, otherwise element, else if element, when element, since element, to element, step-length element, function element, function return element, function name element, control trolley element, continue element, output element, infrared obstacle avoidance element, program generator, intelligent carriage.Only one main program when programming, i.e., started with start program element, and terminating program element terminates main program.When program middle section programs, sequential programming, condition programming can be used, the method for cycle programming can use the function name element calling function if there is function.The programming of function is independently of main program, in the outside of main program.After having compiled program, need to generate program with the generation key of program generator.

Description

Modularization programming playset and its programmed method
Technical field
The present invention relates to a kind of toys to program field, and in particular to playset, module assembled is programmed according to a certain method, is held Line program instruction, develops children intelligence.
Background technique
Traditional programming is usually to input text language by keyboard to complete.This programming mode to children and Speech understands and uses very inconvenient, and main cause is grammer and complicated order in conventional programming language, and children are difficult to manage Solution and memory, while children also being needed to carry out a large amount of input services.English profession programming term is grasped also unskillful to lack For year children, the text editing mode of program lacks intuitive, and children can not be created using traditional programming mode The program of oneself finds the enjoyment of programming.
For this purpose, the invention proposes a kind of playset, children can by study that the playset is programmed and Operation.In addition, the present invention uses Chinese character programming mode, children can be made to understand and grasp the method for programming, skill as early as possible, be Study programming language lays the foundation.
Summary of the invention
A kind of modularization programming playset, comprising: start program element terminates program element, starts element, terminates member If part, digital element, character element, variable element, arithmetic element, logic element, executive component, ending element, element, no Then element, else if element, when element, since element, to element, step-length element, function element, function return element, Function name element, continues element, output element, infrared obstacle avoidance element, program generator, intelligent carriage at control trolley element.
The program generator of the modularization programming playset is the device of Program Generating and upload;Intelligent carriage is program knot The device that fruit is examined;All elements are the devices of program assembling in addition to program generator and intelligent carriage.
The modularization programming playset start program element, beginning element, end program element, end member in programming Part, otherwise element will account for a line;If executive component, element, else if element, when element, the member since element, function Part, function return to the row head that element will be placed on every a line;Digital element, character element, variable element, arithmetic element, logic basis Part will be put to element, step-length element, function name element, control trolley element, lasting element, output element, infrared obstacle avoidance element In the middle position of every a line;End of line will have ending element;Each complete routine will be started with start program element, to terminate Program element terminates.
The structure of condition programming be { if element ... otherwise element ... } or if element ... else if element ... otherwise Element ... }.{ if element ... otherwise element ... } structure can be used in a program, if being really to hold according to element row information If row element and the otherwise row between element, the subsequent element that starts of otherwise element is skipped to the row terminated between element, is If the row between element and otherwise element is skipped in vacation, execute behind otherwise element to start element between end element Row realizes that two tunnels select one, can also be with if element ... is else if element ... otherwise element ... structure, if first according to member The row information of part, if being true to execute element and else if row between element, is vacation further according to else if element Row information is really to execute the row else if between element and otherwise element, is false execute behind otherwise element to start member Part is to the row terminated between element, and other rows just no longer execute in this structure, realizes that three tunnels select one, can also carry out nested real Existing multichannel selects one.
There are two types of cycle programmings, i.e., when element recycles and recycles from element.When element loop structure is { when component logic member Part ... }, loop body will be started the cycle over starting element, terminate element end loop;From element loop structure be from element ... to Element ... step-length element ... }, behind to be started the cycle over starting element, terminate element end loop, from element loop structure If start element and terminate there was only a line between element, it is convenient to omit start element and terminate element, at this moment under element The back to back a line in face is loop body.
To start element when function programming with function to start, finally to return to element with function terminates this function.If letter Number has parameter, and function starts link variable element on the right side of element, and end of line terminates current row with the element that ends up;If without parameter, Function, which starts connection ending element on the right side of element, terminates current row.When function returns, if there is return value, function is returned on the right side of element Link variable element, end of line terminate current row with the element that ends up;If function returns to connection ending member on the right side of element without return value Part terminates current row.The programming of function is independently of main program, in the outside of main program, and function program can have it is multiple.
Only one main program when programming, i.e., started with start program element, terminates the main program that program element terminates.Journey When sequence middle section programs, sequential programming, condition programming can be used, the method for cycle programming can use letter with function Several element callings function.Start element and end element is considered as an entirety, needs to occur in pairs, not so program can go out Mistake can not generate program.
After having compiled program, need to generate program with the generation key of program generator.It is raw in program if program is wrong The display screen display program grown up to be a useful person is in which information such as wrong;If program does not have mistake, in program generator It shows the information such as screen display Program Generating completion, and can check program by the requirement of operator.The effect for checking program, can To connect intelligent carriage by USB line by program generator, the control of trolley is uploaded to by the upload key of program generator In the single-chip microcontroller of plate, and the information such as successfully are uploaded in the display screen display program of program generator;If wrong, in journey The display screen display program of sequence generator uploads the information such as unsuccessfully.
Technical solution of the present invention substantive distinguishing features outstanding and significant progress are mainly reflected in:
1. giving the toy and its programmed method of the modularization programming of suitable children a kind of.The modularization programming provided Playset, each toy module indicate the Chinese character of this functions of modules, are easily mastered children, reduce programming for teenager The difficulty of children.
2. giving a kind of method programmed using function moduleization, support multiple children cooperate to program, it is common complete At a relatively large program, the collaboration capabilities of children can be tempered, can be used as the work that children program match Tool.
3. relative to other programmed methods, modular toy group programmed method is not needed through computer programming system, It can be individually present, it is low in cost, it is easy to spread.
Detailed description of the invention
Fig. 1 is start program component structure schematic diagram.
Wherein: 1-function label;2-wireless uploading modules;3-vertical input interfaces.
Fig. 2 is to terminate program element structural schematic diagram.
Wherein: 4-vertical output interfaces.
Fig. 3 is to start component structure schematic diagram.
Fig. 4 is to terminate component structure schematic diagram.
Fig. 5 is digital element structural schematic diagram.
Wherein: 5-horizontal output interfaces;6-horizontal input interfaces;7-digital selectable units;8-miniature display screens;9-fine tunings Button.
Fig. 6 is character component structure schematic diagram.
Wherein: 10-character selectable units.
Fig. 7 is variable component structure schematic diagram.
Wherein: 11-variable selectable units.
Fig. 8 is arithmetic element structural schematic diagram.
Wherein: 12-operation selectable units.
Fig. 9 is logic element structural schematic diagram.
Wherein: 13-logic selectable units.
Figure 10 is activator structure schematic diagram.
Figure 11 is ending component structure schematic diagram.
Figure 12 is if component structure schematic diagram.
Figure 13 is otherwise component structure schematic diagram.
Figure 14 is else if component structure schematic diagram.
Figure 15 is when component structure schematic diagram.
Wherein: 14-variable selectable units.
Figure 16 is from component structure schematic diagram.
Wherein: 15-variable selectable units.
Figure 17 is to component structure schematic diagram.
Figure 18 is step-length component structure schematic diagram.
Figure 19 is that function starts component structure schematic diagram.
Wherein: 16-function name selectable units;17-wireless uploading modules.
Figure 20 is that function returns to component structure schematic diagram.
Figure 21 is function name component structure schematic diagram.
Figure 22 is control trolley component structure schematic diagram.
Wherein: 18-control trolley selectable units.
Figure 23 is to continue component structure schematic diagram.
Figure 24 is output element structural schematic diagram.
Figure 25 is infrared obstacle avoidance component structure schematic diagram.
Wherein: 19-port selectable units;20-detection selectable units.
Figure 26 is program generator structural schematic diagram.
Wherein: 21-wireless receiving modules;22-A type USB interfaces;23-generate button;24 type selectable units;25 upload Button;26-equipment selectable units;27-TFT liquid crystal displays;28-turn over screen button.
Figure 27 is intelligent carriage structural schematic diagram.
Wherein: the 29-ports A1;30-the ports A2;31-Type B USB ports
Figure 28 is the implementation example figure realizing sequential programme programming using modular toy group with executing.
Figure 29 is the structure chart that condition programming is realized using modular toy group.
Figure 30 is the embodiment that { if element ... otherwise element ... } condition programming structure is realized using modular toy group Figure.
Figure 31 is to realize { if element ... otherwise element ... } condition programming structure using modular toy group, is omitted Start element and terminates the implementation example figure of element.
Figure 32 is to realize that condition is compiled if element ... is else if element ... otherwise element ... using modular toy group The implementation example figure of journey structure.
Figure 33 is to realize to work as element cycle programming structure chart using modular toy group.
Figure 34 is that the implementation example figure when the programming of element loop structure is realized using modular toy group.
Figure 35 is to be realized using modular toy group from element cycle programming structure chart.
Figure 36 is to realize the implementation example figure programmed from element loop structure using modular toy group.
Figure 37 is to realize the element since omitting element loop structure using modular toy group and program when terminating element Implementation example figure.
Figure 38 is to realize function programming implementation example figure using modular toy group.
Figure 39 is the implementation example figure that function call and execution are realized using modular toy group.
Specific embodiment
Technical scheme of the present invention is further explained with specific example with reference to the accompanying drawing.
A kind of modularization programming playset, there is start program element, such as Fig. 1;Terminate program element, such as Fig. 2;, start member Part, such as Fig. 3;Terminate element, such as Fig. 4;Digital element, such as Fig. 5;Character element, such as Fig. 6;Variable element, such as Fig. 7;Operand Part, such as Fig. 8;Logic element, such as Fig. 9;Executive component, such as Figure 10;End up element, such as Figure 11;If element, such as Figure 12;Otherwise Element, such as Figure 13;Else if element, such as Figure 14;Work as element, such as Figure 15;From element, such as Figure 16;To element, such as Figure 17;Step Long element, such as Figure 18;Function starts element, such as Figure 19;Function returns to element, such as Figure 20;Function name element, such as Figure 21;Control Trolley element, such as Figure 22;Continue element, such as Figure 23;Output element, such as Figure 24;Infrared obstacle avoidance element, such as Figure 25;Program Generating Device, such as Figure 26;Intelligent carriage, such as Figure 27.
Other than intelligent carriage, other elements have a label, indicate the function of the element.Program generator is as schemed 26 label is Program Generating, and when the label of element such as Figure 15 is to work as ..., circulation is to use from the label of element such as Figure 16 ... from letter The label that number starts element such as Figure 19 starts for function, and the label of function name element such as Figure 21 is function name, controls trolley element If the label of Figure 22 is control trolley, the label of infrared obstacle avoidance element such as Figure 25 is infrared obstacle avoidance, and the label of other elements is figure On Chinese character.
Start program element such as Fig. 1 terminates program element such as Fig. 2, starts element such as Fig. 3, terminates element such as Fig. 4, otherwise Element such as Figure 13, when programming, will account for a line;Executive component such as Figure 10, if element such as Figure 12, else if element such as Figure 14, when Element such as Figure 15, from element such as Figure 16, function starts element such as Figure 19, and function returns to element such as Figure 20, and when programming will be placed on every The row of a line is first;Digital element such as Fig. 5, character element such as Fig. 6, variable element such as Fig. 7, arithmetic element such as Fig. 8, logic element is such as Fig. 9 arrives element such as Figure 17, step-length element such as Figure 18, function name element such as Figure 21, controls trolley element such as Figure 22, continues element Such as Figure 23, output element such as Figure 24, infrared obstacle avoidance element such as Figure 25, when programming, will be placed on the middle position of every a line;Ending member Part such as Figure 11, when programming, will be placed on the end of line of every a line.
Start program element such as Fig. 1 has a vertical input interface 3, and terminating program element such as Fig. 2 has a vertical output interface 4, beginning element such as Fig. 3, end element such as Fig. 4, otherwise element such as Figure 13 has a vertical input interface 3 and a vertical output interface 4, if executive component such as Figure 10, element such as Figure 12, else if element such as Figure 14, when element such as Figure 15, from element such as Figure 16, Function, which starts element such as Figure 19, function return element such as Figure 20, the vertical output interface 4 of a vertical input interface 3, one and one Horizontal input interface 6, digital element such as Fig. 5, character element such as Fig. 6, variable element such as Fig. 7, arithmetic element such as Fig. 8, logic element Such as Fig. 9, it arrives element such as Figure 17, step-length element such as Figure 18, function name element such as Figure 21, control trolley element such as Figure 22, continue member Part such as Figure 23, output element such as Figure 24, infrared obstacle avoidance element such as Figure 25 have a horizontal input interface 6 and a horizontal output interface 5, Ending element such as Figure 11 has a horizontal output interface 5.Vertical input interface 3, vertical output interface 4, horizontal input interface 6, horizontal output connect Mouth 5 is a kind of interface of electric connection structure, such as the interface of USB Type.Vertical input interface 3, vertical output interface 4 are a seed types Interface, indulge input interface 3 be female mouth, indulge output interface 4 be public mouth.Horizontal input interface 6, horizontal output interface 5 are another types The interface of type, horizontal input interface 6 are female mouths, and horizontal output interface 5 is public mouth.Between interface by the way of electrical connection.Longitudinal direction connects Be mouthful with horizontal interface it is different, cannot mutual plug.
The digital scope (- 32768 to 32767) of digital selectable unit 7 totally 65536 integer numbers.
The value range of the character of character selectable unit 10 be A, B ... Z, 0,1 ... 9 ,=, space } totally 38.
Variable selectable unit 11, variable selectable unit 14, variable selectable unit 15 are same type of variable selectable unit, value model Enclosing is { A, B ... Z, A1, B1 ... Z1, A2 ... Y9, Z9 } totally 260 variables.
The value range of operation selectable unit 12 be+,-, ×, ÷, ∧, ﹦ } totally 6.
The value range of logic selectable unit 13 is { ﹦ ﹦, >, <, > ﹦, < ﹦, with very, false or, non-} totally 10.
The function name value range of function name selectable unit 16 is { function 1, function 2 ... function 100 } totally 100.
The value range of control trolley selectable unit 18 is { open forward, open backward, open to the left, open to the right } totally 4.
The value range of port selectable unit 19 is { left side A1, the right A2 } totally 2
The value range of detection selectable unit 20 is { detecting, be not detected } totally 2
The value range of type selectable unit 24 is { Hex file, C language file, Arduino file } totally 3
The value range of equipment selectable unit 26 is { trolley, computer } totally 2
The trim button 9 of digital selectable unit body 7 clicks number upwards and increases by 1, clicks number downwards and reduces 1, when upwards or Downwards according to not putting, number can increase automatically.
The screen button that turns over of program generator clicks screen upwards and stirs a screen upwards, clicks screen downwards and stirs downwards One screen.
Start element such as Fig. 3 and end element such as Fig. 4 to need to occur in pairs, not so program can malfunction, and can not generate program.
If Figure 28 is the implementation example figure realizing sequential programme programming using modular toy group with executing.Program is to start journey Sequence element starts, and is terminated with terminating program element;Executive component is first in the row of every a line, and there is control trolley element in centre, continues Element, digital element;There is ending element per tail line by line.After having compiled program, need to be generated with the generation key of program generator Program.At this moment, the wireless receiving module 21 of program generator is wirelessly connected the wireless uploading module 2 with start program element.Such as Fruit program is wrong, then in the display screen display program of program generator in which information such as wrong;If program does not have Mistake then in information such as the display screen display Program Generating completions of program generator, and generates program by the requirement of operator And it can check program.When checking the effect of program, it can be connected by the A type USB interface 22 of program generator by USB line To the Type B USB interface of intelligent carriage, the single-chip microcontroller of the control panel of intelligent carriage is uploaded to by the upload key of program generator In, and the information such as successfully are uploaded in the display screen display program of program generator;If wrong, in program generator Show that screen display program uploads the information such as unsuccessfully.
If Figure 29 is the structure chart for realizing condition programming using modular toy group.The structure of condition programming is { if member Part ... otherwise element ... } or if element ... is else if element ... otherwise element ....It in a program can be with { if member Part ... otherwise element ... } structure, if first according to element row information, if being true to execute element and otherwise between element Row, skip otherwise element it is subsequent start element to end element between row, if be vacation skip element and otherwise element it Between row, execute otherwise behind element to start element to the row terminated between element, two tunnels of realization select one, specific embodiment Such as Figure 30;When starting element and terminating there was only a line between element, it is convenient to omit start element and terminates element, specific implementation Such as Figure 31.It can also be with if element ... is else if element ... otherwise element ... structure, if first according to element Row information, if be it is true execute element and else if row between element, be it is false further according to else if element row Information is really to execute the row else if between element and otherwise element, is that false execute is arrived behind otherwise element with starting element Terminate the row between element, other rows just no longer execute in this structure, realize that three tunnels select one;It is more can also to carry out nested realization Lu Xuanyi, specific embodiment such as Figure 32.The programing effect of the present embodiment needs to upload to intelligent carriage, and trolley is allowed to want by programming It asks and completes corresponding task.
If Figure 33 is to realize to work as element cycle programming structure chart using modular toy group.When element loop structure be when Component logic element ... }, loop body will be started the cycle over starting element, terminate element end loop.It executes and opens when condition meets Loop body exits circulation when condition is unsatisfactory for.It is recycled with when element, centre will have the row of a change variable component value, otherwise It will cause endless loop.Specific embodiment is as shown in figure 34.Program is generated by the generation key of program generator, in Program Generating The TFT liquid crystal display 27 of device shows program operation result " sum=5050 ".
If Figure 35 is to be realized using modular toy group from element cycle programming structure chart.From element loop structure be from Element ... arrives element ... step-length element ... }, behind to be started the cycle over starting element, terminate element end loop, with from element Circulation, initial value are from element and to the value of the digital element element, and final value is to the number between element and step-length element The value of element, the value for the digital element that every circulation primary increases step-length element between the element that ends up.Such as Figure 36 is embodied It is shown;When there was only a line between element and end element since in element loop structure, it is convenient to omit start element and terminate Element, specific embodiment is as shown in figure 37, the behavior loop body at this moment closely followed below element.
If Figure 38 is to realize function programming implementation example figure using modular toy group.Member is started when function programming with function Part starts, and finally to return to element with function terminates this function.Function starts link variable element on the right side of element, and end of line is to end up Element terminates current row.When function returns, function returns to link variable element on the right side of element, and end of line terminates current row with the element that ends up.
If Figure 39 is the implementation example figure for realizing function call and execution using modular toy group.When programming only one Main program is started with start program element, terminating program element terminates main program.Main program can use function name element calling The function.The programming of function is independently of main program, in the outside of main program.After having compiled program, need to use program generator Generation key generate program.At this moment, the wireless receiving module 21 of program generator is wirelessly connected the nothing with start program element Line uploading module 2, when having function name element in program generator discovery main program, the wireless receiving module 21 of program generator It is wirelessly connected the wireless uploading module 17 that and function starts element again, final program generator is generated according to the information of wireless transmission The program that operator requires.
The loop body of loop structure of the present invention can also be placed on front behind element.
Intelligent carriage in the present invention is the device that procedure result is examined, and can increase other function class components, make trolley Complete stronger function.The implementation effect of program is not limited solely to intelligent carriage, can also increase other function class component premises Under, using other programmable smart machines (such as unmanned plane, robot etc.), achieve the effect that check problem.
The present invention is not limited to above-mentioned preferred embodiment, anyone structure made in the case where learning enlightenment of the invention Variation, it is all that there is same or similar technical solution with of the invention, it all belongs to the scope of protection of the present invention.

Claims (29)

1. a kind of modularization programming playset, comprising: start program element, terminate program element, start element, terminate element, If digital element, character element, variable element, arithmetic element, logic element, executive component, ending element, element, otherwise Element, else if element, when element, since element, to element, step-length element, function element, function return element, letter Several elements, continue element, output element, infrared obstacle avoidance element, program generator, intelligent carriage at control trolley element;
Its programmable features is:
Modularization programming playset in programming start program element, start element, terminate program element, terminating element, otherwise Element will account for a line, if executive component, element, else if element, when element, element, function return since element, function Return element to be placed on every a line row it is first, digital element, character element, variable element, arithmetic element, logic element, to element, Step-length element, function name element, control trolley element, lasting element, output element, infrared obstacle avoidance element will be placed on every a line Middle position, end of line will have ending element, and each complete routine will be started with start program element, to terminate program element knot Beam;
The structure of condition programming is { if element ... otherwise element ... } or { if element ... is else if element ... is otherwise first Part ... }, { if element ... otherwise element ... } structure can be used in a program, if being really to execute according to element row information If the row between element and otherwise element, the subsequent element that starts of otherwise element is skipped to the row terminated between element, is false If skipping the row between element and otherwise element, execute otherwise behind element to start element to the row between end element, Realize that two tunnels select one, it can also be with if element ... is else if element ... otherwise element ... structure, if first according to element Row information, if be it is true execute element and else if row between element, be it is false further according to else if element cross Row information is really to execute the row else if between element and otherwise element, is false execute behind otherwise element to start element To the row terminated between element, other rows are just no longer executed in this structure, are realized that three tunnels select one, can also be carried out nested realization Multichannel selects one;
There are two types of cycle programmings:
I.e. when element recycles and recycles from element;
When element loop structure is { when component logic element ... }, loop body will be started the cycle over starting element, terminate element knot Shu Xunhuan, executes loop body when condition meets, circulation is exited when condition is unsatisfactory for;
It is { from element ... to element ... step-length element ... } from element loop structure, loop body will be started the cycle over starting element, Terminate element end loop, since in element loop structure if start element and terminate element between only have a line when, can save Slightly start element and terminate element, at this moment a line is loop body immediately below from element;
To start element when function programming with function to start, finally to return to element with function terminates this function, and function starts member Link variable element on the right side of part, end of line terminates current row with the element that ends up, and when function returns, function returns to link variable on the right side of element Element, end of line terminate current row with the element that ends up, and the programming of function is independently of main program, in the outside of main program, and function Program can have multiple;
Only one main program when programming, i.e., started with start program element, terminates the main program that program element terminates, program master When body portion programs, sequential programming can be used, condition programming, the method for cycle programming can be in master with function programming The function name element calling function is used in function, starts element and end element is considered as an entirety, need to occur in pairs.
2. a kind of modularization programming playset according to claim 1, which is characterized in that the start program element has one A start program Chinese character label, indicates the function of the element;There is a wireless uploading module, it is raw for program to be uploaded to program It grows up to be a useful person;There is a vertical input interface, for receiving the information of next line.
3. a kind of modularization programming playset according to claim 1, which is characterized in that the end program element has one A end program Chinese character label, indicates the function of the element;There is a vertical output interface, for information to be uploaded to above one Row.
4. a kind of modularization programming playset according to claim 1, which is characterized in that the beginning element has one to open Beginning Chinese character label, indicates the function of the element;There is a vertical input interface, for receiving the information of next line;Have one indulge it is defeated Outgoing interface, for information to be uploaded to upper row.
5. a kind of modularization programming playset according to claim 1, which is characterized in that the end element has a knot Beam Chinese character label, indicates the function of the element;There is a vertical input interface, for receiving the information of next line;Have one indulge it is defeated Outgoing interface, for information to be uploaded to upper row.
6. a kind of modularization programming playset according to claim 1, which is characterized in that the digital element has a number Word Chinese character label, indicates the function of the element;There is a horizontal output interface, for information to be uploaded to the element of front one;Have One horizontal input interface, for receiving the information of latter one element;There is a digital selectable unit, digital selectable unit is micro- by one Type display screen and trim button composition, the digital scope (- 32768 to 32767) of digital selectable unit totally 65536 it is whole Number number.
7. a kind of modularization programming playset according to claim 1, which is characterized in that the character element has a word Chinese character label is accorded with, indicates the function of the element;There is a horizontal output interface, for information to be uploaded to the element of front one;Have One horizontal input interface, for receiving the information of latter one element;There is a character selectable unit, character selectable unit is micro- by one Type display screen and trim button composition, the value range of the character of character selectable unit be A, B ... Z, 0,1 ... 9 ,=, it is empty Lattice } totally 38.
8. a kind of modularization programming playset according to claim 1, which is characterized in that the variable element has a change Chinese character label is measured, indicates the function of the element;There is a horizontal output interface, for information to be uploaded to the element of front one;Have One horizontal input interface, for receiving the information of latter one element;There is a variable selectable unit, variable selectable unit is micro- by one Type display screen and a trim button composition, the value range of variable selectable unit is { A, B ... Z, A1, B1 ... Z1, A2 ... Y9, Z9 } Totally 260 variables.
9. a kind of modularization programming playset according to claim 1, which is characterized in that the arithmetic element has a fortune Chinese character label is calculated, indicates the function of the element;There is a horizontal output interface, for information to be uploaded to the element of front one;Have One horizontal input interface, for receiving the information of latter one element;There is an operation selectable unit, operation selectable unit is micro- by one Type display screen and trim button composition, the value range of operation selectable unit be+,-, ×, ÷, ∧, ﹦ } totally 6.
10. a kind of modularization programming playset according to claim 1, which is characterized in that the logic element has one Logic Chinese character label, indicates the function of the element;There is a horizontal output interface, for information to be uploaded to the element of front one; There is a horizontal input interface, for receiving the information of latter one element;There is a logic selectable unit, logic selectable unit is by one Miniature display screen and trim button composition, the value range of logic selectable unit be ﹦ ﹦, >, <, > ﹦, < ﹦, with, or, It is non-, very, false totally 10.
11. a kind of modularization programming playset according to claim 1, which is characterized in that the executive component has one Start Chinese character label, indicates the function of the element;There is a vertical input interface, for receiving the information of next line;There is one to indulge Output interface, for information to be uploaded to upper row;There is a horizontal input interface, for receiving the letter of latter one element Breath;Major function is to receive horizontal and vertical information, is transmitted upwards.
12. a kind of modularization programming playset according to claim 1, which is characterized in that the ending element has one One EOL mark is transferred to the element of front one by horizontal output interface.
13. a kind of modularization programming playset according to claim 1, which is characterized in that if the element has one If Chinese character label indicates the function of the element;There is a vertical input interface, for receiving the information of next line;There is one to indulge Output interface, for information to be uploaded to upper row;There is a horizontal input interface, for receiving the letter of latter one element Breath.
14. a kind of modularization programming playset according to claim 1, which is characterized in that the otherwise element has one Otherwise Chinese character label indicates the function of the element;There is a vertical input interface, for receiving the information of next line;There is one to indulge Output interface, for information to be uploaded to upper row.
15. a kind of modularization programming playset according to claim 1, which is characterized in that described else if element has One else if Chinese character label, indicates the function of the element;There is a vertical input interface, for receiving the information of next line; There is a vertical output interface, for information to be uploaded to upper row;There is a horizontal input interface, for receiving latter one member The information of part.
16. a kind of modularization programming playset according to claim 1, which is characterized in that described when element has one to work as Chinese character label, a circulation Chinese character label, indicate the function of the element;There is a vertical input interface, for receiving next line Information;There is a vertical output interface, for information to be uploaded to upper row;There is a horizontal input interface, for receiving below The information of one element;There is a variable selectable unit, variable selectable unit is made of a miniature display screen and a trim button, The value range of variable selectable unit is { A, B ... Z, A1, B1 ... Z1, A2 ... Y9, Z9 } totally 260 variables.
17. a kind of modularization programming playset according to claim 1, which is characterized in that described to have a use from element Chinese character label, one from Chinese character label, indicate the function of the element;There is a vertical input interface, for receiving the letter of next line Breath;There is a vertical output interface, for information to be uploaded to upper row;There is a horizontal input interface, for receiving below one The information of a element;There is a variable selectable unit, variable selectable unit is made of a miniature display screen and a trim button, is become The value range for measuring selectable unit is { A, B ... Z, A1, B1 ... Z1, A2 ... Y9, Z9 } totally 260 variables.
18. a kind of modularization programming playset according to claim 1, which is characterized in that described to there is one to arrive to element Chinese character label indicates the function of the element;There is a horizontal output interface, for information to be uploaded to the element of front one;Have one A horizontal input interface, for receiving the information of latter one element.
19. a kind of modularization programming playset according to claim 1, which is characterized in that the step-length element has one Step-length Chinese character label, indicates the function of the element;There is a horizontal output interface, for information to be uploaded to the element of front one; There is a horizontal input interface, for receiving the information of latter one element.
20. a kind of modularization programming playset according to claim 1, which is characterized in that the function, which starts element, to be had One function start program Chinese character label, indicates the function of the element;There is a wireless uploading module, for uploading to program Program generator;There is a vertical input interface, for receiving the information of next line;There is a horizontal input interface, after receiving The information of one element in face;There is a parameter Chinese character label, the information for indicating that horizontal input interface receives is parameter;There is a function Name Chinese character label indicates that following selectable unit is function name selectable unit;There is a function name selectable unit, function name range is { function 1, function 2 ... function 100 } totally 100.
21. a kind of modularization programming playset according to claim 1, which is characterized in that the function, which returns to element, to be had One function returns to Chinese character label, indicates the function of the element;There is a vertical output interface, for information to be uploaded to above one Row;There is a horizontal input interface, for receiving the information of latter one element.
22. a kind of modularization programming playset according to claim 1, which is characterized in that the function name element has one A function name Chinese character label, indicates the function of the element;There is a horizontal output interface, for information to be uploaded to the member of front one Part;There is a horizontal input interface, for receiving the information of latter one element;There is a function name selectable unit, function name is optional Part is made of a miniature display screen and a trim button, and function name value range is { function 1, function 2 ... function 100 } Totally 100.
23. a kind of modularization programming playset according to claim 1, which is characterized in that the control trolley element has One control trolley Chinese character label, indicates the function of the element;There is a horizontal output interface, for information to be uploaded to front one A element;There is a horizontal input interface, for receiving the information of latter one element;There is speed (0-255) Chinese character label, Specify horizontal input interface information and requirement;There is a control trolley selectable unit, controls trolley selectable unit by a miniature display Screen and trim button composition control the value range { open forward, open backward, open to the left, open to the right } of trolley selectable unit totally 4 It is a.
24. a kind of modularization programming playset according to claim 1, which is characterized in that the element that continues has one Continue Chinese character label, indicates the function of the element;There is a horizontal output interface, for information to be uploaded to the element of front one; There is a horizontal input interface, for receiving the information of latter one element.
25. a kind of modularization programming playset according to claim 1, which is characterized in that the output element has one Chinese character label is exported, indicates the function of the element;There is a horizontal output interface, for information to be uploaded to the element of front one; There is a horizontal input interface, for receiving the information of latter one element.
26. a kind of modularization programming playset according to claim 1, which is characterized in that the infrared obstacle avoidance element has One infrared obstacle avoidance Chinese character label, indicates the function of the element;There is a horizontal output interface, for information to be uploaded to front one A element;There is a horizontal input interface, for receiving the information of latter one element;There is a port selectable unit, port is optional Part is made of a miniature display screen and a trim button, the value range { left side A1, the right A2 } of port selectable unit totally 2 It is a;There is a port label, indicates the information of port selectable unit;There is a detection selectable unit, detection selectable unit is miniature by one Display screen and trim button composition, the value range for detecting selectable unit is { detecting, be not detected } totally 2;There is one Barrier Chinese character label provides Chinese character information for detection selectable unit.
27. a kind of modularization programming playset according to claim 1, which is characterized in that described program generator has one A Program Generating Chinese character label, indicates the function of the element;There is a wireless receiving module, for receiving start program element Wireless uploading module and function starts the information that the wireless uploading module of element is sent;There is an A type USB interface, is used for journey Sequence uploads to intelligent carriage or computer;There is a generation button, wireless receiving module is allowed to receive the letter that wireless uploading module is sent It ceases and generates program;There is a type selectable unit, type selectable unit is made of a miniature display screen and a trim button, class The value range of type selectable unit is { Hex file, C language file, Arduino file } totally 3;There is a upload button, allows journey Sequence generator is connected with trolley or computer, then program transportation to trolley or computer;There is an equipment selectable unit, equipment is optional Part is made of a miniature display screen and a trim button, and the value range of equipment selectable unit is { trolley, computer } totally 2; There is a TFT liquid crystal display, for showing error message, successful information and the output information of program;There is one to turn over screen button, is used for The error message of program, successful information and output information are turned over into screen viewing.
28. a kind of modularization programming playset according to claim 1, which is characterized in that the intelligent carriage has one The port A1, a port A2, a Type B USB port;The port A1, the port A2 are infrared obstacle avoidance ports;Type B USB port is used for and program The A type USB interface of generator is connected, and receives the information that program generator uploads.
29. a kind of modularization programming playset according to claim 1, which is characterized in that using electricity between the element Connection type.
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 true CN109331480A (en) 2019-02-15
CN109331480B 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
CN109331480B (en) 2021-08-31

Similar Documents

Publication Publication Date Title
CN208314755U (en) A kind of artificial intelligence development platform and system
CN102789713B (en) Entity programming method and system based on infrared and wireless transmission technology
CN103456203B (en) A kind of portable entity programmed method and system
CN107134205A (en) Wireless programmable electronic modular system and its control method
CN100520849C (en) Device and method for automatically testing distant control function
CN108874383A (en) Graphical programming method and programing system
US11727824B2 (en) System and method for teaching computer programming
KR101843831B1 (en) Unplugged Real Coding Block
CN209591134U (en) A kind of compatible type hardware programming electronic modular system that can be used for imparting knowledge to students
KR20120130420A (en) Programming block assembly, robot system operated by program using the same, and programming method thereof
CN111655347B (en) Toy building system with robot control unit
CN103489347A (en) Intelligent teaching electronic building block
CN110825378A (en) Programming system and control system based on program building blocks
CN106385447A (en) Data processing method of virtual pile for battery management system test
CN109362598A (en) A kind of pigeon inductive education system and training method towards cognition navigation
Hwang et al. Rapid prototyping platform for robotics applications
CN110780877A (en) Programming system based on program building blocks and configuration device thereof
CN109830141A (en) A kind of entity command programmed method and entity command programing system
Arakliotis et al. Lawris: A rule-based Arduino programming system for young students
CN109331480A (en) Modularization programming playset and its programmed method
CN110362344A (en) A kind of building block system programing system
CN108804827A (en) A kind of online micro-capacitance sensor virtual simulated training system
CN108961979B (en) Teaching robot system and assembling method
CN201576370U (en) PLC intelligent training device
CN101866587A (en) Wireless electronic board game device based on infrared control

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