Neopixels on roboRIO with RIOduino

Controlling a strip of NeoPixel LEDs with LabVIEW, RoboRIO, and RIOduino via I2C



Learn how to control an Indexable LED strip with LabVIEW, I2C, and Arduino! The Arduino and RoboRIO are both controllers running programs on their respective processors. Both are capable of reading sensors, making decisions, and outputting results to output ports. Useful bundles of code have been written for both platforms (some only on RoboRIO, others only on Arduino). The question is, how can we extract the most power from each? Can we make decisions in one, while outputting results in the other? Absolutely, and we do this by having both platforms agree to exchange information using a common language, or protocol, such as I2C or UART.

This guide is comprehensive because its goal is not only success with the tools utilized, but a deeper understanding of why the tools work and how to build on the knowledge to tackle more complex projects. Many lessons learned have been compiled to save you time in your own learning journeys. Goal • Complete control an individually addressable LED strip, driven by an Arduino, from the LabVIEW Environment • Introduction to I2C, how to use it to establish communication between two different hardware and software platforms A full guide is linked to this page, more videos & photos to come.

Resources

Meet The Maker


Peter Rifken

Peter is a District Sales Engineer at National Instruments based in Boston, MA.

In his spare time, Peter works with a local FIRST Robotics team as lead technical mentor. He loves tackling challenging problems in design and fabrication, then breaking them down into simple principles that others can use in their own learning and discovery.

In high school, a passion for mathematics lead to studies in mechanical engineering at McGill University in Montreal, Canada. From there, he moved on to work at NI as an applications engineer, where he began to cultivate an interest in tinkering with, completing projects with the Arduino its LabVIEW API (now LINX). His passion for design did not really kick off until he was thrown into the world of Robotics after moving out to Boston, where he picked up practical skills in CAD design, milling, 3D printing, electronic wiring, and a host of other fabrication techniques required to build sound electro-mechanical systems.

Peter is always looking for new opportunities to develop his skill set and improve the program and looking forward to contributing the maker community.

Feel free to reach out! prifken@bchigh.edu

More Projects