Multifunctional controller for Internet of things
Technical Field
The invention relates to the technical field of controllers, in particular to an Internet of things multifunctional controller.
Background
Seats arranged along pedestrian walkways, commercial streets and the like generally have only a sitting role for a person. In order to expand the functions of the existing seat, the functions need to be realized by means of the internet of things technology, and the existing internet of things controller has a single control function and certain limitations.
Disclosure of Invention
In order to solve the technical problems existing in the background technology, the invention provides an extract networking multifunctional controller, which comprises:
a total control STM 32;
the 4G Cat1 is in communication connection with the main control STM32 and is used for transmitting the numerical values of the sensors;
the pressure monitoring module is in communication connection with the main control STM32 and transmits pressure data to the main control STM32 to judge whether the seat is sat down;
the audio output module is used for playing voice;
the voice module comprises a voice acquisition module and a voice recognition module and is in communication connection with the main control STM32, the voice acquisition module acquires voice signals of the current environment, the voice signals acquired by the voice recognition module are processed and recognized, the recognition result is processed by the main control STM32, corresponding voice is triggered according to the recognition result, and the voice is played through the audio output module;
the PWM dimming module is used for adjusting the brightness of the light;
the light sensing module is in communication connection with the main control STM32 and used for acquiring brightness data of the current environment and transmitting the data to the main control STM32, and when the brightness is lower than a preset threshold value, the light brightness is adjusted through the PWM dimming module;
And the relay module is used for carrying out on-off control on the lamp.
Preferably, the method further comprises the following steps:
the water flooding sensing module is in communication connection with the main control STM32 and is used for judging whether the multifunctional controller is flooded with water, and when the multifunctional controller is judged to be flooded with water, the main control STM32 transmits an alarm signal to the management platform through the 4G Cat 1;
the RS485 module is used for being externally connected with sensing equipment and transmitting the sensing equipment to the master control STM 32;
and the temperature and humidity module is in communication connection with the STM32 and is used for acquiring the temperature and humidity data of the current environment.
Preferably, the method further comprises the following steps:
the GPS module is used for positioning and timing;
the switching value module is used for expanding the switching value output function;
and the Bluetooth module is in communication connection with the master control STM32 and is used for controlling the audio output module to play music.
Preferably, be provided with solar panel on the seat, solar panel electric connection has the battery, still includes:
the voltage monitoring module is in communication connection with the master control STM32 and is used for detecting the voltage state of the storage battery and transmitting the voltage state to the management platform through the master control STM 32;
the wireless charging module is used for charging the electric equipment;
and the USB charging module is used for charging the electric equipment.
Compared with the prior art, the technical scheme of the invention has the following beneficial technical effects:
Be applied to the wisdom seat of arranging along the line such as pedestrian path, trade street, except basic rest function, make the wisdom seat still can provide light, USB and charge and wireless extended function such as charge, bluetooth stereo set, satisfy the demand that people moved and rested, increase the rate of utilization of healthy pavement, rest area, body-building district etc.. Solar energy transformation becomes the electric energy and stores in the battery through solar panel to supply power to the seat, but the automatic lighting lamps and lanterns throw light on under the shimmer condition night, realized intelligent automatic control, control function is various. The seats support voice interaction, and people can interact with the intelligent seats like friends.
Drawings
Fig. 1 is a system connection block diagram of an embodiment of a multifunctional controller of the internet of things.
Detailed Description
As shown in fig. 1, the multifunctional controller for internet of things provided by the present invention is applied to control of a seat and a lamp, wherein the seat is provided with a solar panel, and the solar panel is electrically connected with a storage battery, and the multifunctional controller for internet of things comprises:
the master control STM32 is in communication connection with the management platform;
the 4G Cat1 is in communication connection with the main control STM32 and is used for transmitting the numerical values of the sensors;
The pressure monitoring module is in communication connection with the main control STM32 and transmits pressure data to the main control STM32 to judge whether the seat is sat down;
the audio output module is used for playing voice;
the voice module comprises a voice acquisition module and a voice recognition module and is in communication connection with the main control STM32, the voice acquisition module acquires voice signals of the current environment, the voice signals acquired by the voice recognition module are processed and recognized, the recognition result is processed by the main control STM32, corresponding voice is triggered according to the recognition result, and the voice is played through the audio output module;
the PWM dimming module is used for adjusting the brightness of the light;
the light sensing module is in communication connection with the main control STM32 and used for acquiring brightness data of the current environment and transmitting the data to the main control STM32, and when the brightness is lower than a preset threshold value, the light brightness is adjusted through the PWM dimming module;
and the relay module is used for carrying out on-off control on the lamp.
The water flooding sensing module is in communication connection with the main control STM32 and is used for judging whether the multifunctional controller is flooded with water, and when the multifunctional controller is judged to be flooded with water, the main control STM32 transmits an alarm signal to the management platform through the 4G Cat 1;
the RS485 module is used for being externally connected with sensing equipment and transmitting the sensing equipment to the master control STM 32;
The humiture module is connected with the communication of total STM32 for gather the temperature and the humidity data of current environment, when voice module detected someone initiative inquiry, can report humiture data at that time through audio output module.
The GPS module is used for positioning and timing;
the switching value module is used for expanding the switching value output function;
and the Bluetooth module is in communication connection with the master control STM32 and is used for controlling the audio output module to play music.
The voltage monitoring module is in communication connection with the master control STM32 and is used for detecting the voltage state of the storage battery and transmitting the voltage state to the management platform through the master control STM 32;
the wireless charging module is used for charging electric equipment, such as a mobile phone, a tablet computer, a notebook computer and the like;
the USB charging module is used for charging electric equipment, such as a mobile phone, a tablet computer, a notebook computer and the like.
The multifunctional controller of this embodiment is applied to and arranges the wisdom seat along the lines such as people's walk, trade street, except basic rest function, makes the wisdom seat still can provide illumination light, USB charge and wireless extended function such as charge, bluetooth stereo set, satisfies people's motion and the demand of resting, increases the rate of utilization of healthy walk, rest area, body-building district etc.. Solar energy transformation becomes the electric energy and stores in the battery through solar panel to supply power to the seat, but the automatic lighting lamps and lanterns throw light on under the shimmer condition night, realized intelligent automatic control, control function is various. The seats support voice interaction, and people can interact with the intelligent seats like friends.
The embodiments of the present invention have been described in detail with reference to the drawings, but the present invention is not limited thereto, and various changes can be made within the knowledge of those skilled in the art without departing from the gist of the present invention.