Method for displaying floor where elevator is located on main board of elevator advertising machine
Technical Field
The invention relates to the technical field of elevator floor display, in particular to a method for displaying a floor where an elevator is located on an elevator advertising machine mainboard.
Background
Along with the continuous development and the application of elevator in-elevator advertisement machine technique, elevator in-elevator advertisement machine has walked into office building and district gradually, obtain advertisement information through elevator in-elevator advertisement machine and have become the indispensable part of people's life, in order to adapt to the needs of people's life, elevator in-elevator advertisement machine and take advantage of the mutual information between the personnel also more and more, take advantage of the personnel and often can be attracted because of the advertisement of elevator in-elevator advertisement machine broadcast to forget and pay close attention to current floor number, missed the off-stairs.
Disclosure of Invention
The invention aims to provide a method for displaying the floor where an elevator is located on an elevator advertising machine main board, which has the advantage of reminding people taking the elevator to get off the elevator in time.
The above object of the present invention is achieved by the following technical solutions:
a method for displaying the floor where an elevator is located on a main board of an elevator advertising machine comprises an advertising machine main liquid crystal display and a pressure sensor, and further comprises the following steps:
s1, setting and storing the highest floor, the lowest floor and the non-stop floor of the current floor on the APP running on the main board so as to eliminate the floor;
s2, placing an IBeacon beacon at the first floor for data correction, detecting the IBeacon beacon placed at the first floor when the elevator stops at the first floor every time, and judging whether the floor where the stairs are located is a basic floor or not, wherein the basic floor height of the floor is set to be zero meters by the APP;
s3, after the APP is set and stored, when the elevator runs to the first floor again, the IBeacon beacon is detected, after the current floor is determined to be the basic floor, the APP judges and eliminates the current floor according to the stored information of the highest floor, the lowest floor and the non-stop floor, the air pressure value of the floor needing to stop is automatically detected to calculate the height of the elevator floor, and the APP stores the calculated height information of the floor;
s4, APP after collecting floor information, the elevator continues to operate, when the elevator operates to the basic floor, namely the first floor, the advertising machine mainboard displays the current floor on the liquid crystal display screen for the first floor, then the elevator operates to other floors, the air pressure sensor calculates the height of the current floor, and the APP judges the floor where the elevator is located according to the height and displays on the liquid crystal display screen.
Further, in step S3, the main board of the advertisement machine calculates the current height according to the formula P ═ ρ gh by using the mobile phone pressure data every 50ms, and the APP performs filtering correction on the average height difference of the seven floors close to the current height according to the previously stored floor height to calculate the floor where the current elevator is located, and displays the floor on the liquid crystal screen.
In conclusion, the invention has the following beneficial effects:
(1) the current floor is displayed through the liquid crystal screen, and the elevator control system has the advantage of timely reminding people who take the elevator and watch the advertisement of getting off the elevator.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flow chart of an embodiment of the present invention.
Detailed Description
In the following detailed description, numerous specific details are set forth in order to provide a thorough understanding of the present invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced without some of these specific details. The following description of the embodiments is merely intended to provide a better understanding of the present invention by illustrating examples thereof.
The technical solutions of the embodiments of the present invention will be described below with reference to the accompanying drawings.
Example (b):
a method for displaying the floor where an elevator is located on a main board of an elevator advertising machine comprises an advertising machine main liquid crystal display and a pressure sensor, and further comprises the following steps:
s1, setting and storing the highest floor, the lowest floor and the non-stop floor of the current floor on the APP running on the main board so as to eliminate the floor;
s2, placing an IBeacon beacon at the first floor for data correction, detecting the IBeacon beacon placed at the first floor when the elevator stops at the first floor every time, and judging whether the floor where the stairs are located is a basic floor or not, wherein the basic floor height of the floor is set to be zero meters by the APP;
s3, after the APP is set and stored, when the elevator runs to the first floor again, the IBeacon beacon is detected, after the current floor is determined to be the basic floor, the APP judges and eliminates the current floor according to the stored information of the highest floor, the lowest floor and the non-stop floor, the air pressure value of the floor needing to stop is automatically detected to calculate the height of the elevator floor, and the APP stores the calculated height information of the floor;
s4, APP after collecting floor information, the elevator continues to operate, when the elevator operates to the basic floor, namely the first floor, the advertising machine mainboard displays the current floor on the liquid crystal display screen for the first floor, then the elevator operates to other floors, the air pressure sensor calculates the height of the current floor, and the APP judges the floor where the elevator is located according to the height and displays on the liquid crystal display screen.
Specifically, in step S3, the main board of the advertisement machine calculates the current height according to the formula P ═ ρ gh by using the mobile phone pressure data once every 50ms, the APP performs filtering correction on the average height difference of the seven floors close to the current height according to the previously stored floor height to calculate the floor where the current elevator is located, and displays the floor on the liquid crystal display, for example, the air pressure sensor calculates that the current height is 78.1 meters, the first floor is 50 meters, the second floor is 54 meters, the third floor is 58 meters, and so on, the seventh floor is 74 meters, the average height difference of the seven floors is 4 meters, the average height difference of the current floor and the seven floors is 4.05 meters, and the APP performs filtering correction to obtain the actual height of the current floor as 78 meters due to certain error of the air pressure of each floor, the current floor is eight floors through comparing the height of the memory in the APP, and the floor is displayed on the liquid crystal display screen to remind the personnel taking the elevator to get off the elevator in time.
The above examples are only used to illustrate the technical solutions of the present invention, and do not limit the scope of the present invention. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. All other embodiments, which can be derived by a person skilled in the art from these embodiments without making any inventive step, fall within the scope of the present invention.
Although the present invention has been described in detail with reference to the above embodiments, those skilled in the art may still make various combinations, additions, deletions or other modifications of the features of the embodiments of the present invention according to the situation without conflict, so as to obtain different technical solutions without substantially departing from the spirit of the present invention, and these technical solutions also fall within the protection scope of the present invention.