CN106097848B - A kind of entity programming car and programming method - Google Patents
A kind of entity programming car and programming method Download PDFInfo
- Publication number
- CN106097848B CN106097848B CN201610599327.4A CN201610599327A CN106097848B CN 106097848 B CN106097848 B CN 106097848B CN 201610599327 A CN201610599327 A CN 201610599327A CN 106097848 B CN106097848 B CN 106097848B
- Authority
- CN
- China
- Prior art keywords
- trolley
- module
- function
- execution
- console
- 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
Links
Classifications
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09B—EDUCATIONAL OR DEMONSTRATION APPLIANCES; APPLIANCES FOR TEACHING, OR COMMUNICATING WITH, THE BLIND, DEAF OR MUTE; MODELS; PLANETARIA; GLOBES; MAPS; DIAGRAMS
- G09B23/00—Models for scientific, medical, or mathematical purposes, e.g. full-sized devices for demonstration purposes
- G09B23/06—Models for scientific, medical, or mathematical purposes, e.g. full-sized devices for demonstration purposes for physics
- G09B23/18—Models for scientific, medical, or mathematical purposes, e.g. full-sized devices for demonstration purposes for physics for electricity or magnetism
- G09B23/183—Models for scientific, medical, or mathematical purposes, e.g. full-sized devices for demonstration purposes for physics for electricity or magnetism for circuits
- G09B23/185—Models for scientific, medical, or mathematical purposes, e.g. full-sized devices for demonstration purposes for physics for electricity or magnetism for circuits for building block systems
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09B—EDUCATIONAL OR DEMONSTRATION APPLIANCES; APPLIANCES FOR TEACHING, OR COMMUNICATING WITH, THE BLIND, DEAF OR MUTE; MODELS; PLANETARIA; GLOBES; MAPS; DIAGRAMS
- G09B23/00—Models for scientific, medical, or mathematical purposes, e.g. full-sized devices for demonstration purposes
- G09B23/06—Models for scientific, medical, or mathematical purposes, e.g. full-sized devices for demonstration purposes for physics
- G09B23/18—Models for scientific, medical, or mathematical purposes, e.g. full-sized devices for demonstration purposes for physics for electricity or magnetism
- G09B23/183—Models for scientific, medical, or mathematical purposes, e.g. full-sized devices for demonstration purposes for physics for electricity or magnetism for circuits
- G09B23/186—Models for scientific, medical, or mathematical purposes, e.g. full-sized devices for demonstration purposes for physics for electricity or magnetism for circuits for digital electronics; for computers, e.g. microprocessors
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Mathematical Optimization (AREA)
- Algebra (AREA)
- Computational Mathematics (AREA)
- Mathematical Analysis (AREA)
- Mathematical Physics (AREA)
- Pure & Applied Mathematics (AREA)
- Business, Economics & Management (AREA)
- Educational Administration (AREA)
- Educational Technology (AREA)
- Theoretical Computer Science (AREA)
- Microelectronics & Electronic Packaging (AREA)
- Computer Hardware Design (AREA)
- Toys (AREA)
Abstract
Description
技术领域technical field
本发明涉及智能教育设备技术领域,具体涉及一种实体编程小车及编程方法。The invention relates to the technical field of intelligent educational equipment, in particular to an entity programming car and a programming method.
背景技术Background technique
智能设备是近几年热议的话题,很多人都把智能设备定义在智能家居,智能穿戴式应用上。对于教育设施,针对目前国内教育形式,其大部分是基于纸质笔试应试教育,这在一定程度上会限制孩子的想象力和创造力,而对于电脑和平板等电子设备的教育,又会在一定程度上限制孩子们的空间想象能力。Smart devices are a hot topic in recent years. Many people define smart devices in smart homes and smart wearable applications. For educational facilities, most of the current domestic education forms are based on paper-based written exam-oriented education, which will limit children's imagination and creativity to a certain extent, and the education of electronic devices such as computers and tablets will be in To a certain extent, it limits the spatial imagination ability of children.
基于上述,基于红外技术的遥控小车应运而生,其是一种对孩子进行初步教育的娱乐启蒙。但现有的遥控小车仅仅只是针对娱乐而已,由于其采用红外技术,集全部功能于方向盘上,并且通过红外技术对遥控小车进行控制的方法较为单一,在一定程度上对孩子的空间思维教育以及逻辑思维教育起不到很大的作用,因此,现有的基于红外技术的遥控小车在一定程度上偏于娱乐,对于教育起不到重要作用。Based on the above, the remote control car based on infrared technology came into being, which is a kind of entertainment enlightenment for children to carry out preliminary education. However, the existing remote control car is only for entertainment. Because it adopts infrared technology, it integrates all functions on the steering wheel, and the method of controlling the remote control car through infrared technology is relatively simple. The education of logical thinking does not play a big role. Therefore, the existing remote control car based on infrared technology is biased towards entertainment to a certain extent, and does not play an important role in education.
发明内容SUMMARY OF THE INVENTION
针对上述现有技术中的不足之处,本发明提供了一种实体编程小车,包括:智能小车和小车控制系统;Aiming at the deficiencies in the above-mentioned prior art, the present invention provides a physical programming car, including: an intelligent car and a car control system;
其中,所述智能小车包括设置在车体内部的小车主控模块,以及分别与所述小车主控模块相连的步进电机和小车zigbee模块;Wherein, the intelligent car includes a car main control module arranged inside the car body, and a stepping motor and a car zigbee module respectively connected with the car main control module;
其中,通过所述小车主控模块驱动所述步进电机工作;Wherein, the stepper motor is driven to work by the main control module of the trolley;
所述小车控制系统包括控制台主控模块,以及分别与所述控制台主控模块相连的执行模块和控制台zigbee模块;The trolley control system includes a console main control module, and an executive module and a console zigbee module respectively connected with the console main control module;
其中,在所述执行模块用于获取执行功能,并传递给所述控制台主控模块;;Wherein, the execution module is used to obtain the execution function and pass it to the console main control module;
所述智能小车与所述小车控制系统通过所述小车zigbee模块和所述控制台zigbee模块无线连接,所述控制台主控模块将所述执行模块所获取的执行功能以zigbee无线传送方式传送给所述智能小车的小车主控模块,以控制所述智能小车执行与所述执行功能相对应的动作。The intelligent car and the car control system are wirelessly connected through the car zigbee module and the console zigbee module, and the console main control module transmits the execution function acquired by the execution module to the zigbee wireless transmission mode. The car main control module of the smart car is used to control the smart car to perform actions corresponding to the execution functions.
本发明的实体编程小车能够将教育与娱乐相结合,其选取了现有的单独纸质笔试教育和单独娱乐游戏各自所具有的优势,并结合两者的优势将学习与娱乐发挥到最佳。The entity programming car of the present invention can combine education and entertainment. It selects the advantages of existing independent paper-based written examination education and independent entertainment games, and combines the advantages of both to maximize learning and entertainment.
进一步地,所述小车控制系统还包括小车控制台和执行按键;所述执行模块设置在所述小车控制台上,在所述执行模块上设置有螺丝,所述执行模块通过所述螺丝与功能积木的接触获取与所述功能积木相对应的执行功能,并传送给所述控制台主控模块;所述执行按键设置在所述小车控制台上,通过所述执行按键启动所述控制台主控模块。。Further, the trolley control system also includes a trolley console and an execution button; the execution module is arranged on the trolley console, and a screw is provided on the execution module, and the execution module is connected to the function through the screw. The contact of the building block acquires the execution function corresponding to the function building block, and transmits it to the console main control module; the execution button is set on the car console, and the console main control is activated through the execution button. control module. .
进一步地,所述的实体编程小车,所述功能积木包括:前进功能、左转功能、右转功能、函数循环功能和布朗运动功能;所述执行模块包括基础执行模块和特殊执行模块;其中,在所述基础执行模块上放置的功能积木包括前进功能、左转功能、右转功能、函数循环功能和布朗运动功能的功能积木;在所述特殊执行模块上放置的功能积木包括前进功能、左转功能、右转功能和布朗运动功能的功能积木。Further, in the entity programming car, the functional building blocks include: forward function, left turn function, right turn function, function loop function and Brownian motion function; the execution module includes a basic execution module and a special execution module; wherein, The functional blocks placed on the basic execution module include function blocks of forward function, left turn function, right turn function, function cycle function and Brownian motion function; the function blocks placed on the special execution module include forward function, left Functional building blocks for turn function, right turn function and Brownian motion function.
进一步地,所述的实体编程小车,当所述基础执行模块上放置的功能积木为函数循环功能的功能积木时,所述特殊执行模块根据放置在其上的功能积木,获取与所述功能积木相对应的执行功能,所述智能小车根据所述特殊功能模块所获取的执行功能依次执行相对应的动作。Further, in the described entity programming trolley, when the function building blocks placed on the basic execution module are function building blocks with a function loop function, the special execution module obtains the same function building blocks according to the function building blocks placed on it. Corresponding execution functions, the smart car sequentially executes corresponding actions according to the execution functions obtained by the special function module.
进一步地,所述的实体编程小车还包括:设置在车体前方且位于车体两侧的车轮、设置在车体后方的万向轮、设置在车体内部控制所述车体转向的舵机、设置在车轮之间的笔架托盘,以及设置在车体内的无源蜂鸣器、小车电源、控制所述小车电源导通或者断开的小车电源开关和与所述小车电源开关相连的小车电源指示灯;其中,在所述笔架托盘中设置有放置白板笔的通孔。Further, the entity programming car also includes: wheels arranged in front of the vehicle body and on both sides of the vehicle body, universal wheels arranged at the rear of the vehicle body, and steering gears arranged inside the vehicle body to control the steering of the vehicle body , a pen holder tray arranged between the wheels, a passive buzzer, a trolley power supply, a trolley power switch that controls the on or off of the trolley power supply, and a trolley power supply connected to the trolley power switch an indicator light; wherein, a through hole for placing a whiteboard pen is provided in the pen holder tray.
进一步地,所述的实体编程小车,所述小车电源开关、所述无源蜂鸣器均与所述小车主控模块相连,通过所述小车电源开关的导通为所述小车主控模块供电,所述小车主控模块控制所述无源蜂鸣器工作。Further, in the physical programming car, the car power switch and the passive buzzer are all connected to the car main control module, and the car main control module is powered by the conduction of the car power switch. , the car main control module controls the passive buzzer to work.
进一步地,所述的实体编程小车,在所述小车控制台上设置有控制台电源,以及与所述控制台电源相连的控制台开关,通过所述控制台开关的接通与断开控制所述小车控制台启动或关闭;Further, the described entity programming trolley is provided with a console power supply on the console of the trolley, and a console switch connected with the console power supply, through which the console switch is turned on and off to control the system. The trolley console is activated or deactivated;
在所述执行模块上设置有指示灯,当设置在所述执行模块上的螺丝与所述功能积木相接触时,所述指示灯被点亮。An indicator light is provided on the execution module, and the indicator light is lit when the screw provided on the execution module is in contact with the functional building block.
进一步地,所述的实体编程小车,所述小车控制系统包括小车控制台和执行按键;其中,所述执行模块设置在所述小车控制台上,在所述执行模块中设置有用于读取设置在功能积木中的RFID标签的读取模块,所述执行模块通过所述读取模块获取执行功能,并传送给所述控制台主控模块;所述执行按键设置在所述小车控制台上,通过所述执行按键启动所述控制台主控模块,以将所述执行模块所获取的执行功能传送给所述智能小车的小车主控模块。Further, in the physical programming trolley, the trolley control system includes a trolley console and an execution button; wherein, the execution module is provided on the trolley console, and the execution module is provided with a device for reading settings The reading module of the RFID tag in the function building block, the execution module obtains the execution function through the reading module, and transmits it to the console main control module; the execution button is set on the car console, The console main control module is activated through the execution button, so as to transmit the execution function acquired by the execution module to the car main control module of the smart car.
进一步地,所述的实体编程小车还包括分别与所述小车主控模块相连的蓝牙模块和RFID模块;其中,Further, the physical programming car further includes a Bluetooth module and an RFID module respectively connected with the car main control module; wherein,
所述蓝牙模块用于与移动终端的APP进行交互;The bluetooth module is used to interact with the APP of the mobile terminal;
所述RFID模块用于与预先设置在地图格子中的RFID标签进行通信,获取所述RFID标签的内容,所述智能小车根据所获取的RFID标签的内容执行与所述RFID标签的内容相对应的功能。The RFID module is used to communicate with the RFID tag preset in the map grid to obtain the content of the RFID tag, and the smart car executes the corresponding RFID tag content according to the acquired RFID tag content. Function.
本发明还提供一种利用上述实体编程小车进行编程的方法,包括:The present invention also provides a method for programming using the above-mentioned entity programming trolley, comprising:
在所述小车控制台的执行模块上放置功能积木;placing functional building blocks on the execution module of the trolley console;
所述执行模块获取与所述功能积木相对应的执行功能;The execution module obtains the execution function corresponding to the function building block;
所述控制台主控模块将所述执行模块所获取的执行功能通过zigbee无线传送方式传送给所述智能小车;The console main control module transmits the execution function acquired by the execution module to the smart car through zigbee wireless transmission;
所述智能小车的小车主控模块接收所述执行功能,并驱动所述步进电机工作,以执行与所述执行功能相对应的动作。The car main control module of the smart car receives the execution function, and drives the stepper motor to work, so as to execute the action corresponding to the execution function.
采用上述技术方案,包括以下有益技术效果:Adopting the above technical scheme, including the following beneficial technical effects:
1)能够训练孩子的逻辑思维和空间思维;1) Can train children's logical thinking and spatial thinking;
2)通过Zigbee无线通信方式和16个AD模块对小车进行控制,同时RFID对于走寻的地图起到时刻读取标签的作用,在一定程度上增加孩子对关键细节的思考;2) The car is controlled by Zigbee wireless communication method and 16 AD modules, and RFID plays the role of reading tags at all times for the walking map, which increases children's thinking on key details to a certain extent;
3)通过蓝牙无线通信方式与APP交互,将实际与模拟共同体验,从而达到教育与娱乐相结合的目的。3) Interact with the APP through Bluetooth wireless communication, and experience the reality and simulation together, so as to achieve the purpose of combining education and entertainment.
附图说明Description of drawings
图1示例性地示出了本发明的智能小车的结构示意图;Fig. 1 exemplarily shows a schematic diagram of the structure of the smart car of the present invention;
图2示例性地示出了本发明的小车主控模块的逻辑结构框图;Fig. 2 exemplarily shows the logical structure block diagram of the car main control module of the present invention;
图3示例性地示出了本发明的小车控制系统的结构示意图;FIG. 3 exemplarily shows a schematic structural diagram of the trolley control system of the present invention;
图4示例性地示出了本发明的控制台主控模块的逻辑结构框图。FIG. 4 exemplarily shows a logical structure block diagram of the console main control module of the present invention.
图1至图4中所示的附图标记如下:1、车体;2、车轮;3、小车控制系统;4、笔架托盘;5、白板笔;6、通孔;21、小车主控模块;22、步进电机;23、小车zigbee模块;24、蓝牙模块;25、RFID模块;26、小车电源;27、小车电源开关;28、无源蜂鸣器;31、小车控制台;32、执行按键;41、控制台主控模块;42、执行模块;43、控制台zigbee模块;44、控制台电源;45、控制台开关。The reference numerals shown in Figures 1 to 4 are as follows: 1. Car body; 2. Wheels; 3. Car control system; 4. Pen holder tray; 5. Whiteboard pen; ;22, stepper motor; 23, car zigbee module; 24, bluetooth module; 25, RFID module; 26, car power supply; 27, car power switch; 28, passive buzzer; 31, car console; 32, Execution button; 41, console main control module; 42, executive module; 43, console zigbee module; 44, console power supply; 45, console switch.
具体实施方式Detailed ways
下面通过具体的实施例并结合附图对本发明做进一步的详细描述。The present invention will be further described in detail below through specific embodiments and in conjunction with the accompanying drawings.
为了说明本发明提供的实体编程小车,图1示出了根据本发明一种实施例的实体编程小车的智能小车的结构;图2示出了根据本发明一种实施例的实体编程小车的小车主控模块的逻辑结构;图3示出了根据本发明一种实施例的实体编程小车的小车控制系统的结构;图4示出了根据本发明一种实施例的控制台主控模块的逻辑结构。In order to illustrate the entity programming car provided by the present invention, FIG. 1 shows the structure of the smart car of the entity programming car according to an embodiment of the present invention; FIG. 2 shows the car of the entity programming car according to an embodiment of the present invention. Logic structure of the main control module; Fig. 3 shows the structure of the trolley control system of the entity programming trolley according to an embodiment of the present invention; Fig. 4 shows the logic of the console main control module according to an embodiment of the present invention structure.
如图1至图4所示,本发明提供了一种实体编程小车,包括智能小车和小车控制系统3。其中,智能小车包括设置在车体1内部的小车主控模块21、分别与小车主控模块21相连的步进电机22和小车zigbee模块23。其中,通过小车主控模块驱动步进电机22工作。As shown in FIG. 1 to FIG. 4 , the present invention provides a physical programming car, including an intelligent car and a car control system 3 . The smart car includes a car main control module 21 disposed inside the car body 1 , a stepping motor 22 and a car zigbee module 23 respectively connected to the car main control module 21 . Among them, the stepper motor 22 is driven to work by the main control module of the car.
进一步地,上述智能小车还包括分别与小车主控模块21相连的蓝牙模块24和RFID模块25。其中,蓝牙模块24用于与移动终端的APP进行交互;RFID模块25用于与预先设置在地图格子中的RFID标签进行通信,获取地图格子中的RFID标签的内容,智能小车根据所获取的地图格子中的RFID标签的内容执行与RFID标签的内容相对应的功能。需要说明的是,上述移动终端包括手机、平板等能够与用户进行交互的移动设备。Further, the above-mentioned smart car further includes a Bluetooth module 24 and an RFID module 25 which are respectively connected with the car main control module 21 . Among them, the Bluetooth module 24 is used to interact with the APP of the mobile terminal; the RFID module 25 is used to communicate with the RFID tags preset in the map grid, and obtain the content of the RFID tags in the map grid. The contents of the RFID tags in the grid perform functions corresponding to the contents of the RFID tags. It should be noted that the above-mentioned mobile terminals include mobile devices such as mobile phones and tablets that can interact with users.
此外,智能小车还包括设置在车体1前方且位于车体1两侧的车轮2、设置在车体1后方的万向轮、设置在车体1内控制车体转向的舵机、设置在车轮2之间的笔架托盘4,以及设置在车体内的无源蜂鸣器、小车电源26、控制小车电源导通或者断开的小车电源开关和与小车电源开关相连的小车电源指示灯;其中,在笔架托盘4中设置有放置白板笔5的通孔6,通过通孔6将白板笔固定在笔架托盘内,以便于通过白板笔5标示出智能小车的运动轨迹。其中,小车电源开关27、无源蜂鸣器28均与小车主控模块21相连,通过小车电源开关27的导通为小车主控模块供电,从而使得小车主控模块能够控制无源蜂鸣器工作。需要说明的是,由于舵机、无源蜂鸣器、电源和电源指示灯均设置在车体内部,所以图中并未标示出。另外,由于智能小车的车轮、万向轮和舵机的连接为本领域人员熟知的连接方式,在此不再作过多的赘述。In addition, the smart car also includes wheels 2 arranged in front of the vehicle body 1 and located on both sides of the vehicle body 1, a universal wheel arranged at the rear of the vehicle body 1, a steering gear arranged in the vehicle body 1 to control the steering of the vehicle body, and a steering gear arranged in the vehicle body 1. The pen holder tray 4 between the wheels 2, and the passive buzzer, the trolley power supply 26, the trolley power switch that controls the trolley power supply to be turned on or off, and the trolley power supply indicator light connected to the trolley power switch; , the pen holder tray 4 is provided with a through hole 6 for placing the whiteboard pen 5, and the whiteboard pen is fixed in the pen holder tray through the through hole 6, so that the movement track of the smart car can be marked by the whiteboard pen 5. The trolley power switch 27 and the passive buzzer 28 are both connected to the trolley main control module 21, and the trolley power switch 27 is turned on to supply power to the trolley main control module, so that the trolley main control module can control the passive buzzer Work. It should be noted that since the steering gear, passive buzzer, power supply and power indicator lights are all set inside the vehicle body, they are not shown in the figure. In addition, since the connection of the wheel, the universal wheel and the steering gear of the smart car is a connection method well known to those skilled in the art, it will not be repeated here.
另外,小车控制系统3包括小车控制台31和执行按键32;在小车控制台31上设置有控制台主控模块41,以及分别与控制台主控模块41相连的执行模块42和控制台zigbee模块43。其中,在执行模块42上设置有螺丝,执行模块42通过螺丝与功能积木的接触获取与功能积木相对应的执行功能。In addition, the trolley control system 3 includes a trolley console 31 and an execution button 32; the trolley console 31 is provided with a console main control module 41, and an execution module 42 and a console zigbee module respectively connected to the console main control module 41 43. The execution module 42 is provided with a screw, and the execution module 42 obtains the execution function corresponding to the function building block through the contact between the screw and the function building block.
智能小车与小车控制台31通过小车zigbee模块23和控制台zigbee模块43无线连接,执行模块42将所获取的执行功能以zigbee无线传送方式传送给智能小车的小车主控模块21,以控制智能小车执行与执行功能相对应的动作。The smart car and the car console 31 are wirelessly connected through the car zigbee module 23 and the console zigbee module 43, and the execution module 42 transmits the acquired execution functions to the car main control module 21 of the smart car in a zigbee wireless transmission mode to control the smart car. Execute the action corresponding to the execute function.
其中,在小车控制台31上设置有与控制台主控模块41相连的执行按键32,通过执行按键32启动控制台主控模块41。功能积木包括前进功能、左转功能、右转功能、函数循环功能和布朗运动功能。执行模块42包括基础执行模块和特殊执行模块;其中,在基础执行模块上放置的功能积木包括前进功能、左转功能、右转功能、函数循环功能和布朗运动功能的功能积木;在特殊执行模块上放置的功能积木包括前进功能、左转功能、右转功能和布朗运动功能的功能积木。当基础执行模块上放置的功能积木为函数循环功能的功能积木时,特殊执行模块根据放置在其上的功能积木,获取与功能积木相对应的执行功能,智能小车根据特殊功能模块所获取的执行功能依次执行相对应的动作。Wherein, the trolley console 31 is provided with an execution button 32 connected to the console main control module 41 , and the console main control module 41 is activated through the execution button 32 . Function blocks include forward function, left turn function, right turn function, function loop function and Brownian motion function. The execution module 42 includes a basic execution module and a special execution module; wherein, the functional building blocks placed on the basic execution module include functional building blocks for forward function, left turn function, right turn function, function loop function and Brownian motion function; in the special execution module The functional blocks placed above include functional blocks of forward function, left turn function, right turn function and Brownian motion function. When the function building block placed on the basic execution module is the function building block of the function loop function, the special execution module obtains the execution function corresponding to the function building block according to the function building block placed on it, and the smart car executes the execution function obtained by the special function module. The functions perform the corresponding actions in turn.
此外,在小车控制台31上设置有控制台电源44,以及与控制台电源44相连的控制台开关45,通过控制台开关45的接通与断开控制小车控制台31启动或关闭;在执行模块42上设置有指示灯,当设置在执行模块42上的螺丝与功能积木相接触时,指示灯被点亮。In addition, a console power supply 44 and a console switch 45 connected to the console power supply 44 are provided on the trolley console 31, and the trolley console 31 is controlled to be turned on or off by turning on and off the console switch 45; The module 42 is provided with an indicator light. When the screw provided on the execution module 42 is in contact with the functional building block, the indicator light is lit.
作为本发明的另一种示例,本发明提供的实体编程小车包括智能小车和小车控制系统。其中,智能小车如上述图1和图2所述的智能小车,小车控制系统包括控制台主控模块、分别与控制台主控模块相连的执行模块和控制台zigbee模块、小车控制台和执行按键。As another example of the present invention, the physically programmed car provided by the present invention includes an intelligent car and a car control system. Among them, the smart car is like the smart car described in the above Figures 1 and 2, and the car control system includes a console main control module, an executive module and a console zigbee module respectively connected to the console main control module, a car console and an executive button. .
其中,执行模块设置在小车控制台上,在执行模块中设置有读取模块,该读取模块用于读取设置在功能积木中的RFID标签的读取模块,执行模块通过该读取模块获取执行功能,并传送给控制台主控模块;执行按键设置在小车控制台上,通过执行按键启动控制台主控模块,以将执行模块所获取的执行功能传送给智能小车的小车主控模块。其中,执行模块所获取的执行功能包括但不限于前进功能、左转功能、右转功能、函数循环功能、布朗运动功能、控制第三方设备的辅助执行功能等。也就是说,执行模块获取执行功能的方式可以是上述的通过功能积木与设置在执行模块上的螺丝的接触获取执行功能,也可以是通过读取设置在功能积木中的RFID标签获取执行功能。同样的,执行模块通过读取设置在功能积木中的RFID标签所获取执行功能可以是前述的前进功能、左转功能、右转功能、函数循环功能、布朗运动功能等,也可以是其他的一些控制第三方设备的辅助执行功能。其中,执行模块所获取的前进功能、左转功能、右转功能、函数循环功能、布朗运动功能在上述已经作了详细的介绍,在此不再赘述。下述将着重对控制第三方设备的辅助执行功能进行说明。Wherein, the execution module is set on the car console, and a reading module is set in the execution module. The reading module is used to read the reading module of the RFID tag set in the function building block, and the execution module obtains the reading module through the reading module. The execution function is transmitted to the console main control module; the execution button is set on the car console, and the console main control module is activated through the execution button to transmit the execution function obtained by the execution module to the car main control module of the smart car. The execution functions acquired by the execution module include but are not limited to forward function, left turn function, right turn function, function loop function, Brownian motion function, auxiliary execution function for controlling third-party equipment, and the like. That is to say, the execution module may acquire the execution function by contacting the above-mentioned function building block with the screw provided on the execution module, or by reading the RFID tag provided in the function building block to obtain the execution function. Similarly, the execution function obtained by the execution module by reading the RFID tag set in the function building block may be the aforementioned forward function, left turn function, right turn function, function loop function, Brownian motion function, etc., and may also be some other functions. Control assistive executive functions for third-party devices. The forward function, left turn function, right turn function, function loop function, and Brownian motion function acquired by the execution module have been described in detail above, and will not be repeated here. The following will focus on the auxiliary executive functions that control third-party devices.
进一步地,为了给用户提供更好的沉浸式体验,本发明的小车控制系统,除了上述的主控模块以外,还包括一些第三方的zigbee互联输出/输入设备、其它跟主控模块分离的设备、类似VR辅助设备等。上述智能小车、小车控制系统可与上述的第三方设备配合使用,以达到更好的用户体验。例如,执行模块通过读取RFID标签所获取的执行功能是挥动加速度仪功能,那么智能小车在行进过程中,如果遇到怪物,控制台主控模块会根据执行模块所获取的挥动加速度仪功能来控制加速度仪工作,加速度仪在执行完挥动功能后,会通过自己的zigbee模块将挥动的次数、强度等数据传送给控制台主控模块,以便于控制台主控模块根据这些数据控制智能小车改变运行状态。另一方面,本发明还提供一种利用上述实体编程小车进行编程的方法,该方法具体包括以下步骤:Further, in order to provide users with a better immersive experience, the car control system of the present invention, in addition to the above-mentioned main control module, also includes some third-party zigbee interconnected output/input devices, and other devices separated from the main control module. , similar to VR auxiliary equipment, etc. The above-mentioned smart car and car control system can be used in conjunction with the above-mentioned third-party equipment to achieve a better user experience. For example, the execution function obtained by the execution module by reading the RFID tag is the function of swiping the accelerometer. If the smart car encounters a monster during the traveling process, the main control module of the console will use the swiping accelerometer function obtained by the execution module. Control the accelerometer to work. After the accelerometer performs the swipe function, it will transmit data such as the number of times and the intensity of the swipe to the console main control module through its own zigbee module, so that the console main control module can control the smart car to change according to these data. Operating status. On the other hand, the present invention also provides a method for programming by using the above-mentioned entity programming trolley, and the method specifically includes the following steps:
1、执行模块获取执行功能,并传送给控制台主控模块;1. The execution module obtains the execution function and transmits it to the console main control module;
2、控制台主控模块将执行模块所获取的执行功能通过zigbee无线传送方式传送给述智能小车;2. The console main control module transmits the execution function acquired by the execution module to the smart car through zigbee wireless transmission;
3、智能小车的小车主控模块接收执行功能,并驱动步进电机工作,以执行与执行功能相对应的动作。3. The car main control module of the smart car receives the execution function and drives the stepping motor to work to execute the action corresponding to the execution function.
为了进一步说明本发明的实体编程小车及编程方法,下述将以示例的方式对本发明提供的实体编程小车及编程方法作更为详细的说明。In order to further illustrate the entity programming trolley and the programming method of the present invention, the following will describe the entity programming trolley and the programming method provided by the present invention in more detail by way of example.
具体地,本发明提供的实体编程小车由两个设备组成,一个是智能小车、另一个是与智能小车通过zigbee无线传送方式无线连接的小车控制台。Specifically, the physical programming car provided by the present invention consists of two devices, one is a smart car, and the other is a car console that is wirelessly connected to the smart car through zigbee wireless transmission.
其中,智能小车的设备配件部分包括1个小车主控模块(该模块由1个主控芯片STM32F103X构成)、2个42步进电机(由2个A4988芯片构成驱动电路驱动2个42步进电机工作)、zigbee模块(该模块由1个CC2531芯片构成)、蓝牙模块(该模块由1个CC2540芯片构成)、RFID模块(该模块由MSP430F23X芯片和芯片TRF7961进行设计,并搭载1个高频板载天线组成)、2个配套车轮、1个舵机、1根白板笔、1个万向轮、1个12V锂电池、1个固定白板笔的笔架托盘、1个无源蜂鸣器、1个电源开关和1个电源指示灯。Among them, the equipment accessories part of the smart car includes a car main control module (this module is composed of a main control chip STM32F103X), two 42 stepper motors (a drive circuit composed of two A4988 chips drives two 42 stepper motors working), zigbee module (this module is composed of 1 CC2531 chip), Bluetooth module (this module is composed of 1 CC2540 chip), RFID module (this module is designed by MSP430F23X chip and chip TRF7961, and equipped with 1 high frequency board antenna), 2 supporting wheels, 1 steering gear, 1 whiteboard pen, 1 universal wheel, 1 12V lithium battery, 1 pen holder tray for fixing the whiteboard pen, 1 passive buzzer, 1 1 power switch and 1 power indicator.
小车控制台由1个Mega2560主控芯片构成控制台主控模块、1个CC2531芯片构成控制台zigbee模块、16个执行模块(通过检测电阻值获取相应的执行功能)、16个指示灯、1个执行按键、1个7.4V锂电池作为控制台电源、1根2G天线。The car console consists of a Mega2560 main control chip to form the console main control module, a CC2531 chip to form the console zigbee module, 16 execution modules (by detecting the resistance value to obtain the corresponding executive function), 16 indicator lights, 1 Executive buttons, 1 7.4V lithium battery as console power supply, 1 2G antenna.
实体编程小车的运行过程如下:The operation process of the entity programming car is as follows:
1、开启小车控制台的电源开关,当小车控制台指示灯亮时,表示小车控制台开启成功;1. Turn on the power switch of the trolley console. When the indicator light of the trolley console is on, it means that the trolley console is turned on successfully;
2、开启智能小车的小车电源开关,当听到无源蜂鸣器响起一声时,表示智能小车开启成功;2. Turn on the car power switch of the smart car, when the passive buzzer is heard, it means that the smart car is successfully turned on;
3、在小车控制台上设置有16个执行模块(每排有4个执行模块,一共4排,前面3排是基础执行模块,后面一排是特殊执行功能),与执行模块配套的功能积木有13种,分别是前进一格、前进两格、前进三格、左转90度、左转60度、左转30度、右转90度、右转60度、右转30度、函数循环1次、函数循环2次、函数循环3次、布朗运动10次;功能积木与执行模块通过螺丝进行接触,执行模块通过采集不同的电阻值获取相应的执行功能;3. There are 16 execution modules on the trolley console (4 execution modules in each row, a total of 4 rows, the first 3 rows are the basic execution modules, and the latter row is the special execution function), and the function building blocks matching the execution modules There are 13 types, namely forward one grid, forward two grids, forward three grids, turn left 90 degrees, turn left 60 degrees, turn left 30 degrees, turn right 90 degrees, turn right 60 degrees, turn right 30 degrees, function loop 1 time, function cycle 2 times, function cycle 3 times, Brownian motion 10 times; the function building block and the execution module are in contact through screws, and the execution module obtains the corresponding execution function by collecting different resistance values;
4、在小车控制台的左上角的第一个执行模块为实体编程小车顺序执行的第一个基础执行模块,然后实体编程小车会依次顺序执行剩下的11个基础执行模块(只要12个基础执行模块上放置有功能积木,实体编程小车便会依次执行);4. The first execution module in the upper left corner of the trolley console is the first basic execution module executed by the entity programming trolley in sequence, and then the entity programming trolley will execute the remaining 11 basic execution modules in sequence (only 12 basic execution modules are required). Function blocks are placed on the execution module, and the physical programming trolley will be executed in sequence);
5、最后一排的4个特殊执行模块表示的是:只要在基础执行模块上放置有函数循环功能的功能积木(包括函数循环1次、函数循环2次和函数循环3次),程序即会跳转到特殊执行模块上,以执行放置在特殊执行模块上的功能积木相对应的功能(特殊执行模块上不能放置具有函数循环功能的功能积木,因为程序也不会执行),特殊执行模块放置几个功能积木,程序就会依次执行与几个功能积木相对应的执行功能,等特殊执行模块的功能执行完毕后才会跳转回基础执行模块的下一个功能积木;5. The 4 special execution modules in the last row indicate that as long as the function building blocks with function loop function are placed on the basic execution module (including 1 function loop, 2 function loops and 3 function loops), the program will Jump to the special execution module to execute the function corresponding to the function building block placed on the special execution module (the function building block with function loop function cannot be placed on the special execution module, because the program will not be executed), the special execution module is placed Several functional blocks, the program will execute the execution functions corresponding to several functional blocks in turn, and will jump back to the next functional block of the basic execution module after the functions of the special execution module are executed;
6、在每一个执行模块放置功能积木时,该执行模块的指示灯均会被点亮,以表示执行模块已经获取到相应的执行功能。6. When a functional block is placed in each execution module, the indicator light of the execution module will be lit to indicate that the execution module has acquired the corresponding execution function.
在小车控制台和智能小车全部开启之后,在小车控制台的执行模块放置完功能积木后,按下小车控制台的执行按键,小车控制台通过无线zigbee无线通过方式与智能小车进行通信,同时智能小车及会及时通过蓝牙模块与移动终端的APP进行反馈。当智能小车运行结束时,无源蜂鸣器会响起一声,以表示执行已经执行完毕。After the trolley console and the smart trolley are all turned on, after placing the functional blocks in the execution module of the trolley console, press the execution button of the trolley console, the trolley console communicates with the smart trolley through wireless zigbee, and the smart trolley The car will give feedback in time through the Bluetooth module and the APP of the mobile terminal. When the operation of the smart car ends, the passive buzzer will sound once to indicate that the execution has been completed.
作为本发明的另一个示例,当要通过小车控制台控制智能小车画出正方形的时候,有以下两种方式:As another example of the present invention, when you want to control the smart car to draw a square through the car console, there are the following two ways:
算法一:在基础执行模块依次放置以下功能积木:前进一格、左转90度、前进一格、左转90度、前进一格、左转90度、前进一格、左转90度,放置好功能积木后,按下执行按键,智能小车便能够画出一个正方形。Algorithm 1: Place the following functional blocks in sequence on the basic execution module: move forward one block, turn left 90 degrees, move forward one block, turn left 90 degrees, move forward one block, turn left 90 degrees, move forward one block, turn left 90 degrees, and place After completing the functional blocks, press the execution button, and the smart car can draw a square.
算法二:在基础执行模块依次放置函数循环3次和函数循环1次的功能积木,在特殊执行模块依次放置前进一格和左转90度的功能积木,放置好后,按下执行按键,智能小车同样能够画出一个正方形。Algorithm 2: In the basic execution module, place the function blocks for 3 functions and 1 function in sequence, and in the special execution module, place the function blocks for moving forward one space and turning left 90 degrees in sequence. The cart can also draw a square.
作为本发明的又一个示例,设置一个规格为6*6格子的地图,将在地图的右下角的格子设为起点,并标注上北下南左西右东的标志。在没有与移动终端的APP进行交互的模式下,在6*6的地图格子中放置有象征性的图案以及立体物体来表示场景和障碍物,用来设定智能小车的情景和故事情节;在小车控制台的执行模块摆放功能积木,通过摆放的功能积木来控制小车执行相应的功能,进而完成故事任务。As another example of the present invention, a map with a size of 6*6 grids is set, the grid in the lower right corner of the map is set as the starting point, and the signs of upper north, lower south, left west and right east are marked. In the mode without interaction with the APP of the mobile terminal, symbolic patterns and three-dimensional objects are placed in the 6*6 map grid to represent the scene and obstacles, which are used to set the scene and storyline of the smart car; The executive module of the car console places functional blocks, and controls the car to perform corresponding functions through the placed functional blocks, thereby completing the story task.
在与移动终端的APP进行交互的模式下,玩家在6*6的地图格子中放置有象征性的图案以及物品来表示场景或障碍物,用来设定智能小车的情景和故事情节。此外,智能小车还可以通过zigbee模块与支持zigbee通信的第三方设备(例如声音设备或者灯光设备等)进行zigbee无线通信,以根据设定的故事情节,提示玩家与周围的物品进行互动,互动之后,智能小车的状态也会根据具体的故事发展情节(即具体的互动情节)而发生相应的改变。需要说明的是,某些地图格子中放置有RFID标签,当智能小车按照小车控制台的执行模块上摆放的功能积木执行相应的动作时,在行进到放置有RFID标签的格子时,智能小车会选中断执行小车控制台的执行模块上所摆放的功能积木所对应功能,而是先执行RFID标签对应的功能,然后再执行剩余执行模块上所摆放的功能积木的功能;同时,智能小车还会把本身的信息状态通过蓝牙反馈给移动终端的APP,以便与APP进行交互。In the mode of interacting with the APP of the mobile terminal, the player places symbolic patterns and items in the 6*6 map grid to represent the scene or obstacles, which are used to set the scene and storyline of the smart car. In addition, the smart car can also conduct zigbee wireless communication with third-party devices that support zigbee communication (such as sound devices or lighting devices, etc.) through the zigbee module, so as to prompt the player to interact with the surrounding items according to the set storyline. , the state of the smart car will also change correspondingly according to the specific story development plot (ie the specific interactive plot). It should be noted that RFID tags are placed in some map grids. When the smart car performs corresponding actions according to the functional blocks placed on the execution module of the car console, when it travels to the grid where the RFID tags are placed, the smart car It will choose to interrupt the execution of the functions corresponding to the function blocks placed on the execution module of the trolley console, but execute the functions corresponding to the RFID tags first, and then execute the functions of the function blocks placed on the remaining execution modules; at the same time, the intelligent The car will also feed back its own information status to the APP of the mobile terminal through Bluetooth, so as to interact with the APP.
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and changes. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included within the protection scope of the present invention.
Claims (7)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610599327.4A CN106097848B (en) | 2016-07-27 | 2016-07-27 | A kind of entity programming car and programming method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610599327.4A CN106097848B (en) | 2016-07-27 | 2016-07-27 | A kind of entity programming car and programming method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106097848A CN106097848A (en) | 2016-11-09 |
CN106097848B true CN106097848B (en) | 2019-04-19 |
Family
ID=57450538
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610599327.4A Expired - Fee Related CN106097848B (en) | 2016-07-27 | 2016-07-27 | A kind of entity programming car and programming method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106097848B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109283863A (en) * | 2017-07-19 | 2019-01-29 | 蒋运超 | A kind of study programming robot vehicle |
CN108564843A (en) * | 2018-01-30 | 2018-09-21 | 上海乐田教育科技有限公司 | A kind of trolley main control module for teaching programming plate |
CN108492679A (en) * | 2018-06-27 | 2018-09-04 | 中山乐宝电子科技有限公司 | Programmable learning device and method based on intelligent building blocks |
CN109920296A (en) * | 2019-03-26 | 2019-06-21 | 杭州合学教育科技有限公司 | Automobile teaching aid operation method and device, computer readable storage medium and terminal |
CN112394913B (en) * | 2019-08-19 | 2022-09-09 | 中国科学院自动化研究所 | Physical programming system supporting program decomposition and reuse |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB2296874A (en) * | 1995-01-10 | 1996-07-17 | Swell Plastic Product And Moul | Moving toy |
CN2613306Y (en) * | 2003-03-07 | 2004-04-28 | 广州华南智信微系统有限公司 | Programmable remote controlled toy |
CN2698425Y (en) * | 2004-05-22 | 2005-05-11 | 李宁 | Card changing toy car |
CN201353430Y (en) * | 2009-01-14 | 2009-12-02 | 付卓力 | Intelligent programmable toy car |
CN102136208A (en) * | 2011-03-30 | 2011-07-27 | 中国科学院软件研究所 | Material object programming method and system |
CN202289456U (en) * | 2011-11-04 | 2012-07-04 | 无锡爱睿芯电子有限公司 | An intelligent toy car and intelligent vehicle and remote control module |
CN204440164U (en) * | 2015-01-08 | 2015-07-01 | 北京印刷学院 | A kind of automatic vehicle based on RFID and guidance system |
CN104906804A (en) * | 2015-05-28 | 2015-09-16 | 芜湖思沃电子科技有限公司 | Intelligent trolley control method based on Android platform |
CN105137887A (en) * | 2015-09-24 | 2015-12-09 | 苏州乐派特机器人有限公司 | Materialized programming method based on programming plate and application thereof in robot field |
CN206097648U (en) * | 2016-07-27 | 2017-04-12 | 厦门石湾科技有限公司 | Entity programming dolly |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3994025B2 (en) * | 2002-05-08 | 2007-10-17 | 株式会社コナミデジタルエンタテインメント | Amusement facility for remote control system |
-
2016
- 2016-07-27 CN CN201610599327.4A patent/CN106097848B/en not_active Expired - Fee Related
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB2296874A (en) * | 1995-01-10 | 1996-07-17 | Swell Plastic Product And Moul | Moving toy |
CN2613306Y (en) * | 2003-03-07 | 2004-04-28 | 广州华南智信微系统有限公司 | Programmable remote controlled toy |
CN2698425Y (en) * | 2004-05-22 | 2005-05-11 | 李宁 | Card changing toy car |
CN201353430Y (en) * | 2009-01-14 | 2009-12-02 | 付卓力 | Intelligent programmable toy car |
CN102136208A (en) * | 2011-03-30 | 2011-07-27 | 中国科学院软件研究所 | Material object programming method and system |
CN202289456U (en) * | 2011-11-04 | 2012-07-04 | 无锡爱睿芯电子有限公司 | An intelligent toy car and intelligent vehicle and remote control module |
CN204440164U (en) * | 2015-01-08 | 2015-07-01 | 北京印刷学院 | A kind of automatic vehicle based on RFID and guidance system |
CN104906804A (en) * | 2015-05-28 | 2015-09-16 | 芜湖思沃电子科技有限公司 | Intelligent trolley control method based on Android platform |
CN105137887A (en) * | 2015-09-24 | 2015-12-09 | 苏州乐派特机器人有限公司 | Materialized programming method based on programming plate and application thereof in robot field |
CN206097648U (en) * | 2016-07-27 | 2017-04-12 | 厦门石湾科技有限公司 | Entity programming dolly |
Also Published As
Publication number | Publication date |
---|---|
CN106097848A (en) | 2016-11-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106097848B (en) | A kind of entity programming car and programming method | |
CN210200069U (en) | Programmable robot | |
US9914217B2 (en) | Transferable intelligent control device | |
CN205363920U (en) | Interactive robot of intelligence children amusement | |
KR20140133496A (en) | Baseplate assembly for use with toy pieces | |
CN205516491U (en) | Intelligent interactive children's toys | |
CN103240749A (en) | Service robot | |
KR20170053185A (en) | Motion control system for block kits using motion cards, and thereof method | |
CN105573316B (en) | An autonomous formation mobile swarm robot | |
CN102340894A (en) | Remote control rescue robot system and control method based on wireless sensor network | |
CN104884142A (en) | A novel toy console and methods of use | |
CN206097648U (en) | Entity programming dolly | |
CN103657107A (en) | Toy racing vehicle capable of being controlled by human body brain wave intensity | |
CN107053214B (en) | A robot battle device and control method based on somatosensory control | |
CN213159402U (en) | Programming language materialized building block programming system | |
CN208529107U (en) | A kind of modular remote-controlled robot | |
CN203909616U (en) | Robot based on wireless control of smart phone | |
CN214634010U (en) | Programmable card and card-reading type programmable educational toy set | |
CN104436694B (en) | A kind of electronic toy control system and control method | |
CN107909869A (en) | A kind of packaged type radar senses children learning machine | |
CN206642359U (en) | A kind of humanoid toy robot based on body feeling interaction formula | |
CN204347516U (en) | A kind of for modularization robot manipulation and the handle of communication | |
CN203566698U (en) | Building block type intelligent robot with micro-control unit capable of being inserted, replaced and erased | |
CN216138923U (en) | Key programming interactive robot system | |
CN202777811U (en) | Intelligent touch toy and intelligent touch toy system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20210901 Address after: 200135 building C, No.888, Huanhu West 2nd Road, Lingang New District, China (Shanghai) pilot Free Trade Zone, Pudong New Area, Shanghai Patentee after: Shanghai Shiwan Technology Co.,Ltd. Address before: 361000 430, No. 39, Wanghai Road, Siming District, Xiamen City, Fujian Province Patentee before: XIAMEN SHIWAN TECHNOLOGY Co.,Ltd. |
|
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20190419 |