CN110960848A - Entity electronic chess - Google Patents

Entity electronic chess Download PDF

Info

Publication number
CN110960848A
CN110960848A CN202010084672.0A CN202010084672A CN110960848A CN 110960848 A CN110960848 A CN 110960848A CN 202010084672 A CN202010084672 A CN 202010084672A CN 110960848 A CN110960848 A CN 110960848A
Authority
CN
China
Prior art keywords
chess
piece
processor
falling
chessboard
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.)
Withdrawn
Application number
CN202010084672.0A
Other languages
Chinese (zh)
Inventor
潘爱松
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Individual filed Critical Individual
Priority to CN202010084672.0A priority Critical patent/CN110960848A/en
Publication of CN110960848A publication Critical patent/CN110960848A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F3/00Board games; Raffle games
    • A63F3/02Chess; Similar board games

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Toys (AREA)

Abstract

A kind of entity electronic chess, including chess board and chess piece; the bottom of the chess piece is provided with a magnet; a control circuit and a magnetic control switch are arranged in the chessboard; the magnetic control switches are arranged according to the number of the falling points of the chessboard, and one falling point corresponds to one magnetic control switch. The control circuit comprises a processor and a sounder. The magnetic control switch is connected with the processor, and the processor is provided with an execution program. When one piece leaves the falling point of the chessboard or one piece with the piece falls on the falling point of the chessboard, the corresponding magnetic control switch can generate a trigger signal; the processor receives the trigger signal and drives the sounder to output a corresponding signal or not to output a signal according to the execution program. The advantages of the invention are mainly shown in: the chess has the advantages of solid chess pieces, intelligent judgment and sound effect.

Description

Entity electronic chess
Technical Field
The invention belongs to stationery and sports goods, and particularly relates to a chess set.
Background
The chess playing activities of entertainment and intelligence development are very popular with the masses. With the development of the times, many people begin to play chess by using devices such as computers, mobile phones and electronic game machines, and the chess playing through the electronic devices is convenient but has some defects. First, playing chess through electronic equipment lacks the communication between people; secondly, eyes are easy to fatigue and damage due to long-time watching of the electronic screen; and thirdly, physical experience is lacked. However, the conventional physical chess pieces lack the sound effect of the electronic game and the definition of the game rules.
Disclosure of Invention
In order to solve the problems of the traditional chess pieces and electronic game playing chess, the invention provides an entity electronic chess, which is provided with entity chess pieces and sound effects.
The technical scheme adopted by the invention for solving the technical problems is as follows:
a kind of entity electronic chess, including chess board and chess piece; the bottom of the chess piece is provided with a magnet; a control circuit and a magnetic control switch are arranged in the chessboard; the magnetic control switches are arranged according to the number of the falling points of the chessboard, and one falling point corresponds to one magnetic control switch. The control circuit comprises a processor and a sounder. The magnetic control switch is connected with the processor, and the processor is provided with an execution program. When one piece leaves the falling point of the chessboard or one piece with the piece falls on the falling point of the chessboard, the corresponding magnetic control switch can generate a trigger signal; the processor receives the trigger signal and drives the sounder to output a corresponding signal or not to output a signal according to the execution program.
The invention has the following beneficial effects: the chess has the advantages of solid chess pieces, intelligent judgment and sound effect.
Drawings
Fig. 1 is a partial schematic view of a pawn and a board structure according to an embodiment of the invention.
Fig. 2 is a schematic diagram of a control circuit according to an embodiment of the present invention.
Detailed Description
An embodiment of the present invention is further described below with reference to the accompanying drawings.
One embodiment is shown in FIGS. 1-2; an entity electronic chess, which is a chess; comprises a chessboard 1 and chess pieces 2.
The bottom of the chess piece 2 is provided with a magnet 21; the surface of the chessboard 1 is provided with a chessboard pattern of 64 lattices. 64 checkerboard patterns, one grid corresponding to one drop; a first contact piece K1 is arranged below each grid and is attached to the bottom of the chessboard; a second contact piece K2 is arranged corresponding to the first contact piece K1, and the second contact piece K2 has elasticity; the first contact piece K1 and the second contact piece K2 form a magnetic control switch K, and the two contact pieces are equivalent to two pins of the switch; normally, the first contact K1 is separated from the second contact K2, and when the chess pieces 2 are placed on the grid of the chessboard 1, the second contact K2 contacts with the first contact K1 due to the attraction of the magnet 21 in the chess pieces. In the structure, when the chessmen are placed on a certain grid of the chessboard, the magnetic control switch K corresponding to the grid is in a conducting state, and when the chessmen are taken away, the corresponding magnetic control switch K is in a disconnecting state. The first contact piece K1 and the second contact piece K2 are made of copper-plated iron sheets. The bottom of the chessboard is also provided with a separation plate 3 which is positioned below the magnetic control switch; when the chess pieces are picked up and placed in the chessboard 1, the separation plate 3 separates the chess pieces 2 from the magnetic control switch.
The chessboard is also provided with a control circuit, the control circuit comprises a processor and a sounder of which the model is STM32F103VET6, and the sounder comprises a voice module 4 and a loudspeaker 5. The processor is provided with 80 GPIO ports, wherein 64 GPIO ports are correspondingly connected with the second contact pieces K2 of the 64 magnetic control switches and then are grounded through a resistor R1; all the first contact pieces K1 are connected with the positive pole of the power supply through a resistor R2; all resistors R1 adopt 47K Ω, and all resistors R2 adopt 10K Ω. When one magnetic control switch K is conducted, the corresponding GPIO port is set to be at a high level, otherwise, the GPIO port is set to be at a low level.
The processor is provided with a port connecting voice module 4 outside the 64 GPIO ports, and the output end of the voice module 4 is connected with a loudspeaker 5; the voice module 4 is internally provided with an audio playing function and sends out corresponding voice according to the received signal of the processor.
In the circuit diagram of FIG. 2, the GPIO ports connected to the magnetic switch K are respectively PA 0-PA 15, PB 0-PB 15, PC 0-PC 15 and PC 0-PC 15, and the total number is 64 ports; the connection voice module 4 is provided with 4 GPIO ports PE 12-PE 15.
Further, a display screen 6 is further arranged and connected to the processor STM32F103VET 6; the timer in the processor outputs time signals to the display screen 6, and the functions of timing time display and the like are realized. The control circuit is also provided with a start key KJ which is connected with a GPIO port PE0 of the processor, and the timing is displayed on the display screen 6.
Furthermore, an executive program is arranged in the processor, and is used for judging the change of the chessmen on the chessboard and outputting corresponding signals to the voice module 4 and the display screen 6. The method for executing the program comprises the following steps: a method for judging the moving chessman, the eating chessman and the timing method are characterized in that a recording table is arranged in a processor, 64 lattices on a chessboard and symbols of corresponding chessmen are recorded by 64 storage units, the lattices without the chessmen are recorded as null values, and the initial value of the recording table is the regular recording symbols of the chess playing. The recording form can be recorded according to the symbol mark of chess, for example, the symbol of chessman of grid "a 1" is "R0", and the symbol of chessman of grid "a 8" is "R1"; in the chessman symbols, "0" represents a white chessman and "1" represents a black chessman.
For convenience of explanation, when a piece is lifted off the chessboard, it is called a lifting event; the chessboard grids corresponding to the lifted chess pieces are called raiser grids, and GPIO ports corresponding to the processor are called raiser ports; when the chessmen fall on the chessboard, the chessman falling event is called; the checkerboard lattice corresponding to the fallen chessman is called falling chessman lattice, and the GPIO port corresponding to the processor is called falling chessman port.
(1) The walking judgment method comprises the following steps: when any one of the 64 GPIO ports connected with the magnetic control switch is changed from high level to low level, a dipper event is generated, and dipper lattices and chess symbols in the record table are read; waiting for a child-falling event; when any port is changed from a low level to a high level, a falling event is generated, if the falling port and the lifting port are not the same port, namely the taken chess piece is not put back, whether the law is in accordance with the chess law moving standard is judged according to the read chess piece symbol, if not, a corresponding signal is sent to the audio module 4, and the loudspeaker 5 is made to send out corresponding voice, such as 'wrong law moving'; if the law is in accordance with the standard, modifying the value of the record table, changing the chess piece symbol of the falling chess grid into the chess piece symbol of the dipper grid, and setting the chess piece symbol of the dipper grid as a null value; if the falling check is equal to the lifting check, the chessmen are taken up and put back, and no action is taken. However, if the royal jelly translocation occurs, the second chessman is stopped after falling off, and the record table records the change of the two chessmen at the same time.
In the above method, assuming that the white square of the grid 'b 1' is right away to the grid 'c 3', the record table finds the grid 'b 1', then assigns the corresponding pawn symbol as null, finds the grid 'c 3', and rewrites the corresponding pawn symbol as 'N0'. The record table can be recorded by using a variable method.
(2) The snack judgment method comprises the following steps: reading a first dipper grid and a chess piece symbol of a record table when a dipper event occurs for the first time; reading a second dipper grid and chess piece symbols of the record table when a second dipper event occurs before a falling event does not occur; then, when a falling event occurs and the lattice of the falling is the second lifting lattice, the record table changes the chess piece symbols of the falling lattice into the chess piece symbols of the first lifting lattice, and the chess piece symbols of the first lifting lattice are emptied. In the actual chess playing process, the user takes the chess pieces according to habits, firstly lifts the chess pieces of the user, then takes the chess pieces of the opposite side away, and then puts the chess pieces of the user on the chess pieces.
(3) The timing method comprises the following steps:
after a start key KJ is pressed, all data are initialized, timing is started by a white party until a first falling event is generated, namely the white party moves a first step chess, a processor sends an instruction to pause the timing of the white party, and triggers the timing of a black party and waits for the falling event of the black party; when the black party generates a fall event, the processor sends an instruction to pause the black party timing, trigger the white party timing and wait for the white party fall event; and the process is circulated.
The method is also provided with a win-or-lose judging function, and when one party wins, the processor drives the sounder to make corresponding sound.
In order to increase the sound effect of playing chess, corresponding instructions and audio are written in the executive program and the voice module, so that a go prompt, a timing prompt, a to-be prompt, an error prompt and the like can be realized; the effects are increased, so that the children can particularly arouse the interest of playing chess and can also be guided to play chess correctly.
Regarding the circuit structure and the using method of the processor STM32F103VET6 chip, relevant data can be consulted and are not detailed here.
If the Chinese chess is changed, 90 child points exist, and the processor can adopt an STM32F100ZE chip which has 112 GPIO ports.
The above description is only one embodiment of the present invention, and it should be understood that the changes made by those skilled in the art without departing from the principle of the present invention should be considered as falling within the protection scope of the present invention.

Claims (6)

1. A kind of entity electronic chess, including chess board and chess piece; the method is characterized in that: the bottom of the chess piece is provided with a magnet; a control circuit and a magnetic control switch are arranged in the chessboard; setting magnetic control switches according to the number of the falling points of the chessboard, wherein one falling point corresponds to one magnetic control switch; the control circuit comprises a processor and a sounder; the magnetic control switch is connected with the processor, and the processor is provided with an execution program; when one piece leaves the falling point of the chessboard or one piece with the piece falls on the falling point of the chessboard, the corresponding magnetic control switch can generate a trigger signal; the processor receives the trigger signal and drives the sounder to output a corresponding signal or not to output a signal according to the execution program.
2. The physical electronic chess according to claim 1, wherein: the bottom of the chessboard is also provided with a separation plate which is positioned below the magnetic control switch.
3. The physical electronic chess according to claim 1, wherein: the magnetic control switch comprises a first contact piece and a second contact piece; the first contact piece is attached to the bottom of the chessboard and positioned below the falling point; a second contact piece is arranged corresponding to the first contact piece, and the second contact piece has elasticity; the two contact pieces are equivalent to two pins of the magnetic control switch; the first contact piece and the second contact piece are separated in a normal state, and when the chess pieces are placed on the falling points of the chessboard, the second contact piece is contacted with the first contact piece.
4. The physical electronic chess according to claim 3, wherein: the first contact piece and the second contact piece are made of copper-plated iron sheets.
5. The physical electronic chess according to claim 3, wherein: as the chess, 64 magnetic control switches are arranged corresponding to 64 lattices on the chessboard; the processor is STM32F103VET 6; the processor is provided with 64 GPIO ports which are connected with the second contact pieces of the 64 magnetic control switches and then are grounded through a resistor; all the first contact pieces are connected with the positive electrode of the power supply through resistors;
the sounder comprises a voice module and a loudspeaker; the processor is also provided with a port connected with the voice module, and the output end of the voice module is connected with the loudspeaker; a display screen is also arranged and connected with the processor; and a start key connected to the processor.
6. The physical electronic chess according to claim 4, wherein:
the processor is internally provided with an executive program which judges the change of the chessmen on the chessboard and outputs corresponding signals to the voice module and the display screen; the method for executing the program comprises the following steps: the processor is provided with a recording table, 64 grids of a chessboard and symbols of corresponding chesses are recorded by 64 storage units, and grids without chesses are recorded as null values;
(1) the walking judgment method comprises the following steps: when any one of the 64 GPIO ports is changed from high level to low level, reading the grape lattices and the chess symbols of the record table; waiting for a child-falling event; when any port is changed from a low level to a high level, if the falling port and the lifting port are not the same port, judging whether the law is in accordance with the chess law moving standard according to the read chess piece symbols, and if not, sending a corresponding signal to the audio module to enable the loudspeaker to send corresponding voice; if the law is in accordance with the standard, modifying the value of the record table, changing the chess piece symbol of the falling chess grid into the chess piece symbol of the dipper grid, and setting the chess piece symbol of the dipper grid as a null value;
(2) the snack judgment method comprises the following steps: reading a first dipper grid and a chess piece symbol of a record table when a dipper event occurs for the first time; reading a second dipper grid and chess piece symbols of the record table when a second dipper event occurs before a falling event does not occur; then when a falling event occurs and the lattice of the falling is a second dipper lattice, changing the chess piece symbol of the falling lattice into the chess piece symbol of the first dipper lattice by the record table, and emptying the chess piece symbol of the first dipper lattice;
(3) the timing method comprises the following steps:
after a start key is pressed, all data are initialized, and the white square starts timing until a first falling event is generated, namely the white square moves a first step chess, a processor sends out an instruction to pause the white square timing, trigger the black square timing and wait for the black square falling event; when the black party generates a fall event, the processor sends an instruction to pause the black party timing, trigger the white party timing and wait for the white party fall event; and the process is circulated.
CN202010084672.0A 2020-02-10 2020-02-10 Entity electronic chess Withdrawn CN110960848A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010084672.0A CN110960848A (en) 2020-02-10 2020-02-10 Entity electronic chess

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010084672.0A CN110960848A (en) 2020-02-10 2020-02-10 Entity electronic chess

Publications (1)

Publication Number Publication Date
CN110960848A true CN110960848A (en) 2020-04-07

Family

ID=70038320

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010084672.0A Withdrawn CN110960848A (en) 2020-02-10 2020-02-10 Entity electronic chess

Country Status (1)

Country Link
CN (1) CN110960848A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111562844A (en) * 2020-04-30 2020-08-21 中国传媒大学 Full-automatic game Chinese chess system
RU2765456C1 (en) * 2021-04-27 2022-01-31 Валерий Филиппович Иванов Advanced chess device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111562844A (en) * 2020-04-30 2020-08-21 中国传媒大学 Full-automatic game Chinese chess system
CN111562844B (en) * 2020-04-30 2023-04-21 中国传媒大学 Full-automatic game Chinese chess system
RU2765456C1 (en) * 2021-04-27 2022-01-31 Валерий Филиппович Иванов Advanced chess device

Similar Documents

Publication Publication Date Title
CN110960848A (en) Entity electronic chess
EP2123335A1 (en) Electronic game board
CN100579614C (en) Interactive electronic games system
CN107376322A (en) A kind of electronic Chinese chess and its application method based on CPU module
CN103432745A (en) Electronic board role playing games (BRPG) equipment
CN215136773U (en) Interactive entity game disc
CN206400483U (en) It is a kind of that there is the music keyboard for playing position indicating function
CN107261476A (en) Electronic Blind person Chinese chess and its control method
CN211427541U (en) Rotary English ball for infant enlightenment education
CN201394355Y (en) Dancing machine
CN207253722U (en) A kind of electronic Chinese chess based on CPU module
CN107854839A (en) A kind of long-range mahjong device with entity feel
CN217409708U (en) Intelligent Huarongdao chess
CN218076317U (en) Chess piece module and chessboard
CN111054054A (en) Electronic chessboard toy
CN103801077B (en) A kind of table trip equipment
CN215182528U (en) Card logic learning machine
CN110115834A (en) The mute chess/card game all-in-one machine of touch screen type
JP4463379B2 (en) Controller set for multiplayer games connected to home video game consoles
CN206809722U (en) Electronic Blind person Chinese chess
CN216418260U (en) Intelligent Huarong-channel chess game
CN218187825U (en) Intelligent chessboard
CN111744165B (en) Virtual reality mahjong system and application method thereof
CN213432918U (en) Multi-mode toy
CN211635184U (en) Structure of chessboard of chess

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20200407