Ed Wios
Published © GPL3+

Bluetooth controlled LED light strip - Part 1 of 2

Here, I am going to show you it is not so difficult to use Bluetooth on the SmartPhone to control a strip of RGB LEDs.

IntermediateWork in progress8 hours4,553
Bluetooth controlled LED light strip - Part 1 of 2

Things used in this project

Hardware components

nRF52832
The nRF52832 SoC is a powerful, highly flexible ultra-low power multiprotocol SoC ideally suited for Bluetooth® low energy (previously called Bluetooth Smart), ANT and 2.4GHz ultra low-power wireless applications. The nRF52832 SoC is built around a 32-bit ARM® Cortex™-M4F CPU with 512kB + 64kB RAM. The embedded 2.4GHz transceiver supports Bluetooth low energy, ANT and proprietary 2.4 GHz protocol stack.
×1
nRF52 DK
The nRF52 DK is a versatile single board development kit for Bluetooth® low energy, ANT and 2.4GHz proprietary applications using the nRF52832 SoC. This kit supports development for the nRF52832 SoC.
×1
NeoPixel strip
NeoPixel strip
×1
SparkFun TXB0104
TXB0104 is a 4-bit non-inverting translator uses two separate configurable power-supply rails.
×1

Software apps and online services

nRF5 SDK
Nordic Semiconductor's Software Development Kits (SDK) are your starting point for software development on the nRF51 and nRF52 Series. It contains source code libraries and example applications covering wireless functions, libraries for all peripherals, bootloaders, Wired and OTA FW upgrades, RTOS examples, serialization libraries and more.

Story

Read more

Schematics

Schematic diagram

The schematic diagram showing all the necessary components to construct the project. Ensure the 5V power supply have enough current for the LEDs.

Code

Firmware

Pre-built firmware that you can just flash to the nRF52832 and run the demo.

Source code for the project

Source code for the project. Please respect the rights of the contributors. The source code will build the firmware (.hex file) for the nRF52832. If you change nothing, it will built an identical firmware as the one available in this article.

Credits

Ed Wios

Ed Wios

10 projects • 25 followers
Hi! This is Ed, I love tinkering with digital electronics, as well as writing programs.
Thanks to Takafumi Naka.

Comments