BLE Color Pixels based on nRF51822 and WS2812B
Dependencies: BLE_API color_pixels mbed nRF51822
Fork of BLE_LCDDemo by
Color pixels library using WS2812B and nRF51822 (16MHz)
You can get the colorful led strip from seeed:
- http://www.seeedstudio.com/depot/Digital-RGB-LED-FlexiStrip-60-LED-1-Meter-p-1666.html
- http://www.seeedstudio.com/depot/WS2812B-Digital-RGB-LED-Waterproof-FlexiStrip-144-LEDmeter-2-meter-p-1869.html
- http://www.seeedstudio.com/depot/WS2812B-RGB-LED-with-Integrated-Driver-Chip-10-PCs-pack-p-1675.html
Click this link to download the color pixels app for android. The source code of the Android app is at https://github.com/Seeed-Studio/ble_color_pixels
If the BLE device is disconnected frequently, we can improve the stability by changing the BLE parameters - Advertising Duration (main.cpp), Min Interval and Max Interval (nRF51822/projectconfig.h)
#define CFG_GAP_CONNECTION_MIN_INTERVAL_MS 20 /**< Minimum acceptable connection interval */ #define CFG_GAP_CONNECTION_MAX_INTERVAL_MS 200 /**< Maximum acceptable connection interval */
History
update libraries
2015-05-05, by yihui [Tue, 05 May 2015 05:48:40 +0000] rev 7
update libraries
change connection parameters to make ble connection more stable
2014-09-15, by yihui [Mon, 15 Sep 2014 06:30:03 +0000] rev 6
change connection parameters to make ble connection more stable
update mbed lib
2014-08-20, by yihui [Wed, 20 Aug 2014 06:06:37 +0000] rev 5
update mbed lib
color pixels
2014-08-09, by yihui [Sat, 09 Aug 2014 06:48:16 +0000] rev 4
color pixels
minor cosmetic changes.
2014-08-07, by rgrover1 [Thu, 07 Aug 2014 14:29:13 +0000] rev 3
minor cosmetic changes.
add trailing null byte to rxPayload
2014-08-01, by rgrover1 [Fri, 01 Aug 2014 07:07:12 +0000] rev 2
add trailing null byte to rxPayload
updating underlying libraries
2014-08-01, by rgrover1 [Fri, 01 Aug 2014 07:06:03 +0000] rev 1
updating underlying libraries
Initial checkin for a demo based on BLE_UART and SharpLCD.
2014-07-30, by rgrover1 [Wed, 30 Jul 2014 07:57:10 +0000] rev 0
Initial checkin for a demo based on BLE_UART and SharpLCD.