- Home >> News >> Blog articles >> Internet of things
Design and development of intelligent wine cabinet control system
The control method of the wine cabinet has been focusing on the wine cabinet itself, the controllable range and control accuracy of the performance of the wine cabinet, but few attempts have been made to control the distance of the wine cabinet and the convenience of control operation. This article introduces a remote control wine cabinet, which realizes remote control of the wine cabinet. In essence, it combines the electronic control design of the wine cabinet and Internet technology to realize remote control.
1. Brief introduction of remote control technology
With the development of Internet technology and the popularization of applications, the main data transmission of remote control can be realized through the Internet. The high speed of data transmission and the application of wireless transmission technology together constitute the main platform for data transmission.
The remote control technology can realize that a local computer can control another computer in a different place. Both computers are connected to the Internet, and the desktop of the remote computer can be called up on the local computer, and files can be searched and installed on the remote computer. , modification and other operations, this is a relatively simple remote control system. The hardware mainly includes a control terminal (or client, referring to a local computer) and a controlled terminal (a computer in a different place), with which remote control can be realized.
WiFi wireless network communication technology combined with the Internet is the key technology to achieve remote control in this paper. The data collected by the main control board of the wine cabinet is uploaded to the Internet through the wireless network, and the control terminal obtains the information of the wine cabinet through the network, and displays and executes it by installing the host computer software control commands.
WiFi technology is a technology that can connect personal computers, handheld devices (such as PDAs, mobile phones) and other terminals to each other wirelessly. WiFi technology can provide users with a wireless Internet access interface, which is a fast and convenient way to surf the Internet at home, in the office or on the go.
2. Hardware design of remote control wine cabinet
First of all, the electronic control module of the wine cabinet itself mainly includes the main control board, display board, and WiFi network module. The main control board is the main component that controls the operation of the wine cabinet. It can directly issue control commands to control the work of the refrigeration module according to the collected temperature data, and transmit the temperature information to the display board. At the same time, the data can be sent to the network synchronously to realize remote access. The wine cabinet remote control system needs a network platform --- remote control server and database, and the final client --- control terminal.
The main control board is the most direct part to control the operation of the wine cabinet. Taking the temperature control of the wine cabinet as an example, the temperature sensor is placed on the temperature sensing point set in the wine cabinet. When the temperature of the wine cabinet is too high and exceeds the temperature range set by the program At this time, the main control board will automatically issue control instructions to the refrigeration module, and adjust the temperature in the wine cabinet by adjusting the start and stop of the compressor or the operation of the fan; the main control board not only has control functions, but also has data storage and transmission functions. The working status data of temperature sensors and other electrical components (usually including heating wires, lighting lamps, presses, fans, etc.) are fed back to the display board and WiFi network module.
The display board is a component located on the wine cabinet that is easy to observe and operate. The display board is connected to the WiFi network module and the main control board. The working status of the cabinet. At the same time, control commands from the WiFi network module and status information of electrical components can be transmitted to the WiFi network module.
The network module is an important module for remote control of the wine cabinet. Its main function is to convert the data transmission mode, and it is also an interface for data to be connected to the network. This module can convert the wired data transmission into a wireless signal and connect to the network, transmit and store the data through the Internet, and can also wirelessly receive the control commands issued by the control terminal through the network. The network module is directly connected with the display board inside the wine cabinet to obtain the information of the wine cabinet. The network module can use Wi-Fi technology to send data to network hotspots at close range, so as to upload data to the Internet. The network module can be integrated in the wine cabinet controller, or can be connected with the wine cabinet controller by wire. Can use UART (Universal Asynchronous Receiver/Transmitter——Universal Asynchronous Receiver/Transmitter) bus, SPI (Serial Peripheral Interface——Serial Peripheral Interface) bus, I2C (Inter Integrated Circuit—internal integrated circuit) bus, etc. communication. The network module can be connected to the network in a wireless or wired manner. Wireless methods such as WiFi, Bluetooth, zigbee, infrared, GPRS, 3G, etc., wired methods such as optical fiber, twisted pair, etc.
The remote control server and database receive the data uploaded by the network module of the wine cabinet and store it in the database. When the control terminal logs in to the software window, the data is transmitted to the control terminal; similarly, when the control terminal issues a control command, the received control command is downloaded To the wine cabinet network module; the wine cabinet remote control server is responsible for classifying and managing all wine cabinets connected to the network, including user management, equipment management, information processing and forwarding, and database maintenance.
The control terminal is the top-level control device for the remote control of the wine cabinet. The control software is installed on the control terminal, and the operation status of the wine cabinet can be browsed in real time when entering the operation interface. At the same time, the wine cabinet issues control commands to control the operation of the wine cabinet. The control terminal can be a mobile phone, computer, tablet computer, TV intelligent terminal equipment with information display function, etc.
3. Software design of remote control wine cabinet
The software design of the remote control wine cabinet is mainly realized through the upper computer software of the control terminal. PC software is installed on the remote control terminal. After logging in, the user can search for the corresponding wine cabinet (this software design can realize the simultaneous control of multiple wine cabinets). The software determines whether to enter the configuration mode. Interface for configuration operation, configuration operation can be defined as the control command issued by the user, the control command is uploaded to the remote control server through the Internet, and finally received by the wine cabinet WiFi wireless network module through the network.
The network module enters the AP mode after being powered on, and the successful connection of the AP mode indicates that the wireless access point is successfully connected to the network. At this time, the network module can wait for the query command from the main control board, and immediately feedback the current status of the network module to the main control board; At the same time, the data of the main control board can be directly transmitted to the network. Of course, once the network module receives the control command from the control terminal, it immediately enters the configuration mode to receive the configuration command, and then sends a response frame to the main control board.
After the main control board is powered on, it periodically queries the status of the WiFi network module, and at the same time feeds back the running status information of the wine cabinet to the network module for data upload in real time. When the main control board receives the response frame sent by the network module, it immediately performs signal processing. For example, when the control terminal performs a temperature setting operation, the corresponding operation of the main control board is to control the wine cabinet refrigeration system to adjust the temperature.
Summarize
The Internet of Things wine cabinet designed in this paper introduces the hardware construction and software implementation methods. The data is mainly transmitted through the network through the wireless network module. In terms of function, it can not only realize remote control, but also perform network operation. The remote control can realize real-time monitoring of single or multiple wine cabinets through the host computer software. The function of the Internet of Things is mainly based on the remote control server to share data online, participate in community comment interaction, etc.
The above is the design and development example of the intelligent wine cabinet control system introduced by Shenzhen Zuchuang Microelectronics Co., Ltd. for you. If you have PCBA design requirements for smart remote wine cabinets, you can trust us. We represent a variety of single-chip microcomputers, voice chips, dual-mode Bluetooth ICs, and wifi chips. Brands include Songhan MCU, Yingguang MCU, Jerry Bluetooth, Ankai Bluetooth, Allwinner, and Realtek. Our technical services include: PCB design, microcontroller development, Bluetooth solutions, software and hardware custom development, APP development, small program development, WeChat official account development, etc. It can also undertake the design of intelligent electronic products, the development of living appliances, the research and development of beauty equipment, the application of Internet of things platform, the smart home control system, the development of TWS earphones, Bluetooth earphone speakers, the development of children's educational toys, the design of electronic education products, etc.
Proposal recommendation
- TOP