With the development of science and technology, new things are emerging, such as 3D printing, VR, Internet of Things and so on. The rise of these technologies has made the future market infinite possibilities. Advertising, as one of the best marketing means in the domestic market economy, has a huge market. However, people are tired of the monotonous and boring forms of TV and newspaper advertisements in the past.
Therefore, the forms of advertising need to be further developed and innovated. Interactive advertising fully captures the attention economic phenomenon of advertising. Compared with traditional advertising, interactive advertising can give customers more auditory and visual stimulation, coupled with the appropriate creativity of developers, which can make interactive advertising give people a lasting impression. This paper mainly studies the design and application of the general controller for interactive advertisement, including the design of the PCB board of the controller, the development of each sensor control program, and the design of the debugging window of the controller. In this paper, Arduino is used as the development platform to realize the control of relays by each sensor. The relays are connected with high-power motors to realize the interactive function. Winforms is used as the development platform of the debugging window of the controller to communicate with Arduino and to adjust the delay time of the relay conveniently. This general controller can be used in education and scientific research. Developers can quickly build a controller with arbitrary sensors, which can quickly shorten the development cycle. With the advent of the information age, people have more and more ways to receive information. With the spring breeze of the information age, new media has sprung up vigorously, and people are paying more and more attention to the arrival of new media. At the same time, the improvement of the quality of life has also changed people’s consumption concept, and outdoor advertising has become more diversified. In today’s information explosion, people receive more information than the load, people for the past single and boring form of television, newspaper advertising has produced a sense of fatigue. As advertisers and the media are thinking about how to make advertising more creative and explore a new way of advertising communication, interactive advertising has gradually come into everyone’s eyes. The key point of interactive advertising is that the word “interaction” and “interaction” are borrowed from sociology and widely used in the fields of advertising and communication. In the process of advertisement design, the aim is to give the audience a sense of representation and to communicate with this visual, audible and perceptible medium. This is the biggest difference between interactive advertisement and traditional advertisement. There are many forms of art, and the interactive device is one of them. This interdisciplinary combination of art and technology gives people a new feeling.
Because of the renewal of people’s artistic conception, people have gradually accepted the interactive art form. At the same time, with the progress of science and technology, this kind of innovation has become possible. Unlike the traditional outdoor advertising audience, which can only passively accept information, it pays more attention to the psychological needs of consumers and interactive communication with consumers. In short, interactive advertising focuses more on audience experience. Therefore, it is necessary for us to study this new type of advertising, explore its value of existence, what impact its intervention will bring to the traditional media, and what its limitations are. Using the existing technology, how to make interactive advertising and build a production platform is our research direction. When designing the hardware system, the first step is to establish the composition of the hardware. The hardware of the controller designed in this paper consists of four parts: sensor, PCB board, relay and Arduino. Sensors are the “eyes” of controllers. They enable controllers to perceive the world. They are the inputs of controllers and the first step to achieve interactive effects. Because they are universal controllers, they can be compatible with all kinds of sensors. Relay is the “hand” of controller. To achieve interactive effect, relay is needed to operate. It can connect high-power motor to relay and realize creative interactive scheme. Arduino is the “brain” of the controller. All the operations are processed in Arduino. Without Arduino, all the sensors can not be used normally, nor can the “hand” control be realized. In this paper, the Arduino UNO development board is used as the main control board.
These three components are installed on a self-designed PCB circuit board, which is also the “body” of our controller. All the components are built on it, and a complete controller model is constructed. The hardware structure block diagram is shown in Figure 1. In the design of PCB circuit board, considering that all components must be installed on the board, special assembly ports are reserved for the main control board of Arduino UNO. According to the pins of Arduino Uno, four groups of 4Pin sensor interfaces, four groups of 3in digital signal input interfaces and four groups of 3in analog signal input interfaces are designed on the circuit board. Each group of interfaces is equipped with 3in analog signal input interfaces. Power pin and grounding pin are convenient for users to insert sensors. In addition, the circuit board is equipped with two relays, leaving two sets of relay installation positions. When the user inserts the sensor into the general controller, it can detect the surrounding environment through the sensor, and then control the closure of the relay. The PCB board is shown in Figure 2. In this device, the software design includes two parts: the program design of Arduino development board and the software design of controller debugging assistant. The functional block diagram of the software is shown in Figure 3. First, the data received by the sensor must be processed, decoded, analyzed and judged whether the signal is an interactive signal. According to the different types of sensors used by users, the decoding methods are different. The control program is stored in a self-designed debugging assistant software.
There are seven kinds of sample codes for the use of sensors, which can be used by users. In these programs, considering the energy saving, the interruption method is adopted, and the interruption function is defined to detect the external environment every 50 milliseconds. Because of the existence of debugging assistant software for general controller, it is necessary to let Arduino development board detect whether data is sent from the computer. If data is sent, the variable parameters of Arduino relay delay are changed after receiving. The flow chart of control program is shown in Fig. 4.
This program uses Winforms development environment to design a controller debugging assistant to facilitate users to adjust relay delay. When users want to use different sensors to control relays, they can use this assistant to view the corresponding relay control program for burning. The software design of the system consists of several parts, such as serial port detection program, delay adjustment program, serial communication program, etc.
The debugging assistant interface is shown in Figure 5. In the debugging assistant, the function of automatically detecting the Arduino serial port is designed. After connecting the Arduino UNO to the computer, the debugging assistant of the controller is opened and the serial port can be used by clicking on the corresponding opening. The main interface has a slider control.
After sliding the slider, the relay delay will change in real time. In this section, the output control program of the device is tested, and the relay control experiment is carried out with the infrared distance sensor as an example. When the control program is selected and transmitted successfully, the controller starts to work with an initial delay of 0 seconds. When an object approaches the sensor, the red light of the relay lights up, indicating that the relay is closed. If the relay is connected to the motor, the motor starts to work. The result is shown in Fig.
6. Open the serial port of debugging assistant and adjust the delay. As shown in Figure 7, the delay is changed in real time, thermostatic element and the relay delay is extended to 2 seconds. Install a small fan into the vase and spray some perfume into the vase, then connect the fan power cord to the relay for 12V voltage. The finished product is shown in Figure 8. The sensor used in this interactive experiment is infrared ranging sensor.
When an object is near the sensor, the relay should be closed and the fan started. When the hand is close to the infrared ranging sensor, the red light of the relay turns on, the fan starts, and the fragrance in the bottle spreads out. As shown in Figure 9, the experiment is successful. This product can be applied to perfume advertising. When someone is close to smell the flowers, the fan starts and the perfume smell comes out. It can promote the perfume brand very well. This design uses the combination of relay, sensor and Arduino UNO board to control relay based on Aduino platform according to people’s position or behavior, so as to achieve the effect of interaction with people. This interactive effect is inspired by the Mimosa plant.
When people touch the leaves of the Mimosa plant, the leaves will close. This effect can be imitated by the cooperation of various sensors. The sensors used in the sample code in this design are: infrared sensor, touch sensor, ultrasonic sensor, which have been widely used in real life, especially touch sensor. Novel functions are loved by people and gradually replace the traditional button. In addition, the output of this universal sensor is not limited to one kind, combined with the creativity of all people can develop infinite interaction effect. Controller debugging assistant program is convenient for users to develop applications. Simple and humane operation interface makes the use of the controller more simple and convenient.