4251 views|9 replies

13

Posts

0

Resources
The OP
 

I want to develop a Bluetooth lighting control system. How to control multiple lights with Bluetooth on an embedded development board? [Copy link]

I want to do this project recently. I want to use an embedded development board, such as a microcontroller, ARM, Raspberry Pi, Arduino, etc., and then buy a few Bluetooth light bulbs. Then let the development board connect to these Bluetooth light bulbs via Bluetooth and control the on/off and brightness adjustment of the light bulbs. Now I have a problem. I have connected these light bulbs via Bluetooth using Raspberry Pi, but I don’t know how to control the light bulbs, nor do I know what the control commands are. How should I solve this problem? Is there any good development plan? Please help me, thank you!
This post is from Wireless Connectivity

Latest reply

The lighting control program is relatively simple, and you can write the control program yourself.  Details Published on 2019-3-11 12:40
 

4

Posts

0

Resources
2
 
Thank you, support
This post is from Wireless Connectivity
 
 
 

1368

Posts

6

Resources
3
 
1) If you use BLE transmission control, you can first understand some concepts of BLE, such as profile, character, uuid, etc. 2) Then find some basic routines to try. There are related tutorials on the Internet about Raspberry Pi Bluetooth. You can try to modify them.
This post is from Wireless Connectivity
Personal signature专注智能产品的研究与开发,专注于电子电路的生产与制造……QQ:2912615383,电子爱好者群: void
 
 
 

13

Posts

0

Resources
4
 
Lazy Cat Loves Flying published on 2019-3-7 20:57 1) If you use BLE transmission control, you can first understand some concepts of BLE, such as profile, character, uuid, etc. 2) Then find...
Thank you. I have also searched for some on the Internet. Basically, the LED lights on the Internet are connected to the Raspberry Pi through the serial port, which is different from my needs. I want the Raspberry Pi to connect the LED lights directly to the Bluetooth. BLE is about information transmission, but I want to know some commands to adjust the brightness and color of the lights. How can I know?
This post is from Wireless Connectivity
 
 
 

1368

Posts

6

Resources
5
 
1) The first step is to understand the communication between the Bluetooth host and the slave. 2) The second step is to understand the principle of dimming. Dimming is generally to adjust the voltage and current. LED is a simple model, which uses PWM adjustment. Then one end of the lamp can directly adjust the PWM duty cycle. 3) Again, first understand Bluetooth and use it like a serial port. Then you will naturally understand what commands to send and how to control it.
This post is from Wireless Connectivity
Personal signature专注智能产品的研究与开发,专注于电子电路的生产与制造……QQ:2912615383,电子爱好者群: void
 
 
 

256

Posts

0

Resources
6
 
You need to know how to use those Bluetooth lights you bought, how to control them originally, is it through a mobile phone app, there should be a data protocol
This post is from Wireless Connectivity

Comments

The key issue is this: the data protocol of the Bluetooth light may not be open source, and I have no way of knowing.  Details Published on 2019-3-8 17:10
 
 
 

13

Posts

0

Resources
7
 
Lazy Cat Loves Flying published on 2019-3-7 23:33 1) The first step is to understand the communication between the Bluetooth host and the slave, and to be able to communicate. 2) The second step is to understand the principle of dimming. Dimming is generally to adjust...
If you have to design and develop Bluetooth LED lights yourself, you have to write program definitions for pwm dimming and so on according to the principle, which is feasible. Understanding the Bluetooth development theory is definitely a prerequisite. But if I buy a ready-made Bluetooth LED light, the dimming program of this light has been solidified into the main board of the light, which may not be public. I want to know how to know the dimming parameters of this light.
This post is from Wireless Connectivity
 
 
 

13

Posts

0

Resources
8
 
viphotman posted on 2019-3-8 09:51 I need to know how the Bluetooth lights you bought are used and how they are controlled. Do you use a mobile phone app? There should be a data protocol, right?
The key is this question. The data protocol of the Bluetooth light may not be open source, and I have no way of knowing.
This post is from Wireless Connectivity

Comments

Then you have a hard time going this route, or you can change to a Bluetooth light that knows the protocol.  Details Published on 2019-3-11 10:40
 
 
 

256

Posts

0

Resources
9
 
bfield posted on 2019-3-8 17:10 The key is this problem. The data protocol of the Bluetooth light may not be open source. I have no way of knowing.
Then you can't go this way, or change to a Bluetooth light that knows the protocol.
This post is from Wireless Connectivity
 
 
 

4

Posts

0

Resources
10
 
The lighting control program is relatively simple, and you can write the control program yourself.
This post is from Wireless Connectivity
 
 
 

Guess Your Favourite
Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list