2258 views|2 replies

666

Posts

5

Resources
The OP
 

[NXP Rapid IoT Review] Week 5: DIY BLE_APP for NXP IoT: RGB Dimming Control [Copy link]

After implementing DIY BLE_APP for NXP IoT Bluetooth scanning, connection and reading sensor data last week, this week we improved and completed the app end to write data to the NXP IoT device via Bluetooth to achieve dimming control of the RGB LED.
First, add a Bluetooth service thread to the online GUI Rapid IoT Studio end to drive the RGB LED.
The UUIDof the Bluetooth thread is set to be arranged in the same order as other threads before, and the data is still in the unsigned int format.
Secondly, on the app side, a touch slider is designed to achieve RGB three-color adjustment.
In order to send control data, you need to select the write service first, then you can realize the dimming control, and the overall operation is very smooth.
Attachment: dwwzl_ble_v1.5.apk dwwzl_ble_v1.5.apk.zip (2.66 MB, downloads: 1) dwwzl_ble_v1.5.apk.zip (2.66 MB, downloads: 1) This content is created by EEWORLD forum user dwwzl. If you need to reprint or use it for commercial purposes, you must obtain the author's consent and indicate the source


This post is from RF/Wirelessly

Latest reply

I have learned a lot from you 1, but I don't really understand it. It's really good, but I don't know, and I really want to know what it feels like,,,  Details Published on 2019-1-29 23:14
 

5791

Posts

44

Resources
2
 
I have learned a lot from you 1, but I don't really understand it. It's really good, but I don't know, and I really want to know what it feels like,,,
This post is from RF/Wirelessly
Personal signature

射频【放大器】

 
 

666

Posts

5

Resources
3
 
Upload the bin file used in this evaluation for your convenience. Rapid IoT Weather Station firmware.bin, Rapid IoT Weather Station firmware.zip (184.36 KB, downloads: 1) The method of use is to first connect the NXP IoT device to the USB port of the computer, press and hold SW3 and use a probe to poke the RST key (the small hole on the back of the device), the computer will automatically recognize the USB flash drive, and then copy the bin file to the USB flash drive!
This post is from RF/Wirelessly
 
 
 

Guess Your Favourite
Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

快速回复 返回顶部 Return list