MCU Classroom Lighting Automatic Controller Design Graduation Project! 80

Updated on technology 2024-03-12
4 answers
  1. Anonymous users2024-02-06

    In view of the development status of the control method of classroom lighting, especially the development status of intelligent control of classroom lighting, this study analyzes the principle and implementation method of intelligent control of classroom lighting, puts forward the design idea of classroom lighting intelligent control system based on single-chip microcomputer, and develops the hardware device and corresponding software of intelligent control system on this basis. The system uses AT89C52 single-chip microcomputer as the intelligent component of the control device, uses pyrothermal infrared human body sensor to detect the existence of human body, and uses a circuit composed of photosensitive transistor to detect the intensity of ambient light. According to the conditions of reasonable lighting in the classroom, the system completes the intelligent control of the classroom lighting circuit through the recognition and intelligent judgment of the presence signal of the human body and the ambient light signal, and avoids a large waste of electricity in the classroom. The system also has a variety of alarm functions; At the same time, anti-interference measures such as software and hardware "watchdog" technology are also adopted.

    The single-chip microcomputer software is compiled in assembly language, and adopts modular structure design, which is clearly organized and versatile, which is easy to improve and expand. The system has the advantages of small size, convenient control, high reliability, strong specificity, reasonable cost performance, etc., which can meet the requirements of classroom lighting control of various large and technical colleges, and achieve the purpose of energy saving to a large extent.

  2. Anonymous users2024-02-05

    org 0000h

    ljmp main

    org 0100h

    main: mov p0,#0ffhmov a,,#0feh

    lla: jb ,llalcall ys10ms

    jb ,lla

    llb: mov p0,alcall ys10ms

    rl allc: jb ,llblcall ys10ms

    jb ,llb

    sjmp main

    Haha, don't forget to give me extra points.

  3. Anonymous users2024-02-04

    I can only give you an idea, after all, other people's chewed rice doesn't taste very good. Hehe, joke.

    First of all, you must have done the display circuit of the digital tube 0 9 and the 10-way flow lamp circuit before (if you haven't done it, hurry up and do it first, otherwise it will be difficult to succeed) friends.

    The general idea: use a similar flow lamp circuit to trigger the ABCD binary that needs to be displayed to control 0 9, so that it can display various numbers as it likes. (e.g. to show 3, then the level of ABCD should be 1100, if you want to display 8, then the level of ABCD should be 0010, and so on).

    There are a total of 28 numbers, and it is recommended to use two CD4017 (10-base chips) to form a 28-way flowing light circuit (there can be no lights, so it is just for ease of understanding.) Just need its 28-way triggering).

    Then use a CD4511 (seven-segment decoding chip), which has ABCD four binary input ports and seven segments of ports (used to display the seven segments of the digital tube, except for the number of small cherry blossoms).

    Finally, use the 28-channel trigger terminal to access the ABCD port, separated by diodes, and then you can set all kinds of numbers as you like, 100 1000 (if 1000 you need to add a CD4017) without any combination of numbers that are not in the law of the Song Qi can be displayed.

    As for the boot reset, it is very simple, the reset termination of the 4017 is connected to a capacitor (the other end of the capacitor is connected to the VCC), and the boot reset is OK, while the 4511 does not need to be reset (because the 4511 is controlled by the 4017).

    It's already detailed, I hope it works for you.

    Can it solve your problem?

  4. Anonymous users2024-02-03

    This is too simple, just look at the PLC traffic light design program, and you'll be fine.

Related questions
4 answers2024-03-12

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-03-12

void key0()

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

10 answers2024-03-12

Step 1: ANL is Logic and Operation.

That is to say, the first step is to perform and calculate the content in A and 47h in 34h. a=10000011 34h=00110100 >>>More

12 answers2024-03-12

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