Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP6321066B2 - Apparatus, method and program for programming learning - Google Patents
[go: Go Back, main page]

JP6321066B2 - Apparatus, method and program for programming learning - Google Patents

Apparatus, method and program for programming learning Download PDF

Info

Publication number
JP6321066B2
JP6321066B2 JP2016047138A JP2016047138A JP6321066B2 JP 6321066 B2 JP6321066 B2 JP 6321066B2 JP 2016047138 A JP2016047138 A JP 2016047138A JP 2016047138 A JP2016047138 A JP 2016047138A JP 6321066 B2 JP6321066 B2 JP 6321066B2
Authority
JP
Japan
Prior art keywords
block
blocks
block mounting
mounting unit
type
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.)
Expired - Fee Related
Application number
JP2016047138A
Other languages
Japanese (ja)
Other versions
JP2017161770A (en
Inventor
長谷川 学
学 長谷川
チン フィ リー,
チン フィ リー,
Original Assignee
株式会社デザイニウム
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 株式会社デザイニウム filed Critical 株式会社デザイニウム
Priority to JP2016047138A priority Critical patent/JP6321066B2/en
Publication of JP2017161770A publication Critical patent/JP2017161770A/en
Application granted granted Critical
Publication of JP6321066B2 publication Critical patent/JP6321066B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Toys (AREA)

Description

本発明は、プログラミング学習用の装置、方法およびプログラムに関する。   The present invention relates to an apparatus, method and program for programming learning.

従来、プログラミング教育は、汎用計算機を用いて行われてきた。また、初心者にも習得が容易な言語を用いてプログラミング教育を容易にする対戦型コンピュータゲーム装置が知られている(特許文献1)。   Conventionally, programming education has been performed using a general-purpose computer. Also, a battle type computer game device is known that facilitates programming education using a language that even beginners can easily learn (Patent Document 1).

特開平6−236137号公報JP-A-6-236137

本発明は、ユーザがプログラミングの概念を体験的に学習することを可能にするプログラミング学習用の装置、方法およびプログラムを提供することを目的とする。   An object of the present invention is to provide an apparatus, a method, and a program for programming learning that allow a user to learn programming concepts experientially.

本発明の移動可能なプログラミング学習用の装置は、複数のブロックを装着することが可能なように構成されたブロック装着部と、前記ブロック装着部に装着されているブロックの種類および順序に応じて、前記装置の移動を制御する制御部とを備えている。   According to the movable programming learning device of the present invention, a block mounting unit configured to be able to mount a plurality of blocks, and the type and order of the blocks mounted on the block mounting unit. And a control unit for controlling movement of the device.

本発明の1つの実施形態では、前記ブロック装着部は、逐次処理を定義するための第1のブロック装着部と、ループ処理を定義するための第2のブロック装着部とを含み、前記第1のブロック装着部に装着されているブロックの種類および順序に応じて、前記逐次処理の種類および順序が定義され、前記第2のブロック装着部に装着されているブロックの種類および順序に応じて、前記ループ処理が定義され、前記制御部は、前記逐次処理または前記ループ処理に応じて前記装置の移動を制御してもよい。   In one embodiment of the present invention, the block mounting unit includes a first block mounting unit for defining sequential processing and a second block mounting unit for defining loop processing, According to the type and order of the blocks mounted on the block mounting part, the type and order of the sequential processing are defined, and according to the type and order of the blocks mounted on the second block mounting part, The loop process may be defined, and the control unit may control movement of the device in accordance with the sequential process or the loop process.

本発明の1つの実施形態では、前記装置は、センサをさらに備え、前記制御部は、前記センサから出力される信号に応じて分岐処理を行うか否かを決定し、その決定に応じて前記装置の移動を制御してもよい。   In one embodiment of the present invention, the device further includes a sensor, and the control unit determines whether or not to perform branch processing according to a signal output from the sensor, and according to the determination, The movement of the device may be controlled.

本発明の1つの実施形態では、前記センサは、前記装置の底部に搭載されたカラーセンサであってもよい。   In one embodiment of the present invention, the sensor may be a color sensor mounted on the bottom of the device.

本発明の1つの実施形態では、前記複数のブロックおよび前記ブロック装着部は、前記複数のブロックのうちのどのブロックに対応するステップが実行中であるかを示すように構成されてもよい。   In one embodiment of the present invention, the plurality of blocks and the block mounting unit may be configured to indicate which block of the plurality of blocks is being executed.

本発明の1つの実施形態では、前記ブロック装着部は、前記複数のブロックのうちの少なくとも1つが装着されたことを検知することが可能なようにさらに構成されてもよい。   In one embodiment of the present invention, the block mounting unit may be further configured to detect that at least one of the plurality of blocks is mounted.

本発明の1つの実施形態では、前記ブロック装着部は、前記複数のブロックを装着するためのブロック装着基板を含み、前記ブロック装着基板は、前記複数のブロックのうちの1つを装着するためのブロック装着領域を有し、前記ブロック装着領域には前記ブロックを固定するためのバネ部材が設けられており、前記ブロックは、前記バネ部材と係合するスリット部が形成された側面壁を有し、前記ブロックの側面壁には、前記バネ部材と前記ブロックとが接触した状態で前記ブロックが前記バネ部材に対して移動する距離が少なくなるように、前記側面壁の端部から前記スリット部の手前まで切り込まれた切欠きが形成されてもよい。   In one embodiment of the present invention, the block mounting part includes a block mounting board for mounting the plurality of blocks, and the block mounting board is used for mounting one of the plurality of blocks. The block mounting area has a spring member for fixing the block, and the block has a side wall formed with a slit portion that engages with the spring member. In addition, the side wall of the block has a slit portion extending from an end of the side wall so that a distance that the block moves with respect to the spring member in a state where the spring member and the block are in contact with each other is reduced. A notch cut to the front may be formed.

本発明の1つの実施形態では、前記ブロック装着部は、前記複数の開口部が形成されたブロックガイド基板を含み、前記ブロックガイド基板の開口部の形状は、前記開口部の縁が前記開口部に挿入された前記ブロックの側面壁と点接触することにより前記ブロックが前後左右に位置決めされるように構成されてもよい。   In one embodiment of the present invention, the block mounting portion includes a block guide substrate in which the plurality of openings are formed, and the shape of the opening of the block guide substrate is such that the edge of the opening is the opening. The block may be configured to be positioned in the front-rear and left-right directions by making point contact with the side wall of the block inserted into the block.

本発明の1つの実施形態では、前記ブロックは、その外観から前記ブロックの方向性が認識されるように構成されてもよい。   In one embodiment of the present invention, the block may be configured such that the directionality of the block is recognized from its appearance.

本発明の1つの実施形態では、前記開口部は、その外観から前記開口部の方向性が認識されるように構成されてもよい。   In one embodiment of the present invention, the opening may be configured such that the directionality of the opening is recognized from its appearance.

本発明の1つの実施形態では、前記ブロックおよび前記開口部は、前記ブロックが一方向においてのみ前記開口部に挿入されることが可能であるように構成されてもよい。   In one embodiment of the present invention, the block and the opening may be configured such that the block can be inserted into the opening only in one direction.

本発明の1つの実施形態では、前記複数のブロックは、少なくとも、「前に進む」、「後ろに進む」、「右に曲がる」、「左に曲がる」、「ループ」の5種類のブロックを含んでもよい。   In one embodiment of the present invention, the plurality of blocks include at least five types of blocks: “go forward”, “go backward”, “turn right”, “turn left”, and “loop”. May be included.

本発明の方法は、移動可能なプログラミング学習用の装置を動作させる方法であって、前記装置は、複数のブロックを装着することが可能なように構成されたブロック装着部と、制御部とを備え、前記方法は、前記制御部が、前記ブロック装着部に装着されているブロックの種類および順序に応じて、前記装置の移動を制御することを含む。   The method of the present invention is a method for operating a movable device for programming learning, wherein the device includes a block mounting unit configured to mount a plurality of blocks, and a control unit. The method includes: the control unit controlling movement of the apparatus according to a type and an order of blocks mounted on the block mounting unit.

本発明のプログラムは、移動可能なプログラミング学習用の装置を動作させるためのプログラムであって、前記装置は、複数のブロックを装着することが可能なように構成されたブロック装着部と、制御部とを含み、前記プログラムは、前記制御部によって実行されると、前記ブロック装着部に装着されているブロックの種類および順序に応じて、前記装置の移動を制御することを前記制御部に行わせる。   A program according to the present invention is a program for operating a device for learning programming that can be moved, and the device includes a block mounting unit configured to mount a plurality of blocks, and a control unit. And when executed by the control unit, the program causes the control unit to control the movement of the apparatus according to the type and order of the blocks mounted on the block mounting unit. .

本発明によれば、ユーザがプログラミングの概念を体験的に学習することを可能にするプログラミング学習用の装置、方法およびプログラムを提供することが可能である。   ADVANTAGE OF THE INVENTION According to this invention, it is possible to provide the apparatus, method, and program for programming learning which enable a user to learn the concept of programming experientially.

図1Aは、本発明の1つの実施形態であるプログラミング学習用の装置(“PETS”)10の外観を示す斜視図である。FIG. 1A is a perspective view showing an appearance of an apparatus for programming learning (“PETS”) 10 according to one embodiment of the present invention. 図1Bは、複数のブロック20の外観を示す斜視図である。FIG. 1B is a perspective view showing the appearance of the plurality of blocks 20. 図1Cは、「前に進む」ブロック、「後ろに進む」ブロック、「右に曲がる」ブロック、「左に曲がる」ブロック、「ループ」ブロックの上面図である。FIG. 1C is a top view of a “go forward” block, a “go backward” block, a “turn right” block, a “turn left” block, and a “loop” block. 図2は、装置10の上面図である。FIG. 2 is a top view of the device 10. 図3Aは、3個のブロック20が逐次処理用ブロック装着部70の3個の開口部30にそれぞれ装着された状態の装置10の外観を示す斜視図である。FIG. 3A is a perspective view showing an appearance of the apparatus 10 in a state where the three blocks 20 are respectively mounted in the three openings 30 of the sequential processing block mounting portion 70. 図3Bは、図3Aに示される状態の装置10の上面図である。FIG. 3B is a top view of the device 10 in the state shown in FIG. 3A. 図4Aは、装置10が前方に移動する様子を示す図である。FIG. 4A is a diagram illustrating a state in which the device 10 moves forward. 図4Bは、装置10が右に90°曲がるように移動する様子を示す図である。FIG. 4B is a diagram illustrating a state in which the apparatus 10 moves so as to turn 90 ° to the right. 図4Cは、装置10が前方に移動する様子を示す図である。FIG. 4C is a diagram illustrating how the apparatus 10 moves forward. 図4Dは、装置10が移動した後の状態を示す図である。FIG. 4D is a diagram illustrating a state after the apparatus 10 has moved. 図5Aは、1個のブロック20が逐次処理用ブロック装着部70の1個の開口部30に装着され、2個のブロック20がループ処理用ブロック装着部80の2個の開口部30にそれぞれ装着された状態の装置10の外観を示す斜視図である。In FIG. 5A, one block 20 is mounted in one opening 30 of the sequential processing block mounting section 70, and two blocks 20 are respectively mounted in two openings 30 of the loop processing block mounting section 80. It is a perspective view which shows the external appearance of the apparatus 10 of the mounted state. 図5Bは、図5Aに示される状態の装置10の上面図である。FIG. 5B is a top view of the device 10 in the state shown in FIG. 5A. 図6Aは、装置10が前方に移動する様子を示す図である。FIG. 6A is a diagram illustrating how the apparatus 10 moves forward. 図6Bは、装置10が右に90°曲がるように移動する様子を示す図である。FIG. 6B is a diagram illustrating a state in which the apparatus 10 moves so as to turn 90 ° to the right. 図6Cは、装置10が前方に移動する様子を示す図である。FIG. 6C is a diagram illustrating a state in which the device 10 moves forward. 図6Dは、装置10が右に90°曲がるように移動する様子を示す図である。FIG. 6D is a diagram illustrating a state in which the apparatus 10 moves so as to turn 90 ° to the right. 図6Eは、装置10が移動した後の状態を示す図である。FIG. 6E shows the state after the device 10 has moved. 図7は、装置10の底面90に搭載されたカラーセンサ100を示す図である。FIG. 7 is a diagram showing the color sensor 100 mounted on the bottom surface 90 of the apparatus 10. 図8Aは、装置10が前方に移動する様子を示す図である。FIG. 8A is a diagram illustrating how the apparatus 10 moves forward. 図8Bは、装置10が右に90°曲がるように移動する様子を示す図である。FIG. 8B is a diagram illustrating a state in which the apparatus 10 moves so as to turn 90 ° to the right. 図8Cは、装置10が前方に移動する様子を示す図である。FIG. 8C is a diagram illustrating how the apparatus 10 moves forward. 図8Dは、装置10が前方に移動する様子を示す図である。FIG. 8D is a diagram illustrating how the apparatus 10 moves forward. 図9は、制御部200の構成の一例を示すブロック図である。FIG. 9 is a block diagram illustrating an example of the configuration of the control unit 200. 図10Aは、プロセッサ部210によって実行される処理の手順の一例を示すフローチャートである。FIG. 10A is a flowchart illustrating an example of a procedure of processing executed by the processor unit 210. 図10Bは、プロセッサ部210によって実行される処理の手順の一例を示すフローチャートである。FIG. 10B is a flowchart illustrating an example of a procedure of processing executed by the processor unit 210. 図10Cは、プロセッサ部210によって実行される処理の手順の一例を示すフローチャートである。FIG. 10C is a flowchart illustrating an example of a procedure of processing executed by the processor unit 210. 図11は、装置10の内部構造の一例を示す分解斜視図である。FIG. 11 is an exploded perspective view showing an example of the internal structure of the apparatus 10. 図12Aは、図1Bに示されるブロック20を斜め上方から見た斜視図である。FIG. 12A is a perspective view of the block 20 shown in FIG. 1B as viewed obliquely from above. 図12Bは、図1Bに示されるブロック20を斜め下方から見た斜視図である。FIG. 12B is a perspective view of the block 20 shown in FIG. 1B as viewed obliquely from below. 図13Aは、ブロックガイド基板62に形成された開口部30を示す上面図である。FIG. 13A is a top view showing the opening 30 formed in the block guide substrate 62. 図13Bは、図12Aに示すブロック20のB−B線部分の断面構造を示す上面図である。FIG. 13B is a top view showing a cross-sectional structure of the BB line portion of the block 20 shown in FIG. 12A. 図13Cは、ブロック20が開口部30に挿入された状態で、ブロック20のB−B線部分の断面構造と共に開口部30を示す上面図である。FIG. 13C is a top view showing the opening 30 together with the cross-sectional structure of the BB line portion of the block 20 in a state where the block 20 is inserted into the opening 30. 図14は、図11に示されるA部分(1つのブロック装着領域120を含む部分)を拡大したものの斜視図である。FIG. 14 is an enlarged perspective view of a portion A (a portion including one block mounting region 120) shown in FIG. 図15Aは、ブロック20がブロック装着領域120上に位置する状態を示す斜視図である。FIG. 15A is a perspective view showing a state in which the block 20 is positioned on the block mounting area 120. 図15Bは、ブロック20がブロック装着領域120に装着された状態を示す斜視図である。FIG. 15B is a perspective view showing a state in which the block 20 is mounted in the block mounting area 120. 図16Aは、ブロック20がブロック装着基板64に装着される直前の様子を示す図である。FIG. 16A is a diagram illustrating a state immediately before the block 20 is mounted on the block mounting substrate 64. 図16Bは、ブロック20の切欠き部23bにブロック装着基板64の板バネ63が挿入される様子を示す図である。FIG. 16B is a diagram illustrating a state in which the plate spring 63 of the block mounting substrate 64 is inserted into the notch 23 b of the block 20. 図16Cは、ブロック20の切欠き部23bの上縁部にブロック装着基板64の板バネ63が当接する様子を示す図である。FIG. 16C is a diagram illustrating a state in which the leaf spring 63 of the block mounting substrate 64 contacts the upper edge portion of the notch portion 23b of the block 20. 図16Dは、ブロック装着基板64の板バネ63がブロック20の切欠き部23bとスリット部23aとの間の領域に当接した状態を示す図である。FIG. 16D is a diagram illustrating a state in which the plate spring 63 of the block mounting substrate 64 is in contact with the region between the notch portion 23b and the slit portion 23a of the block 20. 図16Eは、ブロック20のスリット部23aにブロック装着基板64の板バネ63が係合した状態を示す図である。FIG. 16E is a view showing a state in which the leaf spring 63 of the block mounting substrate 64 is engaged with the slit portion 23 a of the block 20. 図17Aは、ブロック20がブロック装着基板64から取り外される直前の様子を示す図である。FIG. 17A is a diagram illustrating a state immediately before the block 20 is removed from the block mounting substrate 64. 図17Bは、ブロック20のスリット部23aとブロック装着基板64の板バネ63との係合が解除された状態を示す図である。FIG. 17B is a diagram illustrating a state in which the engagement between the slit portion 23 a of the block 20 and the plate spring 63 of the block mounting substrate 64 is released. 図17Cは、ブロック装着基板64の板バネ63がブロック20の切欠き部23bの上縁部に当接した状態を示す図である。FIG. 17C is a diagram illustrating a state in which the plate spring 63 of the block mounting substrate 64 is in contact with the upper edge of the notch 23 b of the block 20. 図17Dは、ブロック装着基板64の板バネ63とブロック20の切欠き部23bの上縁部との当接が解除された状態を示す図である。FIG. 17D is a diagram illustrating a state in which the contact between the plate spring 63 of the block mounting substrate 64 and the upper edge portion of the notch portion 23b of the block 20 is released. 図17Eは、ブロック装着基板64からブロック20から取り外された状態を示す図である。FIG. 17E is a view showing a state where the block mounting board 64 is detached from the block 20. 図18Aは、ブロック20がブロック装着基板64に装着されていない状態でのブロック装着基板64およびブロック装着検出回路220の電気的な回路構成の一例を示す図である。FIG. 18A is a diagram illustrating an example of an electrical circuit configuration of the block mounting board 64 and the block mounting detection circuit 220 in a state where the block 20 is not mounted on the block mounting board 64. 図18Bは、種類の異なる2つのブロック20がブロック装着基板64に装着された状態でのブロック装着基板64およびブロック装着検出回路220の電気的な回路構成の一例を示す図である。FIG. 18B is a diagram illustrating an example of an electrical circuit configuration of the block mounting board 64 and the block mounting detection circuit 220 in a state where two different types of blocks 20 are mounted on the block mounting board 64. 図18Cは、ブロック20がブロック装着基板64に装着されていない状態でのブロック装着基板64およびブロック装着検出回路220の電気的な回路構成の他の一例を示す図である。FIG. 18C is a diagram illustrating another example of the electrical circuit configuration of the block mounting substrate 64 and the block mounting detection circuit 220 in a state where the block 20 is not mounted on the block mounting substrate 64. 図19Aは、2つブロック20のうちの一方がブロック装着基板64に装着される前の状態を示す図である。FIG. 19A is a diagram showing a state before one of the two blocks 20 is mounted on the block mounting board 64. 図19Bは、2つのブロック20のうちの一方がブロック装着基板64に装着された後の状態を示す図である。FIG. 19B is a diagram illustrating a state after one of the two blocks 20 is mounted on the block mounting substrate 64. 図19Cは、2つのブロック20のうちの他方がブロック装着基板64に装着された後の状態を示す図である。FIG. 19C is a diagram illustrating a state after the other of the two blocks 20 is mounted on the block mounting substrate 64. 図19Dは、図19Aに示される状態でのブロック装着領域120の電気的な回路構成の一例を示す図である。FIG. 19D is a diagram illustrating an example of an electrical circuit configuration of the block mounting region 120 in the state illustrated in FIG. 19A. 図19Eは、図19Bに示される状態でのブロック装着領域120の電気的な回路構成の一例を示す図である。FIG. 19E is a diagram showing an example of an electrical circuit configuration of the block mounting region 120 in the state shown in FIG. 19B. 図19Fは、図19Cに示される状態でのブロック装着領域120の電気的な回路構成を示す図である。FIG. 19F is a diagram showing an electrical circuit configuration of the block mounting region 120 in the state shown in FIG. 19C.

以下、図面を参照しながら、本発明の実施の形態を説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.


1.「プログラミング脳を育てる」ための新しい試み
子ども達がプログラミングを学ぶのに初めの一歩は何が最適であろうか。この疑問からスタートしたのが発明者らの研究である。色々なツールを使って子ども達にプログラミングを教えることを試みたが、どのツールを使っても必ず1人は脱落する子どもが出てきてしまう。それをなくしたい。

1. A new attempt to “nurture a programming brain” What is the best first step for children to learn programming? The inventor's research started with this question. I tried to teach children how to program using various tools, but every tool always causes one child to drop out. I want to lose it.

そのような願いをかなえるために、プログラミング学習用の新しいツールとして発明者らが考案したものが“PETS”と命名された装置である。   In order to fulfill such a wish, the device devised by the inventors as a new tool for programming learning is an apparatus named “PETS”.

PETSは、(例えば、車輪を用いて)移動可能であるように構成されている。また、PETSは、複数のブロックを装着することが可能なように構成されている。ブロックの種類は、例えば、「前に進む」、「後ろに進む」、「右に曲がる」、「左に曲がる」、「ループ」の5種類である。子ども達には、与えられたコースに対してPETSをスタート地点からゴール地点まで移動させなさいという課題が与えられる。子ども達は、どの種類のブロックをどのような順序でPETSに装着すればこの課題を達成することができるかを自分で考え、実際にブロックをPETSに装着してはPETSを走らせてみるという試行錯誤を繰り返す。このような試行錯誤を通して子ども達がプログラミングを学習することによって子ども達の「プログラミング脳を育てる」ことを試みている。   The PETS is configured to be movable (eg, using wheels). Moreover, PETS is comprised so that a some block can be mounted | worn. There are five types of blocks, for example, “go forward”, “go backward”, “turn right”, “turn left”, and “loop”. Children are given the task of moving the PETS from the starting point to the goal point for a given course. The children think for themselves what kind of blocks should be attached to the PETS and in what order, and try to run the PETS after actually attaching the blocks to the PETS. Repeat the mistakes. Through such trial and error, children are trying to “nurture their programming brain” by learning programming.

なお、本研究を通してPETSが子ども達(例えば、小学生または小学校未就学児童)の「プログラミング脳を育てる」ために有効であることが分かってきたが、「プログラム脳を育てる」対象は子ども達に限定されない。PETSは、老人を含むあらゆる年代の人達の「プログラミング脳を育てる」または「プログラミング脳を活性化する」ために有効であることが期待されている。   Through this study, PETS has been found to be effective for “nurturing programming brains” for children (for example, elementary school children or preschool children), but the target for “nurturing program brains” is limited to children. Not. PETS is expected to be effective for “nurturing the programming brain” or “activating the programming brain” of people of all ages, including the elderly.


2.プログラミング学習用の装置(“PETS”)の基本的な構成
図1Aは、本発明の1つの実施形態であるプログラミング学習用の装置(“PETS”)10の外観を示す斜視図である。装置10は、複数のブロック20(図1Aには示されていない、図1Bを参照)を装着することが可能なように構成されたブロック装着部60を含む。具体的には、ブロック装着部60には、複数の開口部30が形成されている。それぞれのブロック20をそれぞれの開口部30に装着することによって複数のブロック20をブロック装着部60に装着することが可能である。装置10は、ブロック装着部60に装着されたブロック20の種類および順序に応じて移動可能であるように構成されている。

2. Basic Configuration of Programming Learning Device (“PETS”) FIG. 1A is a perspective view showing an appearance of a programming learning device (“PETS”) 10 according to one embodiment of the present invention. The apparatus 10 includes a block mounting portion 60 configured to mount a plurality of blocks 20 (not shown in FIG. 1A, see FIG. 1B). Specifically, the block mounting portion 60 has a plurality of openings 30 formed therein. A plurality of blocks 20 can be mounted on the block mounting portion 60 by mounting each block 20 in each opening 30. The apparatus 10 is configured to be movable according to the type and order of the blocks 20 mounted on the block mounting unit 60.

ここで、図1Aに示される例では、装置10の上面にブロック装着部60が形成されており、ブロック装着部60は、12個の開口部30に最大で12個のブロック20を装着することが可能なように構成されているが、ブロック装着部60の構成はこれに限定されない。装置10の上面以外の面にブロック装着部60を形成するようにしてもよいし、任意の数の開口部30に任意の数のブロック20を装着することが可能であるようにブロック装着部60を構成するようにしてもよい。さらに、図1Aに示される例では、装置10は、二輪の車輪を用いて移動可能であるように構成されているが、装置10の構成はこれに限定されない。例えば、二輪の車輪の代わりに、四輪の車輪、無限軌道、二足歩行用の脚、四足歩行用の脚などの任意の移動手段を用いて装置10を移動可能であるように構成するようにしてもよい。   Here, in the example shown in FIG. 1A, the block mounting portion 60 is formed on the upper surface of the apparatus 10, and the block mounting portion 60 mounts the 12 blocks 20 at the maximum in the 12 openings 30. However, the configuration of the block mounting portion 60 is not limited to this. The block mounting portion 60 may be formed on a surface other than the upper surface of the apparatus 10, or the block mounting portion 60 may be mounted in any number of the openings 30. You may make it comprise. Furthermore, in the example shown in FIG. 1A, the device 10 is configured to be movable using two wheels, but the configuration of the device 10 is not limited to this. For example, the apparatus 10 is configured to be movable using an arbitrary moving means such as a four-wheel wheel, an endless track, a bipedal leg, a quadruped leg instead of a two-wheeled wheel. You may do it.

図1Bは、複数のブロック20の外観を示す斜視図である。ブロックの種類は、例えば、「前に進む」、「後ろに進む」、「右に曲がる」、「左に曲がる」、「ループ」の5種類であるが、これに限定されない。複数のブロック20は、任意の種類のブロックを含むことが可能である。   FIG. 1B is a perspective view showing the appearance of the plurality of blocks 20. There are five types of blocks, such as “go forward”, “go backward”, “turn right”, “turn left”, and “loop”, but are not limited thereto. The plurality of blocks 20 can include any type of block.

図1Cは、「前に進む」ブロック、「後ろに進む」ブロック、「右に曲がる」ブロック、「左に曲がる」ブロック、「ループ」ブロックの上面図である。図1Cに示されるように、各ブロックの上面には、矢印が形成されている。これにより、どのブロックがどの種類のブロックであるかを視覚的に容易に認識することが可能である。具体的には、「前に進む」ブロックの上面には、前方を指す矢印が形成されており、「後ろに進む」ブロックの上面には、後方を指す矢印が形成されており、「右に曲がる」ブロックの上面には、右を指す矢印が形成されており、「左に曲がる」ブロックの上面には、左を指す矢印が形成されており、「ループ」ブロックの上面には、ループを指す矢印が形成されている。   FIG. 1C is a top view of a “go forward” block, a “go backward” block, a “turn right” block, a “turn left” block, and a “loop” block. As shown in FIG. 1C, an arrow is formed on the upper surface of each block. Thus, it is possible to easily recognize visually which block is which type of block. Specifically, an arrow pointing forward is formed on the upper surface of the “go forward” block, and an arrow pointing backward is formed on the upper surface of the “go backward” block. An arrow pointing to the right is formed on the upper surface of the “turn” block, an arrow pointing to the left is formed on the upper surface of the “turn left” block, and a loop is formed on the upper surface of the “loop” block. An arrow pointing is formed.

ここで、図1Cに示される例では、各ブロックの上面の輪郭形状は、紙面の上方が「前方」を表し、紙面の下方が「後方」を表すように形成されているが、各ブロックの上面の輪郭形状はこれに限定されない。各ブロックの「前方」、「後方」を区別することが可能である限り、各ブロックは、任意の形状を有することが可能である。また、各ブロックは、一方向においてのみブロック装着部の開口部に装着されることが可能であるように構成されていることが好ましい。   Here, in the example shown in FIG. 1C, the contour shape of the upper surface of each block is formed such that the upper side of the page represents “front” and the lower side of the page represents “rear”. The contour shape of the upper surface is not limited to this. As long as it is possible to distinguish between “front” and “back” of each block, each block can have an arbitrary shape. In addition, each block is preferably configured so that it can be attached to the opening of the block attachment part only in one direction.


3.プログラミング学習用の装置(”PETS”)の基本的な動作
図2は、装置10の上面図である。装置10は、複数のブロック20を装着することが可能なように構成されたブロック装着部60を含む。ブロック装着部60は、逐次処理を定義するための逐次処理用ブロック装着部(第1のブロック装着部)70と、ループ処理を定義するためのループ処理用ブロック装着部(第2のブロック装着部)80とを含む。図2に示される例では、12個の開口部30のうちの9個の開口部30が逐次処理用ブロック装着部(第1のブロック装着部)70の開口部30として用いられ、12個の開口部30のうちの残りの3個の開口部30がループ処理用ブロック装着部(第2のブロック装着部)80の開口部30として用いられるが、これに限定されない。逐次処理用ブロック装着部70は、任意の数の開口部30を有していてもよく、ループ処理用ブロック装着部80もまた、任意の数の開口部30を有していてもよい。また、装置10は、スタートボタン50を有している。スタートボタン50が押下されると、装置10に装着された複数のブロック20の種類および順序に応じて装置10が移動する動作が開始される。

3. Basic Operation of Programming Learning Device (“PETS”) FIG. 2 is a top view of the device 10. The apparatus 10 includes a block mounting portion 60 configured to be able to mount a plurality of blocks 20. The block mounting unit 60 includes a sequential processing block mounting unit (first block mounting unit) 70 for defining sequential processing, and a loop processing block mounting unit (second block mounting unit) for defining loop processing. ) 80. In the example shown in FIG. 2, nine of the twelve openings 30 are used as the openings 30 of the sequential processing block mounting portion (first block mounting portion) 70, The remaining three openings 30 of the openings 30 are used as the openings 30 of the loop processing block mounting portion (second block mounting portion) 80, but are not limited thereto. The sequential processing block mounting part 70 may have any number of openings 30, and the loop processing block mounting part 80 may also have any number of openings 30. The device 10 also has a start button 50. When the start button 50 is pressed, the operation of moving the device 10 according to the types and order of the plurality of blocks 20 attached to the device 10 is started.

図2に示される実線の矢印は、逐次処理用ブロック装着部70の開口部30に装着されたブロック20が実行される順序を示す。すなわち、逐次処理用ブロック装着部70に装着されたブロック20は、実線の矢印によって示される順序で実行される逐次処理を定義する。図2に示される破線の矢印は、ループ処理用ブロック装着部80の開口部30に装着されたブロック20が実行される順序を示す。すなわち、ループ処理用ブロック装着部80に装着されたブロック20は、破線の矢印によって示される順序で実行されるループ処理を定義する。   The solid arrows shown in FIG. 2 indicate the order in which the blocks 20 mounted in the opening 30 of the sequential processing block mounting unit 70 are executed. That is, the blocks 20 mounted on the sequential processing block mounting unit 70 define sequential processing executed in the order indicated by the solid arrows. The broken-line arrows shown in FIG. 2 indicate the order in which the blocks 20 mounted in the opening 30 of the loop processing block mounting unit 80 are executed. That is, the blocks 20 mounted on the loop processing block mounting unit 80 define loop processing to be executed in the order indicated by the dashed arrows.


3.1 逐次処理に関連する動作
図3Aは、3個のブロック20が逐次処理用ブロック装着部70の3個の開口部30にそれぞれ装着された状態の装置10の外観を示す斜視図である。

3.1 Operations Related to Sequential Processing FIG. 3A is a perspective view showing an appearance of the apparatus 10 in a state where the three blocks 20 are respectively mounted in the three openings 30 of the sequential processing block mounting portion 70. .

図3Bは、図3Aに示される状態の装置10の上面図である。一番左のブロック20は、「前に進む」ブロックである。中央のブロック20は、「右に曲がる」ブロックである。一番右のブロック20は、「前に進む」ブロックである。   FIG. 3B is a top view of the device 10 in the state shown in FIG. 3A. The leftmost block 20 is a “go forward” block. The central block 20 is a “turn right” block. The rightmost block 20 is a “go forward” block.

図3Aおよび図3Bに示されるように3個のブロック20が逐次処理用ブロック装着部70の3個の開口部30にそれぞれ装着された状態で、装置10のスタートボタン50が押下された場合に、装置10は、逐次処理用ブロック装着部70に装着されたブロック20の種類および順序に応じて移動する。具体的には、装置10は、逐次処理用ブロック装着部70の1番目の開口部30に装着されたブロック20が「前に進む」ブロックであると決定し、この決定に応答して前方に移動する(ステップ1)。次に、装置10は、逐次処理用ブロック装着部70の2番目の開口部30に装着されたブロック20が「右に曲がる」ブロックであると決定し、この決定に応答して右に曲がるように移動する(ステップ2)。次に、装置10は、逐次処理用ブロック装着部70の3番目の開口部30に装着されたブロック20が「前に進む」ブロックであると決定し、この決定に応答して前方に移動する(ステップ3)。   As shown in FIGS. 3A and 3B, when the start button 50 of the apparatus 10 is pressed in a state where the three blocks 20 are mounted in the three openings 30 of the sequential processing block mounting unit 70, respectively. The apparatus 10 moves according to the type and order of the blocks 20 mounted on the sequential processing block mounting unit 70. Specifically, the apparatus 10 determines that the block 20 mounted in the first opening 30 of the sequential processing block mounting unit 70 is a “forward” block, and in response to this determination, moves forward. Move (step 1). Next, the apparatus 10 determines that the block 20 mounted in the second opening 30 of the sequential processing block mounting section 70 is a “turn right” block, and responds to this determination so as to turn right. (Step 2). Next, the apparatus 10 determines that the block 20 mounted in the third opening 30 of the sequential processing block mounting unit 70 is a “forward” block, and moves forward in response to this determination. (Step 3).

なお、逐次処理用ブロック装着部70の1番目、2番目、3番目の開口部30がどの位置にある開口部30であるかは予め決められている。図3Bに示される例では、図2に示される実線の矢印によって示される順序に沿って、1番目の開口部30が最下行の1番左の開口部30であり、2番目の開口部30が最下行の左から2番目の開口部30であり、3番目の開口部30が最下行の左から3番目の開口部30であるとして説明しているが、これに限定されない。また、装置10が前方に移動する際にどの距離だけ前方に移動するのかも予め決められている。その距離は、例えば、コースの1マス分の距離であるが、これに限定されない。さらに、装置10が右に曲がる際にどの角度で右に曲がるのかも予め決められている。その角度は、例えば、90°であるが、これに限定されない。   It should be noted that the positions of the first, second, and third openings 30 of the sequential processing block mounting portion 70 are predetermined. In the example shown in FIG. 3B, the first opening 30 is the leftmost opening 30 in the bottom row and the second opening 30 in the order indicated by the solid arrow shown in FIG. Is the second opening 30 from the left in the bottom row and the third opening 30 is the third opening 30 from the left in the bottom row, but is not limited thereto. It is also determined in advance how far the apparatus 10 moves forward when moving forward. The distance is, for example, a distance corresponding to one square of the course, but is not limited to this. Further, the angle at which the device 10 turns right when the device 10 turns right is also determined in advance. The angle is, for example, 90 °, but is not limited thereto.

以下、図4A〜図4Dを参照して、図3Aおよび図3Bに示されるように3個のブロック20が逐次処理用ブロック装着部70の3個の開口部30にそれぞれ装着された状態で、装置10のスタートボタン50が押下された場合に、装置10が、与えられたコース400上をどのように移動するかを説明する。ここで、与えられたコース400は、3×3のマスからなり、スタート地点は与えられたコース400の左下のマスであると仮定する。   Hereinafter, with reference to FIGS. 4A to 4D, as shown in FIGS. 3A and 3B, the three blocks 20 are mounted in the three openings 30 of the sequential processing block mounting portion 70, respectively. How the apparatus 10 moves on the given course 400 when the start button 50 of the apparatus 10 is pressed will be described. Here, it is assumed that the given course 400 is composed of 3 × 3 squares, and the start point is the lower left square of the given course 400.

図4Aは、装置10が、1番目の開口部30に装着されたブロック20が「前に進む」ブロックであると決定したことに応答して、装置10が、スタート地点から1マス分、前方に移動する様子を示す(ステップ1)。   FIG. 4A shows that in response to the device 10 determining that the block 20 attached to the first opening 30 is a “forward” block, the device 10 is one cell forward from the starting point. (Step 1).

図4Bは、装置10が、2番目の開口部30に装着されたブロック20が「右に曲がる」ブロックであると決定したことに応答して、装置10が、ステップ1で移動した後のマスと同じマスにおいて、右に90°曲がるように移動する様子を示す(ステップ2)。   FIG. 4B shows the mass after the device 10 has moved in step 1 in response to the device 10 determining that the block 20 attached to the second opening 30 is a “turn right” block. In the same square, a state of moving 90 ° to the right is shown (step 2).

図4Cは、装置10が、3番目の開口部30に装着されたブロック20が「前に進む」ブロックであると決定したことに応答して、装置10が、ステップ2で移動した後のマスから、1マス分、前方に移動する様子を示す(ステップ3)。   FIG. 4C shows the mass after device 10 has moved in step 2 in response to device 10 determining that block 20 attached to third opening 30 is a “forward” block. Then, a state of moving forward by one square is shown (step 3).

図4Dは、装置10が、ステップ3で移動した後の状態を示す。   FIG. 4D shows the state after the device 10 has moved in step 3.

このようにして、3個のブロック20が逐次処理用ブロック装着部70の3個の開口部30にそれぞれ装着された状態でスタートボタン50が押下されることにより、3個のブロック20に対応する上述したステップ1、2、3が逐次実行される。ユーザは、図4A〜図4Dに示されるように装置10が移動する様子を観察することによって、3個のブロック20に対応する上述したステップ1、2、3が逐次実行される様子を体験的に学習することが可能である。   In this way, when the start button 50 is pressed in a state where the three blocks 20 are respectively mounted in the three openings 30 of the sequential processing block mounting portion 70, the three blocks 20 are supported. Steps 1, 2, and 3 described above are sequentially executed. The user can experience the state in which the above-described steps 1, 2, and 3 corresponding to the three blocks 20 are sequentially executed by observing the movement of the device 10 as shown in FIGS. 4A to 4D. It is possible to learn to.

なお、実行中のステップと実行中でないステップとを区別して示すために、実行中のステップに対応するブロック20と実行中でないステップに対応するブロック20とを区別して示すことが好ましい。このことは、例えば、実行中のステップに対応するブロック20から光が出射されるのに対して、実行中でないステップに対応するブロック20から光が出射されないようにすることによって達成される。ブロック20自体が発光体であってもよいが、コストや消費電力を考慮すると、ブロック装着部60に内蔵された1つ以上の光源(例えば、1つ以上のLED光源)からの光(例えば、赤色光)がブロック20を介して外部に出射されるようにブロック装着部60およびブロック20を構成することが好ましい。例えば、ブロック20の上面の矢印部分を透過性材料で形成するようにしてもよい。   In order to distinguish between a step being executed and a step not being executed, it is preferable to distinguish between a block 20 corresponding to a step being executed and a block 20 corresponding to a step not being executed. This is achieved, for example, by preventing light from being emitted from the block 20 corresponding to the step not being executed, while light is emitted from the block 20 corresponding to the step being executed. The block 20 itself may be a light emitter, but in consideration of cost and power consumption, light from one or more light sources (for example, one or more LED light sources) built in the block mounting unit 60 (for example, The block mounting portion 60 and the block 20 are preferably configured such that (red light) is emitted to the outside through the block 20. For example, you may make it form the arrow part of the upper surface of the block 20 with a permeable material.

図4Aに示される装置10の上面図は、ステップ1に対応するブロック20から光を出射することによって、ブロック20が実行中である様子を示す。図4Bに示される装置10の上面図は、ステップ2に対応するブロック20から光を出射することによって、ブロック20が実行中である様子を示す。図4Cに示される装置10の上面図は、ステップ3に対応するブロック20から光を出射することによって、ブロック20が実行中である様子を示す。図4Dに示される装置10の上面図は、ブロック20のすべてから光を出射することによって、プログラムの実行が終了した様子を示す。図4A〜図4Dに示される上面図において、黒塗りの矢印によって示される部分は、光が出射されている部分を示す。   The top view of the apparatus 10 shown in FIG. 4A shows that the block 20 is running by emitting light from the block 20 corresponding to step 1. The top view of the apparatus 10 shown in FIG. 4B shows that the block 20 is executing by emitting light from the block 20 corresponding to step 2. The top view of the apparatus 10 shown in FIG. 4C shows that the block 20 is running by emitting light from the block 20 corresponding to step 3. The top view of the apparatus 10 shown in FIG. 4D shows a state where the execution of the program is completed by emitting light from all of the blocks 20. In the top views shown in FIGS. 4A to 4D, the part indicated by the black arrow indicates the part from which light is emitted.

同様にして、ブロック20から出射される光の明滅によって、ブロック20の装着完了、プログラム実行の初期状態、エラー表示などの少なくとも1つを示すようにブロック装着部60およびブロック20を構成するようにしてもよい。   Similarly, the block mounting unit 60 and the block 20 are configured to indicate at least one of mounting completion of the block 20, initial state of program execution, error display, and the like by blinking of light emitted from the block 20. May be.


3.2 ループ処理に関連する動作
図5Aは、1個のブロック20が逐次処理用ブロック装着部70の1個の開口部30に装着され、2個のブロック20がループ処理用ブロック装着部80の2個の開口部30にそれぞれ装着された状態の装置10の外観を示す斜視図である。

3.2 Operations Related to Loop Processing FIG. 5A shows that one block 20 is mounted in one opening 30 of the sequential processing block mounting portion 70, and two blocks 20 are loop processing block mounting portions 80. It is a perspective view which shows the external appearance of the apparatus 10 of the state with which each two opening part 30 was mounted | worn.

図5Bは、図5Aに示される状態の装置10の上面図である。逐次処理用ブロック装着部70に装着されたブロック20は、「ループ」ブロックである。ループ処理用ブロック装着部80に装着された左のブロック20は、「前に進む」ブロックであり、右のブロック20は、「右に曲がる」ブロックである。   FIG. 5B is a top view of the device 10 in the state shown in FIG. 5A. The block 20 mounted on the sequential processing block mounting unit 70 is a “loop” block. The left block 20 mounted on the loop processing block mounting unit 80 is a “go forward” block, and the right block 20 is a “turn right” block.

図5Aおよび図5Bに示されるように1個のブロック20が逐次処理用ブロック装着部70の1個の開口部30に装着され、2個のブロック20がループ処理用ブロック装着部80の2個の開口部30にそれぞれ装着された状態で、装置10のスタートボタン50が押下された場合に、装置10は、逐次処理用ブロック装着部70およびループ処理用ブロック装着部80に装着されたブロックの種類および順序に応じて移動する。具体的には、装置10は、逐次処理用ブロック装着部70の1番目の開口部30に装着されたブロック20が「ループ」ブロックであると決定し、この決定に応答してループ処理を繰り返す。このループ処理がどのようなものであるかは、ループ処理用ブロック装着部80に装着されたブロックの種類および順序に応じて定義されている。具体的には、「ループ処理」は、ループ処理用ブロック装着部80の1番目の開口部30に装着された「前に進む」ブロック20およびループ処理用ブロック装着部80の2番目の開口部30に装着された「右に曲がる」ブロック20によって定義されている。   As shown in FIG. 5A and FIG. 5B, one block 20 is mounted in one opening 30 of the sequential processing block mounting portion 70, and two blocks 20 are two in the loop processing block mounting portion 80. When the start button 50 of the apparatus 10 is pressed in the state where each of the openings 30 is mounted, the apparatus 10 detects the blocks mounted on the sequential processing block mounting section 70 and the loop processing block mounting section 80. Move according to type and order. Specifically, the apparatus 10 determines that the block 20 mounted in the first opening 30 of the sequential processing block mounting section 70 is a “loop” block, and repeats the loop processing in response to this determination. . The type of loop processing is defined according to the type and order of blocks mounted on the loop processing block mounting unit 80. Specifically, the “loop processing” includes the “forward” block 20 mounted in the first opening 30 of the loop processing block mounting unit 80 and the second opening of the loop processing block mounting unit 80. 30 is defined by a “turn right” block 20 attached to 30.

また、ループ処理を繰り返す回数は予め決められている。図5Bに示される例では、ループを繰り返す回数は2回であるものとして説明するが、これに限定されない。ループ処理を繰り返す回数は任意の回数であってよい(例えば、3回ループ、5回ループなど)。特に、ループ処理を繰り返す回数は1回であってもよい。この場合は、ループ処理が繰り返されることがないため所謂サブルーチンと同等の処理である。あるいは、「1回ループ」ブロック、「2回ループ」ブロック、「3回ループ」ブロック、「5回ループ」ブロックなどループ回数がそれぞれ異なる複数の種類の「ループ」ブロックを設けるようにしてもよい。   The number of times the loop process is repeated is determined in advance. In the example shown in FIG. 5B, the description will be made assuming that the number of times the loop is repeated is not limited to this. The number of times the loop process is repeated may be any number (for example, a three-time loop, a five-time loop, etc.). In particular, the loop processing may be repeated once. In this case, since the loop process is not repeated, the process is equivalent to a so-called subroutine. Alternatively, a plurality of types of “loop” blocks having different numbers of loops, such as a “1 loop” block, a “2 loop” block, a “3 loop” block, and a “5 loop” block may be provided. .

以下、図6A〜図6Eを参照して、図5Aおよび図5Bに示されるように1個のブロック20が逐次処理用ブロック装着部70の1個の開口部30に装着され、2個のブロック20がループ処理用ブロック装着部80の2個の開口部30にそれぞれ装着された状態で、装置10のスタートボタン50が押下された場合に、装置10が、与えられたコース600上をどのように移動するかを説明する。ここで、与えられたコース600は、3×3のマスからなり、スタート地点は与えられたコース600の左下のマスであると仮定する。   Hereinafter, with reference to FIGS. 6A to 6E, as shown in FIGS. 5A and 5B, one block 20 is mounted in one opening 30 of the sequential processing block mounting section 70, and two blocks are mounted. When the start button 50 of the apparatus 10 is pressed while the 20 is mounted in each of the two openings 30 of the loop processing block mounting section 80, how the apparatus 10 moves on the given course 600. Explain how to move to. Here, it is assumed that the given course 600 is composed of 3 × 3 squares, and the start point is the lower left square of the given course 600.

装置10は、逐次処理用ブロック装着部70の1番目の開口部30に装着されたブロック20が「ループ」ブロックであると決定したことに応答して、装置10が、ループ処理を繰り返す。   In response to determining that the block 20 mounted in the first opening 30 of the sequential processing block mounting section 70 is a “loop” block, the apparatus 10 repeats the loop processing.

図6Aは、装置10が、1回目のループ処理の1番目のブロックとして定義されているブロック20(すなわち、ループ処理用ブロック装着部80の1番目の開口部30に装着されたブロック20)が「前に進む」ブロックであることを決定し、この決定に応答して、スタート地点から1マス分、前方に移動する様子を示す(ステップ1)。   FIG. 6A shows that a block 20 in which the apparatus 10 is defined as the first block of the first loop processing (that is, the block 20 mounted in the first opening 30 of the loop processing block mounting portion 80) is shown. It is determined that the block is a “go forward” block, and in response to this determination, a state of moving forward by one square from the start point is shown (step 1).

図6Bは、装置10が、1回目のループ処理の2番目のブロックとして定義されているブロック20(すなわち、ループ処理用ブロック装着部80の2番目の開口部30に装着されたブロック20)が「右に曲がる」ブロックであることを決定し、この決定に応答して、ステップ1で移動した後のマスと同じマスにおいて、右に90°曲がるように移動する様子を示す(ステップ2)。   FIG. 6B shows that the block 10 in which the apparatus 10 is defined as the second block of the first loop processing (that is, the block 20 mounted in the second opening 30 of the loop processing block mounting portion 80) is shown. It is determined that the block is a “turn right” block, and in response to this determination, the same square as the square after moving in Step 1 is shown to move to turn right by 90 ° (Step 2).

図6Cは、装置10が、2回目のループ処理の1番目のブロックとして定義されているブロック20(すなわち、ループ処理用ブロック装着部80の1番目の開口部30に装着されたブロック20)が「前に進む」ブロックであることを決定し、この決定に応答して、ステップ2で移動した後のマスから1マス分、前方に移動する様子を示す(ステップ3)。   FIG. 6C shows that the block 10 in which the apparatus 10 is defined as the first block of the second loop processing (that is, the block 20 mounted in the first opening 30 of the loop processing block mounting portion 80) is shown. It is determined that the block is a “forward” block, and in response to this determination, a state in which the block moves forward by one square from the square after moving in step 2 is shown (step 3).

図6Dは、装置10が、2回目のループ処理の2番目のブロックとして定義されているブロック20(すなわち、ループ処理用ブロック装着部80の2番目の開口部30に装着されたブロック20)が「右に曲がる」ブロックであることを決定し、この決定に応答して、ステップ3で移動した後のマスと同じマスにおいて、右に90°曲がるように移動する様子を示す(ステップ4)。   FIG. 6D shows that the block 10 in which the apparatus 10 is defined as the second block of the second loop processing (that is, the block 20 attached to the second opening 30 of the loop processing block attachment portion 80) is shown. It is determined that the block is a “turn right” block, and in response to this determination, the same square as the square after moving in Step 3 is shown to move to turn right by 90 ° (Step 4).

図6Eは、装置10が、ステップ4で移動した後の状態を示す。   FIG. 6E shows the state after the device 10 has moved in step 4.

このようにして、1個のブロック20が逐次処理用ブロック装着部70の1個の開口部30に装着され、2個のブロック20がループ処理用ブロック装着部80の2個の開口部30に装着され状態でスタートボタン50が押下されることにより、1個のブロック20から呼び出されたループ処理(すなわち、2個のブロック20によって定義されたループ処理)が、所定の回数(例えば、2回)分、繰り返し実行される。ユーザは、図6A〜図6Eに示されるように装置10が移動する様子を観察することによって、1個のブロック20から呼び出されたループ処理が繰り返し実行される様子を体験的に学習することが可能である。   In this way, one block 20 is mounted in one opening 30 of the sequential processing block mounting section 70, and two blocks 20 are mounted in the two openings 30 of the loop processing block mounting section 80. When the start button 50 is pressed in the mounted state, the loop processing called from one block 20 (that is, the loop processing defined by the two blocks 20) is performed a predetermined number of times (for example, two times). ) Minutes, repeated. The user can empirically learn how the loop processing called from one block 20 is repeatedly executed by observing the movement of the device 10 as shown in FIGS. 6A to 6E. Is possible.

なお、ループ処理中においても、実行中のステップと実行中でないステップとを区別して示すために、実行中のステップに対応するブロック20と実行中でないステップに対応するブロック20とを区別して示すことが好ましい。このことは、例えば、実行中のステップに対応するブロック20から光が出射されるが、実行中でないステップに対応するブロック20から光が出射されないようにすることによって達成される。ブロック20自体が発光体であってもよいが、コストや消費電力を考慮すると、ブロック装着部60に内蔵された1つ以上の光源(例えば、1つ以上のLED光源)からの光(例えば、赤色光)がブロック20を介して外部に出射されるようにブロック装着部60およびブロック20を構成することが好ましい。例えば、ブロック20の上面の矢印部分を透過性材料で形成するようにしてもよい。   Even during the loop processing, in order to distinguish between the step being executed and the step not being executed, the block 20 corresponding to the step being executed is distinguished from the block 20 corresponding to the step not being executed. Is preferred. This is achieved, for example, by preventing light from being emitted from the block 20 corresponding to the step being executed, but not from the block 20 corresponding to the step not being executed. The block 20 itself may be a light emitter, but in consideration of cost and power consumption, light from one or more light sources (for example, one or more LED light sources) built in the block mounting unit 60 (for example, The block mounting portion 60 and the block 20 are preferably configured such that (red light) is emitted to the outside through the block 20. For example, you may make it form the arrow part of the upper surface of the block 20 with a permeable material.

図6Aに示される装置10の上面図は、ステップ1に対応するブロック20から光を出射することによって、ステップ1に対応するブロック20が実行中である様子を示す。図6Bに示される装置10の上面図は、ステップ2に対応するブロック20から光を出射することによって、ステップ2に対応するブロック20が実行中である様子を示す。図6Cに示される装置10の上面図は、ステップ3に対応するブロック20から光を出射することによって、ステップ3に対応するブロック20が実行中である様子を示す。図6Dに示される装置10の上面図は、ステップ4に対応するブロック20から光を出射することによって、ステップ4に対応するブロック20が実行中である様子を示す。図6Eに示される装置10の上面図は、ブロック20のすべてから光を出射することによって、プログラムの実行が終了した様子を示す。図6A〜図6Eに示される上面図において、黒塗りの矢印によって示される部分は、光が出射されている部分を示す。   The top view of the apparatus 10 shown in FIG. 6A shows that the block 20 corresponding to step 1 is being executed by emitting light from the block 20 corresponding to step 1. The top view of the apparatus 10 shown in FIG. 6B shows that the block 20 corresponding to step 2 is being executed by emitting light from the block 20 corresponding to step 2. The top view of the apparatus 10 shown in FIG. 6C shows that the block 20 corresponding to step 3 is being executed by emitting light from the block 20 corresponding to step 3. The top view of the apparatus 10 shown in FIG. 6D shows that the block 20 corresponding to step 4 is being executed by emitting light from the block 20 corresponding to step 4. The top view of the apparatus 10 shown in FIG. 6E shows that the execution of the program has been completed by emitting light from all of the blocks 20. In the top views shown in FIGS. 6A to 6E, a portion indicated by a black arrow indicates a portion where light is emitted.

同様にして、ブロック20から出射される光の明滅によって、ブロック20の装着完了、プログラム実行の初期状態、エラー表示などのうちの少なくとも1つを示すようにブロック装着部60およびブロック20を構成するようにしてもよい。   Similarly, the block mounting unit 60 and the block 20 are configured so as to indicate at least one of mounting completion of the block 20, initial state of program execution, error display, and the like by blinking of light emitted from the block 20. You may do it.


3.3 分岐処理に関連する動作
図7は、装置10の底面90に搭載されたカラーセンサ100を示す。カラーセンサ100は、装置10の底面90に対向する面の色を検出し、検出された色を示す信号を出力する。装置10は、カラーセンサ100から出力される信号に応じて、分岐処理を実行する。ただし、カラーセンサ100は、装置10が「前に進む」ブロックまたは「後ろに進む」ブロックに応じて移動したときにのみ作動されるものとする。

3.3 Operations Related to Branch Processing FIG. 7 shows the color sensor 100 mounted on the bottom surface 90 of the apparatus 10. The color sensor 100 detects the color of the surface facing the bottom surface 90 of the apparatus 10 and outputs a signal indicating the detected color. The apparatus 10 executes a branch process according to a signal output from the color sensor 100. However, it is assumed that the color sensor 100 is activated only when the apparatus 10 moves in response to a “forward” block or a “backward” block.

以下、図8A〜図8Dを参照して、図3Aおよび図3Bに示されるように3個のブロック20が逐次処理用ブロック装着部70の3個の開口部30にそれぞれ装着された状態で、装置10のスタートボタン50が押下された場合に、装置10が、与えられたコース800上をどのように移動するかを説明する。ここで、与えられたコース800は、3×3のマスからなり、3×3のマスの中心のマスの色は赤色(図8A〜図8Dでは、斜線で示す)であるが、それ以外のマスの色は白色であり、スタート地点は与えられたコース800の左下のマスであると仮定する。   8A to 8D, in the state where the three blocks 20 are respectively mounted in the three openings 30 of the sequential processing block mounting portion 70 as shown in FIGS. 3A and 3B, The following describes how the apparatus 10 moves on the given course 800 when the start button 50 of the apparatus 10 is pressed. Here, the given course 800 is composed of 3 × 3 squares, and the color of the central square of the 3 × 3 squares is red (indicated by diagonal lines in FIGS. 8A to 8D). Assume that the color of the square is white and that the starting point is the lower left square of the given course 800.

図8Aは、装置10が、1番目の開口部30に装着されたブロック20が「前に進む」ブロックであると決定したことに応答して、装置10が、スタート地点から1マス分、前方に移動する様子を示す(ステップ1)。装置10は、ステップ1で移動した後のマスにおいて、カラーセンサ100から出力される信号を判定する。この場合、カラーセンサ100から出力される信号は「白色」を示す信号であるから、装置10は、処理を続行する。   FIG. 8A shows that, in response to the device 10 determining that the block 20 attached to the first opening 30 is a “forward” block, the device 10 is one cell ahead of the starting point. (Step 1). The apparatus 10 determines a signal output from the color sensor 100 in the mass after moving in Step 1. In this case, since the signal output from the color sensor 100 is a signal indicating “white”, the apparatus 10 continues the processing.

図8Bは、装置10が、2番目の開口部30に装着されたブロック20が「右に曲がる」ブロックであると決定したことに応答して、装置10が、ステップ1で移動した後のマスと同じマスにおいて、右に90°曲がるように移動する様子を示す(ステップ2)。   FIG. 8B shows that the device 10 has moved in step 1 in response to determining that the block 20 attached to the second opening 30 is a “turn right” block. In the same square, a state of moving 90 ° to the right is shown (step 2).

図8Cは、装置10が、3番目の開口部30に装着されたブロック20が「前に進む」ブロックであると決定したことに応答して、装置10が、ステップ2で移動した後のマスから、1マス分、前方に移動する様子を示す(ステップ3)。装置10は、ステップ2で移動した後のマスにおいて、カラーセンサ100から出力される信号を判定する。この場合、カラーセンサ100から出力される信号は「赤色」を示す信号であるから、装置10は、処理を最初の処理(すなわち、1番目の開口部30に装着されたブロック20に対応する処理)の直前に分岐させる。その結果、装置10は、ステップ3で移動した後のマスから、ステップ1〜3を再実行することになる。   FIG. 8C shows the mass after device 10 has moved in step 2 in response to the device 10 determining that the block 20 mounted in the third opening 30 is a “go forward” block. Then, a state of moving forward by one square is shown (step 3). The apparatus 10 determines a signal output from the color sensor 100 in the square after moving in Step 2. In this case, since the signal output from the color sensor 100 is a signal indicating “red”, the apparatus 10 performs the first process (that is, the process corresponding to the block 20 attached to the first opening 30). Branch immediately before). As a result, the apparatus 10 re-executes steps 1 to 3 from the square after moving in step 3.

図8Dは、ステップ1の再実行により、1番目の開口部30に装着されたブロック20が「前に進む」ブロックであると決定したことに応答して、装置10が、スタート地点から1マス分、前方に移動する様子を示す(ステップ4)。装置10は、ステップ4で移動した後のマスにおいて、カラーセンサ100から出力される信号を判定する。この場合、カラーセンサ100から出力される信号は「白色」を示す信号であるから、装置10は、処理を続行する。   FIG. 8D shows that in response to determining that the block 20 attached to the first opening 30 is a “forward” block by re-execution of step 1, the device 10 is (Step 4). The apparatus 10 determines a signal output from the color sensor 100 in the square after moving in Step 4. In this case, since the signal output from the color sensor 100 is a signal indicating “white”, the apparatus 10 continues the processing.

このようにして、3個のブロック20が逐次処理用ブロック装着部70の3個の開口部30にそれぞれ装着された状態でスタートボタン50が押下されることにより、3個のブロック20に対応する上述したステップ1、2、3が逐次実行され、カラーセンサ100によって検出された色が所定の条件を満たすか否かに応じて、分岐処理を実行するか否かが決定される。ユーザは、図8A〜図8Dに示されるように装置10が移動する様子を観察することによって、分岐処理が実行される様子を体験的に学習することが可能である。   In this way, when the start button 50 is pressed in a state where the three blocks 20 are respectively mounted in the three openings 30 of the sequential processing block mounting portion 70, the three blocks 20 are supported. Steps 1, 2, and 3 described above are sequentially executed, and it is determined whether or not to execute the branch process depending on whether or not the color detected by the color sensor 100 satisfies a predetermined condition. The user can empirically learn how the branch process is executed by observing how the device 10 moves as shown in FIGS. 8A to 8D.

なお、分岐処理を実行するために満たすべき条件およびその条件が満たされた場合の処理の分岐先は、上述した例に限定されない。例えば、分岐処理を実行するために満たすべき条件は、「カラーセンサ100から出力される信号が「青色」を示す信号である場合」であってもよいし、「カラーセンサ100から出力される信号が「緑色」を示す信号である場合」であってもよい。さらに、その条件が満たされた場合の処理の分岐先は、処理の任意の地点であり得る。例えば、その条件が満たされた場合の処理の分岐先は、「1つ前の処理に戻る」であってもよいし、「3つ前の処理に戻る」であってもよい。   Note that the condition to be satisfied for executing the branch process and the branch destination of the process when the condition is satisfied are not limited to the example described above. For example, the condition to be satisfied for executing the branching process may be “when the signal output from the color sensor 100 is a signal indicating“ blue ”” or “the signal output from the color sensor 100”. May be a signal indicating “green”. Furthermore, the branch destination of the process when the condition is satisfied may be an arbitrary point of the process. For example, the branch destination of the process when the condition is satisfied may be “return to the previous process” or “return to the previous process”.

また、上述したカラーセンサ100に代えて、カラーセンサ以外のセンサを用いることも可能である。そのようなセンサは、装置10の外部の情報を検出しその検出された情報を示す信号を出力するセンサであれば任意のセンサであり得る。また、このようなセンサは、装置10の外部の情報を検出することができる限り、装置10の任意の場所に搭載されることが可能である。   In addition, a sensor other than the color sensor can be used instead of the color sensor 100 described above. Such a sensor may be any sensor as long as it detects information outside the device 10 and outputs a signal indicating the detected information. In addition, such a sensor can be mounted at any location of the device 10 as long as information outside the device 10 can be detected.


4.プログラミング学習用の装置(”PETS”)の処理
図1Aを参照して説明したように、装置10は、ブロック装着部60に装着されているブロック20の種類および順序に応じて、装置10の移動を制御する。このような制御は、制御部200によって行われる。制御部200は、装置10の筐体(例えば、図11に示される筐体10a)内に収納されている。

4). Processing of Programming Learning Device (“PETS”) As described with reference to FIG. 1A, the device 10 moves the device 10 according to the type and order of the blocks 20 mounted on the block mounting unit 60. To control. Such control is performed by the control unit 200. The control unit 200 is housed in the housing of the apparatus 10 (for example, the housing 10a shown in FIG. 11).

図9は、制御部200の構成の一例を示すブロック図である。制御部200は、プロセッサ部210と、メモリ部212と、ブロック装着検出回路220と、センサ出力回路230と、光源駆動回路240と、モータ駆動回路250とを含む。   FIG. 9 is a block diagram illustrating an example of the configuration of the control unit 200. The control unit 200 includes a processor unit 210, a memory unit 212, a block attachment detection circuit 220, a sensor output circuit 230, a light source driving circuit 240, and a motor driving circuit 250.

プロセッサ部210は、装置10の全体の動作を制御する。メモリ部212には、処理を実行するために必要とされるプログラムやそのプログラムの実行に必要とされるデータ等が格納されている。ここで、プログラムをどのようにしてメモリ部212に格納するかは問わない。例えば、プログラムは、メモリ部212にプリインストールされていてもよい。あるいは、プログラムは、インターネットなどのネットワークを介してダウンロードされることによってメモリ部212にインストールされるようにしてもよいし、光ディスクやUSBなどの記憶媒体を介してメモリ部212にインストールされるようにしてもよい。メモリ部212に格納されているプログラムは、例えば、上述した逐次処理、ループ処理、分岐処理を実行するプログラムである。プロセッサ部210は、メモリ部212に格納されているプログラムを読み出し、そのプログラムを実行する。これにより、装置10は、ブロック装着部60に装着されたブロック20の種類および順序に応じて移動することが可能である。   The processor unit 210 controls the overall operation of the apparatus 10. The memory unit 212 stores a program required for executing processing, data required for executing the program, and the like. Here, it does not matter how the program is stored in the memory unit 212. For example, the program may be preinstalled in the memory unit 212. Alternatively, the program may be installed in the memory unit 212 by being downloaded through a network such as the Internet, or may be installed in the memory unit 212 through a storage medium such as an optical disk or a USB. May be. The program stored in the memory unit 212 is, for example, a program that executes the above-described sequential processing, loop processing, and branch processing. The processor unit 210 reads a program stored in the memory unit 212 and executes the program. As a result, the apparatus 10 can move according to the type and order of the blocks 20 mounted on the block mounting unit 60.

ブロック装着検出回路220は、ブロック装着部60(図1Aを参照)に接続されている。ブロック装着検出回路220は、ブロック20がブロック装着部60に装着されていることを検出し、ブロック装着部60に装着されているブロック20の種類に対応する電圧を示す信号をプロセッサ部210に出力する。   The block mounting detection circuit 220 is connected to the block mounting unit 60 (see FIG. 1A). The block mounting detection circuit 220 detects that the block 20 is mounted on the block mounting unit 60 and outputs a signal indicating a voltage corresponding to the type of the block 20 mounted on the block mounting unit 60 to the processor unit 210. To do.

センサ出力回路230は、カラーセンサ100の出力に接続されている。センサ出力回路230は、カラーセンサ100の出力を示す信号をプロセッサ部210に出力する。   The sensor output circuit 230 is connected to the output of the color sensor 100. The sensor output circuit 230 outputs a signal indicating the output of the color sensor 100 to the processor unit 210.

光源駆動回路240は、プロセッサ部210からの命令に応じて、光源(例えば、LED)駆動することによって光源から出射される光の明滅を制御する。これにより、ブロック20から出射される光(例えば、赤色光)の明滅が制御される。   The light source driving circuit 240 controls blinking of light emitted from the light source by driving the light source (for example, LED) in accordance with a command from the processor unit 210. Thereby, blinking of light (for example, red light) emitted from the block 20 is controlled.

モータ駆動回路250は、モータ252に接続されている。モータ駆動回路250は、プロセッサ部210からの命令に応じて、モータ252を駆動する。モータ252が駆動されることにより、モータ252の回転力がギア機構254を介して車輪256に伝達される。車輪256が回転することにより、装置10が移動することが可能である。なお、場合には、モータ252の回転力を直接的に車輪256に伝達する場合には、ギア機構254を省略することも可能である。モータ252の電源としては、例えば、バッテリ(図示せず)を用いることが可能である。   The motor drive circuit 250 is connected to the motor 252. The motor drive circuit 250 drives the motor 252 in accordance with a command from the processor unit 210. By driving the motor 252, the rotational force of the motor 252 is transmitted to the wheels 256 via the gear mechanism 254. The device 10 can move as the wheel 256 rotates. In this case, the gear mechanism 254 can be omitted when the rotational force of the motor 252 is directly transmitted to the wheels 256. As a power source for the motor 252, for example, a battery (not shown) can be used.

なお、図9に示される制御部200に含まれる構成要素は、単一のハードウェア部品で構成されていてもよいし、複数のハードウェア部品で構成されていてもよい。制御部200の構成は、特定のハードウェア構成には限定されない。   Note that the components included in the control unit 200 shown in FIG. 9 may be configured by a single hardware component or may be configured by a plurality of hardware components. The configuration of the control unit 200 is not limited to a specific hardware configuration.

図10A〜図10Cは、プロセッサ部210によって実行される処理の手順の一例を示すフローチャートである。この処理は、例えば、プログラムの形式でメモリ部212に格納されている。プロセッサ部210は、メモリ部212に格納されているプログラムを読み出し、そのプログラムを実行する。   10A to 10C are flowcharts illustrating an example of a procedure of processing executed by the processor unit 210. This process is stored in the memory unit 212 in the form of a program, for example. The processor unit 210 reads a program stored in the memory unit 212 and executes the program.

プロセッサ部210によって実行される処理は、前処理ステップ(ステップ1001〜1004)と、逐次処理ステップ(ステップ1005〜1010)と、分岐処理ステップ(ステップ1011〜1015)と、ループ処理ステップ(ステップ1016〜1022)とを含む。   The processing executed by the processor unit 210 includes preprocessing steps (steps 1001 to 1004), sequential processing steps (steps 1005 to 1010), branch processing steps (steps 1011 to 1015), and loop processing steps (steps 1016 to 1016). 1022).


4.1 前処理ステップ(ステップ1001〜1004)
前処理ステップは、ステップ1001から開始される。ステップ1002において、プロセッサ部210は、スタートボタン50が押下されたか否かを決定する。スタートボタン50が押下されない限り、プロセッサ部210の処理は、ステップ1002から先に進まない。スタートボタンが押下されると、処理は、ステップ1003に進む。

4.1 Preprocessing steps (steps 1001 to 1004)
The preprocessing step starts from step 1001. In step 1002, the processor unit 210 determines whether or not the start button 50 has been pressed. Unless the start button 50 is pressed, the processing of the processor unit 210 does not proceed from step 1002. When the start button is pressed, the process proceeds to step 1003.

ステップ1003において、プロセッサ部210は、ブロック装着部60に装着されているブロック20の種類および順序を検出し、検出された情報をブロックリストに保存する。具体的には、プロセッサ部210は、逐次処理用ブロック装着部70に装着されているブロック20の種類および順序を検出し、検出された情報を逐次処理用ブロックリストに保存するとともに、ループ処理用ブロック装着部80に装着されているブロック20の種類および順序を検出し、検出された情報をループ処理用ブロックリストに保存する。逐次処理用ブロックリストおよびループ処理用ブロックリストのそれぞれは、どの種類のブロックがどのような順序で装着されているかを示すリストである。   In step 1003, the processor unit 210 detects the type and order of the blocks 20 mounted on the block mounting unit 60, and stores the detected information in a block list. Specifically, the processor unit 210 detects the type and order of the blocks 20 mounted on the sequential processing block mounting unit 70, stores the detected information in the sequential processing block list, and for loop processing. The type and order of the blocks 20 mounted on the block mounting unit 80 are detected, and the detected information is stored in a loop processing block list. Each of the sequential processing block list and the loop processing block list is a list indicating which types of blocks are mounted in what order.

例えば、逐次処理用ブロック装着部70に9個の開口部30が形成されている場合には、逐次処理用ブロックリストは、9個のポケットを備えている。各ポケットは、逐次処理用ブロック装着部70に形成されている開口部30に装着されているブロック20に対応する。逐次処理用ブロックリストのそれぞれのポケットには、検出されたブロック20の順序に従って、検出されたブロック20の種類を示す値が格納される。   For example, when nine openings 30 are formed in the sequential processing block mounting portion 70, the sequential processing block list includes nine pockets. Each pocket corresponds to the block 20 mounted in the opening 30 formed in the sequential processing block mounting section 70. A value indicating the type of the detected block 20 is stored in each pocket of the sequential processing block list in accordance with the order of the detected blocks 20.

例えば、ループ処理用ブロック装着部80に3個の開口部30が形成されている場合には、ループ処理用ブロックリストは、3個のポケットを備えている。各ポケットは、ループ処理用ブロック装着部80に形成されている開口部30に装着されているブロック20に対応する。ループ処理用ブロックリストのそれぞれのポケットには、検出されたブロック20の順序に従って、検出されたブロック20の種類を示す値が格納される。   For example, when the three opening portions 30 are formed in the loop processing block mounting portion 80, the loop processing block list includes three pockets. Each pocket corresponds to the block 20 mounted in the opening 30 formed in the loop processing block mounting portion 80. A value indicating the type of the detected block 20 is stored in each pocket of the loop processing block list in accordance with the order of the detected blocks 20.

プロセッサ部210は、これらのブロックリストに従って処理を実行する。   The processor unit 210 executes processing according to these block lists.

ステップ1004において、プロセッサ部210は、変数を初期化する処理を実行する。具体的には、j=1、k=1、l=1、length A=逐次処理用ブロックリストの長さ、length B=ループ処理用ブロックリストの長さという演算が実行される。   In step 1004, the processor unit 210 executes a process of initializing variables. Specifically, the following operations are executed: j = 1, k = 1, l = 1, length A = length of the sequential processing block list, and length B = length of the loop processing block list.


4.2 逐次処理ステップ(ステップ1005〜1010)
ステップ1005において、プロセッサ部210は、jの値とlength Aの値とを比較することにより、j≦length Aという不等式が成立するか否かを判定する。ステップ1005における判定結果が「Yes」である場合には、処理は、ステップ1006に進む。ステップ1005における判定結果が「No」場合には、ステップ1010に進み、逐次処理ステップは終了する。

4.2 Sequential processing steps (steps 1005 to 1010)
In step 1005, the processor unit 210 compares the value of j with the value of length A to determine whether or not the inequality j ≦ length A is satisfied. If the determination result in step 1005 is “Yes”, the process proceeds to step 1006. If the determination result in step 1005 is “No”, the process proceeds to step 1010, and the sequential processing step ends.

ステップ1006において、プロセッサ部210は、ループ処理用ブロックリストのj番目のブロックがどの種類のブロックであるかを判定する。逐次処理用ブロックリストのj番目のブロックが「ループ」ブロックであると判定された場合には、処理は、ループ処理ステップのためにステップ1016に進む。逐次処理用ブロックリストのj番目のブロックが「ループ」ブロックでないと判定された場合には、処理は、ステップ1007に進む。   In step 1006, the processor unit 210 determines which type of block the j-th block of the loop processing block list is. If it is determined that the j-th block in the sequential processing block list is a “loop” block, the process proceeds to step 1016 for the loop processing step. If it is determined that the j-th block in the sequential processing block list is not a “loop” block, the process proceeds to step 1007.

ステップ1007において、プロセッサ部210は、逐次処理用ブロックリストのj番目のブロックに応じた動作を実行する。   In step 1007, the processor unit 210 executes an operation corresponding to the j-th block in the sequential processing block list.

ステップ1008において、プロセッサ部210は、ループ処理用ブロックリストのj番目のブロックがどの種類のブロックであるかを判定する。逐次処理用ブロックリストのj番目のブロックが「前に進む」ブロックまたは「後ろに進む」ブロックであると判定された場合には、処理は、分岐処理ステップのためにステップ1011に進む。逐次処理用ブロックリストのj番目のブロックが「前に進む」ブロック、「後ろに進む」ブロックのいずれでもないと判定された場合には、処理は、ステップ1009に進む。   In step 1008, the processor unit 210 determines what type of block the j-th block of the loop processing block list is. If it is determined that the j-th block in the sequential processing block list is a “go forward” block or a “go backward” block, the process proceeds to step 1011 for a branch process step. If it is determined that the j-th block in the sequential processing block list is neither a “go forward” block nor a “go backward” block, the process advances to step 1009.

ステップ1009において、プロセッサ部210は、変数jの値を1だけインクリメントする(j=j+1)。その後、処理は、ステップ1005に戻る。このようにして、ステップ1005における判定結果が「No」になるまで、処理は、ステップ1005〜1009を繰り返す。   In step 1009, the processor unit 210 increments the value of the variable j by 1 (j = j + 1). Thereafter, the processing returns to Step 1005. In this way, the process repeats steps 1005 to 1009 until the determination result in step 1005 becomes “No”.


4.3 分岐処理ステップ(ステップ1011〜1015)
ステップ1011において、プロセッサ部210は、ブロックに応じた動作を実行した後、カラーセンサ100から出力される信号が「赤色」を示す信号であるか「青色」を示す信号であるか「緑色」を示す信号であるか「白色」を示す信号であるかを判定する。

4.3 Branch processing steps (steps 1011 to 1015)
In step 1011, the processor unit 210 performs an operation corresponding to the block, and then determines whether the signal output from the color sensor 100 is a signal indicating "red" or a signal indicating "blue" or "green". Or a signal indicating “white”.

カラーセンサ100から出力される信号が「赤色」を示す信号であると判定された場合には、ステップ1012において、プロセッサ部210は、jの値を1に設定する。その後、処理は、ステップ1005に戻る。   If it is determined that the signal output from the color sensor 100 is a signal indicating “red”, in step 1012, the processor unit 210 sets the value of j to 1. Thereafter, the processing returns to Step 1005.

カラーセンサ100から出力される信号が「青色」を示す信号であると判定された場合には、ステップ1013において、プロセッサ部210は、jの値を2だけデクリメントする(j=j−2)。その後、処理は、ステップ1005に戻る。   If it is determined that the signal output from the color sensor 100 is a signal indicating “blue”, in step 1013, the processor unit 210 decrements the value of j by 2 (j = j−2). Thereafter, the processing returns to Step 1005.

カラーセンサ100から出力される信号が「緑色」を示す信号であると判定された場合には、ステップ1014において、プロセッサ部210は、jの値を3だけデクリメントする(j=j−3)。その後、処理は、ステップ1005に戻る。   If it is determined that the signal output from the color sensor 100 is a signal indicating “green”, in step 1014, the processor unit 210 decrements the value of j by 3 (j = j−3). Thereafter, the processing returns to Step 1005.

カラーセンサ100から出力される信号が「白色」を示す信号であると判定された場合には、ステップ1015において、プロセッサ部210は、jの値を1だけインクリメントする(j=j+1)。その後、処理は、ステップ1005に戻る。   If it is determined that the signal output from the color sensor 100 is a signal indicating “white”, in step 1015, the processor unit 210 increments the value of j by 1 (j = j + 1). Thereafter, the processing returns to Step 1005.


4.4 ループ処理ステップ(ステップ1016〜1022)
ステップ1016において、プロセッサ部210は、「ループ」ブロックによって繰り返される処理の回数nを設定する。ここで、nは所定の値であってもよいし、「ループ」ブロックによって設定される値であってもよい。例えば、「2回ループ」する場合には、n=2に設定される。

4.4 Loop processing steps (steps 1016 to 1022)
In step 1016, the processor unit 210 sets the number of times n to be repeated by the “loop” block. Here, n may be a predetermined value or a value set by a “loop” block. For example, when “loop twice”, n = 2 is set.

ステップ1017において、プロセッサ部210は、lの値とnの値とを比較することにより、l≦nという不等式が成立するか否かを判定する。ステップ1017における判定結果が「Yes」である場合には、処理は、ステップ1018に進む。ステップ1017における判定結果が「No」である場合には、処理は、ステップ1005に進む。   In step 1017, the processor unit 210 compares the value of l with the value of n to determine whether or not an inequality of l ≦ n holds. If the determination result in step 1017 is “Yes”, the process proceeds to step 1018. If the determination result in step 1017 is “No”, the process proceeds to step 1005.

ステップ1018において、プロセッサ部210は、kの値とlength Bの値とを比較することにより、k≦length Bという不等式が成立するか否かを判定する。ステップ1018における判定結果が「Yes」である場合には、処理は、ステップ1020に進む。ステップ1018における判定結果が「No」である場合には、ステップ1019において、プロセッサ部210は、lの値を1だけインクリメントする(l=l+1)。その後、処理は、ステップ1017に戻る。   In step 1018, the processor unit 210 compares the value of k with the value of length B to determine whether or not the inequality k ≦ length B is satisfied. If the determination result in step 1018 is “Yes”, the process proceeds to step 1020. If the determination result in step 1018 is “No”, in step 1019, the processor unit 210 increments the value of l by 1 (l = 1 + 1). Thereafter, the processing returns to Step 1017.

ステップ1020において、プロセッサ部210は、ループ処理用ブロックリストのk番目のブロックに応じた動作を実行する。   In step 1020, the processor unit 210 executes an operation corresponding to the kth block in the loop processing block list.

ステップ1021において、プロセッサ部210は、ループ処理用ブロックリストのk番目のブロックがどの種類のブロックであるかを判定する。ループ処理用ブロックリストのk番目のブロックが「前に進む」ブロックまたは「後ろに進む」ブロックであると判定された場合には、処理は、ステップ1011に進む。ループ処理用ブロックリストのk番目のブロックが「前に進む」ブロック、「後ろに進む」ブロックのいずれでもないと判定された場合には、処理は、ステップ1022に進む。   In step 1021, the processor unit 210 determines which type of block the k-th block of the loop processing block list is. If it is determined that the k-th block in the loop processing block list is a “go forward” block or a “go backward” block, the process proceeds to step 1011. If it is determined that the k-th block in the loop processing block list is neither a “go forward” block nor a “go backward” block, the process proceeds to step 1022.

ステップ1022において、プロセッサ部210は、kの値を1だけインクリメントする(k=k+1)。その後、処理は、ステップ1018に戻る。このようにして、ステップ1018における判定結果が「No」になるまで、処理は、ステップ1018〜1022を繰り返す。   In step 1022, the processor unit 210 increments the value of k by 1 (k = k + 1). Thereafter, the processing returns to Step 1018. In this way, the process repeats steps 1018 to 1022 until the determination result in step 1018 becomes “No”.


5.プログラミング学習用の装置(”PETS”)の内部構造
図11は、装置10の内部構造の一例を示す分解斜視図である。

5. The internal structure of the device for programming learning ( "PETS") 11 is an exploded perspective view showing an example of the internal structure of the apparatus 10.

装置10は、複数のブロック20を装着することが可能なように構成されたブロック装着部60を含む。ブロック装着部60は、筐体10aに取り付けられている。ブロック装着部60は、ブロックガイド基板62とブロック装着基板64とを含む。   The apparatus 10 includes a block mounting portion 60 configured to be able to mount a plurality of blocks 20. The block mounting part 60 is attached to the housing 10a. The block mounting part 60 includes a block guide substrate 62 and a block mounting substrate 64.

ブロックガイド基板62には、複数の開口部30が形成されている。ブロックガイド基板62は、ブロック装着基板64に対向するようにブロック装着基板64上に配置されている。ブロックガイド基板62の開口部30に対向するブロック装着基板64の部分には、ブロック装着領域120が形成されている。ここで、開口部30は、装置10が前に進む方向を基準としてブロック20がブロック装着領域120に装着されるように構成されている。   A plurality of openings 30 are formed in the block guide substrate 62. The block guide substrate 62 is disposed on the block mounting substrate 64 so as to face the block mounting substrate 64. A block mounting region 120 is formed in a portion of the block mounting substrate 64 that faces the opening 30 of the block guide substrate 62. Here, the opening 30 is configured such that the block 20 is mounted in the block mounting region 120 with reference to the direction in which the apparatus 10 moves forward.


5.1 ブロック20の構造
装置10の内部構造の詳細を説明する前に、ブロック20の構造の詳細を説明する。

5.1 Before explaining details of the internal structure of the structural device 10 of the block 20, details of the structure of the block 20 will be explained.

図12Aは、図1Bに示されるブロック20を斜め上方から見た斜視図である。   FIG. 12A is a perspective view of the block 20 shown in FIG. 1B as viewed obliquely from above.

図12Bは、図1Bに示されるブロック20を斜め下方から見た斜視図である。   FIG. 12B is a perspective view of the block 20 shown in FIG. 1B as viewed obliquely from below.

図12Aおよび図12Bに示されるように、ブロック20は、前面壁21と背面壁22と右側面壁23と左側面壁24と上面壁25とを有する。前面壁21は、ブロック20がブロック装着部60に装着されたときに、装置10が前に進む方向を向いている壁である。背面壁22は、ブロック20がブロック装着部60に装着されたときに、装置10が後ろに進む方向に向いている壁である。右側面壁23は、前面壁21側から前方を見たときに右側に位置する壁である。左側面壁24は、前面壁21側から前方を見たときに左側に位置する壁である。上面壁25は、前面壁21、背面壁22、右側面壁23、左側面壁24の上端側に位置する壁である。   As shown in FIGS. 12A and 12B, the block 20 includes a front wall 21, a back wall 22, a right side wall 23, a left side wall 24, and a top wall 25. The front wall 21 is a wall facing the direction in which the apparatus 10 moves forward when the block 20 is mounted on the block mounting portion 60. The back wall 22 is a wall that faces in a direction in which the apparatus 10 advances backward when the block 20 is mounted on the block mounting portion 60. The right side wall 23 is a wall located on the right side when viewed from the front wall 21 side. The left side wall 24 is a wall located on the left side when looking forward from the front wall 21 side. The top wall 25 is a wall located on the upper end side of the front wall 21, the back wall 22, the right side wall 23, and the left side wall 24.

ここで、右側面壁23の下端部には、スリット部23aが形成されている。さらに、右側面壁23の下端縁には、切欠き部23bが形成されている。上面壁25には、ブロック20の種類を示す表記部27が設けられている。表記部27には、個々のブロックによる命令の内容が示されている。さらに、前面壁21の下端には、ブロック20の種類を表す抵抗値を有する抵抗体26が取り付けられている。この抵抗体26に基づいて発生する電圧によってブロック20の種類を電気的に検出することが可能である。   Here, a slit 23 a is formed at the lower end of the right side wall 23. Further, a notch 23 b is formed at the lower end edge of the right side wall 23. The top wall 25 is provided with a notation 27 indicating the type of the block 20. The notation section 27 shows the contents of instructions by individual blocks. Further, a resistor 26 having a resistance value indicating the type of the block 20 is attached to the lower end of the front wall 21. The type of the block 20 can be electrically detected by the voltage generated based on the resistor 26.

さらに、ブロック20は、その外観からブロック20の方向性が認識されるように構成されていることが好ましい。例えば、図12Bに示されるように、ブロック20の前面壁21の幅がブロック20の背面壁22の幅より広くなっていてもよい。それに加えて、または、それに代えて、図12Aに示されるように、上面壁25の輪郭形状は、ブロック20の「前方」と「後方」とが区別することができるように形成されていてもよい。これにより、ブロック20の外観からブロック20の「前方」と「後方」とを区別することが可能である。従って、ブロック20の外観からブロック20の「右方」と「左方」とを区別することもまた可能である。   Furthermore, it is preferable that the block 20 is configured so that the directionality of the block 20 is recognized from the appearance. For example, as shown in FIG. 12B, the width of the front wall 21 of the block 20 may be wider than the width of the rear wall 22 of the block 20. In addition or alternatively, as shown in FIG. 12A, the contour shape of the upper surface wall 25 may be formed so that “front” and “back” of the block 20 can be distinguished. Good. Thereby, it is possible to distinguish between “front” and “rear” of the block 20 from the appearance of the block 20. Therefore, it is also possible to distinguish the “right” and “left” of the block 20 from the appearance of the block 20.


5.2 ブロックガイド基板62
図13Aは、ブロックガイド基板62に形成された開口部30を示す上面図である。

5.2 Block guide substrate 62
FIG. 13A is a top view showing the opening 30 formed in the block guide substrate 62.

図13Bは、図12Aに示すブロック20のB−B線部分の断面構造を示す上面図である。   FIG. 13B is a top view showing a cross-sectional structure of the BB line portion of the block 20 shown in FIG. 12A.

図13Cは、ブロック20が開口部30に挿入された状態で、ブロック20のB−B線部分の断面構造と共に開口部30を示す上面図である。   FIG. 13C is a top view showing the opening 30 together with the cross-sectional structure of the BB line portion of the block 20 in a state where the block 20 is inserted into the opening 30.

ブロックガイド基板62に形成された開口部30は、開口部30の中心に対して装置10の前側に位置する開口部前縁31aと、開口部30の中心に対して装置10の後側に位置する開口部後縁32aと、開口部30の左右に位置する開口部右縁33aおよび開口部左縁34aとを有する。開口部30は、開口部前縁31aを上底とし、開口部後縁32aを下底とするとほぼ等脚台形の形状を有する。   The opening 30 formed in the block guide substrate 62 includes an opening front edge 31 a located on the front side of the apparatus 10 with respect to the center of the opening 30, and a position behind the apparatus 10 with respect to the center of the opening 30. And an opening right edge 33a and an opening left edge 34a located on the left and right sides of the opening 30. The opening 30 has a substantially isosceles trapezoidal shape when the opening front edge 31a is the upper bottom and the opening rear edge 32a is the lower bottom.

開口部前縁31aは、中央部分が前方側に凹んだ形状となっている。開口部後縁32aの中央部分には、開口部30の内側に迫り出した後縁迫出し部32a1が形成されている。また、開口部右縁33aの開口部前縁31aに隣接する部分には開口部30の内側に迫り出した右迫出し部33a1が形成され、開口部左縁33aの開口部前縁31aに隣接する部分には、開口部30の内側に迫り出した左迫出し部34a1が形成されている。   The opening front edge 31a has a shape in which the central portion is recessed forward. A rear edge protruding portion 32 a 1 that protrudes to the inside of the opening 30 is formed in the central portion of the opening rear edge 32 a. Further, a right protruding portion 33a1 protruding toward the inside of the opening 30 is formed in a portion adjacent to the opening front edge 31a of the opening right edge 33a, and adjacent to the opening front edge 31a of the opening left edge 33a. A left protruding portion 34 a 1 that protrudes to the inside of the opening 30 is formed in the portion to be performed.

開口部30は、ブロック20と同様に、その外観から方向性が認識されるように構成されていることが好ましい。例えば、図13Aに示されるように、開口部30は、左右方向に対称であり、かつ、前後方向に非対称である形状を有していてもよい。これにより、開口部30の外観から開口部30の「前方」と「後方」とを区別することが可能である。従って、開口部30の外観から開口部30の「右方」と「左方」とを区別することもまた可能である。   As with the block 20, the opening 30 is preferably configured such that its directionality is recognized from its appearance. For example, as illustrated in FIG. 13A, the opening 30 may have a shape that is symmetrical in the left-right direction and asymmetric in the front-rear direction. Thereby, it is possible to distinguish between “front” and “back” of the opening 30 from the appearance of the opening 30. Therefore, it is also possible to distinguish “right” and “left” of the opening 30 from the appearance of the opening 30.

さらに、ブロック20および開口部30は、ブロック20が一方向においてのみ開口部30に挿入されることが可能であるように構成されていることが好ましい。例えば、図13Cに示されるように、ブロック20および開口部30は、ブロック20の前面壁21が開口部30の開口部前縁31aに接触し、かつ、ブロック20の背面壁22が開口部30の開口部後縁32aに接触する態様で、ブロック20を開口部30に対して位置合わせをした場合にのみ、ブロック20が開口部30に挿入されることが可能であるように構成されてもよい。これにより、ブロック20が誤った方向で開口部30に挿入されることを防止することが可能である。   Furthermore, the block 20 and the opening 30 are preferably configured such that the block 20 can be inserted into the opening 30 only in one direction. For example, as illustrated in FIG. 13C, the block 20 and the opening 30 are configured such that the front wall 21 of the block 20 contacts the opening front edge 31 a of the opening 30 and the back wall 22 of the block 20 is the opening 30. Even if the block 20 can be inserted into the opening 30 only when the block 20 is aligned with the opening 30 in a mode of contacting the rear edge 32a of the opening. Good. Thereby, it is possible to prevent the block 20 from being inserted into the opening 30 in the wrong direction.

ブロック20が開口部30に挿入されたとき、ブロック20の右側面壁23が右迫出し部33a1に当接し、ブロック20の左側面壁23が左迫出し部34a1に当接することにより、ブロック20が開口部30内で左右方向に位置決めされる。また、ブロック20が開口部30に挿入されたとき、ブロック20の前面壁21の右側縁が開口部30の開口部前縁31aの右側端部に当接し、ブロック20の前面壁21の左側縁が開口部30の開口部前縁31aの左側端部に当接し、ブロック20の背面壁22が開口部30の開口部後縁32aの後縁迫出し部32a1に当接することにより、ブロック20が開口部30内で前後方向に位置決めされる。   When the block 20 is inserted into the opening 30, the right side wall 23 of the block 20 abuts on the right protruding portion 33 a 1, and the left side wall 23 of the block 20 abuts on the left protruding portion 34 a 1, thereby opening the block 20. Positioned in the left-right direction within the portion 30. Further, when the block 20 is inserted into the opening 30, the right edge of the front wall 21 of the block 20 abuts on the right edge of the opening front edge 31 a of the opening 30, and the left edge of the front wall 21 of the block 20. Is brought into contact with the left end of the opening front edge 31a of the opening 30, and the back wall 22 of the block 20 is brought into contact with the rear edge protruding portion 32a1 of the opening rear edge 32a of the opening 30, whereby the block 20 is It is positioned in the front-rear direction within the opening 30.

このようにブロックガイド基板62の開口部30の形状は、開口部30の縁が開口部30に挿入されたブロック20の側面壁と点接触することによりブロック20が前後左右に位置決めされるように構成されている。   Thus, the shape of the opening 30 of the block guide substrate 62 is such that the edge of the opening 30 is in point contact with the side wall of the block 20 inserted into the opening 30 so that the block 20 is positioned front and rear, left and right. It is configured.

このようにブロックガイド基板62の開口部30内に挿入されたブロック20と開口部30の内側との接触面積を小さくすることにより、ブロック20を開口部30に挿入したときの抵抗を小さくすることができる。   Thus, the resistance when the block 20 is inserted into the opening 30 is reduced by reducing the contact area between the block 20 inserted into the opening 30 of the block guide substrate 62 and the inside of the opening 30. Can do.


5.3 ブロック装着基板64
ブロック装着基板64は、ブロック20を装着するための基板である。図11に示される例では、ブロック装着基板64は、12個のブロック装着領域120を有しているが、これに限定されない。ブロック装着基板64は、任意の数のブロック装着領域120を有することが可能である。ブロック装着基板64は、各ブロック装着領域120に1つのブロック20が装着されるように構成されている。

5.3 Block mounting board 64
The block mounting substrate 64 is a substrate for mounting the block 20. In the example shown in FIG. 11, the block mounting board 64 has twelve block mounting areas 120, but is not limited to this. The block mounting substrate 64 can have any number of block mounting areas 120. The block mounting substrate 64 is configured such that one block 20 is mounted in each block mounting area 120.


5.4 ブロック装着領域120
図14は、図11に示されるA部分(1つのブロック装着領域120を含む部分)を拡大したものの斜視図である。

5.4 Block mounting area 120
FIG. 14 is an enlarged perspective view of a portion A (a portion including one block mounting region 120) shown in FIG.

ブロック装着領域120の周囲には、ブロック20の前面壁21が当接する前支持支柱65aと、ブロック20の背面壁22が当接する後支持支柱65bと、ブロック20の右側面壁23が当接する右支持支柱65cと、ブロック20の左側面壁24が当接する左支持支柱65dとが設けられている。ここで、右支持支柱65cには、ブロック20の右側面壁23に形成されたスリット部23aおよび切欠き部23bと係合するバネ部材として板バネ63が取り付けられている。ここで、切欠き部23bは、ブロック20の側面壁には、バネ部材とブロック20とが接触した状態でブロック20が板バネ63に対して移動する距離が少なくなるように、側面壁の端部からスリット部23aの手前まで切り込まれていることが望ましい。ブロック装着領域120には、ブロック20がブロック装着領域120に装着されたとき、ブロック20の前面壁21の下端部に取り付けられた抵抗体26と接触するように、一対の抵抗接続端子66a、66bが取り付けられている。さらに、ブロック装着領域120には、ブロック装着領域120にブロック20が装着されたときにブロック装着領域120を光らせるための発光素子が設けられている。発光素子241は、例えば、発光ダイオードである。ただし、発光素子241は、発光ダイオードに限定されない。発光素子241は、ブロック装着領域120にブロック20が装着されたときに、ブロック20が装着されたことを発光により知らせることができるものであればどのようなものでもよい。   Around the block mounting area 120, a front support column 65a with which the front wall 21 of the block 20 abuts, a rear support column 65b with which the back wall 22 of the block 20 abuts, and a right support with which the right side wall 23 of the block 20 abuts. A support column 65c and a left support column 65d with which the left side wall 24 of the block 20 abuts are provided. Here, a leaf spring 63 is attached to the right support column 65c as a spring member that engages with the slit portion 23a and the notch portion 23b formed in the right side wall 23 of the block 20. Here, the notch portion 23b is provided at the end of the side wall so that the distance that the block 20 moves with respect to the leaf spring 63 in the state where the spring member and the block 20 are in contact with the side wall of the block 20 is reduced. It is desirable that it is cut from the portion to the front of the slit portion 23a. In the block mounting area 120, when the block 20 is mounted in the block mounting area 120, a pair of resistance connection terminals 66 a and 66 b are brought into contact with the resistor 26 attached to the lower end portion of the front wall 21 of the block 20. Is attached. Further, the block mounting area 120 is provided with a light emitting element for causing the block mounting area 120 to shine when the block 20 is mounted on the block mounting area 120. The light emitting element 241 is, for example, a light emitting diode. However, the light emitting element 241 is not limited to a light emitting diode. The light emitting element 241 may be any device as long as it can notify that the block 20 is mounted by light emission when the block 20 is mounted in the block mounting area 120.

図15Aは、ブロック20がブロック装着領域120上に位置する状態を示す斜視図である。   FIG. 15A is a perspective view showing a state in which the block 20 is positioned on the block mounting area 120.

図15Bは、ブロック20がブロック装着領域120に装着された状態を示す斜視図である。   FIG. 15B is a perspective view showing a state in which the block 20 is mounted in the block mounting area 120.

以下、図15Aおよび図15Bを参照して、ブロック20がブロック装着基板64に装着される様子を説明する。   Hereinafter, a state in which the block 20 is mounted on the block mounting substrate 64 will be described with reference to FIGS. 15A and 15B.

図15Aに示されように、ブロック20をブロックガイド基板64の開口部30に挿入して下方に押し込むと、図15Bに示されるように、ブロック20は、対応するブロック装着領域120上に装着された状態となる。この状態では、ブロック20の前面壁21、背面壁22、左側面壁24は、ブロック装着領域120の周囲に位置する前支持支柱65a、後支持支柱65b、左支持支柱65dに当接している。ブロック20の右側面壁23は、右支持支柱65cに取り付けられた板バネ63により押し付けられるとともに、板バネ63の一部が右側面壁23のスリット部23aに係合した状態となっている。これにより、ブロック20がブロック装着領域120に保持されている。また、この状態では、ブロック20の前面壁21の裏側に取り付けられている抵抗体26に、ブロック装着領域120に設けられている一対の抵抗接続端子66a、66bが接触してこの一対の抵抗接続端子66a、66bの間に抵抗体26が接続された状態となっている。   As shown in FIG. 15A, when the block 20 is inserted into the opening 30 of the block guide substrate 64 and pushed downward, the block 20 is mounted on the corresponding block mounting area 120 as shown in FIG. 15B. It becomes a state. In this state, the front wall 21, the rear wall 22, and the left side wall 24 of the block 20 are in contact with the front support column 65a, the rear support column 65b, and the left support column 65d that are located around the block mounting region 120. The right side wall 23 of the block 20 is pressed by a plate spring 63 attached to the right support column 65c, and a part of the plate spring 63 is engaged with the slit portion 23a of the right side wall 23. As a result, the block 20 is held in the block mounting area 120. Further, in this state, the pair of resistance connection terminals 66a and 66b provided in the block mounting region 120 are brought into contact with the resistor 26 attached to the back side of the front wall 21 of the block 20, and this pair of resistance connection is made. The resistor 26 is connected between the terminals 66a and 66b.

以下、ブロック20をブロック装着領域120に対して着脱する際にブロック20のスリット部23aおよび切欠き部23bとブロック装着基板64の板バネ63との係合状態が変化する様子を具体的に説明する。   Hereinafter, when the block 20 is attached to and detached from the block mounting region 120, the state in which the engagement state between the slit portion 23a and the notch portion 23b of the block 20 and the plate spring 63 of the block mounting substrate 64 changes will be specifically described. To do.


5.5 ブロック20の装着
図16A〜図16Eは、ブロック20がブロック装着基板64に装着されるときにブロック20のスリット部23aおよび切欠き部23bとブロック装着基板64の板バネ63との係合状態が変化する様子をブロック装着開始前の状態からブロック装着完了までに渡って示す。なお、図16A〜図16Eでは、ブロックガイド基板62は図示を省略している。

5.5 Mounting of Block 20 FIGS. 16A to 16E show the relationship between the slit portion 23 a and the notch portion 23 b of the block 20 and the plate spring 63 of the block mounting substrate 64 when the block 20 is mounted on the block mounting substrate 64. The state in which the combined state changes is shown from the state before the block mounting is started to the completion of the block mounting. 16A to 16E, the block guide substrate 62 is not shown.

図16Aに示されるように、ブロック20をブロック装着領域120上に配置し、ブロック20をブロックガイド基板62の開口部30を通過させてブロック装着領域120に近づける。   As shown in FIG. 16A, the block 20 is disposed on the block mounting area 120, and the block 20 passes through the opening 30 of the block guide substrate 62 and approaches the block mounting area 120.

ブロック20の右側面壁23の下端には切欠き部23bが形成されているので、図16Bに示されるように、切欠き部23bの上端が板バネ23bに接触するまで、右側面壁23が板バネ63に接触しない。   Since the notch 23b is formed at the lower end of the right side wall 23 of the block 20, the right side wall 23 is a leaf spring until the upper end of the notch 23b contacts the leaf spring 23b as shown in FIG. 16B. 63 does not touch.

その後、図16Cに示されるように、ブロック20をブロック装着領域120にさらに近づけると、図16Dに示されるように、板バネ63が切欠き部23bとその上のスリット部23aとの間の右側面壁23bに乗り上げることにより初めて板バネ23bが右側面壁23bを押さえつけることとなる。   Thereafter, as shown in FIG. 16C, when the block 20 is further brought closer to the block mounting area 120, the leaf spring 63 is placed on the right side between the notch portion 23b and the slit portion 23a thereon, as shown in FIG. 16D. The leaf spring 23b presses the right side wall 23b for the first time by riding on the surface wall 23b.

ブロック20をブロック装着領域120にさらに近づけると、図16Eに示されるように、板バネ63が切欠き部23bの上に位置するスリット部23aに係合することとなる。   When the block 20 is brought closer to the block mounting area 120, the leaf spring 63 is engaged with the slit portion 23a located on the notch portion 23b as shown in FIG. 16E.

このように、ブロック20の右側面壁23の下端には切欠き部23bが形成されているので、図16Bに示されるように、切欠き部23bの上端が板バネ23bに接触するまで、右側面壁23が板バネ63に接触しないことから、ブロック20をブロック装着領域120に装着するときに、ブロック20を板バネ63に抗して押し込む距離を短くすることができる。   Thus, since the notch part 23b is formed in the lower end of the right side wall 23 of the block 20, as shown in FIG. 16B, the right side wall until the upper end of the notch part 23b contacts the leaf spring 23b. Since 23 does not contact the leaf spring 63, when the block 20 is attached to the block attachment region 120, the distance to push the block 20 against the leaf spring 63 can be shortened.


5.6 ブロック20の取り外し
図17A〜図17Eは、ブロック20がブロック装着基板64から取り外されるときにブロック20のスリット部23aおよび切欠き部23bとブロック装着基板64の板バネ63との係合状態が変化する様子をブロック取り外し前の状態からブロック取り外し完了までに渡って示す。なお、図17A〜図17Eでは、ブロックガイド基板62は図示を省略している。

5.6 Removal of Block 20 FIGS. 17A to 17E show the engagement between the slit portion 23 a and the notch portion 23 b of the block 20 and the leaf spring 63 of the block mounting substrate 64 when the block 20 is removed from the block mounting substrate 64. The state changes from the state before block removal to the completion of block removal. 17A to 17E, the block guide substrate 62 is not shown.

図17Aに示されるように、ブロック20をブロック装着領域120から引き抜くように持ち上げると、図17Bに示されるように、板バネ63が切欠き部23bとその上のスリット部23aとの間の右側面壁23bに乗り上げることにより、スリット部23aと板バネ23bとの係合がはずれたことの手ごたえが得られる。   As shown in FIG. 17A, when the block 20 is lifted so as to be pulled out from the block mounting area 120, the leaf spring 63 is positioned on the right side between the notch 23b and the slit 23a above it as shown in FIG. 17B. By climbing onto the face wall 23b, it is possible to obtain a response that the engagement between the slit portion 23a and the leaf spring 23b is disengaged.

その後、図17Cに示されるように、ブロック20をブロック装着領域120から引き抜くようにさらに持ち上げると、板バネ63は、ブロック20の右側面壁23の下端に形成されている切欠き部23bに入り込み、板バネ63が切欠き部23bの上縁部に当接した状態となる。この状態では、図17Cに示されるように、ブロック20には板バネ23bによって上方向の力が働き、ブロック20が浮き上がってくる感触が得られる。この状態ではブロック20を引き抜く力を与えなくてもブロック20は自然と上方に移動する。   Thereafter, as shown in FIG. 17C, when the block 20 is further lifted so as to be pulled out from the block mounting region 120, the leaf spring 63 enters the notch 23b formed at the lower end of the right side wall 23 of the block 20, The leaf spring 63 is in contact with the upper edge of the notch 23b. In this state, as shown in FIG. 17C, an upward force is applied to the block 20 by the leaf spring 23b, and a feeling that the block 20 is lifted is obtained. In this state, the block 20 naturally moves upward without giving a force for pulling out the block 20.

その後、板バネ23bから切欠き部23bの上縁部への力が及ばなくなった状態で、図17Dおよび図17Eに示されるように、ブロック20を上方へ持ち上げることによりブロック20をブロックガイド基板62から引き抜くことができる。   Thereafter, in a state in which the force from the leaf spring 23b to the upper edge of the notch 23b does not reach, as shown in FIGS. 17D and 17E, the block 20 is lifted upward to remove the block 20 from the block guide substrate 62. Can be pulled out from.

このようにブロック20をブロック装着領域120から引き抜くように持ち上げると、板バネ63とスリット部23aとの係合が解除された後、板バネ63がブロック20の右側面壁23の下端に形成されている切欠き部23bに入り込むので、ブロック20には板バネ23bによって上方向の力が働き、ブロック20が浮き上がってくる感触が得られる。   When the block 20 is lifted so as to be pulled out from the block mounting area 120 in this manner, the leaf spring 63 is formed at the lower end of the right side wall 23 of the block 20 after the engagement between the leaf spring 63 and the slit portion 23a is released. Since the notch 23b is inserted into the block 20, an upward force is exerted on the block 20 by the leaf spring 23b, so that the block 20 can be lifted.


5.7 ブロック装着基板64の電気的な回路構成
図18Aは、ブロック20がブロック装着基板64に装着されていない状態でのブロック装着基板64およびブロック装着検出回路220の電気的な回路構成の一例を示す。

5.7 Electrical Circuit Configuration of Block Mounting Board 64 FIG. 18A shows an example of the electrical circuit configuration of the block mounting board 64 and the block mounting detection circuit 220 when the block 20 is not mounted on the block mounting board 64. Indicates.

図18Bは、種類の異なる2つのブロック20がブロック装着基板64に装着された状態でのブロック装着基板64およびブロック装着検出回路220の電気的な回路構成の一例を示す。   FIG. 18B shows an example of the electrical circuit configuration of the block mounting board 64 and the block mounting detection circuit 220 in a state where two different types of blocks 20 are mounted on the block mounting board 64.

図19Aは、2つのブロック20のうちの一方がブロック装着基板64に装着される前の状態を示す。   FIG. 19A shows a state before one of the two blocks 20 is mounted on the block mounting board 64.

図19Bは、2つのブロック20のうちの一方がブロック装着基板64に装着された後の状態を示す。   FIG. 19B shows a state after one of the two blocks 20 is mounted on the block mounting board 64.

図19Cは、2つのブロック20のうちの他方がブロック装着基板64に装着された後の状態を示す。   FIG. 19C shows a state after the other of the two blocks 20 is mounted on the block mounting board 64.

図19D〜図19Fは、それぞれ、図19A〜図19Cに示される状態でのブロック装着領域120の電気的な回路構成の一例を示す。   19D to 19F show an example of the electrical circuit configuration of the block mounting region 120 in the state shown in FIGS. 19A to 19C, respectively.

各ブロック装着領域120には、発光素子241と固定抵抗R0とが設けられている。固定抵抗R0の一端は、電源に接続されている。固定抵抗R0の他端は、測定端子221に接続されている。この測定端子221は、一対の抵抗接続端子66a、66bの一方である。一対の抵抗接続端子66a、66bの他方は接地されている。ブロック20がブロック装着領域120に装着されると、一対の抵抗接続端子66a、66bがブロック20の抵抗体26に接続されることにより、一対の抵抗接続端子66a、66bの間に、各ブロック20の種類に応じた抵抗値の抵抗が接続されることとなる。   Each block mounting region 120 is provided with a light emitting element 241 and a fixed resistor R0. One end of the fixed resistor R0 is connected to a power source. The other end of the fixed resistor R0 is connected to the measurement terminal 221. The measurement terminal 221 is one of a pair of resistance connection terminals 66a and 66b. The other of the pair of resistance connection terminals 66a and 66b is grounded. When the block 20 is mounted in the block mounting region 120, the pair of resistance connection terminals 66a and 66b are connected to the resistor 26 of the block 20 so that each block 20 is interposed between the pair of resistance connection terminals 66a and 66b. A resistor having a resistance value corresponding to the type of the device is connected.

例えば、図18B、図19B、図19Cに示されように、第1のブロック装着領域120に第1のブロック20が装着され、第2のブロック装着領域120に第2のブロック20が装着された場合、図19Eおよび図19Fに示されるように、第1のブロック装着領域120では、一対の抵抗接続端子66a、66bの間には抵抗R1が接続され、第2のブロック装着領域120では、一対の抵抗接続端子66a、66bの間には抵抗R2が接続される。なお、図18Aおよび図19Aに示されるように、ブロック装着領域120にブロック20が装着されていない場合は、図18Aおよび図19Dに示されるように、一対の抵抗接続端子66a、66bの間は開放された状態となっている。   For example, as shown in FIGS. 18B, 19B, and 19C, the first block 20 is mounted in the first block mounting area 120, and the second block 20 is mounted in the second block mounting area 120. In this case, as shown in FIGS. 19E and 19F, in the first block mounting region 120, a resistor R1 is connected between the pair of resistance connection terminals 66a and 66b, and in the second block mounting region 120, a pair A resistor R2 is connected between the resistor connection terminals 66a and 66b. As shown in FIGS. 18A and 19A, when the block 20 is not mounted in the block mounting area 120, as shown in FIGS. 18A and 19D, the space between the pair of resistance connection terminals 66a and 66b is It is in an open state.

ブロック装着検出回路220は、各ブロック到着領域120の測定端子221に接続されたマルチプレクサ220aと、マルチプレクサ220aの出力端子221aに接続された電圧検出回路220bとを有する。   The block attachment detection circuit 220 includes a multiplexer 220a connected to the measurement terminal 221 of each block arrival area 120, and a voltage detection circuit 220b connected to the output terminal 221a of the multiplexer 220a.

なお、固定抵抗R0は、各ブロック装着領域120に必ずしも1個設ける必要はない。例えば、固定抵抗R0は、図18Cに示されるように、ブロック装着検出回路220の内部に1個だけ設けるようにしてもよい。   Note that one fixed resistor R0 is not necessarily provided in each block mounting region 120. For example, only one fixed resistor R0 may be provided inside the block attachment detection circuit 220 as shown in FIG. 18C.

図18Cは、図18Aに示されるブロック装着基板64およびブロック装着検出回路220の電気的な回路構成の他の一例を示す。図18Cに示される例では、ブロック装着検出回路220において、単一の固定抵抗R0がマルチプレクサ220aの出力端子221aと電源との間に接続されている。   FIG. 18C shows another example of the electrical circuit configuration of the block mounting board 64 and the block mounting detection circuit 220 shown in FIG. 18A. In the example shown in FIG. 18C, in the block attachment detection circuit 220, a single fixed resistor R0 is connected between the output terminal 221a of the multiplexer 220a and the power source.


6.プログラミング学習用の装置(”PETS”)の代替的な構成
上述した実施形態では、装置10は、(移動可能な)車型の装置であるとして説明したが、本発明は、これに限定されない。例えば、装置10は、車型以外の任意の型(例えば、車以外の乗り物型、動物型、人型など)の装置であってもよい。あるいは、装置10は、物理的に実際に移動可能な物体である代わりに、コンピュータ画面上で移動可能な物体であってもよい。例えば、複数のブロック20をコンピュータに接続されたコントローラに装着することによって、ブロック20の種類および順序に応じて、コンピュータ画面上で移動可能な物体が移動する実施形態もまた本発明の範囲内に含まれる。

6). Alternative Configuration of Programming Learning Device (“PETS”) In the above-described embodiments, the device 10 has been described as a (movable) vehicle-type device, but the present invention is not limited to this. For example, the apparatus 10 may be an apparatus of any type other than a vehicle type (for example, a vehicle type other than a vehicle, an animal type, a human type, etc.). Alternatively, the device 10 may be an object that can be moved on a computer screen instead of an object that is physically physically movable. For example, an embodiment in which a movable object moves on a computer screen according to the type and order of the blocks 20 by attaching a plurality of blocks 20 to a controller connected to the computer is also within the scope of the present invention. included.

以上のように、本発明の好ましい実施形態を用いて本発明を例示してきたが、本発明は、この実施形態に限定して解釈されるべきものではない。本発明は、特許請求の範囲によってのみその範囲が解釈されるべきであることが理解される。当業者は、本発明の具体的な好ましい実施形態の記載から、本発明の記載および技術常識に基づいて等価な範囲を実施することができることが理解される。   As mentioned above, although this invention has been illustrated using preferable embodiment of this invention, this invention should not be limited and limited to this embodiment. It is understood that the scope of the present invention should be construed only by the claims. It is understood that those skilled in the art can implement an equivalent range based on the description of the present invention and the common general technical knowledge from the description of specific preferred embodiments of the present invention.

本発明は、ユーザがプログラミングの概念を体験的に学習することを可能にするプログラミング学習用の装置、方法およびプログラム等を提供するものとして有用である。   INDUSTRIAL APPLICABILITY The present invention is useful for providing a programming learning apparatus, method, program, and the like that allow a user to learn programming concepts experientially.

10 プログラミング学習用の装置
20 ブロック
30 開口部
50 スタートボタン
60 ブロック装着部
70 逐次処理用ブロック装着部(第1のブロック装着部)
80 ループ処理用ブロック装着部(第2のブロック装着部)
90 底面
100 カラーセンサ
200 制御部
210 プロセッサ部
212 メモリ部
DESCRIPTION OF SYMBOLS 10 Programming learning apparatus 20 Block 30 Opening part 50 Start button 60 Block mounting part 70 Sequential processing block mounting part (1st block mounting part)
80 Loop processing block mounting part (second block mounting part)
90 bottom surface 100 color sensor 200 control unit 210 processor unit 212 memory unit

Claims (13)

移動可能なプログラミング学習用の装置であって、
複数のブロックを装着することが可能なように構成されたブロック装着部と、
前記ブロック装着部に装着されているブロックの種類および順序に応じて、前記装置の移動を制御する制御部と
を備え、
前記ブロック装着部は、逐次処理を定義するための第1のブロック装着部と、ループ処理を定義するための第2のブロック装着部とを含み、
前記第1のブロック装着部に装着されているブロックの種類および順序に応じて、前記逐次処理の種類および順序が定義され、
前記第2のブロック装着部に装着されているブロックの種類および順序に応じて、前記ループ処理が定義され、
前記制御部は、前記逐次処理または前記ループ処理に応じて前記装置の移動を制御する、装置。
A device for mobile programming learning,
A block mounting portion configured to be able to mount a plurality of blocks;
A control unit for controlling movement of the device according to the type and order of the blocks mounted on the block mounting unit,
The block mounting unit includes a first block mounting unit for defining sequential processing, and a second block mounting unit for defining loop processing,
In accordance with the type and order of the blocks mounted on the first block mounting unit, the type and order of the sequential processing are defined,
The loop processing is defined according to the type and order of the blocks mounted on the second block mounting portion,
The control device controls movement of the device according to the sequential processing or the loop processing.
前記装置は、センサをさらに備え、
前記制御部は、前記センサから出力される信号に応じて分岐処理を行うか否かを決定し、その決定に応じて前記装置の移動を制御する、請求項1に記載の装置。
The apparatus further comprises a sensor,
The apparatus according to claim 1, wherein the control unit determines whether to perform branch processing according to a signal output from the sensor, and controls movement of the apparatus according to the determination.
前記センサは、前記装置の底部に搭載されたカラーセンサである、請求項2に記載の装置。   The apparatus according to claim 2, wherein the sensor is a color sensor mounted on a bottom of the apparatus. 前記複数のブロックおよび前記ブロック装着部は、前記複数のブロックのうちのどのブロックに対応するステップが実行中であるかを示すように構成されている、請求項1〜3のいずれか一項に記載の装置。   The said some block and the said block mounting part are comprised so that the step corresponding to which block of the said some blocks may be performed is performed in any one of Claims 1-3. The device described. 前記ブロック装着部は、前記複数のブロックのうちの少なくとも1つが装着されたことを検知することが可能なようにさらに構成されている、請求項1〜4のいずれか一項に記載の装置。   The apparatus according to claim 1, wherein the block mounting unit is further configured to detect that at least one of the plurality of blocks is mounted. 移動可能なプログラミング学習用の装置であって、
複数のブロックを装着することが可能なように構成されたブロック装着部と、
前記ブロック装着部に装着されているブロックの種類および順序に応じて、前記装置の移動を制御する制御部と
を備え、
前記ブロック装着部は、前記複数のブロックを装着するための複数のブロック装着領域を有するブロック装着基板を含み前記複数のブロック装着領域のそれぞれには前記複数のブロックのうちのそれぞれのブロックを固定するためのそれぞれのバネ部材が設けられており、
前記それぞれのブロックは、前記それぞれのバネ部材と係合するそれぞれのスリット部が形成された側面壁を有し、
前記それぞれのブロックの側面壁には、前記それぞれのバネ部材と前記それぞれのブロックとが接触した状態で前記それぞれのブロックが前記それぞれのバネ部材に対して移動する距離が少なくなるように、前記それぞれのブロックの側面壁の端部から前記それぞれのスリット部の手前まで切り込まれた切欠きが形成されている、装置。
A device for mobile programming learning,
A block mounting portion configured to be able to mount a plurality of blocks;
A control unit for controlling movement of the device according to the type and order of the blocks mounted on the block mounting unit,
It said block mounting portion includes a block mounted substrate having a plurality of blocks attachment area for mounting said plurality of blocks, to each of the plurality of blocks mounted area fix each block of the plurality of blocks Each spring member is provided to
Each of the blocks has a side wall formed with a slit portion that engages with the spring member.
Wherein the side wall of each block, the so said respective blocks in each of the state where the spring member and said each block are in contact distance traveled is less relative to the respective spring members, wherein each A notch cut from the end of the side wall of the block to the front of each slit is formed.
前記ブロック装着部は複数の開口部が形成されたブロックガイド基板を含み、
前記ブロックガイド基板の前記複数の開口部のうちのそれぞれの開口部の形状は、前記それぞれの開口部の縁が前記それぞれの開口部に挿入された前記それぞれのブロックの側面壁と点接触することにより前記それぞれのブロックが前後左右に位置決めされるように構成されている、請求項6に記載の装置。
It said block mounting portion includes a block guide substrate having a plurality of openings formed therein,
Each shape of the opening of the plurality of apertures of the block guide substrate, that said the edges of respective openings in contact side wall and the point of the inserted said respective block the the respective openings The apparatus according to claim 6, wherein each of the blocks is configured to be positioned in the front-rear and left-right directions.
前記それぞれの開口部は、その外観から前記それぞれの開口部の方向性が認識されるように構成されている、請求項に記載の装置。 Wherein each of the openings, the direction of the respective openings from its appearance is configured to be recognized, according to claim 7. 前記複数のブロックおよび前記複数の開口部は、前記それぞれのブロックが一方向においてのみ前記それぞれの開口部に挿入されることが可能であるように構成されている、請求項7または請求項8に記載の装置。 Wherein the plurality of blocks and the plurality of openings, each of said blocks is configured such that it can be inserted into the respective openings only in one direction, to claim 7 or claim 8 The device described. 前記複数のブロックのうちのそれぞれのブロックは、その外観から前記それぞれのブロックの方向性が認識されるように構成されている、請求項1〜のいずれか一項に記載の装置。 Wherein the plurality of each of the blocks of the blocks, the said direction of the respective blocks from the appearance is configured to be recognized, according to any one of claims 1-9. 前記複数のブロックは、少なくとも、「前に進む」、「後ろに進む」、「右に曲がる」、「左に曲がる」、「ループ」の5種類のブロックを含む、請求項1〜10のいずれか一項に記載の装置。   The plurality of blocks includes at least five types of blocks: “forward”, “forward”, “turn right”, “turn left”, and “loop”. A device according to claim 1. 移動可能なプログラミング学習用の装置を動作させる方法であって、前記装置は、
複数のブロックを装着することが可能なように構成されたブロック装着部と、制御部とを備え、
前記ブロック装着部は、逐次処理を定義するための第1のブロック装着部と、ループ処理を定義するための第2のブロック装着部とを含み、
前記第1のブロック装着部に装着されているブロックの種類および順序に応じて、前記逐次処理の種類および順序が定義され、
前記第2のブロック装着部に装着されているブロックの種類および順序に応じて、前記ループ処理が定義され、
前記方法は、
前記制御部が、前記ブロック装着部に装着されているブロックの種類および順序に応じて、前記装置の移動を制御することであって、前記制御することは、前記制御部が前記逐次処理または前記ループ処理に応じて前記装置の移動を制御することを含む、こと
を含む、方法。
A method for operating a device for mobile programming learning, the device comprising:
A block mounting unit configured to be able to mount a plurality of blocks, and a control unit;
The block mounting unit includes a first block mounting unit for defining sequential processing, and a second block mounting unit for defining loop processing,
In accordance with the type and order of the blocks mounted on the first block mounting unit, the type and order of the sequential processing are defined,
The loop processing is defined according to the type and order of the blocks mounted on the second block mounting portion,
The method
The control unit is to control the movement of the device according to the type and order of the blocks mounted on the block mounting unit, and the control unit is configured to control the sequential processing or the Controlling the movement of the device in response to a loop process.
移動可能なプログラミング学習用の装置を動作させるためのプログラムであって、
前記装置は、複数のブロックを装着することが可能なように構成されたブロック装着部と、制御部とを含み、
前記ブロック装着部は、逐次処理を定義するための第1のブロック装着部と、ループ処理を定義するための第2のブロック装着部とを含み、
前記第1のブロック装着部に装着されているブロックの種類および順序に応じて、前記逐次処理の種類および順序が定義され、
前記第2のブロック装着部に装着されているブロックの種類および順序に応じて、前記ループ処理が定義され、
前記プログラムは、前記制御部によって実行されると、
前記ブロック装着部に装着されているブロックの種類および順序に応じて、前記装置の移動を制御することであって、前記制御することは、前記逐次処理または前記ループ処理に応じて前記装置の移動を制御することを含む、こと
を前記制御部に行わせる、プログラム。
A program for operating a device for mobile programming learning,
The apparatus includes a block mounting unit configured to be able to mount a plurality of blocks, and a control unit,
The block mounting unit includes a first block mounting unit for defining sequential processing, and a second block mounting unit for defining loop processing,
In accordance with the type and order of the blocks mounted on the first block mounting unit, the type and order of the sequential processing are defined,
The loop processing is defined according to the type and order of the blocks mounted on the second block mounting portion,
When the program is executed by the control unit,
The movement of the device is controlled according to the type and order of the blocks mounted on the block mounting unit, and the control is performed by moving the device according to the sequential processing or the loop processing. A program for causing the control unit to perform the following.
JP2016047138A 2016-03-10 2016-03-10 Apparatus, method and program for programming learning Expired - Fee Related JP6321066B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016047138A JP6321066B2 (en) 2016-03-10 2016-03-10 Apparatus, method and program for programming learning

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016047138A JP6321066B2 (en) 2016-03-10 2016-03-10 Apparatus, method and program for programming learning

Publications (2)

Publication Number Publication Date
JP2017161770A JP2017161770A (en) 2017-09-14
JP6321066B2 true JP6321066B2 (en) 2018-05-09

Family

ID=59857034

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016047138A Expired - Fee Related JP6321066B2 (en) 2016-03-10 2016-03-10 Apparatus, method and program for programming learning

Country Status (1)

Country Link
JP (1) JP6321066B2 (en)

Families Citing this family (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6930337B2 (en) * 2017-09-27 2021-09-01 カシオ計算機株式会社 Electronics, travel route recording methods, and programs
JP7009705B2 (en) * 2017-10-12 2022-01-26 株式会社島津理化 Teaching materials for programming education
JP6651148B2 (en) * 2017-11-22 2020-02-19 合同会社オフィス・ゼロ Program creation support system and method, and program therefor
JP6793137B2 (en) * 2018-01-12 2020-12-02 株式会社エルイーテック A device that associates content with blocks
US11645944B2 (en) 2018-07-19 2023-05-09 Icon Corp. Learning toy, mobile body for learning toy, and panel for learning toy
CN109887383A (en) * 2019-04-18 2019-06-14 孔祥明 A kind of logical block, logic card, joint way programming in logic system and method
US11957989B2 (en) 2019-06-10 2024-04-16 Sony Interactive Entertainment Inc. Control system, control method, and program
JP7661886B2 (en) 2019-10-10 2025-04-15 ソニーグループ株式会社 Information processing device and information processing method
JP6815052B2 (en) * 2020-01-08 2021-01-20 合同会社オフィス・ゼロ Program creation support system and its method
CN112801250B (en) * 2020-06-12 2022-08-05 杭州优必学科技有限公司 Programming device and method for controlling by adopting radio frequency
CN112775977B (en) * 2020-06-12 2022-08-05 杭州优必学科技有限公司 Programming device and method for controlling based on resistance
CN112764733A (en) * 2020-06-12 2021-05-07 杭州优必学科技有限公司 Programming device and method for controlling by adopting electromagnetic induction
CN112785903B (en) * 2020-06-14 2022-10-25 杭州优必学科技有限公司 Programming device and method for controlling based on color recognition
JP7284516B2 (en) * 2020-12-14 2023-05-31 合同会社オフィス・ゼロ Program creation support system, its method, and its program
CN113160662B (en) * 2021-04-19 2022-10-25 杭州优必学科技有限公司 Capacitor-based programming building block control method and system
JP7711136B2 (en) * 2023-09-13 2025-07-22 株式会社ソニー・インタラクティブエンタテインメント Toy system, mobile object, card set, control method and program
JP7711137B2 (en) * 2023-09-13 2025-07-22 株式会社ソニー・インタラクティブエンタテインメント Toy system, mobile object, card set, control method and program
JP7711138B2 (en) * 2023-09-13 2025-07-22 株式会社ソニー・インタラクティブエンタテインメント Toy system, mobile object, card set, control method and program
JP7711139B2 (en) * 2023-09-25 2025-07-22 株式会社ソニー・インタラクティブエンタテインメント Card Sets and Toy Systems
JP7742871B2 (en) * 2023-10-19 2025-09-22 株式会社ソニー・インタラクティブエンタテインメント Toy Systems and Cards
JP7741140B2 (en) * 2023-07-20 2025-09-17 株式会社ソニー・インタラクティブエンタテインメント Toy system, mobile object, control method and program
WO2025018025A1 (en) * 2023-07-20 2025-01-23 株式会社ソニー・インタラクティブエンタテインメント Toy system, moving body, control method, and program

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6491169A (en) * 1987-10-02 1989-04-10 Mitsuhiko Yamada Learning apparatus for computer
JPH06236137A (en) * 1993-02-12 1994-08-23 Nec Corp Video game device for educating programing
JP3936624B2 (en) * 2002-05-24 2007-06-27 株式会社やのまん Insertable sound generation toy
US7316567B2 (en) * 2003-08-01 2008-01-08 Jennifer Chia-Jen Hsieh Physical programming toy
EP3142094A4 (en) * 2014-05-07 2017-04-26 Jin Wook Kim Algorithm teaching apparatus using blocks

Also Published As

Publication number Publication date
JP2017161770A (en) 2017-09-14

Similar Documents

Publication Publication Date Title
JP6321066B2 (en) Apparatus, method and program for programming learning
CN110622231B (en) Programming device, recording medium, and programming method
Sapounidis et al. Educational robots driven by tangible programming languages: A review on the field
Cicolani et al. Beginning Robotics with Raspberry Pi and Arduino
EP3126100B1 (en) Color- or grayscale-sensing, magnetic, mobile, marking robot
PL194628B1 (en) A remote controlled toy
JP6877689B2 (en) Programming device and its control program, programming method
KR200467213Y1 (en) Educational Robot with Robot Model Kit
KR101505853B1 (en) Learing Kit for Programming Motion Pattern of Moving Object
KR200480780Y1 (en) A sensor robot for student
Kazemitabaar et al. MakerShoe: towards a wearable e-textile construction kit to support creativity, playful making, and self-expression
KR20200086834A (en) A Programable Module Assembly And Executable Code Producing System Therefore
KR101292318B1 (en) Educational robot system and robot controller therefor
KR101113273B1 (en) Multi-sensor based educational mobile robot
KR102083091B1 (en) Device for software coding training
US7476140B1 (en) Device using removable templates to provide adjustable interactive output
CN209879840U (en) Systems and Kits for Teaching Programming Skills
KR20150107126A (en) Learing Kit for Programming Motion Pattern of Toy
CN211454955U (en) Programming control intelligent vehicle
KR101404294B1 (en) Assembling model combined with electronic circuit
Riedo Thymio: a holistic approach to designing accessible educational robots
Root et al. Grasping algorithms: exploring toys that teach computational thinking
JP2019097917A (en) Information holding medium and information processing system
KR101937246B1 (en) Puzzle toy and smart toy using the same
CN110812831A (en) Puzzle toy

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170621

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20171117

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20171127

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20180403

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180404

R150 Certificate of patent or registration of utility model

Ref document number: 6321066

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees