This advanced project shows you how you can drive a 16 NeoPixel ring and Sharp IR distance sensor using an inexpensive ARM Cortex M0+ LPC824. The LPC824 was used due to it's low cost, and an interesting peripheral it has called the State Configurable Timer, which allows us to offload the tight NeoPixel timing requirements to a HW peripheral.

This project is not based on the Arduino IDE, and uses an Eclipse-based IDE that is designed for this MCU family. Bare metal software development gives you full control over the software development process, but also has a higher learning curve and this should be considered an advanced project as such.

This was largely a personal project, wanting to keep up to date with recent members of the LPC800 device family from NXP, but it's being published here in the hope that it proves useful to other people interested in driving NeoPixels with a small, but powerful and flexible MCU like the LPC824!

Hardware Requirements

End Result

The final project will give you something resembling this:

This guide was first published on Apr 20, 2017. It was last updated on Apr 20, 2017.

This page (Overview) was last updated on Apr 20, 2017.

Text editor powered by tinymce.