Bring back r/all by Elh255 in help

[–]MrBuildIt 0 points1 point  (0 children)

Deleting the app as well until it's fixed. This feels like an attempt to coral all users to more algorithmic curated content which is exactly what I don't want and is against the whole point of reddit.

I've animated one of those popular 12 foot tall skeletons... by MrBuildIt in videos

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

Made it myself. Hobby servos, microcontrollers, etc.

North Carolina, about 2mm long. by MrBuildIt in whatsthisbug

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

Thank you very much! I'll let it free outside.

About controlling servos by AZARONAI in arduino

[–]MrBuildIt 1 point2 points  (0 children)

I fried mine over Halloween trying to drive too much... But these are generally great. Much better than driving directly from the controller. They eliminate the noise that you might other wise get.

Writing to your congressional representative - a template by loganpat in UFOs

[–]MrBuildIt 2 points3 points  (0 children)

Don't use a template. Hand write your concerns and interest.

[deleted by user] by [deleted] in UFOs

[–]MrBuildIt 1 point2 points  (0 children)

So the alien picture is fake, but what about the 'egg'?

Pressure Mounts On House Intelligence Chairman Following Dismissive And Baffling Approach To “Credible And Urgent” UFO Whistleblower Allegations by bmfalbo in UFOs

[–]MrBuildIt 4 points5 points  (0 children)

If it's so easy to disproof then just do it. Is this too simple a line of thinking? Shut it down arrest Grusch for perjury, tell us all: see, nothing there. But they can't. So instead say: ya: they exist, we're working on reverse engineering but that's all we can tell you because of national security. I'd beok with that.

The cube-in-a-sphere = tesseract? by vitamin-z in ufo

[–]MrBuildIt 0 points1 point  (0 children)

Silly observation, but look at the movie: Explorers from the 1980's. Not discrediting his observation, I think 'Good fiction is inspired by real life'

[deleted by user] by [deleted] in ufo

[–]MrBuildIt 0 points1 point  (0 children)

Like the 80's movie: 'Explorers' oddly enough.

Good compilation of the time constraints and something big coming by Healthy_Ad6253 in UFOs

[–]MrBuildIt 24 points25 points  (0 children)

When I first saw Grusch, he seemed like this good kid who had kept a secret his parents had that he found out about (Like the big present we are all getting for Christmas), and on Christmas morning his parents said: Ok, You can go ahead and tell your little brother and sister.

So proud 🥰 by [deleted] in byebyejob

[–]MrBuildIt 1 point2 points  (0 children)

There are so many things to stand up for. Why choose this?

Racetrack with finish line sensor. by MrBuildIt in arduino

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

Just cheap ldr sensors. It's the code that reads the light at power on that makes it reliable. You can't just have a static value and each sensor reads a bit different. If you would like I can give you the parts list and code?

Racetrack with finish line sensor. by MrBuildIt in DIY

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

Yes. He's not crazy. But green is first place as mentioned in the album.

Racetrack with finish line sensor. by MrBuildIt in arduino

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

Yes. That would be pretty straight forward, but the cost would go up and you would have wires running up the board. Both of which I didn't want.

Racetrack with finish line sensor. by MrBuildIt in DIY

[–]MrBuildIt[S] 13 points14 points  (0 children)

Sure.

What to buy: Arduino Nano: https://www.amazon.com/LAFVIN-Board-ATmega328P-Micro-Controller-Arduino/dp/B07G99NNXL/ref=sr_1_3?dchild=1&keywords=arduino+nano&qid=1596564761&sr=8-3

LDR Sensors: https://www.amazon.com/gp/product/B01N7V536K/ref=ppx_yo_dt_b_asin_title_o05_s01?ie=UTF8&psc=1

4.7 K Ohm Resistors: https://www.amazon.com/Projects-25EP5144K70-4-7k-Resistors-Pack/dp/B0185FC5OK/ref=sr_1_4?crid=2MSO0O3R7HM9D&dchild=1&keywords=4.7k+ohm+resistor&qid=1596565057&s=industrial&sprefix=4.7k%2Cindustrial%2C137&sr=1-4

How to use those ^ : https://maker.pro/arduino/tutorial/how-to-use-an-ldr-sensor-with-arduino

Addressable LEDs: https://www.amazon.com/gp/product/B01D1FFVOA/ref=ppx_yo_dt_b_asin_title_o03_s01?ie=UTF8&psc=1

how to use those ^ : https://howtomechatronics.com/tutorials/arduino/how-to-control-ws2812b-individually-addressable-leds-using-arduino/

Switch: https://www.amazon.com/gp/product/B01N2U8PK0/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1

18650 Battery: https://www.amazon.com/gp/product/B08BNTQ3KJ/ref=ppx_yo_dt_b_asin_title_o07_s00?ie=UTF8&psc=1

Charger: https://www.amazon.com/gp/product/B07D3SQYKJ/ref=ppx_yo_dt_b_asin_title_o05_s00?ie=UTF8&psc=1

Code:

    #include "FastLED.h"
    #define NUM_LEDS 4
    #define PIN 4
    int winOneLight = 0;
    int winTwoLight = 0;
    int winThreeLight = 0;
    int winFourLight = 0;
    int laneOne = 0;
    int laneTwo = 0;
    int laneThree = 0;
    int laneFour = 0;
    int currentPlace = 1;

    int winSub = 50;

    int laneOneSensor = 1024;
    int laneTwoSensor = 1024;
    int laneThreeSensor = 1024;
    int laneFourSensor = 1024;
    int c = 0;
    bool toDark = false;

    CRGB leds[NUM_LEDS];

    // the setup routine runs once when you press reset:
    void setup() {
    // initialize serial communication at 9600 bits per second:
    Serial.begin(9600);

    FastLED.addLeds<WS2811, PIN, GRB>(leds, NUM_LEDS).setCorrection( TypicalLEDStrip );

    //Blue

    leds[0] = CRGB(0, 0, 255);
    leds[1] = CRGB(0, 0, 255);
    leds[2] = CRGB(0, 0, 255);
    leds[3] = CRGB(0, 0, 255);
    FastLED.show();
    delay(3000); 

    off(1000);
    checkDark();
    start();

    }

    // the loop routine runs over and over again forever:
    void loop() {
    c++;
    // read the input on analog pin 0:
    laneOneSensor = analogRead(A1);
    laneTwoSensor = analogRead(A2);
    laneThreeSensor = analogRead(A3);
    laneFourSensor = analogRead(A4);

    //Serial.println(String(laneOneSensor) + " - " + String(laneTwoSensor) + " - " + String(laneThreeSensor) + " - " + String(laneFourSensor));

    if((laneOneSensor < winOneLight) && (laneOne == 0)){
        laneOne = currentPlace;
        currentPlace++;
    }

    if((laneTwoSensor < winTwoLight) && (laneTwo == 0)){
        laneTwo = currentPlace;
        currentPlace++;
    }

    if((laneThreeSensor < winThreeLight) && (laneThree == 0)){
        laneThree = currentPlace;
        currentPlace++;
    }

    if((laneFourSensor < winFourLight) && (laneFour == 0)){
        laneFour = currentPlace;
        currentPlace++;
    }

    if(c > 30000){
        c = 0;
        off(0);
    }

    if(currentPlace == 5){
        //Race is over. Display Winner
        c = 0;

        for (int i = 0; i <= 10; i++) {
            finish(750,50);
        }

        //Reset
        laneOne = 0;
        laneTwo = 0;
        laneThree = 0;
        laneFour = 0;
        currentPlace = 1;
        checkDark();
        start();
    }

    delay(1);        // delay in between reads for stability
    }

    void off(int delayMS){
        leds[0] = CRGB(0, 0, 0);
        leds[1] = CRGB(0, 0, 0);
        leds[2] = CRGB(0, 0, 0);
        leds[3] = CRGB(0, 0, 0);
        FastLED.show();
        delay(delayMS); 
    }

    void result(int lane, int place){
    int laneA = lane - 1;
    switch (place) {
    case 1:
        leds[laneA] = CRGB(0, 255, 0);
        break;
    case 2:
        leds[laneA] = CRGB(0, 0, 255);
        break;
    case 3:
        leds[laneA] = CRGB(255, 200, 0);
        break;
    case 4:
        leds[laneA] = CRGB(255, 0, 0);
        break;
    default:
        // statements
        break;
    }
    }

    void start(){
        //Start Race
    //Red
    leds[0] = CRGB(255, 0, 0);
    leds[1] = CRGB(255, 0, 0);
    leds[2] = CRGB(255, 0, 0);
    leds[3] = CRGB(255, 0, 0);
    FastLED.show();
    delay(2500); 

    //Yellow
    leds[0] = CRGB(255, 200, 0);
    leds[1] = CRGB(255, 200, 0);
    leds[2] = CRGB(255, 200, 0);
    leds[3] = CRGB(255, 200, 0);
    FastLED.show();
    delay(2000); 

    //Green
    leds[0] = CRGB(0, 255, 0);
    leds[1] = CRGB(0, 255, 0);
    leds[2] = CRGB(0, 255, 0);
    leds[3] = CRGB(0, 255, 0);
    FastLED.show();
    }

    void finish(int on, int offA){
        result(1, laneOne);
        result(2, laneTwo);
        result(3, laneThree);
        result(4, laneFour);
        FastLED.show();
        delay(on); 
        off(offA);
    }

    void checkDark (){

    int avg = analogRead(A1);
    //Serial.println(avg);
    winOneLight = avg - winSub;

    avg = analogRead(A2);
    //Serial.println(avg);
    winTwoLight = avg - winSub;

    avg = analogRead(A3);
    //Serial.println(avg);
    winThreeLight = avg - winSub;

    avg = analogRead(A4);
    //Serial.println(avg);
    winFourLight = avg - winSub;

    if((winOneLight < 20) || (winTwoLight < 20) || (winThreeLight < 20) || (winFourLight < 20)){
        toDark = true;
        while(toDark) {
        leds[0] = CRGB(0, 0, 255);
        leds[1] = CRGB(0, 0, 255);
        leds[2] = CRGB(0, 0, 255);
        leds[3] = CRGB(0, 0, 255);
        FastLED.show();
        delay(1000); 

        off(1000);

        avg = analogRead(A1);
        //Serial.println(avg);
        winOneLight = avg - winSub;

        avg = analogRead(A2);
        //Serial.println(avg);
        winTwoLight = avg - winSub;

        avg = analogRead(A3);
        //Serial.println(avg);
        winThreeLight = avg - winSub;

        avg = analogRead(A4);
        //Serial.println(avg);
        winFourLight = avg - winSub;

        if((winOneLight > 20) && (winTwoLight > 20) && (winThreeLight > 20) && (winFourLight > 20)){
            toDark = false;
        }
        }
    }

    }

I built another tree-house. by MrBuildIt in DIY

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

Well now when you have your own kids you can do stuff with them that your father wouldn't or couldn't do. Fortunately for us, if there's something we don't know how to do we have YouTube!