Profile cover photo
Profile photo
Perry N (DaAwesomeP)

Post has attachment
Hi all!
I created a library that allows an Arduino/Teensy to emulate an Enttec or DMXKing USB DMX device: When paired with OLA (, you can control your LEDs from ArtNet, OSC (Open Sound Control), and many other protocols. I was able to drive 300 APA102 LEDs at 500 FPS on a Teensy 3.2. The library is in the Arduino Library Manager and I have a FastLED example in the repo.

This library functions differently from DmxSimple and DMXSerial because it emulates a USB serial protocol, not DMX serial. Without this library, in order to control FastLED with DMX from a computer, you would need components and hardware to make an functional DMX 3 or 5 pin serial port as well as a commercial USB to DMX device.

I've been controlling my LEDs with QLC+ through ArtNet and with Processing through OSC. I'm still experimenting with making patterns in Processing. While I could program everything I can do in Processing directly to FastLED on the Teensy, Processing allows me to visualize the LEDs on my computer and do everything dynamically—I don't have to reprogram to Teensy to make a modification, and the LEDs can be controlled with a variety of applications and protocols. Also, multiple applications can be synced together much omre easily. Many DMX control applications including QLC+ allow you to create cues and sync DMX to music. I can also control other devices with the same methods: For example, relays and holiday lights also controlled from OLA.

Please share your thoughts, open issues, and submit pull requests! I'll soon post a project for which I created this library.

I need to power my LEDs (WS2811) from several feet away. There are four sections of 240 LEDs 2.5ft away from the 20A power supply. The LED sections are 4ft long. I will put two 1000uF capacitors at the start of each section. I know that I will never need to carry 5A, but I'd like to have that wire capacity in place in case that I add LEDs (also, I would never run this power supply at full 20A for a prolonged period). I have plenty of Cat5e on hand, but I don't think that that will handle the power (voltage drop).

I am thinking about picking up some wire by the foot from Home Depot. I calculated that I need 10 AWG to be safe. Should I get three conductor wire (3 + bare ground), two conductor wire (2 + bare ground) or separate wires? The three and two conductor wires are solid core, while the single wires are stranded. Will the power interfere with the data when run directly in parallel? Do I need to run a power line to the ends of the strips as well to prevent fading/discoloration (if so, should I move the capacitors)? I know that the data line doesn't need to be extremely low gauge, but it would be convenient to run only one wire.

Three conductor:
Two conductor:
Individual wire:

Does anyone know where I can find a cheap, good quality, decent resolution MJPEG USB camera?

I have a computer running multiple OctoPrint installations and would like to plug in multiple cameras simultaneously, but I am limited on USB ports. Using more than one non-MJPEG camera on a port with an external hub exceeds the USB 2.0 bandwidth limitation, as the Linux kernel doesn't allocate less bandwidth to YUV cameras even if they may require less than their maximum transmission rate.

So, I'm looking for something (preferably via Amazon) with a resolution of at least 640x480, but 720p would better. Also not ridiculously expensive. Not everything is labeled whether or not it supports MJPEG, YUV, or both.


Some questions...

I planning to make a very large LED-wall of sorts made up of individual panels of LEDs.

I've done a lot of Googling for my project, but I still can't figure some things out:

1. How many milliamps does a WS2812B actually draw at full brightness white? I'm not planning to do this, but I'd like my power supplies to be capable of it when running at the tip of 100%.
2. How many pins can I use for parallel output on a Teensy 3.2? How many LEDs maximum per pin can I use to achieve around 400 to 500 fps? To make my life simpler, I'd like to use the maximum amount of LEDs per one or two data lines per panel (instead of splitting it up). The panels will be in parallel, not in series.
3. How far can the data line go (over CAT 5e for example) before the first LED?
4. Will having data wires of different lengths affect the response times between different panels?
5. If I use multiple Teensies, should I have some sort of clock running in between them? They will be receiving data from the computer simultaneously, but should I implement a clock separately?
6. What is the largest known FastLED installation?


Hi, OctoPrint has been working fantastically so far on OpenSUSE Leap 42.1. I have it and mjpeg_streamer set up as systemd services and as their own users running through an Nginx proxy with everything stored in /var/OctoPrint1 and /var/OctoPrint2 (I have two printer and two instances of OctoPrint).

However, I have an issue with the timelapse feature. I installed FFmpeg and the whole shebang of OpenSUSE Gstreamer plugins. I changed the timelapse setting to point to the proper path to ffmpeg (not avconv). However, upon finishing a print, I get:
"[NULL @ 0xc2bf40] Requested output format 'vob' is not a suitable output format
/var/OctoPrint1/.octoprint/timelapse/myprintfilename_20161024151701.mpg: Invalid argument"

First off...why is it trying to save a VOB? I'm not planning on burning this to a DVD. There must be some other issue here. Also, is OctoPrint really compatible with FFmpeg or do I need to use Libav? Am I missing a component of plugin in my OS installation somewhere?

Wait while more posts are being loaded