CN209714286U - A kind of programmable toy car - Google Patents
A kind of programmable toy car Download PDFInfo
- Publication number
- CN209714286U CN209714286U CN201822255272.2U CN201822255272U CN209714286U CN 209714286 U CN209714286 U CN 209714286U CN 201822255272 U CN201822255272 U CN 201822255272U CN 209714286 U CN209714286 U CN 209714286U
- Authority
- CN
- China
- Prior art keywords
- resistor
- controller
- operational order
- toy car
- resistance value
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Toys (AREA)
Abstract
The utility model discloses a kind of programmable toy cars, including electric resistance array, multiplexer circuit, controller, motor-drive circuit and driving motor;Include multiple rows of resistor by preset order arrangement on electric resistance array;The gating command that multiplexer circuit is sent according to controller, control gate the correspondence resistor in electric resistance array;Multiplexer circuit is sent to controller after being used to obtain the resistance value of the resistor of gating;Controller is for generating and sending gating command to multiplexer circuit, table is corresponded to according to the resistance value and operational order prestored, it determines the corresponding operational order of the resistance value of received resistor and carries out operational order generation, the operational order of generation is sent to motor-drive circuit and drives driving motor;Driving motor is connect with wheel.The utility model simplifies the complexity of cataloged procedure by the way of the instruction of resistance value respective operations, so that this programming mode be made to use suitable for young youngster's child player;And it can be detached from electronic equipment use, reduce cost.
Description
Technical field
The utility model relates to program toy technique field, more particularly to a kind of programmable toy car.
Background technique
Existing toy car, one kind are remote-controlled toy vehicles, pass through the operation of remote control control trolley.This remote-control toy
Vehicle, player can only carry out operation control, cannot be programmed the operation of control trolley in advance, and the programming that cannot cultivate player is thought
Dimension.
Existing another kind of intelligent carriage such as tracks, avoidance trolley, (black generally by track preset on ground
Adhesive tape) and barrier, it is automatic to adjust when the sensor (sensors such as infrared, ultrasonic wave) on trolley perceives track or barrier
The traffic direction of whole trolley, pursuit path operation or avoiding obstacles.This Intelligent toy car, function be also determine, can not
Change, the function that player can only use it to determine, such as tracks, avoidance.If changing its function, player is needed to have one
Fixed programming basis, it usually needs programming could be completed by computer (computer or Pad).This just proposes player higher
It is required that programming playing method can not be provided to young child player.
With popularizing for programming education product, this product is programmed based on the mode of text or figure mostly,
And then toy is made to execute movement indicated by program.On the one hand this mode needs player to have certain programming basis;It is another
Aspect can not be detached from the electronic equipments such as computer, plate or mobile phone, in another aspect, higher cost.The above all limits programming
The development in young age bracket is educated with wound visitor.
Therefore, the programmable toy car that how providing one kind can use for young youngster is that those skilled in the art need at present
It solves the problems, such as.
Utility model content
The purpose of the utility model is to provide a kind of programmable toy cars, by the way of the instruction of resistance value respective operations, letter
Change the complexity of cataloged procedure, so that this programming mode be made to use suitable for young youngster's child player;And it can be detached from
Electronic equipment uses, and reduces cost.
In order to solve the above technical problems, the utility model provides a kind of programmable toy car, comprising: electric resistance array, more
Road selection circuit, controller, motor-drive circuit and driving motor;
Include multiple rows of resistor by preset order arrangement on the electric resistance array;
The gating command that the multiplexer circuit is sent according to the controller, control gate in the electric resistance array
Corresponding resistor;The multiplexer circuit is sent to the controller after being used to obtain the resistance value of the resistor of gating;It is described
The input terminal of multiplexer circuit connects the electric resistance array, and the control terminal and output end of the multiplexer circuit are separately connected
The controller;
The output end of the controller connects the motor-drive circuit, and the controller is for generating and sending the choosing
Logical instruction corresponds to table according to the resistance value and operational order prestored, determines the resistance of received resistor to the multiplexer circuit
It is worth corresponding operational order and carries out operational order generation, the operational order of generation is sent to the motor-drive circuit and is driven
The driving motor;
The driving motor is connect with the wheel of the programmable toy car.
Preferably, the multiplexer circuit gates row's resistor, the corresponding behaviour of the resistance value of every row's resistor every time
It instructs.
Preferably, each resistor is fixedly installed on the corresponding position in the electric resistance array, and the resistor is can
Adjust resistor.
Preferably, resistor described in every row includes an operation code resistor and several numeric data code resistors;
The resistance value and operational order prestored in the controller, which corresponds in table, includes: the resistance value of operation code resistor with
The corresponding relationship of action type, the resistance value of numeric data code resistor and the corresponding relationship of operating parameter.
Preferably, the electric resistance array includes the multiple rows of resistance slot and multiple fixed resistors arranged by preset order,
The resistance slot is used to be inserted into for the fixed resistor.
It preferably, include an operation code slot and several numeric data code slots on resistance slot described in every row;
The resistance value and operational order prestored in the controller, which corresponds in table, includes: the definite value of insertion operation code slot
The resistance value of resistor and the corresponding relationship of action type, and it is inserted into the resistance value and operation ginseng of the fixed resistor of numeric data code slot
Several corresponding relationships.
Preferably, the fixed resistor is set in building blocks inserted block, building blocks locating for the fixed resistor of different resistance values
Inserted block has different marks.
Preferably, hard contact is provided on the fixed resistor, be provided on the resistance slot for it is described
The hard contact of hard contact contact conducting on fixed resistor.
Preferably, further includes:
The display being connect with the controller, for being sent to the operational order of the executive device to the controller
Content and its implementing result shown.
Preferably, further includes:
Multiple indicator lights, the indicator light are connect with the controller correspondingly with each operational order, the finger
Show that idsplay order of the lamp for sending according to the controller carries out corresponding display operation.
Preferably, further includes:
The voice broadcast equipment being connect with the controller, operational order content for being sent to the control instruction with
And the implementing result of operational order carries out voice broadcast.
Preferably, further includes:
The single instrction connecting with the controller executes key and multiple instructions executes key;
The controller, which receives, to be triggered the single instrction and executes after the single instrction generated after key executes instruction, and institute is controlled
System is stated to work according to single instrction execution pattern;The controller receive the triggering multiple instructions execute generate after key it is more
After instruction execution instruction, controls the system and work according to all instructions execution pattern.
Preferably, further includes:
Beginning key, pause button and the reset key being connect with the controller;
After the controller receives the sign on for triggering and generating after the beginning key, controls the system and start work
Make;After the controller receives the pause instruction for triggering and generating after the pause button, the system halt work is controlled, directly
Until receiving the sign on again;The controller receives the reset instruction for triggering and generating after the reset key
Afterwards, it triggers the controller to restPose, and out of service, until receiving the sign on again.
Preferably, the multiplexer circuit includes Multipexer selection switch and analog-digital converter;
The Multipexer selection switchs the gating command sent according to the controller and the preset order, selection
It is connected between each row's resistor in the electric resistance array of property;The input terminal connection of the Multipexer selection switch
The output end of the electric resistance array, the Multipexer selection switch connects the analog-digital converter;The analog-digital converter
Control terminal connects the controller with output end.
Preferably, the controller is single-chip microcontroller.
The utility model provides a kind of programmable toy car, includes electric resistance array, multiplexer circuit, controller, electricity
Drive circuit and driving motor, the resistance value for presetting different resistors correspond to different operational orders, pass through later
The correspondence resistor on electric resistance array is gated, the resistance value of the resistor according to gating, and the resistance value and operational order that pre-save
Corresponding table, to determine the type of operational order, and is sent to motor-drive circuit to drive toy car to be moved accordingly.It can
See, in the present invention, when staff wants to encode, is not required to the binary decimal mutual conversion energy of to master
Power, but only need to remember the corresponding operational order of different resistance values, working principle is simple, it is required to reduce programming,
It can also complete to program even if without programming basis, thus use this programming mode suitable for young youngster's child player, and
And this mode can be detached from the electronic equipments such as computer, plate or mobile phone, cost of implementation is lower.
Detailed description of the invention
It, below will be to the prior art and embodiment in order to illustrate more clearly of the technical scheme in the embodiment of the utility model
Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only the utility model
Some embodiments for those of ordinary skill in the art without creative efforts, can also be according to this
A little attached drawings obtain other attached drawings.
Fig. 1 is a kind of structural schematic diagram of programmable toy car provided by the utility model;
Fig. 2 is the structural schematic diagram of another programmable toy car provided by the utility model;
Fig. 3 is a kind of external structure schematic diagram of programmable toy car provided by the utility model;
Fig. 4 is a kind of programmable toy car schematic diagram of internal structure provided by the utility model;
Fig. 5 is a kind of resistor coding schematic diagram provided by the utility model;
Fig. 6 is another resistor coding schematic diagram provided by the utility model.
Specific embodiment
The core of the utility model is to provide a kind of programmable toy car, by the way of the instruction of resistance value respective operations, letter
Change the complexity of cataloged procedure, so that this programming mode be made to use suitable for young youngster's child player;And it can be detached from
Electronic equipment uses, and reduces cost.
It is practical new below in conjunction with this to keep the objectives, technical solutions, and advantages of the embodiments of the present invention clearer
Attached drawing in type embodiment, the technical scheme in the utility model embodiment is clearly and completely described, it is clear that is retouched
The embodiment stated is the utility model a part of the embodiment, instead of all the embodiments.Based on the implementation in the utility model
Example, every other embodiment obtained by those of ordinary skill in the art without making creative efforts belong to
The range of the utility model protection.
The utility model provides a kind of programmable toy car, and referring to shown in Fig. 1 and Fig. 4, Fig. 1 provides for the utility model
A kind of programmable toy car structural schematic diagram;Fig. 4 is a kind of programmable toy car internal structure provided by the utility model
Schematic diagram.The programmable toy car include: electric resistance array 13, multiplexer circuit 12, controller 11, motor-drive circuit 14 with
And driving motor 15.
Include multiple rows of resistor by preset order arrangement on electric resistance array 13.
The gating command that multiplexer circuit 12 is sent according to controller 11, control gate the correspondence in electric resistance array 13
Resistor;Multiplexer circuit 12 is sent to controller 11 after being used to obtain the resistance value of the resistor of gating;Multiplexer circuit
12 input terminal connects electric resistance array 13, and the control terminal and output end of multiplexer circuit 12 are separately connected controller 11.
The output end of controller 11 connects motor-drive circuit 14, and controller 11 is for generating and sending gating command at most
Road selection circuit 12 corresponds to table according to the resistance value and operational order prestored, determines the corresponding operation of the resistance value of received resistor
Operational order generation is instructed and carried out, the operational order of generation is sent to motor-drive circuit 14 and drives driving motor 15.
Driving motor 15 is connect with the wheel of programmable toy car.
It is understood that including according to certain tactic multiple groups resistor, due to operation on electric resistance array 13
Instruction needs to be sent to the execution of motor-drive circuit 14 in order, therefore usually operational order generation is also required in sequence successively
It carries out.Therefore, it needs to gate a part of resistor every time to determine that the corresponding operational order of its resistance value is generated, selects again later
Logical next part resistor generates next part operational order.
Here resistance value and operational order corresponds to table needs and pre-saves to controller 11, preserves in the correspondence table each
The corresponding relationship of a resistance value and operational order.
The utility model provides a kind of programmable toy car, includes electric resistance array 13, multiplexer circuit 12, control
Device 11, motor-drive circuit 14 and driving motor 15, the resistance value for presetting different resistors correspond to different operations and refer to
It enables, passes through the correspondence resistor on gating electric resistance array 13, the resistance value of the resistor according to gating, and the resistance pre-saved later
Value with operational order corresponds to table, to determine the type of operational order, and be sent to motor-drive circuit 14 come drive toy car into
Row is corresponding mobile.As it can be seen that in the present invention, when staff wants to encode, being not required to master binary system and ten
The mutual transfer capability of system, but only need to remember the corresponding operational order of different resistance values, working principle is simple, thus
It reduces programming to require, can also complete to program even if without programming basis, so that this programming mode be made to be suitable for young youngster
Child player uses, and this mode can be detached from the electronic equipments such as computer, plate or mobile phone, and cost of implementation is lower.
In an advantageous embodiment, multiplexer circuit 12 gates row's resistor, the resistance value of every row's resistor every time
A corresponding operational order.
It is understood that if only comprising a multiple selector in multiplexer circuit 12, due to multi-path choice
Device is the structure of multiselect one, i.e., is gated circuit all the way every time, and therefore, then being only capable of gating every time, resistance generates one all the way
Operational order, operational order serially generates at this time;Certainly, if if including multiple multiple selector in multiplexer circuit 12,
Resistor all the way can be then gated if each multiple selector respectively, thus parallel generation operational order.Certainly, specific to use
Which kind of above mode the utility model is not especially limited, in addition, for the multiple selector for including in multiplexer circuit 12
Number the utility model is also not construed as limiting.In above-described embodiment, the corresponding operation of every row's resistor in electric resistance array 13 is enabled to refer to
It enables, this set structure facilitates multiplexer circuit 12 to select to be connected, and structural arrangement rule is convenient for managing.Certainly,
One operational order specifically corresponds to row's resistor or a column resistor the utility model is not construed as limiting.
Wherein, every row's resistor corresponds to a serial number in electric resistance array 13, which represents according to the row
The operational order that the resistance value of resistor generates executes sequence.
It is understood that due to when generation operational order is sent to motor-drive circuit 14, the operational order of transmission
There are sequences, i.e. sequence of operations instruction needs to be sent in particular order, therefore, in order to distinguish these instructions
Sequence, according to resistance encoded when, i.e., it needs to be determined that the operational order that one group of acquired resistance value corresponds to it is suitable
Sequence.In order to realize the purpose, the present embodiment is provided with multiple rows of resistor on electric resistance array 13, and every row's resistor is provided with one
A serial number, such as 1,2 etc. when being gated every time, is required to according to serial number on electric resistance array 13 from small to large
Sequentially, gating successively by rows.The serial number of the row's resistor gated, with the behaviour generated according to row's resistor
It is identical to make the execution instructed sequence.
The utility model can carry the sequence for row's resistor that this operation needs to be connected in each gating command
Number, obtains its resistance value after row's resistor is connected later, the operational order generated later is sent to motor driven
Execution sequence when circuit 14 is identical as the serial number of row's resistance;Wherein, the serial number in gating command is according to default
Sequence sequentially generates.As an example it is assumed that including serial number 1~7 on electric resistance array 13, preset order is suitable from 1 to 7
Sequence, the then gating command firstly generated carry number 1, backgating first row resistor, generate first operational order hair
It send to motor-drive circuit 14;Generate later and carry the gating command of number 2, backgating second row resistor, generation the
Two operational orders are sent to motor-drive circuit 14, repeat the process, until whole resistors are gated and finished.This set
In mode, so that staff when electric resistance array 13 is arranged, can respectively arrange the resistance of resistor by controlling in electric resistance array 13
Value, to control the content of each operational order and execute sequence, and the encoding-decoding process clear logic for instructing whole operation
It is clear, facilitate a series of generation of the staff to continuous operation instructions.
Certainly, can also be during starting to be decoded every time, the whole gating commands of transmission to multiplexer circuit 12, it
Multiplexer circuit 12 can successively gate each row's resistor on electric resistance array 13 according to preset order afterwards.As an example it is assumed that
It include 7 row's resistors on resistor, number is respectively 1~7, and preset order is from 1 to 7, then multiplexer circuit 12 can be from the
One row's resistor starts to gate, and until gating the 7th row's resistor, and in the process, one row's resistor of every gating obtains
Obtain the resistance value of row's resistor.By this way, it is possible to reduce the generation quantity of gating command simplifies entire decoding process, and
And it can guarantee that the sequence of operations instruction that respective sequence is finally generated according to coded sequence is sent to motor driven electricity simultaneously
Road 14.
It should be noted that in the above-described embodiments, controller 11, which can choose, will temporarily receive the progress of each group resistance value
Caching sequentially generates instruction according still further to preset order after receiving whole resistance values, instructs after all generating, according still further to
Preset order is successively sent to motor-drive circuit 14.Or controller 11 can carry out after often receiving one group of resistance value
Instruction generates, but the operational order of generation is not sent to motor-drive circuit 14, but finishes until instruction all generates
Afterwards, motor-drive circuit 14 is successively sent to according still further to preset order.Or controller 11 can be often to receive one group of resistance value
Instruction generation is carried out afterwards, and every one operational order of generation is sent to motor-drive circuit 14.It is specific which kind of above side used
Formula, the utility model are not especially limited.
Preferably, each resistor is fixedly installed on the corresponding position in electric resistance array 13, and resistor is adjustable
Resistor.
It is understood that electric resistance array 13 is made of fixed several row's adjustable resistors in the present embodiment, work
Personnel constitute different operational orders by adjusting the resistance value of adjustable resistor.This mode, user only need to carry out resistance value
Adjustment.Compared to the mode for being inserted into resistor in slot, this mode is not allowed to easily cause the loss of resistor, and reliability is more
It is high.Under this mode, for convenience of child's use, adjustable resistor can also be distinguished by color etc..In order to facilitate child's tune
Adjustable resistor can be set to the inside of building block by whole resistance value, and building block surface is provided with gear, and child stirs shelves
Resistance value adjustment can be realized in position adjustment.It is of course also possible to use adjustable resistor is arranged in other modes, the utility model is to this
It is not construed as limiting.
Further, every row's resistor includes an operation code resistor and several numeric data code resistors;Controller
The resistance value and operational order prestored in 11, which corresponds in table, includes: the resistance value of operation code resistor and the corresponding relationship of action type,
The resistance value of numeric data code resistor and the corresponding relationship of operating parameter.
The resistance value and operational order prestored in controller 11, which corresponds in table, includes: the resistance value of operation code resistor is (referred to as
Operation code) with the corresponding relationship of action type, the resistance value (referred to as numeric data code) of numeric data code resistor is corresponding with operating parameter
Relationship.
It is understood that operation code is the type for controlling operational order, such as write command or reading instruction, number
It is then for specifically being limited operating parameter according to code, it is understood that be defined to operation content, such as instruct
For summarizing instruction, then numeric data code can limit added numerical value etc.;Every complete operational order is by operation code and entirely
The corresponding content composition of portion's numeric data code.Since the operating parameter that different operation instruction includes is different, when the utility model is answered
When with from different application scenarios, the quantity of numeric data code resistor can be set according to practical application request, can be 1
Or it is multiple.
In another preferred embodiment, shown in Figure 3, Fig. 3 is a kind of programmable toy car provided by the utility model
External structure schematic diagram.Electric resistance array 13 includes the multiple rows of resistance slot and multiple fixed resistors arranged by preset order,
Resistance slot for fixed resistor for being inserted into.
It is understood that fixed resistor wants small compared to volume for adjustable resistor and cost is relatively low, therefore, use
The modes of multiple fixed resistors insertion slots constitutes required operational order, can reduce electric resistance array 13 volume and
System cost.
It is further known that including an operation code slot and several numeric data code slots on every row's resistance slot;Control
The resistance value and operational order prestored in device 11, which corresponds in table, includes: the resistance value and operation of the fixed resistor of insertion operation code slot
The corresponding relationship of type, and it is inserted into the resistance value of the fixed resistor of numeric data code slot and the corresponding relationship of operating parameter.
It is understood that content corresponding with the resistance value of fixed resistor of insertion operation code slot hereinafter referred to as operates
Code, content corresponding with the insertion resistance value of fixed resistor of numeric data code slot hereinafter referred to as numeric data code.Operation code is for controlling
The type of operational order processed, such as write command or reading instruction, numeric data code are then for specifically being limited operating parameter
It is fixed, it is understood that be defined to operation content, such as instruction is summarizing instruction, then numeric data code can limit added
Numerical value etc.;Every complete operational order is made of operation code and the corresponding content of total data code.Due to different operation
The operating parameter that instruction includes is different, therefore when the utility model is applied from different application scenarios, the number of numeric data code slot
Amount can be set according to practical application request, can be one or more.Fixed resistor is compared to body for adjustable resistor
Product wants small and cost is relatively low, therefore, constitutes required operational order, energy using the mode of multiple fixed resistors insertion slot
Enough reduce the volume and system cost of electric resistance array 13.
Further, according to above-mentioned slot mode, then fixed resistor and resistance slot can be connected using contact
Connect, i.e., be provided with hard contact on fixed resistor, be provided on resistance slot for the hard contact on fixed resistor
Contact the hard contact of conducting.It, can be with resistance slot electrically conducting i.e. after fixed resistor insertion resistance slot.
It is understood that the connection type of hard contact is easy setting and contact engaging and separating force compared to for socket connection type
It is small, feel is preferable.And for the mode of magnetic connection, being completely embedded property is more preferable and cost is lower.Certainly, fixed value resistance
The modes such as socket is connect or magnetic connects also can be used with resistance slot in device.The connection type of fixed resistor and resistance slot
The utility model is not construed as limiting.
Further, using above-mentioned slot mode, fixed resistor can be set to fixation in order to facilitate insertion
In the building blocks inserted block of size, building blocks inserted block can be square or cylindrical body, be dimensioned to that user is facilitated to take.Certainly,
Resistance slot is also provided accordingly to size corresponding with building blocks inserted block, this mode compare between use the mode of fixed resistor
More convenient user's takes.In addition, identifying the resistance value of each building blocks inserted block in order to facilitate user, building blocks inserted block surface can be used
Different colors, or building blocks inserted block surface with it includes resistor resistance value as mark.Which kind of side specifically used
Formula the utility model is not specifically limited.At this point, then building blocks inserted block surface is provided with wraps with itself according to contact connection
The hard contact of the fixed resistor connection contained, is provided on resistance slot and leads for contacting with the hard contact on building blocks inserted block
Logical hard contact.Certainly, according to socket connection connected with magnetic when, it is also desirable to it is corresponding building blocks socket is carried out it is adaptable
Setting.
It is understood that being configured by using the mode of building blocks inserted block, toy car is enabled to use similar child
The inserted block permutation and combination of building blocks makes trolley by direction, track operation of program setting etc., programming to realize various programming Controls
Method is simple, intuitive, low in cost, and without using computer (computer or Pad), meter must be used by solving existing programmed method
The problem of calculation machine is as developing instrument is particularly suitable for primary study and understands Computer Organization Principles, and young age children for learning culture is compiled
Cheng Siwei, and simple automatic control etc..
Wherein, it in by the way of the connection of aforementioned building blocks inserted block, is used in order to facilitate child, insertion operation code slot
Building blocks inserted block and insertion numeric data code slot building blocks inserted block can distinguish, such as respectively with different shape or color into
Row is distinguished;I.e. operation code inserted block is used for insertion operation code slot, and numeric data code inserted block is for being inserted into numeric data code slot;In addition, wrapping
When containing multiple numeric data code slots, the building blocks inserted block for being respectively for insertion into different data code slot can also be distinguished, such as be inserted
The building blocks inserted block for entering numeric data code slot 1 can be set to red, and building blocks inserted block shows with resistance value etc.;For being inserted into each data
The building blocks inserted block of code slot and the building blocks inserted block of insertion operation code slot can be equipped with multiple on demand respectively.Additionally, it is contemplated that young
Youngster's feature, operation code slot should not be arranged excessively, such as the more of number (1~8 or 1~16) arrangement in sequence can be set
Resistance slot is arranged, multiple rows of resistance slot is set on the bottom plate of a toy car at this time.Certainly, the above is only preferred embodiment,
The utility model does not limit the set-up mode of fixed resistor and the set-up mode of resistance slot and setting quantity.
Wherein, the type of action type is determined according to the practical demand for control of intelligent carriage, and generally 5~10 kinds, such as advance,
Retreat, turn left, turn right, wait, repeat, delay etc..The type of operating parameter is generally 10 kinds, is exactly 0,1,2,3 ... 9, represents
Order the time executed or steering angle.It includes holding that forward operation, back operation and delay, which wait and operate corresponding operating parameter,
The row time;Turning left to operate and turn right to operate corresponding operating parameter includes rotation angle;The corresponding operating parameter packet of repetitive operation
Include number of repetition.
For convenience of understanding, the following are two specific embodiments:
One embodiment defines 7 kinds of instructions with the resistor of 7 kinds of different resistance values respectively, as shown in table 1.The present embodiment
Instruct inserted block schematic diagram as shown in Figure 5.
A kind of resistance value of table 1 and operational order correspond to the schematic table of table
Instruction | Resistance (ohm) | Function |
Advance | 1K | Trolley advances |
It retreats | 1.5K | Trolley retreats |
Turn left | 2.2K | Trolley turns left |
It turns right | 3K | Trolley is turned right |
Repeatedly start ' (' | 3.9K | Repetitive instruction starts |
Repeatedly terminate ') ' | 5.6K | Repetitive instruction terminates |
It waits | 6.8K | Delay waits |
Wherein, when instruction type is arranged, a repetitive instruction, the corresponding data digital content of repetitive instruction can be only set
It is 2 for number of repetition, such as number of repetition, then can triggers and all repeat instruction before 2 times, automatically exit from the repetition later
Instruction, or the repetition time also can be set, such as 30s, then instruction before can be repeated in 30s, 30s reaches
Afterwards, then the repetitive instruction is automatically exited from.If if being not provided with number of repetition, repetition can be set and start and repeat to terminate
Two instructions after receiving repetition sign on, then start the instruction before repetition, after receiving repetition END instruction, then
Stop repetitive operation.Specifically how to be arranged, the utility model is not construed as limiting.In addition, above-mentioned delay waits operation, refer to when touching
After hair delay waits operation, then toy car does not execute any movement at this time, until being further continued for executing after the delay waiting time reaches
Next operational order.
Second embodiment defines 10 kinds of instructions with the resistor of 10 kinds of different resistance values respectively, as shown in table 2.This reality
It is as shown in Figure 6 to apply example instruction inserted block schematic diagram.
Another resistance value of table 2 and operational order correspond to the schematic table of table
Data | Resistance (ohm) | Function |
0 | 100 | It does not execute |
1 | 10K | Traveling 1 second, or turn 45 degree |
2 | 20K | Traveling 2 seconds, or turn 90 degrees |
3 | 30K | Traveling 3 seconds, or turn 135 degree |
4 | 39K | Travel 4 seconds or turnback |
5 | 51K | Traveling 5 seconds, or turn 225 degree |
6 | 68K | Traveling 6 seconds, or turn 270 degree |
7 | 75K | Traveling 7 seconds, or turn 315 degree |
8 | 82K | Travel 8 seconds or three-sixth turn |
9 | 91K | Traveling 9 seconds |
Certainly, the above is only two kinds of specific implementations, the utility model does not limit the corresponding action type of operation code
The content of content and the corresponding operating parameter of numeric data code.
In addition, since toy car is when carrying out instruction control, it usually needs carry out the control of mobile duration, therefore toy car
It inside needs to be provided with timer, for recording the time of current operation instruction execution.Also, display 16 can be to timer
Time is shown.Wherein, timer at work, can be triggered after every operational order is finished and be reset, later
Work is triggered when next operational order starts and executes.Refer to alternatively, the corresponding sequence of operations of minute book secondary program can be continued
The execution time of order, start timing after starting key triggering, stops timing after all operationss instruction execution (assuming that suitable
Sequence is encoded to 1~8, then 8 operational orders stop timing after being finished);Timer can be reset after reset key triggering.Separately
Outside, after receiving pause button triggering, timing can be stopped after current operation instruction execution, can not also stops counting
When.Certainly, the above is only the application mode of several timers, the unlimited concrete application processes for determining timer of the utility model.
Preferably, programmable toy car further include:
The display 16 connecting with controller 11, the operation for being sent to motor-drive circuit 14 to controller 11 refer to
The content and its implementing result of order are shown.
It is understood that needing to carry out implementing result display or display operation instruction in many application scenarios
Content, under this mode, user can be facilitated to understand the executive condition of operational order in time, and then be adjusted and locate in time
Reason, user experience are more preferable.Wherein, display 16 here can be LED display, and the utility model does not limit display 16
Type.
Preferably, programmable toy car further include:
Multiple indicator lights 18, indicator light 18 are connect with controller 11 correspondingly with each operational order, indicator light 18
Idsplay order for sending according to controller 11 carries out corresponding display operation.
It is understood that being here respectively that an indicator light 18 is arranged in every operational order, such as has 1~7 operation
If instruction, then 7 indicator lights 18 are respectively set, when every operational order executes, indicator light 18 is for showing that this operation refers to
The executive condition of order.For example, execute it is normal execute failure, be not carried out, execute in, execute and complete etc., to facilitate user's unification
The executive condition for getting information about each operational order improves the convenience of user.Wherein, display lamp here is receiving not
With idsplay order after, different display operations can be carried out respectively to prompt user current execution state.For example, referring in operation
When order is not carried out, indicator light 18 does not work;Indicator light 18 gives a green light when in the process of implementation;If operational order executes failure, instruction
Lamp 18 sends out a warning;Or it can also show certain state by flashing.Here indicator light 18 can be LED light or hair
Optical diode etc., certainly, the utility model do not limit the concrete type of indicator light 18.In addition, the utility model is not ordered within a certain time often yet
Display mode of a indicator light 18 after receiving all kinds of idsplay orders.
Preferably, programmable toy car further include:
The voice broadcast equipment 17 being connect with controller 11, operational order content and behaviour for being sent to control instruction
Make the implementing result instructed and carries out voice broadcast.
It is understood that being set since the instruction decoding method in the utility model may be applied to Toy for young children etc.
It is standby, and child there is a situation where it is illiterate.Therefore the operation result of instruction possibly can not be understood by display 16.Therefore,
Voice broadcast equipment 17 is set in the present embodiment, is grasped by voice broadcast come the convenient user that can not check display 16 to understand
Make the executive condition instructed.Voice broadcast equipment 17 can be arranged jointly with display 16, and user can choose whether to close aobvious
Show device 16 or voice broadcast equipment 17, to improve the selectivity and convenience of user.
Preferably, programmable toy car further include:
The single instrction connecting with controller 11 executes key and multiple instructions executes key.
Controller 11 receives triggering single instrction and executes after the single instrction that generates after key executes instruction, control system according to
The work of single instrction execution pattern;Controller 11 receives triggering multiple instructions and executes after the multiple instructions that generates after key executes instruction,
Control system works according to all instructions execution pattern.
It is understood that executing key and multiple instructions by setting single instrction executes key, so that staff can be with
Selection operation instruction is continuously generated and is executed, and still only generates and execute current operation instruction.Make in this way in certain needs
It observes under the scene of single instrction implementing result, can choose triggering single instrction and execute key, so that every execute an operation
Stop after instruction, staff is facilitated to observe implementing result;And for only needing to observe overall execution result in the case where, can
Key is executed with selection triggering multiple instructions, is respectively to arrange the corresponding operational order of resistor in electric resistance array 13 to be all finished
Afterwards, then implementing result is observed.As it can be seen that staff can be made to select to close according to self-demand by setting both the above key
Suitable executive mode, convenience are higher.
In addition, when being set with single instrction execution key and multiple instructions executes key, entire coding/decoding system initial start
When can be defaulted as single instrction execution pattern or multiple instructions execution pattern, in addition in coding/decoding system with single instrction execution pattern or
In multiple instructions execution pattern operational process, if it is desired to if switching to another mode, can be pressed by the way that another mode of triggering is corresponding
Key is realized.For example, if currently for single instrction execution pattern, after subsequent user triggering multiple instructions executes key, then
Multiple instructions execution pattern can be switched to.
In an advantageous embodiment, programmable toy car further include:
Beginning key, pause button and the reset key being connect with controller 11.
After controller 11 receives the sign on generated after triggering beginning key, control system is started to work;Controller
After 11 receive the pause instruction generated after triggering pause button, control system break-off starts to refer to until receiving again
Until order;After controller 11 receives the reset instruction generated after triggering reset key, trigger controller 11 restPoses,
And it is out of service, until receiving sign on again.
It is understood that starting key is used for startup program from the beginning (the corresponding operation of row's resistor that number is 1
Instruction) it executes, or after pause, startup program is continued to execute from time-out position.Pause button can be executed with time out program.In journey
Pause button is pressed in program process, trolley will stop executing after having executed current operation order.It is pressed after pause and starts key,
Program will continue to execute next operational order.Start key and pause button by setting, raw operational order can be made
Encoding-decoding process is more controllable, staff can control process at any time termination and starting, convenient for staff midway to resistance
The resistance value of 13 internal resistor of array is modified, and convenience and flexibility are higher.
In addition, during control toy car carries out mobile, it usually needs control toy car mobile time or angle
Degree etc., it is therefore desirable to which the components such as timer are set to be assisted.But under partial picture, due to the numerical value of timer accumulation
It is excessive etc., it may be such that the situation for mistake occur when subsequent operation instruction execution increases, therefore, can be pressed at this time by resetting
Key is resetted, and so that toy car is restored to booting original state, and out of service.Reset will remove all state instructions, timing
Device shows 0.This mode can be accumulated in the data in controller 11 to be caused when the error occurs, state reset to be carried out, to solve
The certainly random failure of toy car.Triggering starts key again after reset, can continue to control toy car work, at this time toy car meeting
Serial number (numbers the row's resistance for being 1 near the preceding corresponding operational order of row's resistor in execution electric resistance array 13
The corresponding operational order of device).In other embodiments, it can also only be arranged and start key and reset key, the utility model is to this
It is not construed as limiting.
Wherein, the various keys in the utility model can be set on independent keyboard 19;It or may be setting
In the triggering key that display 16 is shown, triggered after by mouse click or touch screen.The utility model does not limit key
Set-up mode.
Shown in Figure 2, Fig. 2 is the structural schematic diagram of another programmable toy car provided by the utility model.
Preferably, multiplexer circuit 12 includes Multipexer selection switch and analog-digital converter;
The gating command and preset order that Multipexer selection switch is sent according to controller 11, it is selective it is each with
It is connected between row's resistor in electric resistance array 13;The input terminal of Multipexer selection switch connects electric resistance array 13, simulation
The output end of multidiameter option switch connects analog-digital converter;The control terminal of analog-digital converter connects controller 11 with output end.
It is understood that controller 11 in the process of running usually can not Direct Recognition analog signal, and pass through multichannel
The resistance value for selecting the resistor obtained is analog signal, therefore, identifies general in the present embodiment in order to facilitate the information of controller 11
The resistance value of obtained resistor is converted to digital signal, that is, has carried out analog-to-digital conversion operation, to facilitate the place of controller 11
Reason.
Preferably, controller 11 is single-chip microcontroller.It is understood that cost is relatively low for single-chip microcontroller, due to the utility model
In only need to carry out simple comparing and instruction generate, therefore can be used completely lower-cost single-chip microcontroller come
It is controlled, naturally it is also possible to using other kinds of processor as controller 11.The utility model is not construed as limiting this.
Wherein, also include and each electric power management circuit being connect with electrical component in the programmable toy car.
Preferably, programmable toy car further include:
Infrared detecting device, for sending and the infrared detection information of return being sent to controller 11;For controller 11
Judge around toy car whether comprising barrier in preset range, if including, according to default route adjustment rule, generates route and become
More instruction is sent to motor-drive circuit 14, change of the power supply drive circuit 14 according to route alteration command driving toy car
Mobile route.
It is understood that toy car is in the process of moving, it usually needs have the function of avoidance, it is therefore desirable to by red
Outer detection device is detected, to determine whether there is barrier, and then realizes the function of avoidance, improves the peace of toy car when driving
Quan Xing.
In other embodiments, can also using bluetooth carry out avoidance, concrete methods of realizing be by bluetooth come with other
Toy car carries out information exchange, it is determined whether there are route conflicts, and if it exists, then carries out route change etc..
In addition, the toy car chassis of general 2 wheel or 4 wheel drives can be used in the chassis of toy car, direct current generator is used
With matched retarder, speed of service 10cm about per second.Certainly, the utility model does not limit the specific setting structure on chassis.
Above several specific embodiments are only preferred embodiments of the present invention, above several specific embodiments
Can in any combination, the embodiment obtained after combination is also within the protection scope of the utility model.It should be pointed out that for this skill
For the those of ordinary skill in art field, relevant speciality technical staff is pushed away in the case where not departing from the spirit of the present invention and concept thereof
The oher improvements and changes of performance, should be included within the scope of protection of this utility model.
It should also be noted that, in the present specification, relational terms such as first and second and the like be used merely to by
One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation
Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning
Covering non-exclusive inclusion, so that the process, method, article or equipment for including a series of elements not only includes that
A little elements, but also including other elements that are not explicitly listed, or further include for this process, method, article or
The intrinsic element of equipment.In the absence of more restrictions, the element limited by sentence "including a ...", is not arranged
Except there is also other identical elements in the process, method, article or apparatus that includes the element.
Claims (13)
1. a kind of programmable toy car characterized by comprising electric resistance array, multiplexer circuit, controller, motor driven
Circuit and driving motor;
Include multiple rows of resistor by preset order arrangement on the electric resistance array;
The gating command that the multiplexer circuit is sent according to the controller, control gate the correspondence in the electric resistance array
Resistor;The multiplexer circuit is sent to the controller after being used to obtain the resistance value of the resistor of gating;The multichannel
The input terminal of selection circuit connects the electric resistance array, and the control terminal and output end of the multiplexer circuit are separately connected described
Controller;
The output end of the controller connects the motor-drive circuit, and the controller refers to for generating and sending the gating
It enables to the multiplexer circuit, corresponds to table according to the resistance value and operational order prestored, determine the resistance value pair of received resistor
The operational order answered simultaneously carries out operational order generation, and the operational order of generation is sent to described in the motor-drive circuit drives
Driving motor;
The driving motor is connect with the wheel of the programmable toy car.
2. programmable toy car according to claim 1, which is characterized in that the multiplexer circuit gates a row every time
Resistor, the corresponding operational order of the resistance value of every row's resistor.
3. programmable toy car according to claim 2, which is characterized in that each resistor is fixedly installed on the resistance
Corresponding position in array, the resistor are adjustable resistor.
4. programmable toy car according to claim 3, which is characterized in that resistor described in every row includes an operation code
Resistor and several numeric data code resistors;
The resistance value and operational order prestored in the controller, which corresponds in table, includes: the resistance value and operation of operation code resistor
The corresponding relationship of type, the resistance value of numeric data code resistor and the corresponding relationship of operating parameter.
5. programmable toy car according to claim 2, which is characterized in that the electric resistance array includes to arrange by preset order
The multiple rows of resistance slot and multiple fixed resistors of column, the resistance slot are used to be inserted into for the fixed resistor.
6. programmable toy car according to claim 5, which is characterized in that include a behaviour on resistance slot described in every row
Make code slot and several numeric data code slots;
The resistance value and operational order prestored in the controller, which corresponds in table, includes: the fixed value resistance of insertion operation code slot
The resistance value of device and the corresponding relationship of action type, and insertion numeric data code slot fixed resistor resistance value and operating parameter
Corresponding relationship.
7. programmable toy car according to claim 5 or 6, which is characterized in that the fixed resistor is set to building blocks
In inserted block, building blocks inserted block locating for the fixed resistor of different resistance values has different marks.
8. programmable toy car according to claim 7, which is characterized in that be provided with metal touching on the fixed resistor
Point is provided with the hard contact for contacting conducting with the hard contact on the fixed resistor on the resistance slot.
9. programmable toy car according to claim 1, which is characterized in that further include:
The display being connect with the controller, for being sent to the operational order of the motor-drive circuit to the controller
Content and its implementing result shown.
10. programmable toy car according to claim 1, which is characterized in that further include:
Multiple indicator lights, the indicator light are connect with the controller correspondingly with each operational order, the indicator light
Idsplay order for sending according to the controller carries out corresponding display operation.
11. programmable toy car according to claim 1, which is characterized in that further include:
The voice broadcast equipment being connect with the controller, operational order content and behaviour for being sent to the control instruction
Make the implementing result instructed and carries out voice broadcast.
12. programmable toy car according to claim 1, which is characterized in that the multiplexer circuit includes that simulation is more
Road selection switch and analog-digital converter;
The Multipexer selection switchs the gating command sent according to the controller and the preset order, selective
It is connected between row's resistor in the electric resistance array every time;Described in the input terminal connection of the Multipexer selection switch
The output end of electric resistance array, the Multipexer selection switch connects the analog-digital converter;The control of the analog-digital converter
End connects the controller with output end.
13. programmable toy car according to claim 1, which is characterized in that the controller is single-chip microcontroller.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201822255272.2U CN209714286U (en) | 2018-12-29 | 2018-12-29 | A kind of programmable toy car |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201822255272.2U CN209714286U (en) | 2018-12-29 | 2018-12-29 | A kind of programmable toy car |
Publications (1)
Publication Number | Publication Date |
---|---|
CN209714286U true CN209714286U (en) | 2019-12-03 |
Family
ID=68678799
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201822255272.2U Active CN209714286U (en) | 2018-12-29 | 2018-12-29 | A kind of programmable toy car |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN209714286U (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2022217822A1 (en) * | 2021-04-15 | 2022-10-20 | 精进电动科技股份有限公司 | Universal controller externally provided with selection circuit and new energy vehicle |
-
2018
- 2018-12-29 CN CN201822255272.2U patent/CN209714286U/en active Active
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2022217822A1 (en) * | 2021-04-15 | 2022-10-20 | 精进电动科技股份有限公司 | Universal controller externally provided with selection circuit and new energy vehicle |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109621448A (en) | A kind of toy car programmable control method, device and programmable toy car | |
EP1148921B1 (en) | A programmable toy with communication means | |
KR940003445B1 (en) | Reconfigurable remote control | |
US6902461B1 (en) | Microprocessor controlled toy building element with visual programming | |
JPH0316398A (en) | Remote controller | |
JPS62186697A (en) | Oscillator driver for programmable and reconstructable remote control transmitter | |
CN209714286U (en) | A kind of programmable toy car | |
CN110262378A (en) | A method of online programming is realized using APP control robot | |
JPH03214997A (en) | Timer system of learning and reproducing infrared ray signal | |
CN104941203A (en) | Toy based on gesture track recognition and recognition and control method | |
US5073750A (en) | Remote control apparatus for installation of electrical toy and circuit | |
US20080023593A1 (en) | AC/DC/DCC model train on board sound module with wireless control | |
CN201233652Y (en) | Multimedia intelligent remote controller | |
CN109887383A (en) | A kind of logical block, logic card, joint way programming in logic system and method | |
CN106444543A (en) | Method for wirelessly controlling low-voltage switch | |
CN101376065A (en) | Interactive toy system thereof control method thereof | |
CN1833394B (en) | Method and device for bi-directional single-wire data transmission | |
CN101155278A (en) | Electrical equipment with multi-remote controller control function and implementing method thereof | |
US5287210A (en) | Smart infrared controller | |
CN100442861C (en) | General one-key telecontrol regulation method and apparatus | |
US20060151673A1 (en) | AC/DC/DCC model train on board sound module with wireless control | |
WO1998034699A2 (en) | System and method for controlling the operation of toys | |
CN109616038A (en) | Photoelectricity selection signal control circuit, label display device and method, control device | |
JP4184988B2 (en) | Remotely operated toy system, drive device used therefor, and identification code setting method for remotely operated toy | |
US11704045B2 (en) | Self-learning file transmitting, data reading and writing, app communication reading and writing methods of game handle |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GR01 | Patent grant | ||
GR01 | Patent grant |