česky english April 25, 2024

RGBA Color Mixing with BLE

14.08. 2017 | News
01.jpg

The application note „RGBA Color Mixing with Bluetooth® Low Energy Communication“ provides the description of RGBA LED color mixing using Microchip’s PIC16F1579 and the Bluetooth® Low Energy (BLE) communication of Microchip’s RN4020 Bluetooth 4.1 low energy module.

The board has four LEDs of red, green, blue and amber color. The brightness of each of these LEDs is controlled through PWM duty cycle. PIC16F1579 features four 16-bit PWMs that are used to drive the LEDs. The 16-bit PWMs allow precise control over the intensity of each color LED and the mixing of the different brightness levels of RGBA create different colors. The mTouch® sensing solution is used to operate two capacitive touch sliders and mTouch CVD Library is used for this purpose. The mTouch CVD Library is available on Microchip Library for Applications (MLA). The on-board RN4020 is used for getting the PWM values from the Android™ or desktop application using the BLE communication (more info).

ble