Well I have found this group, so I am making progress!
I am in some desperate need of some help and guidance from you good people.....
Let me begin.....My wife will be 50 this year and as a special surprise I want to make her a big illuminated "50" and then have our children program it up for a little display, I have an arduino, I have a 50 rgb led string of WS2811, and I have a copy of vixen installed on the laptop. I will be o.k. with the woodwork and I can tell one end of a solder iron from the other (you only make that mistake once!!) but I just need a bit of advice on getting the vixen / arduino setup going. Any help or advice would be really appreciated, and I promise I will not be offended if you talk to me like a 5 year old, in fact that might be a good starting point.
Thanks everybody
Sent from my iPad using Tapatalk
florry44 wrote:Well I have found this group, so I am making progress!
I am in some desperate need of some help and guidance from you good people.....
Let me begin.....My wife will be 50 this year and as a special surprise I want to make her a big illuminated "50" and then have our children program it up for a little display, I have an arduino, I have a 50 rgb led string of WS2811, and I have a copy of vixen installed on the laptop. I will be o.k. with the woodwork and I can tell one end of a solder iron from the other (you only make that mistake once!!) but I just need a bit of advice on getting the vixen / arduino setup going. Any help or advice would be really appreciated, and I promise I will not be offended if you talk to me like a 5 year old, in fact that might be a good starting point.Thanks everybody
Sent from my iPad using Tapatalk
Beginner myself but what I see missing from your list is a way for your computer to talk to the pixels.
If this is a one time project you need a very simple / cheap controller. If you have a wireless network you can get by with one Espixelstick (prebuilt Amazon) or ESPixelPop (build yourself see Wiki). If you plAn to enjoy this hobby and expand in the future I'd dive into the Wiki and start learning about all of your controller options.
Sent from my XT1650 using Tapatalk
Welcome to the forum. Before you tackle an Arduino project, might I ask if you are at all familiar with programming an Arduino? Sketches are in a C++ like language that may be a bit confusing if you have not used it in the past. One of the Arduino users on this forum should be able to help you with such a sketch. You might want to grab an existing pixel controller like a PX1 or ESPixelStick from one of the vendors here on the forum.
Using Vixen to do this should be pretty simple. In most cases between Vixen and Arduino you will nead USB-to-Serial adapter on your PC. Then a serial cable to deliver the data to your Arduino. If your sketch uses the renard protocol then you set up Vixen to output renard formated data. If the sketch uses a generic serial protocol then you will set up Vixen to output generic serial data. The connection from the Arduino to the lights only needs two wires: Data and Ground (V-). Your lights wll need at least a 5A power supply (larger is OK). 50 Pixels at full white draw 3A and you will need a bit more for the Arduino.
DaveMcK wrote:Beginner myself but what I see missing from your list is a way for your computer to talk to the pixels.
If this is a one time project you need a very simple / cheap controller. If you have a wireless network you can get by with one Espixelstick (prebuilt Amazon) or ESPixelPop (build yourself see Wiki). If you plAn to enjoy this hobby and expand in the future I'd dive into the Wiki and start learning about all of your controller options.Sent from my XT1650 using Tapatalk
Hi,
I thought the arduino would interface between the pc and the lights?
Sent from my iPad using Tapatalk
MartinMueller2003 wrote:Welcome to the forum. Before you tackle an Arduino project, might I ask if you are at all familiar with programming an Arduino? Sketches are in a C++ like language that may be a bit confusing if you have not used it in the past. One of the Arduino users on this forum should be able to help you with such a sketch. You might want to grab an existing pixel controller like a PX1 or ESPixelStick from one of the vendors here on the forum.Using Vixen to do this should be pretty simple. In most cases between Vixen and Arduino you will nead USB-to-Serial adapter on your PC. Then a serial cable to deliver the data to your Arduino. If your sketch uses the renard protocol then you set up Vixen to output renard formated data. If the sketch uses a generic serial protocol then you will set up Vixen to output generic serial data. The connection from the Arduino to the lights only needs two wires: Data and Ground (V-). Your lights wll need at least a 5A power supply (larger is OK). 50 Pixels at full white draw 3A and you will need a bit more for the Arduino.
Hi Martin,
Thanks for your reply
My C++ is a bit like my Spanish, I may be able to order 2 beers in a bar but not much more than that!
From what I have been able to read, before I got totally out of my depth is the Vixen output is a generic serial one and the connection is just a standard USB cable.
Regards
Mark
Sent from my iPad using Tapatalk
florry44 wrote:Hi,I thought the arduino would interface between the pc and the lights?
Sent from my iPad using Tapatalk
You are right ( I was thinking pre-built). There is a sketch somewhere on the site that will let you control the Arduino via USB. There is another recent thread about adding an Ethernet adapter to the Arduino for $5 or so then controlling pixels, relays, or DMX devices via Ethernet.
Sent from my XT1650 using Tapatalk
Arduino is a catagory of generic devices than can be programmed to control lights (and do lots of other things) with the proper supporting hardware and software that YOU provide. It is not a ready made controller. The ESPixelSticks and PX1s are purpose built cotrollers forWS2811 pixels.
Florry, To show you what you can do here is a example that you can use to turn your lights on RIGHT NOW into a rainbow chase pattern. (just to play with)!!! In Urduino IDE go to Include / Manage Library and add FAST LED My sketch lets you power up to 50 LED's right off the board as I have it limited to drawing 500ma. Plug Ground to ground on Board, +5 to +5 and the data to digital pin 7. Then upload this sketch... you will have your LED's doing a rainbow pattern!
/* rainbow_march for FastLED
Rainbow marching up the strand. Very basic, but oh so popular. Oh look, we don't need to add a 'wheel' routine.
*/
#include "FastLED.h" // FastLED library.
#if FASTLED_VERSION < 3001000
#error "Requires FastLED 3.1 or later; check github for latest code."
#endif
// Fixed definitions cannot change on the fly.
#define LED_DT 7 // Serial data pin
#define COLOR_ORDER BGR // It's GRB for WS2812B and GBR for APA102
#define LED_TYPE WS2811 // What kind of strip are you using (APA102, WS2801 or WS2812B)?
#define NUM_LEDS 50 // Number of LED's
// Initialize changeable global variables.
uint8_t max_bright = 75; // Overall brightness definition. It can be changed on the fly.
struct CRGB leds[NUM_LEDS]; // Initialize our LED array.
// Initialize global variables for sequences
uint8_t thisdelay = 5; // A delay value for the sequence(s)
uint8_t thishue = 0; // Starting hue value.
uint8_t deltahue = 10; // Hue change between pixels.
void setup() {
Serial.begin(57600);
LEDS.addLeds<LED_TYPE, LED_DT, COLOR_ORDER>(leds, NUM_LEDS); // For WS2812B / WS2811
FastLED.setBrightness(max_bright);
set_max_power_in_volts_and_milliamps(5, 500); // FastLED 2.1 Power management set at 5V, 500mA
} // setup()
void loop () {
EVERY_N_MILLISECONDS(thisdelay) { // FastLED based non-blocking routine to update/display the sequence.
rainbow_march();
}
show_at_max_brightness_for_power();
} // loop()
void rainbow_march() { // The fill_rainbow call doesn't support brightness levels
thishue++; // Increment the starting hue.
fill_rainbow(leds, NUM_LEDS, thishue, deltahue); // Use FastLED's fill_rainbow routine.
} // rainbow_march()
You can also get the 5 and 0 also pre-made for $7bucks each from https://www.boscoyostudio.com/index.php?main_page=product_info&cPath=2_31&products_id=103 Shoot him a message and tell him you need a 5 and a 0 and he will get them to ya!!
MartinMueller2003 wrote:Arduino is a catagory of generic devices than can be programmed to control lights (and do lots of other things) with the proper supporting hardware and software that YOU provide. It is not a ready made controller. The ESPixelSticks and PX1s are purpose built cotrollers forWS2811 pixels.
Hi Martin,
Just had a quick look for the espixel and the px1 but can't find anything for sale, any ideas where stocks them and what sort of price
Sent from my iPad using Tapatalk
