Intelligent Bluetooth light adjusting system and method for home theater

文档序号:1957293 发布日期:2021-12-10 浏览:17次 中文

阅读说明:本技术 一种用于家庭影院的智能蓝牙灯光调节系统及方法 (Intelligent Bluetooth light adjusting system and method for home theater ) 是由 鲁鹏飞 鲁霖 蒋少彬 于 2021-09-16 设计创作,主要内容包括:本发明提供了一种用于家庭影院的智能蓝牙灯光调节系统及方法,系统包括智能蓝牙灯,所述智能蓝牙灯设有MCU模块和灯泡色彩模块,所述MCU模块与所述灯泡色彩模块电性连接;还包括智能移动设备,所述智能移动设备设有相机模块和蓝牙模块,智能移动设备内安装有APP,用于调用所述相机模块和所述蓝牙模块,所述蓝牙模块与所述MCU模块无线连接;通过相机模块采集屏幕的色值并发送至智能蓝牙灯,可以及时感应环境色值的变化,在感受到环境色值变化后立即改变智能蓝牙灯的显示颜色,以同步周围环境色值,保证氛围灯灯能够和观影环境完美融合,提升用户的观影感受。(The invention provides an intelligent Bluetooth light adjusting system and method for a home theater, wherein the system comprises an intelligent Bluetooth lamp, the intelligent Bluetooth lamp is provided with an MCU module and a bulb color module, and the MCU module is electrically connected with the bulb color module; the intelligent mobile device is provided with a camera module and a Bluetooth module, an APP is installed in the intelligent mobile device and used for calling the camera module and the Bluetooth module, and the Bluetooth module is in wireless connection with the MCU module; gather the color value of screen and send to intelligent bluetooth lamp through camera module, can in time respond to the change of environment color value, feel the demonstration colour that changes intelligent bluetooth lamp immediately after the environment color value changes to synchronous surrounding environment color value guarantees that atmosphere lamp can merge with the sight shadow environment is perfect, promotes user's sight shadow impression.)

1. The utility model provides an intelligence bluetooth light governing system for home theater which characterized in that: the intelligent Bluetooth lamp comprises an intelligent Bluetooth lamp, wherein the intelligent Bluetooth lamp is provided with an MCU module and a bulb color module, and the MCU module is electrically connected with the bulb color module;

still include intelligent Mobile device, intelligent Mobile device is equipped with camera module and bluetooth module, installs APP in the intelligent Mobile device for call camera module with bluetooth module, bluetooth module with MCU module wireless connection.

2. The intelligent bluetooth light adjustment system for home theater as defined in claim 1, wherein: the intelligent mobile device adopts a smart phone or a tablet computer.

3. The intelligent bluetooth light adjustment system for home theater as defined in claim 1, wherein: the Bluetooth module is wirelessly connected with the MCU module through a Bluetooth 4.0 communication protocol.

4. The utility model provides an intelligent bluetooth light adjustment method for home theater which characterized in that: the method comprises the following steps

(1) The intelligent Bluetooth lamp is connected with the intelligent mobile equipment through a Bluetooth 4.0 protocol;

(2) calling a camera module to operate by an APP of the intelligent mobile equipment, and adjusting the proportion of a camera to adapt to a screen for watching a film;

(3) the camera module collects pictures of a screen and calculates color values of the pictures;

(4) the intelligent mobile equipment sends the color value to an MCU module of the intelligent Bluetooth lamp through a Bluetooth 4.0 protocol;

(5) the MCU module of intelligence bluetooth lamp corresponds control bulb color module according to the color value, makes intelligence bluetooth lamp realize the color change.

5. The intelligent bluetooth light adjustment system for home theater as defined in claim 1, wherein: the acquisition frequency of the camera module is 20-30 times/second.

Technical Field

The invention relates to the field of intelligent Bluetooth lamps, in particular to an intelligent Bluetooth light adjusting system and method for a home theater.

Background

With the development of current science and technology and the improvement of living standard, more and more people begin to enjoy the fun brought by intelligent life, for example, watching a movie at home, and in order to create a better film watching effect, people can use an atmosphere lamp to set off the atmosphere, and the atmosphere lamp realizes different colors by changing the three primary colors of red, green and blue. However, the existing atmosphere lamps have certain disadvantages, most of the common color change modes of the atmosphere lamps are preset by manufacturers, the color change cannot be modified, and the change of the atmosphere lamps can generate an invisible color change effect in a viewing environment; the atmosphere lamp needs the user to actively adjust the color value to reach the color that the user wants, but this kind of atmosphere lamp uses comparatively loaded down with trivial details, and the change mode can influence the user and see shadow experience, also can not be real-time, timely synchronous sight shadow environment.

Therefore, an intelligent bluetooth light adjusting system and method for home theater is urgently needed, and the problems that the existing atmosphere lamp is complicated to use and affects viewing experience can be solved.

Disclosure of Invention

The invention aims to provide an intelligent Bluetooth light adjusting system and method for a home theater, and aims to solve the problems that the existing atmosphere lamp is complicated to use and affects viewing experience.

In order to achieve the purpose, the invention provides the following scheme:

the invention provides an intelligent Bluetooth light adjusting system for a home theater, which comprises an intelligent Bluetooth lamp, wherein the intelligent Bluetooth lamp is provided with an MCU module and a bulb color module, and the MCU module is electrically connected with the bulb color module;

still include intelligent Mobile device, intelligent Mobile device is equipped with camera module and bluetooth module, installs APP in the intelligent Mobile device for call camera module with bluetooth module, bluetooth module with MCU module wireless connection.

Preferably, the smart mobile device is a smart phone or a tablet computer.

Preferably, the bluetooth module is wirelessly connected with the MCU module through a bluetooth 4.0 communication protocol.

The invention also provides an intelligent Bluetooth light adjusting method for the home theater, which comprises the following steps

(1) The intelligent Bluetooth lamp is connected with the intelligent mobile equipment through a Bluetooth 4.0 protocol;

(2) calling a camera module to operate by an APP of the intelligent mobile equipment, and adjusting the proportion of a camera to adapt to a screen for watching a film;

(3) the camera module collects pictures of a screen and calculates color values of the pictures;

(4) the intelligent mobile equipment sends the color value to an MCU module of the intelligent Bluetooth lamp through a Bluetooth 4.0 protocol;

(5) the MCU module of intelligence bluetooth lamp corresponds control bulb color module according to the color value, makes intelligence bluetooth lamp realize the color change.

Preferably, the acquisition frequency of the camera module is 20-30 times/second.

Compared with the prior art, the invention has the following beneficial technical effects:

the invention provides an intelligent Bluetooth light adjusting system and method for a home theater, wherein the system comprises an intelligent Bluetooth lamp, the intelligent Bluetooth lamp is provided with an MCU module and a bulb color module, and the MCU module is electrically connected with the bulb color module; the intelligent mobile device is provided with a camera module and a Bluetooth module, an APP is installed in the intelligent mobile device and used for calling the camera module and the Bluetooth module, and the Bluetooth module is in wireless connection with the MCU module; gather the color value of screen and send to intelligent bluetooth lamp through camera module, can in time respond to the change of environment color value, feel the demonstration colour that changes intelligent bluetooth lamp immediately after the environment color value changes to synchronous surrounding environment color value guarantees that atmosphere lamp can merge with the sight shadow environment is perfect, promotes user's sight shadow impression.

Drawings

In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without inventive exercise.

Fig. 1 is a schematic diagram of a connection relationship of an intelligent bluetooth light adjusting system for a home theater according to the present invention;

fig. 2 is a flow chart of the intelligent bluetooth light adjustment for home theater system according to the present invention;

in the figure: 1: intelligent bluetooth lamp, 11: MCU module, 12: bulb color module, 2: smart mobile device, 21: camera module, 22: and a Bluetooth module.

Detailed Description

The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.

The invention aims to provide an intelligent Bluetooth light adjusting system and method for a home theater, and the system and method are used for solving the problems that the existing atmosphere lamp is complicated to use and affects the viewing experience.

In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.

Example 1:

the embodiment provides an intelligent bluetooth light adjusting system for a home theater, which, as shown in fig. 1, includes an intelligent bluetooth lamp 1, the intelligent bluetooth lamp 1 is provided with an MCU module 11 and a bulb color module 12, the MCU module 11 is electrically connected to the bulb color module 12; still include intelligent Mobile device 2, intelligent Mobile device 2 is equipped with camera module 21 and bluetooth module 22, installs APP in intelligent Mobile device 2 for call camera module 21 and bluetooth module 22, bluetooth module 22 and MCU module 11 wireless connection.

Specifically, the smart mobile device 2 is a smart phone, which is convenient to use, and in other embodiments, a tablet computer or other smart mobile devices with a camera module and a bluetooth module may also be used.

Further, bluetooth module 22 passes through bluetooth 4.0 communication protocol wireless connection with MCU module 11, and the more perfect communication that satisfies the millisecond of bluetooth 4.0 communication protocol makes intelligent mobile device gather data and can transmit for intelligent bluetooth lamp with the transmission rate of millisecond.

The embodiment also provides an adjusting method of the intelligent bluetooth light adjusting system for home theater, as shown in fig. 2, the method includes the following steps

(1) The intelligent Bluetooth lamp is connected with the intelligent mobile equipment through a Bluetooth 4.0 protocol through the APP of the intelligent mobile equipment, and the intelligent Bluetooth lamp and the intelligent mobile equipment can communicate through the Bluetooth 4.0 protocol;

(2) the APP of the intelligent mobile device calls the camera module to operate, and the camera proportion is adjusted to 16: 9. 16: 10, etc. to adapt to the screen for viewing the film and ensure the perfect color value;

(3) the camera module collects pictures of a screen and calculates color values of the pictures;

the method specifically comprises the following steps:

the APP calls a camera module API to acquire a camera manager;

mCameraManager=getApplicationContext().getSystemService(Context.CAMERA_SERVICE);

the APP calls a camera module API to start a camera image acquisition function;

mCameraManager.openCamera(cameraId,callback,handle);

the picture data is called back in onImageAvailable; the Imagereader is picture data, and a common mobile phone acquires 20 to 30 frames of pictures per second;

void onImageAvailable(ImageReader reader)

the algorithm for calculating the color value is as follows:

the number of sets of picture data is acquired at the oneimageavailable,

Image image=reader.acquireLatestImage();

and converts the data array image into the image format NV21 of YCbCr,

byte[]nv21=YUV420888ConvertToNV21(image);

constructing a YUV data object for storing the NV21 data;

YuvImage yuvImage=new YuvImage(nv21,ImageFormat.NV21,image.getWidth(),image.getHeight(),null);

converting the YUV data into picture BITMAP which is finally used for calculating a color value;

ByteArrayOutputStream outputStream=new ByteArrayOutputStream();

yuvImage.compressToJpeg(new Rect(0,0,image.getWidth(),image.getHeight()),100,outputStream);

byte[]rgba=outputStream.toByteArray();

Bitmap bitmap=BitmapFactory.decodeByteArray(rgba,0,rgba.length);

obtaining the color of the BITMP as the color value of the current viewing environment through calculation;

int color=bitmap.getPixel(bitmap.getWidth()/2,bitmap.getHeight()/2);

(4) the intelligent mobile equipment sends the color value to an MCU module of the intelligent Bluetooth lamp through a Bluetooth 4.0 protocol;

(5) the MCU module of intelligence bluetooth lamp corresponds control bulb color module according to the color value, makes intelligence bluetooth lamp realize the color change.

The principle and the implementation mode of the invention are explained by applying specific examples, and the description of the above examples is only used for helping understanding the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, the specific embodiments and the application range may be changed. In summary, this summary should not be construed to limit the present invention.

6页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种智能灯光驱动电源的控制系统

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!