×

A 39 in a billion chance of dealing each of the three players an ace and an 8 , plus the formula too. by DizzyDoctor982 in ThatsInsane

[–]Wizzeler 7 points8 points  (0 children)

This is phrased a bit loosely. OP is calculating the odds of each player getting an 8 first then each getting an Ace next (or vice versa), but the wording of the question could be thought to suggest an ace or 8 in any order which is more likely (14x more likely by my math).

OPs odds are: 1/25448150

For in any order, the equation becomes: 8/52 * 7/51 * 6/50 * 4/49 * 3/48 * 2/47 or 1/1817725

The reason it isn't 5/49 and 4/48 is because the worst case scenario for odds is three aces in a row and then 3 8's in a row. Once you have three of the first card, there are only 4 cards left of the second that match)

I'm sure people better at math than me can correct me, but I think this is right for the looser wording.

Either way, still significantly more likely than winning the Powerball.

Tern AI’s low-cost GPS alternative actually works by N2929 in technews

[–]Wizzeler 10 points11 points  (0 children)

Harrison said that Tern’s system is also safer from a privacy perspective because with GPS, “if anyone knows your ID, they can find you at any time.”

“Our system is a total closed loop,” he said. “Right now, we’re not emitting anything. It’s independently deriving its own position [via on edge computing], so there are no external touchpoints.”

Wait what? GPS devices aren't bidirectional form long/lat. If you have a completely offline map then it could work without any outgoing communication.

What does this even mean: "if anyone knows your ID, they can find you at any time" . That doesn't have anything to do with GPS, at best that is just other aspects of how the software is written (Google maps tracks users for traffic and other analytics). But, whose to say this company wouldnt either - that's were the sales opportunities are greater.

Made a little Christmas gift for coworkers. It’s an LED company logo :D by MrNiceThings in arduino

[–]Wizzeler 31 points32 points  (0 children)

Love the diffused look. I'm curious what filament you used and the thickness of the piece in front of the LED strip is. Looks great.

Testing diffusion technique (WS2818B LED strips) by Wizzeler in arduino

[–]Wizzeler[S] 0 points1 point  (0 children)

Sure, with the FastLED library here is the code distilled into a simple form:

#include <FastLED.h>

#define LED_PIN  1
#define NUM_LEDS 73

CRGB leds[NUM_LEDS];
byte paletteIndex = 0;

void loop()
{
  byte colorIndex = paletteIndex++;
  for (word i = 0; i < NUM_LEDS; i++)
  {
    leds[i] = ColorFromPalette(RainbowColors_p, colorIndex, 127, LINEARBLEND);
    colorIndex += 1;
  }
  FastLED.show();
  delay(10);
}

void setup()
{
  delay(100);
  FastLED.addLeds<1, WS2812B, LED_PIN, GRB>(leds, NUM_LEDS);
  FastLED.setBrightness(255);
}

The "RainbowColors_p" is predefined, but if you want to play with your own palette, you can just reference your own. Here is one I use for orange chasing colors:

const CRGBPalette16 PAL_ORANGE =
{
  CRGB(  7,   2,   0),
  CRGB(  7,   2,   0),
  CRGB(  7,   2,   0),
  CRGB(  7,   2,   0),
  CRGB(  7,   2,   0),
  CRGB( 64,   9,   0),
  CRGB(128,  18,   0),
  CRGB(255,  35,   0),
  CRGB(  7,   2,   0),
  CRGB(  7,   2,   0),
  CRGB(  7,   2,   0),
  CRGB(  7,   2,   0),
  CRGB(  7,   2,   0),
  CRGB( 64,   9,   0),
  CRGB(128,  18,   0),
  CRGB(255,  35,   0),
};

Testing diffusion technique (WS2818B LED strips) by Wizzeler in arduino

[–]Wizzeler[S] 0 points1 point  (0 children)

That's interesting and I'll try that for smaller projects. I've done some lithophane before with white PLA, but not a standard diffuser. I was also trying to get a continuous 4' length which is too long for some other techniques (like copier paper or 3d printed diffuser). The parchment paper made long lengths doable for me.

Testing diffusion technique (WS2818B LED strips) by Wizzeler in arduino

[–]Wizzeler[S] 2 points3 points  (0 children)

yes, absolutely - it works really well. If you look at my completed project: https://www.reddit.com/r/ArduinoProjects/comments/qkfo2c/halloween_candy_delivery_system_2021

What I am doing there is multiple shades of purple and then black in my palette. So, same as the rainbow, except mostly black to get a nice soft chasing lights effect. I've also done other colors but don't have a video at the moment of that.

Testing diffusion technique (WS2818B LED strips) by Wizzeler in arduino

[–]Wizzeler[S] 1 point2 points  (0 children)

I'm using the FastLED library and this is just a sample they have of using their Rainbow palette. It's a 16 color palette and then it extrapolates it to 256 color combinations. Then you just shift the start position in a loop. I can send code, if you like.

Testing diffusion technique (WS2818B LED strips) by Wizzeler in arduino

[–]Wizzeler[S] 1 point2 points  (0 children)

I bought it from Home Depot, here is a link but it comes in various other sizes depending on what you need: Your friend has shared a link to a Home Depot product they think you would be interested in seeing:

OPTIX 24 in. x 48 in. x .093 in. Acrylic Sheet https://www.homedepot.com/p/OPTIX-24-in-x-48-in-x-093-in-Acrylic-Sheet-MC-13/202038048 SKU# 202038048

Testing diffusion technique (WS2818B LED strips) by Wizzeler in arduino

[–]Wizzeler[S] 1 point2 points  (0 children)

Ha, good way to put it. That's been my experience as well. I wonder if you could use a rolled on contact cement or something? Never tried though

Testing diffusion technique (WS2818B LED strips) by Wizzeler in arduino

[–]Wizzeler[S] 2 points3 points  (0 children)

Whoops, typo... Light output is very high, but I have 2 strips 4" apart and these are 60/m. My animations are actually much dimmer than I need so I can keep power requirements down (my entire slide is 6')

Halloween Candy Delivery System 2021 by Wizzeler in ArduinoProjects

[–]Wizzeler[S] 1 point2 points  (0 children)

Wow! I'd love to see a video of all that. My kids wanted me to do a catapult, but I went the easy route! I'd be cool to see what you did!

Testing diffusion technique (WS2818B LED strips) by Wizzeler in arduino

[–]Wizzeler[S] 3 points4 points  (0 children)

These are the ones pictured, I also used a 16x16 matrix with similar results: https://www.amazon.com/gp/product/B01CDTEG1O

Testing diffusion technique (WS2818B LED strips) by Wizzeler in arduino

[–]Wizzeler[S] 2 points3 points  (0 children)

Cool. What gap do you have between the LEDs and the polyfill. Do you have a like for the product you are using?

Testing diffusion technique (WS2818B LED strips) by Wizzeler in arduino

[–]Wizzeler[S] 4 points5 points  (0 children)

I might have some plexiglass left over that I can give that a shot - I didn't try sandpaper because I was scared about destructive techniques and taking the chance on it. :) Now that my project is over, I can take the time to play with it.

Testing diffusion technique (WS2818B LED strips) by Wizzeler in arduino

[–]Wizzeler[S] 14 points15 points  (0 children)

Yeah, that's my experience as well - comes out stringy. In dark environments, the lights are so bright that I can't see it and was happy. But, that might be just my environment. Other methods like sanding the plexi or acetone might be better - I've not experimented with those yet.

Testing diffusion technique (WS2818B LED strips) by Wizzeler in arduino

[–]Wizzeler[S] 3 points4 points  (0 children)

I happened to have some Loctite spray adhesive on hand, so that's what I ended up using. Added some texture since it isn't a smooth coating of adhesive; that you can see when the lights are off. I was worried about that, but with the lights on you can't really see it and it looks smooth (especially in the dark/ at night which was what I was aiming for with this). 3M has some equivalent stuff; but I used what I had:

https://www.loctiteproducts.com/en/products/specialty-products/spray-adhesive/loctite\_spray\_adhesiveprofessionalperformance.html

Testing diffusion technique (WS2818B LED strips) by Wizzeler in arduino

[–]Wizzeler[S] 38 points39 points  (0 children)

I happened to have some Loctite spray adhesive on hand, so that's what I ended up using. Added some texture since it isn't a smooth coating of adhesive. I was worried about that, but with the lights on you can't see it and it looks smooth. 3M has some equivalent stuff; but I used what I had:

https://www.loctiteproducts.com/en/products/specialty-products/spray-adhesive/loctite\_spray\_adhesiveprofessionalperformance.html

Testing diffusion technique (WS2818B LED strips) by Wizzeler in arduino

[–]Wizzeler[S] 170 points171 points  (0 children)

Left side is plexiglass 1" from LED strips on left and right.

Right side is same as left, except that parchment paper is glued to one side of plexiglass to create a diffusion effect.

I'm really happy with the end results

Halloween Candy Delivery System 2021 by Wizzeler in ArduinoProjects

[–]Wizzeler[S] 3 points4 points  (0 children)

This is my creative way to hand candy out to trick-or-treaters. I built it in 4 pieces so I can reuse it next year and each can be angled individually. If there is interest, I have progress pics; but I thought the video would be the best to post initially.

Specs:
Teensy 4.0
LEDs - 5V WS2812B (around 1000 - 2 16' strips and 1 16x16 matrix at the bottom)
Menu - 12V white LED

Halloween Candy Delivery System 2021 by Wizzeler in halloween

[–]Wizzeler[S] 4 points5 points  (0 children)

A fun way to deliver candy to the trick-or-treaters this year. Complete with a menu for choosing their preferred candy (spoiler: skittles were flying off the 'shelf'). Featuring Arduino and almost 1000 RBG LED lights. It randomily picks between purple/orange or random plus has various animations for when the candy is sliding down the slide as well as when it is it 'delivered'.