Showing posts with label Neo-Pixel. Show all posts
Showing posts with label Neo-Pixel. Show all posts

Friday, October 2, 2015

Running a generic Neo-Pixel 4x4 panel on the Teensy - Experiment

Starting with a basic Teensy LC and a generic 4x4 Neo-Pixel panel and Visuino I was able to make a 16 RGB LED light display, just with an included Visuino Demo.

First I started with Visuino Beta 65 and the Demo file, MixedGroupsDemo.owarduino.  

Then I switched the boards section to the Teensy LC.


In the Demo file, I added a 6th pixel to the third group to account for the difference in the Demo's 15 RGB pixels and my panel 16 RGB pixels.


Please note the 3rd group here, 
the GREEN one is a 6, not a 5


Next, without any further delay, is the Video, 
that I know you all have been waiting for.


Sunday, June 7, 2015

Using the Trinket Pro with the Neo-Pixel Bar - Experiment

Experiment with the Trinket Pro and Neo-Pixels

I got a HackaDay Trinket Pro about 6 months ago and it is a great little board.



However, since only the Trinket is in Visuino and very experimental at this point I am venturing into unknown territory...I like living on the edge! ;)  
So, I wanted to test out the Neo-Pixel Bar that I got, it has 8 Neo-Pixels on it and I added some 0.1 pins to the 4 connectors at the bottom of it, so I could just plug it into a breadboard.



For this sketch I started with the Demo NeoPixelRepeatDemo.owarduino that is included with the Visuino base install.  I just changed the board to the Trinket, which I will have to use for the Trinket Pro in Visuino and just be careful of what Pins I setup.  I decided to use Pin 3 for the Din on the Neo Bar, as seen here:




The other part of the Demo are these components:




To build this up yourself, first you'd add the Neo-Pixel:



Next you will add the "Repeat Pixels Groups" to it by double clicking and then double 
clicking this option:


Once in the "Properties" for the Neo, find "Pixel Groups" and click on the 3 red dots in a row:



 Then you choose the "Running Color" option and exit this screen:


You should have what you see here:


Next add the "Random Color" generator and connect it to the "Color" Pin:

And lastly is the "Clock Generator" added to the "Step" Pin:



After saving my changes I hooked up the board and sent it to the Adafruit version Arduino IDE, which includes the boards that they make in one simple package.  As of this writing that is version 1.6.4 which you can get here: 
I just unzipped it to a Arduino folder on my C: drive then changed the Visuino Settings to point to it.



So, by default the setup for this are repeating random pixels that rotate down the bar, that is broken up into a group of 4 pixels,  this setting can be seen here:


Here is an example of the 4 group Neos in action:


But I wanted to see all 8 pixels as different random colors so I changed this number to 8. Then here is an example of that:



That worked out great and I used some of my Visuino knowledge to modify an included Demo and came out the way I wanted it to.


Next Time: I will visit the Raspberry Pi and it's bound to be something cool  ;)








Friday, May 29, 2015

Neo-pixels in Visuino–Tutorial

I just purchased some Neo-Pixel Mini PCBs, they come in a 5 pack and hooking them up and programming is easy.  Each Mini PCB has 6 connections, Din, Dout, 2 GND and 2 5V.  So first we need to solder them together.






Then I hooked it up to my New Metro board, also from Adafruit.




Next, I open the Demo NeoPixelRepeatDemo.owarduino in Visuino.You can get download information at www.visuino.com


Choose the correct settings for your board and upload it and the Neo-Pixel starts going through random colors.  It works!

So, I hooked up all 5 and ran some more tests and these little Neos are great.