Who has a MCU lesson set up a basketball game timer program

Updated on technology 2024-02-10
6 answers
  1. Anonymous users2024-02-06

    2] Basketball game scorer series.

    1] Infrared wireless remote control basketball game scorer.

    Customizable features:

    The game time can be set through the infrared remote control, which can realize the functions of starting, pausing, adding and subtracting points, and ending, and has a 24s time function.

    2] MCU Basketball Game Timer (Button Version).

    Customizable features:

    Simple implementation of basketball game timing function.

    3] Mobile phone bluetooth wireless remote control basketball game scoreboard.

    Introduction: Like the infrared version, the design of the wireless remote control basketball game scoring system is realized through the Bluetooth app of the mobile phone. You can set the time, remotely control the game to start, pause, end, etc., add or subtract points, etc.

  2. Anonymous users2024-02-05

    Hello! The specific requirements are to be said

  3. Anonymous users2024-02-04

    Basketball game timer for single-chip microcomputer is a timing tool that can be used for professional games, providing a vibrator for single-chip microcomputer through a clock circuit, so as to produce a beat effect. When the beat coincides with the time, it can be used as a timer, because the single-chip microcomputer can only work normally in the clock circuit, so the work efficiency of this timer is extremely high, and the accuracy rate will be relatively high, often used in basketball games or other professional games.

    First of all, in the basketball game timer of single-chip microcomputer, the single-chip microcomputer and the clock circuit are completely consistent, the two are missing, can not always be used as a timekeeping unit, and have no other use, and the single-chip microcomputer lacks a vibrator, and also loses the meaning of timekeeping. Therefore, this timer can ensure the immediate effect in the game, for the basketball game, especially in the late minute of the game, if the lore ball is generated, but it cannot be completely judged by the timer, it is a great loss for the basketball game, so Gao Wu lacks only the most accurate timing effect, so it can be a wonderful basketball game.

    Secondly, in the game of basketball, in order to ensure the fairness of the game, there must be no problems. Single-chip microcomputer basketball game timer Because of its complex design and operation steps, it also has a certain guarantee in quality, as long as it has a clock circuit, it can be timed in time, accurate game time, and ensure the fairness of the game. This is also the reason why the basketball game timer of the single-chip microcomputer can be used for a long time, without too much manual operation, and directly let the clock circuit control the start and end of the orange wide timer.

    Choosing the right game timer will maximize the timing of a basketball game.

  4. Anonymous users2024-02-03

    The design of the 24-second countdown timer for basketball games.

    Design and manufacture a basketball competition timing system with a 24-second countdown function for the offensive side, and the specific design requirements are as follows:

    1. It has the function of displaying 24s countdown: it is displayed with two common cathode digital tubes, and its timing interval is 1s. 2. Set the start and pause continue buttons to control the counting of the two timers and pause the resume counting function.

    3. Set the reset button: Press the reset button to return to the initial state at any time, that is, the attacker's timer returns to 24s. 4. When the timer decreases to "00", the timer jumps back to "24" to stop working, and gives a sound and luminous prompt, that is, the buzzer emits a sound and the LED emits light Preface.

    E-course design is a very important part of e-technology learning, a link that unifies theoretical knowledge and practical ability, and a link that truly exercises students' ability.

    Timers are widely used in many fields, such as in sports competitions, timing alarms, rewinding timers in games, traffic lights, traffic lights, pedestrian lights, traffic control machines, and can also be used as various pills, tablets, capsules at the specified time to remind medication, etc., which shows that the application of timers in modern society is quite common.

    In basketball, it is stipulated that a player cannot hold the ball for more than 24 seconds, otherwise it is a violation. This course is designed "Design of a Smart Basketball Game Countdown Timer", which can be used in basketball games to limit the player's holding time to 24 seconds. If a player has been in possession for more than 24 seconds, it will automatically alert the player for a violation.

    This design can mainly complete: display 24-second countdown function; The system is set with an external operation switch to control the timer's direct clearing, starting and pausing continuous functions; When it is cleared directly, the digital tube display is turned off; The timer is 24 seconds decreasing, with a timing interval of 1 second; When the timer decreases to zero, the digital display does not turn off the light, and at the same time emits a photoelectric alarm signal.

    Basic principle. The overall reference block diagram of the 24-second timer is shown in Figure 1. It consists of five modules: second pulse generator, counter, decoding display circuit, alarm circuit and auxiliary timing control circuit (referred to as control circuit). Among them, the counter and control circuit are the main modules of the system.

    The counter completes the 24-second timing function, and the control circuit completes the functions of direct zeroing of the counter, starting the counting, pausing continuous counting, decoding the display circuit and turning off the light, and timing time to alarm.

  5. Anonymous users2024-02-02

    Based on the 24-second timer design course of the single-chip basketball game The principle of the chip machine and its application in the discipline of electrical measurement and control, the graduation project (**) Statement of originality and the description of the authorization of use Statement of originality I solemnly promise that the graduation project submitted (**) is my personal research work and achievements under the guidance of the instructor. To the best of my knowledge, it does not contain research that has been published or published by other people or organizations, or material that I have used to obtain a degree or degree from other educational institutions, except where specifically noted and acknowledged.

    The individuals or groups that have contributed to this study have been clearly stated and acknowledged in the text. Supervisor's Signature: Authorization to use indicates that I fully understand the University's regulations on the collection, preservation, and use of the graduation project (**), i.e.:

    Submit the printed and electronic version of the graduation project (**) according to the requirements of the school; The University has the right to keep the printed and electronic copies of the graduation project (**), and to provide catalog search and reading services; Schools may use photocopying, microprinting, digitization or other means of reproduction for preservation**; On the premise that it is not for profit, the school may publish part or all of the contents. Author's Signature: Shaoyang University Curriculum Design (**) Assignment Grade Major 09 Electrical Measurement and Control Student's Name 24-second timer design for the basketball game of single-chip microcomputer Design time Single-chip microcomputer principle and in digital control and plc Course name Electrical measurement and control discipline Course number Design location Laboratory (305) Application Curriculum design (**) PurposeCurriculum design is an important part of the quality education of students in school, and it is a bridge and link that combines theory and practice.

  6. Anonymous users2024-02-01

    In basketball games, the score can be divided into 1 point, 2 points, and 3 points. According to such design requirements, combined with the display of the digital tube and the working implementation mode of the counter in the 51 single-chip microcomputer, the interface application, the interrupt control, etc., the program flow chart can be designed as follows:

    Some of the procedures are as follows:

    For the display of the digital tube, add the hexadecimal number MOV DPTR, Tab corresponding to the display number of the digital tube in the tab

    tab: db 0c0h,0f9h,0a4h,0b0h,99hdb 92h,82h,0f8h,80h,90h digital tube display program:

    mov a,r0

    mov b,#

    div ab

    movc a,@a+dptr

    mov p1,a

    mov a,b

    movc a,@a+dptr

    mov p3,a

    Since four switches are required, take out the lower four bits in A to connect the switches, and use the ANL command to implement them. The procedure is as follows:

    mov a,p0

    anl a,#0fh

    cjne a,#0fh,key1

    sjmp start

    Four switches plus 1, plus 2, plus 3, minus 1, directly through the addition in the accumulator, taking switch 1 as an example, the procedure is as follows:

    mov r1,#

    mov a,r0

    add a,r1

    mov r0,a

Related questions
4 answers2024-02-10

You use a P1 port to control the dynamic scanning of 8 digital tubes, and the dynamic scanning display of digital tubes needs to be blanked. >>>More

8 answers2024-02-10

void key0()

if(p1_0!=1) *If the key 0 is pressed. >>>More

12 answers2024-02-10

A: The bit-addressing area is located between 20F and 2Fh in the data memory. The registers in this interval can be bit-addressed, and they can be bit-manipulated and bit-arithmetic. >>>More

6 answers2024-02-10

In this case, it depends on sp, ret is equal to (sp) pch, sp-1 sp (sp) pcl, sp-1 sp >>>More

16 answers2024-02-10

Isn't this thing just a digital tube displaying 16 digits? Prompt you 16 times to get there, let go after you think to press the stop button. If so, the procedure is available for reference: >>>More