02 Starter Kit: Spaceship Interface

แชร์
ฝัง
  • เผยแพร่เมื่อ 26 ก.ย. 2024

ความคิดเห็น • 41

  • @martinpfitzner4010
    @martinpfitzner4010 4 ปีที่แล้ว +9

    Why connecting resitors of LEDs to ground and not to the power pins?

    • @misterx2133
      @misterx2133 4 ปีที่แล้ว +5

      I would like to know that as well.

    • @incubusga
      @incubusga 4 ปีที่แล้ว +5

      I think it’s because they are essentially wired in series to the board, hence the current is constant at all points across that particular loop. They can, I think, go before or after the LEDs

  • @dacypher22
    @dacypher22 7 หลายเดือนก่อน +2

    Can someone explain to me why there is a resistor going from the switch to ground? I know in project 1 and in this project we put resistors on the incoming power heading to the LEDs to keep from blowing them out. But what is the purpose of the resistor when the power is heading to ground?

    • @917073
      @917073 6 หลายเดือนก่อน +4

      it's a Pull-Down-resistor that 'discharges' the pin when the button is not pressed anymore.
      If you connect the switch directly to ground, you will short out your 5V/Ground while the button is pressed. If you don't connect to ground at all, the charge on the pin will stay at higher voltage for longer and might create some undefined "in between"-states (for example 2.5V) before discharging via Arduino; the wire might even work as an antenna. It just makes the input unreliable. A single resistor can be used to either pull-down the voltage on the pin or pull-up (for example to 5V or 3.3V, when connecting the other side of the switch to Gnd.
      That's what they are called: Pull-down or pull-up resistors!

    • @dacypher22
      @dacypher22 6 หลายเดือนก่อน +1

      @@917073 Ahh, thank you for the great explanation!

  • @GennadyWisdrik
    @GennadyWisdrik ปีที่แล้ว

    Excellent! Thank you! It's good when it works. I accepted the challenge.

  • @samgaekwad
    @samgaekwad 4 ปีที่แล้ว +4

    This is so helpful. Thank you so much.

  • @Elikroon
    @Elikroon 23 วันที่ผ่านมา

    for the people with the questions the flow takes the route of the least resistance so thus means then the resistor goes into ground with this setup of components al your leds are safe and no need for the extra calculating on multiple resistors and mathmatica else it would be not possible for new people.
    Since with multiple leds you want to be safe and als your leds dont break,
    on ground with multiple exits it can be possible to have a rebounce then al components are broke now is everything safe and logic
    i am sorry for my Englishfor questions let me know i am happy to help people with ther Arduino or other MCU etc together is more fun and easy to learn

  • @tony2wheelz408
    @tony2wheelz408 8 หลายเดือนก่อน +1

    So what do I do when it doesn’t work? Even the light stopped blinking. I guess just sit around and watch it. Probably not a great time to mod it. Lok

  • @Anonymous-vh6kp
    @Anonymous-vh6kp 4 ปีที่แล้ว +5

    I don't understand what the 10K resistor does at the switch. "...so it reads LOW when there is no voltage coming through the switch". But why do we need a resistor? If there's no voltage coming through the switch then surely it would read LOW anyway, because there would be no voltage, there's nothing to resist. Someone please correct my understanding.

    • @frederiklalkens8825
      @frederiklalkens8825 3 ปีที่แล้ว +1

      The Arduino Board is very sensitive on it’s inputs. Every form of electronic or magnetic influence on the connected wires, will generate a very little voltage wich will make the arduino sometimes see an input, or better: a Logic “1”.
      This is called EMF influences. By putting an “pull down resistor” the input is bound to the 0 and the inducted EMF voltage will “shortcut” to it. This makes that there will not be any inducted voltage on the Input, or better: a stable logic “0”.
      If you “make” the switch, the current will flow to the input instead of the 0, because there is too much resistant (10k Ohm).
      Without the resistor you’ll make a full shortcut from the 5 Volt + if you push the button.
      I hope this will help you.

    • @CoastGhost13
      @CoastGhost13 2 ปีที่แล้ว

      @@frederiklalkens8825 Thank you so much for this explanation. One additional question, if I may, why would the EMF voltage shortcut to the resistor instead of the input? When the switch is opened the current flows through to the input instead of the resistor because it's the path of least resistance, why doesn't the EMF voltage do the same and trigger the input of 1? Thank you again - I came to this video hoping for the explanation you provided above but now it's giving me a new question :)

    • @frederiklalkens8825
      @frederiklalkens8825 2 ปีที่แล้ว +2

      @@CoastGhost13 Imagine a bucket wich has a small leak. If you fill it with a dripping crane, the leak might be able to drain the incoming water…. Result: No waterlevel rise. If the flow of the tap is increasing, you will come to a point the Level rises.
      The point that the water runs over the top, equals the switch being “Made”. The result: Logic 1 as an input.
      Translated: the EMF is flowing away through the resistor until a bigger current is applied. Then the threshold of the Arduino is reached and makes an High input.

  • @hajarme21
    @hajarme21 ปีที่แล้ว +1

    hai, where can i get the book?

  • @loombaron
    @loombaron 4 หลายเดือนก่อน

    3:09 you connected the resistor to power, not ground

  • @CarlosGonzalez-ew1pi
    @CarlosGonzalez-ew1pi 2 ปีที่แล้ว +1

    when i press the switch it does not flash it just remains with a green light on??? whyy

    • @daytimedracula5069
      @daytimedracula5069 7 หลายเดือนก่อน

      Wrong switch or broken switch

    • @daytimedracula5069
      @daytimedracula5069 7 หลายเดือนก่อน

      Or the switch isn’t closing the circuit but the circuit is otherwise already closed

  • @stephent6945
    @stephent6945 3 ปีที่แล้ว

    @ 0:12 is this a counterfeit board? I just watched another Arduino video which said official Arduino boards are teal colour. Or has that changed over time?

    • @supermodernotv
      @supermodernotv 3 ปีที่แล้ว +3

      Hi this is an original board. You can see it from the graphics on the PCB. Unfortunately there are some batches of UNOs which are made in blue (the PCB is not made by the usual provider) but the graphics and the printing on the side connectors is a good indicator. BTW this is an official Arduino video and we would never use a fake board in it :)

    • @lazertwin
      @lazertwin 2 ปีที่แล้ว +1

      Other boards are not counterfeits either

  • @braylenhammond12
    @braylenhammond12 ปีที่แล้ว +1

    Elegoo kit, COMES ONLY WITH BLUE RESISTORS, what the frick elegoo, put normal resistors too, it makes the leds last longer

  • @rocketscience365
    @rocketscience365 2 ปีที่แล้ว

    Its Arduino starter UNO or starter Max Set or other one?

  • @rudyromero5520
    @rudyromero5520 3 ปีที่แล้ว

    I bought the most complete starter kit uno R3 project and never got the book that you have in the videos where can I get this book or pdf?

    • @ozainuu
      @ozainuu 2 ปีที่แล้ว

      It's available online, just search up Arduino Projects Book PDF and there are multiple free links to the PDF. The book is included only with the official Arduino Starter Kit

  • @swag-yw7ut
    @swag-yw7ut 2 ปีที่แล้ว

    Every time I try to upload the code in the IDE to the Arduino, I get a "Serial port not selected". Any suggestions?

    • @oasalihu
      @oasalihu 2 ปีที่แล้ว

      Make sure the Arduino Uno board is connected to your PC before upload

  • @petrbednar6146
    @petrbednar6146 2 ปีที่แล้ว

    I am having already good fun with it. Thank you.
    My curiosity got focused on the LED on Arduino connected to pin 13. 4:27 Why is it illuminated in this project? Please, can anyone explain it to me?
    The LED is also pulsing when I press the switch.

    • @ozainuu
      @ozainuu 2 ปีที่แล้ว

      The green LED is supposed to be turned unless you are holding down the button. When you hold the button down, the two red LEDs should pulse

    • @ozainuu
      @ozainuu 2 ปีที่แล้ว

      If the Green LED is also pulsing when you press the switch then that means you forgot to make sure that after you type the else, you type digitalWrite(3, LOW); to turn off the green LED. You also possibly included digitalWrite(3, HIGH); after the delay(250); which would make it pulse, there should not be digitalWrite for the 3rd pin after the delay(250);

  • @benjamingroeneweg4097
    @benjamingroeneweg4097 6 หลายเดือนก่อน

    I'm with all the other people here, not getting why the resistors are placed after the LED instead of before.

    • @917073
      @917073 6 หลายเดือนก่อน

      a resistor is limiting current (Ohms law, I=U/R). Since there is only one way for the current to go it does not matter, if the resistor is "in front" or "behind" the LED.
      Also notice that the drift direction of electrons is opposite to the (technical) direction of current.
      If there was a chance to short the LED to ground (circumvent the resistor 'behind' it), it would be a different story, that would be a fault scenario.

  • @redrum884
    @redrum884 2 ปีที่แล้ว

    Ma'am Can I use the another USB cable to connect like printer cable

  • @yizusOfficial
    @yizusOfficial 4 ปีที่แล้ว

    Wait so we are not supposed to write all the coding ourselves? I thought I was supposed to copy all the coding by hand, maybe that’s why it didn’t work for me.

  • @PixelPluse879
    @PixelPluse879 5 หลายเดือนก่อน

    why did you connect the resistor to ground and not power?

  • @kingismail26
    @kingismail26 3 ปีที่แล้ว +1

    Bruh 1 dislike... Smh

    • @njord1697
      @njord1697 3 ปีที่แล้ว +1

      3 now, smh

    • @yeayas4245
      @yeayas4245 3 ปีที่แล้ว

      @@njord1697 6?! smh...

    • @writethatdown100
      @writethatdown100 2 ปีที่แล้ว +1

      @@yeayas4245 probably from people who give up easily and are very spiteful and had problems