1

I am fairly new to the Arduino community but have electronics and programming experience. I was able to connect and run a 5V RGB 8x32 LED matrix on my Arduino displaying some running text. Now I would like to add a separate 5V LED strip that is controlled separately. For example I want to blink or light up either in red or in blue depending on an external switch.

How can I run a NeoPixel Matrix and a NeoPixel LED strip together off one Arduino controller?

closed as too broad by Michel Keijzers, Juraj, chrisl, MatsK, gre_gor Mar 20 '18 at 15:42

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 2
    There are many examples controlling a led strip and a switch by Arduino including sample code and circuits. FInd both and combine them. – Michel Keijzers Mar 20 '18 at 13:56
  • You didn't give information about what kind of LED strip/LED matrix you use. Sure it is possible to do what you want. But you will have to be more specific in your question. And you should google first. When you can find the solution by googling, you should not ask here – chrisl Mar 20 '18 at 14:08
  • Thanks for the feedback. I did use google but perhaps not the right keywords. This is how I found this forum. The LED matrix is a 256 Pixels WS2812B Digital Flexible LED Panel DC5V and I am looking at a NeoPixel Digital RGB LED Strip - White 30 LED. – Rolf Mar 20 '18 at 14:12
  • Updated my question as suggested. – Rolf Mar 20 '18 at 17:31
  • 2
    Electrically there is no difference between a NeoPixel matrix and a NeoPixel strip. To get a matrix a number of small strips is chained together. For a matrix as for a strip you just need 1 pin for data output. Use the Adafruit NeoPixel library and define a strip similar to how you define the matrix, only with a strip – chrisl Mar 20 '18 at 17:57