Profile

Cover photo
Peter Buelow
Works at Life Fitness, Inc.
Attended Ball State University
81 followers|58,479 views
AboutPostsPhotos

Stream

Peter Buelow

Show off your work!  - 
 
Sorry, meant to show this before, but got the window lights finally doing exactly what I want. It's subtle, but I think it's looks good against all the more glaring high intensity blinking off the shelf lights. Hope the video can show this though. Note that there are 4 windows, not just the two showing.


Thanks to Mark Kriegsman (who I can't seem to link now) for pointers that helped me get here.
2
Benji Park's profile photo
 
I love having the more subtle light show that isn't an epileptic episode waiting to happen.
Add a comment...
 
How does one use += to gradually brighten a pixel? I see a lot of functions to gradually dim a pixel, but I want to take a pixel, make it brighter, then make it dim to black, one operation at a time. Ideally, I'd use +=/-=/%=, but I don't know exactly how to use those to make something brighter. Any help is appreciated.
2
Stefan Petrick's profile photoMark Kriegsman's profile photoPeter Buelow's profile photo
14 comments
 
Great explanation, thanks. That explanation makes it for me. I've got some code worked up which seems not complicated enough, but should work, and I hope to try it out later tonight. The help has been outstanding.
Add a comment...

Peter Buelow

Discussion  - 
 
I have a question about wire distance. I want to create my own front walkway lighting. I figure I can use either the neopixel stick or the neopixel jewel in a custom housing to line my walk way. Figure between 15 and 20 total housings. But they will have about 4 ft of wire between them. Is that a problem? I want to drive all of these from a single Micro in a small weatherproof enclosure. Can I do this spread so far apart, or will I need to make some compromises?
1
Daniel Garcia's profile photoRobert Atkins's profile photoPeter Buelow's profile photoSteve French's profile photo
10 comments
 
Like Robert said its 20mA per LED, which for full worst-case white is R+G+B = 20+20+20 = 60mA = 0.06A per pixel.  It adds up fast, so always be aware.  If you start to use more and more pixels, then perhaps your wire gauge needs to go up or else distribute your power supplies.
Add a comment...

Peter Buelow

Shared publicly  - 
 
An evening with the family at the Air Force Memorial getting to see the Air Force Band and Singing Sargents.
2
Add a comment...

Peter Buelow

Shared publicly  - 
 
Sorry +J Fox and +Aaron Castor, Aereo bit it. I do like the ruling though if you take the time to read it. Not perfect, but they seem to understand that there is a lot of grey area here.
New submitter Last_Available_Usern (756093) writes that the Aereo saga is likely over. "The U.S. Supreme Court today dealt a potentially fatal blow to Aereo, an Internet service that allows customers to watch broadcast TV programs on mobile devices by renting a small DVR and antennas (in supported c...
1
J Fox's profile photo
J Fox
 
I don't agree. People living in areas with poor reception have to pay for OTA broadcasts. I do think that I should not be able to pay for a subscription for a New York market if I live in San Francisco. At any rate, there were other limitations that made Aereo not so attractive.... Just can't remember what they were. :-)
Add a comment...

Peter Buelow

Shared publicly  - 
 
It's hard to bring science to the public. The subtleties of research are often lost in translation when they surface in the news. Commentator Alva Noë wonders why.
3
Add a comment...
Have him in circles
81 people
Colin Horn's profile photo
陈春宏's profile photo
Laura Meehan's profile photo
Walt Miner's profile photo
Norah Buelow's profile photo
John Borak's profile photo
Philip Lee's profile photo
Edward Yuan's profile photo
Mike Steers's profile photo

Peter Buelow

Show off your work!  - 
 
Got it working. The effect is really slick. I'm not using any of the scale or log functions though, as to be honest, I don't know how. Anyway, ill post the code later today when I get some time. Ill also post a video of the windows when I fix the board they are connected to. It seems to have burned out. 
6
Peter Buelow's profile photo
2 comments
 
Ok, I've finally got it working. I think there is probably a bug or two still living there, and it's for 40 LED's, not 460. But still...

The .ino
http://paste.ofcode.org/hdcgjYxCwftJgf2qsu88DZ
And I created a couple of classes in a .h file.
http://paste.ofcode.org/tVnDTFigaaM2T37pY6U6ss

Put them together, and it seems to work pretty well. I'd take some feedback on any optimizations, although to be honest, it seems to be pretty functional, so optimization isn't specifically necessary. Feedback or bug's pointed out would be super cool though.
Add a comment...

Peter Buelow

Discussion  - 
 
Local Dimming Question: I have 4 arrays of 120 LEDS all running nicely in my front windows. They currently do a rather bland Christmas Tree light type of display (randomly blinking different colors). However, I'd like to expand that and make random pixels in each array slightly brigthen, then dim, and return to the original brightness as a new color. I have been trying to use the Anti-aliased example to do this, but can't quite figure out how to get an RGB color from the pixel in question into HSV so I can use that code? The other dimming functions all take arrays all take arrays of pixels. Two thoughts I had.

1. Is it possible to have a non linear array of pixels that I can send to fadeToBlackBy()? And if it is, how would I use this or another function to brighten to max first, and then dim to black? is there a penalty to sending these functions a single pixel array? I assume they don't return until the operation is complete, so this isn't likely what I want to do.
2. How could I modify the anti-alias example to do this? I think that actually might be a better way to do it, but I don't see how to translate so I can query the set color first and then do my little display.

Thanks for any help.
1
Peter Buelow's profile photoMark Kriegsman's profile photo
2 comments
 
Happy to share the code and the light!

As for a multi-colored version of this code, there are a lot of ways to skin the proverbial cat.

The least-weird way is that along side your
  CRGB leds[NUM_LEDS];
array, you also declare an array of HSV colors, one for each led, like this
  CHSV pixelColor[NUM_LEDS];

Then you do all your animation in the pixelColor array, and each time just before you call FastLED.show(), you do this:
  hsv2rgb_rainbow( pixelColor, leds, NUM_LEDS);
  FastLED.show();
This will convert all your pixelColor's into RGB values in the leds array, and then display them.

The problem is that this takes up exactly twice as much RAM as just keeping RGB values around, and you may not have that much RAM.  Probably don't in fact.

Another way to to it is to have a separate, smaller array of "which pixels am I animating right now", and for each of those pixels, keep information like what the new target hue is, what the current brightness is, whether you're still brightening the old color or fading in a new color, etc.  This takes way less RAM, but needs more code (and thinking).

There are, of course, lots of other ways to do it, too, but at this point I'd recommend playing around a bit and see what you come up with.
Add a comment...

Peter Buelow

Quasi-related random  - 
 
Question about putting together a custom PCB to help me clean up my new light project. I have 4 windows each with a 4m strip of Neopixels, running from a Mega with FastLED. My question is, using ExpressPCB (or any board service I guess) to build a custom PCB, how big do the +5v power traces need to be for each strip? Has anyone done this? Can anyone help me? I don't think a 4m strip would draw that much power, but voltage drops and overheating a trace are a concern (it's under my couch in the living room). Note that they may be running all white, but brightness will be 75% or less most of the time (they are very bright otherwise), and generally, they will just be blinking some representation of holiday colors. Well, on the 4th, one window will be white 100% of the time in a flag layout (less bright though).

Thoughts? I really just want to do this with cheap stuff from Fry's and Adafruit, but don't want to burn down the house, or watch the lights fade or blink out due to a voltage drop.
1
JP Roy's profile photoPeter Buelow's profile photo
14 comments
 
Yeah, thank you for the help and sounding board. I actually have a pretty sensible plan now I think. Can't wait to get it put together.
Add a comment...

Peter Buelow

Shared publicly  - 
 
Take that Apple. I like the ideas, let's see what happens.
Google unveiled the newest version of Android called L.
1
Petros Koutoupis's profile photo
 
Looks slick.
Add a comment...

Peter Buelow

Shared publicly  - 
 
This should be must read for everyone who can read and understand what they read.
Many ideas have left the world of science and made their way into everyday language -- and unfortunately, they are almost always used incorrectly. We asked a group of scientists to tell us which scientific terms they believe are the most widely misunderstood. Here are ten of them.
1
1
Russ Knize's profile photo
Add a comment...

Peter Buelow

Shared publicly  - 
 
In what just may be the most stunning example of hypocrisy in my lifetime, Mother Jones has uncovered numerous investments on the part of Hobby Lobby’s retirement fund in a wide variety of companies producing abortion and contraception related products. Hobby Lobby is currently seeking relief from certain contraception benefit requirements [...]
1
Add a comment...
People
Have him in circles
81 people
Colin Horn's profile photo
陈春宏's profile photo
Laura Meehan's profile photo
Walt Miner's profile photo
Norah Buelow's profile photo
John Borak's profile photo
Philip Lee's profile photo
Edward Yuan's profile photo
Mike Steers's profile photo
Education
  • Ball State University
Links
Work
Occupation
Software Manager
Employment
  • Life Fitness, Inc.
    Engineering Manager, 2014 - present
    I am the embedded SW manager for Life Fitness workout products.
Basic Information
Gender
Male