The school interest group proposed that the wind direction needs to be measured. At first, a simple method was considered. The reed switch and the magnet were judged based on the pull-in of the reed switch. However, in the actual production, it was found that the mechanical part was not easy to implement. So modify the plan, select the ready-made wind speed and direction sensor, communicate with the PLC, and display it on the touch screen.
2. Actual production:Purchase the wind speed and direction sensor, connect it with Haiwell PLC C10S0T, and realize the collection of wind speed and wind direction through programming. Later, further requirements were made: measuring temperature and humidity, as well as measuring PM2.5, which everyone is more concerned about, with corresponding display and voice playback. In this case, because the C series cannot be expanded, the plan is modified and the S series is used.
The specific drawings are as follows:
Among them, the touch screen is the display control SK-043AE
Host U0 is S16S2T
U1 is H04DT
U2 is S01RS
U3 is S01RS
U4 is H08DOR
U5 is H16DOR
U6 is H16DOR
U7 is H08DOR
Figure 1. Overall system diagram
Figure 2 Overall picture of the exhibition
Figure 3 Internal circuit
Due to limited space and many devices, they can only be placed on top of each other.
Figure 4 PM2.5 sensor
Figure 5 PM2.5 module debugging
Because its output is a TTL signal, it needs 5V power supply. PLC is 485 communication, so it needs to use TTL-485 conversion circuit for signal conversion.
Figure 6 Voice playback module
12V power supply, 485 communication, white is the speaker lead wire.
Figure 7 Wind and air quality indicator
Figure 8 Wind speed wind sensor
Figure 9 Touch screen display
The measurement parameters can be displayed on the screen, and the clock can be set. There are two types of voice playback: hourly broadcast and touch screen button broadcast.
Figure 10 Humidity display and wind direction indicator
There are 8 lights around, indicating the southeast, northwest, southeast, northeast, southwest, northwest
Figure 11 Temperature display and wind direction indicator
There are 8 lights around, indicating the southeast, northwest, southeast, northeast, southwest, northwest
The green light indicates that the negative temperature digital tube is a 5-inch common anode digital tube
3. ConclusionHaiwell PLC is easy to use and rich in instructions, especially in terms of communication, which is very flexible and brings great convenience. In addition, in terms of simulation, it also has unique advantages and is a rare PLC.
CL-2H Copper Connecting Terminals
Our company specializes in the production and sales of all kinds of terminals, copper terminals, nose wire ears, cold pressed terminals, copper joints, but also according to customer requirements for customization and production, our raw materials are produced and sold by ourselves, we have their own raw materials processing plant, high purity T2 copper, quality and quantity, come to me to order it!
CL-2H Copper Connecting Terminals
Taixing Longyi Terminals Co.,Ltd. , https://www.longyicopperlugs.com