Intelligent street light controller

The application of electronic technology to Jiafan is a year-round increase in the speed of the plant.

Subtraction is similar to adding a key, but the opposite is true.

Stop the key as the key, and change it every time you press the state.

It is used to suspend motor operation or release the pause state.

5 Start Press this button to run the curing program.

The display part is the clock signal line, which is the data input end. The two-digit display is used to display the three-digit speed. (The system software of the software implementation system adopts the sequential design method, and the monitoring program consists of the main program and the interrupt subroutine.

In the interrupt subroutine, when the first interrupt is generated and the counter is started to generate the corresponding number of interrupts, the interrupt is disabled and the count is stopped.

The main program adjusts the M output according to the value generated by the interrupt subroutine and compares the set value, so that the rotation speed reaches the set value, and the rotation speed is displayed at the same time, and the main program is restarted at the corresponding position, which can simply indicate the following initial adjustment 1 non-VM output display status scan Restarting the gamma corresponds to a certain speed, the value must be a range of values, the upper and lower limits should be determined according to the actual needs of the work.

The status scan is detected, and the running status is determined according to its corresponding value.

The necessary software anti-jamming measures should be added to the program and will not be described here.

Conclusion The speed control system has a relatively complete hardware architecture, a good man-machine interface, and can also modify the corresponding software according to the actual work needs, so that the speed of the small DC motor can achieve the intended purpose.

References slightly information products and energy saving 沁 plus the first phase of electronic technology applications.

The illuminance detection circuit is composed of a circuit such as a silicon photodiode signal amplifier analog-to-digital converter, and is used for controlling the daytime weather change when the daylight illuminance is insufficient, by measuring the magnitude (unit) of the ambient illuminance.

The control output unit is composed of a thyristor trigger signal amplifying loop drive circuit intermediate relay DC contactor, etc., in response to the output of the control command, adjusting the intensity of the light according to the required illuminance, and completing the control of the street light.

The communication serial interface adopts a serial interface, which is a two-wire half-duplex transmission. The three-system working principle with a transmission distance of 10 is a computer clock. The computer clock uses a timed month to generate a standard second signal, and then is timed by software. .

First, arrange two data areas in the area, one is to display the data buffer, the start time of the input data, the time of switching lights, the time to be displayed after startup is also stored in this buffer and the other is the timing buffer. It is used to store the decimal value of the year, month, day, minute, minute, and second for timing.

Because the timer cannot directly generate the second signal, a unit is also set to store the count result of the second.

The clock frequency of the system is a few, the timer generates the second timing should work in the mode, the initial value of the timer is one to make the timing more accurate, and the initial value of the timer is corrected in the interrupt service subroutine.

This function can be used to communicate with the microcontroller through the data interface of Motorola's calendar clock. The block diagram is shown in the figure.

Illuminance Detection Table Photodiode Characteristics Type Area Output Wavelength Quantum Efficiency Response Time Xing Tyiyiyi 9 uses a photodiode as a sensor element to detect the illuminance, which is a single junction device.

When exposed to light in a reverse biased state, an electrical potential can be generated across the junction and an output current proportional to the amount of light is produced as shown.

The current is amplified into a voltage signal by a precision amplifier (such as, etc.), and then converted into a digital signal by an analog-to-digital converter, and transmitted to a single chip for processing.

The photodiode mainly uses the photoelectric effect to detect the amount of light, and can be divided into a junction type and an A-type D type according to characteristics.

The junction is used in general occasions, due to the particularity of its structure, that is, the region (the presence of the intrinsic region increases the sensitivity of the frequency response to accelerate the avalanche photodiode using a high reverse bias to avalanche effect to obtain a higher internal gain.

The thyristor of the voltage regulating output circuit is used as an output control component, and the calculation function of the single chip microcomputer is used to realize the generation of the trigger signal.

The trigger signal is a digital flip-flop that uses the effective resources of the microcontroller itself to generate a trigger pulse in a counting manner, as shown in the figure.

When the synchronous voltage crosses zero, the MCU clears the counter number and starts counting. When the required conduction angle is reached, a pulse is emitted, amplified by the drive circuit, and then sent by the transformer to the thyristor to turn it on.

In this circuit, the conduction angle is dynamically adjusted according to the illuminance, until the illumination requirement is reached. The system is single-phase trigger control, and the trigger period is relatively easy to implement.

一仁巫一区巫] A rough back to the single-chip microcomputer amplifier amplifier map pressure Han out the principle block diagram information products and energy-saving year first electronic technology application main program illuminance detection interrupt service sub-program interrupt population, protect the scene reading data open interrupt reading The current time reading people's current illuminance normal lighting? Insufficient lighting? A calculation control amount calculation control amount Han out control command gun out control command to issue a light-on command to turn off the light, issue a light-off command diagram program flow chart to the public) Whether the value is legal or not, if the test is qualified, it will enter the normal working state or it will be considered invalid. It is necessary to continue to input or issue a warning.

The entire programming is relatively simple and will not be repeated.

The main program and computer clock interrupt service subroutine flow chart are shown in the figure.

Such as.

wake.

Miscellaneous graph junction photoelectric characteristics reference Xu Huimin Andingen.

Single-chip microcomputer principle interface application.

Beijing University of Posts and Telecommunications Press, He Limin.

MCU application system design.

Beijing University of Aeronautics and Astronautics Press, four programming in the main program, in addition to the initialization of the work unit such as the completion of the timer, also set up an adaptive filter to verify the manually set time value and program running parts Chang 10,000 Tianjia corpse "information products and energy saving period

POGO PIN Connectors

Pogo Pin Connectors,Pogo Pin Magnetic Connector,Pogo Pin Connector Production,Pogo Pin Spring Connector

DA CHENG MINGHUA LIMITED , https://www.alpsswitch.com

Posted on