Connecting an LED To Raspberry Pi

แชร์
ฝัง
  • เผยแพร่เมื่อ 24 ต.ค. 2024

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

  • @hillsideheathen5267
    @hillsideheathen5267 5 ปีที่แล้ว +6

    This was very helpful. I was able to have a 5inch touch screen AND have a fan connected to GPIO 12 for my 5" "Pocket Laptop" build. Thank you!

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

    The raspberry pico is anmazing but there just arent enough tutorials online for newbies!, this video was very helpful thanks!

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

    Thank you for this wonderful tutorial. It worked like a charm. The only mistake I did was to have a high value resistor I used 220 ohm and it worked like a charm.

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

    This is awesome. first step in my project!

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

    So you switch over to typing commands straight away, so Raspberry Pi must be on while you do the wiring?

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

    If I clipped an LED to get a board out of something, but want to reuse that LED is there any way to know what side is positive?

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

    Hello. It's such a great video, and in the end a doubt came up. I'm doing a school project that consists in a smart house with Raspberry Pi 3. I want to connect multiple leds to the house. What are the pins that i am supposed to connect the jumpers? And it's necessary to use a protoboard for do that, or I just have to weld the jumper to the resistor and the resistor to the led?

    • @254_Cyrus
      @254_Cyrus 3 ปีที่แล้ว

      How did this turn out?

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

    hey can i ask something? what if i want to give an output signal through the raspi's pin but i want it between the minimum and maximum range (ex: pinout = 1.5 volt from 0-3 volt scale), can i configure the python code into percentage just like in arduino?

  • @ArshadAli-xk5pk
    @ArshadAli-xk5pk 5 ปีที่แล้ว

    Sir ,if we attached mean here using led but if instead of led if we use dc fan then the code will just like we will use for led or for the fan we will use another code ?

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

    worked like a charm first try, thank you!

  • @RSuarez66
    @RSuarez66 6 ปีที่แล้ว

    How about if I would like to control a traffic light circuit (4 X 1red, 1grn, 1yel)? I am a beginner in programming.

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

    Can anyone explain to me why we should use the resistor, I really can't understand why. I would be very grateful

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

      It's to prevent the LED from burning out too quickly.
      Inside each LED is a chemical that when electrons are passed through, it glows. The more electrons or the higher the current flowing the brighter it will glow. So why do you need a resistor in series with your LED? Because nothing is limiting current flow! It can fry without one.

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

      @@clarkdriscoll3540 thank you very much you helped me a lot

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

    Great video! Worked immediately :D

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

    I think a 470 ohm resistor will not provide a enough voltage to the LEDs. I needed to use 220 ohm.

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

    Can i connect ground and the gpio facing each other?

  • @mylodefaut-juneja3705
    @mylodefaut-juneja3705 2 ปีที่แล้ว

    Hi Can anyone help me please. When I type in import RPi.GPIO as GPIO I am told "No module named RPi.GPIO" Do you know what I am doing wrong? Many thanks

  •  5 ปีที่แล้ว +2

    Actually, if the idea is to protect de raspberry, the resistor should be placed between the ground end the LED... not between the GPIO end the LED...

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

      I don't think it makes any difference because it's in series.

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

      @@nickisacebeans Correct. Clearly, Joan has no idea how circuits work.

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

    God believes in you more than you believe in yourself!❤️🙏

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

    very useful, thanks!

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

    Very Helpful 10/10

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

    pov: you are sppu student

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

    what ohms the resistor?

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

      You can calculate that with a formula, but usually is 220 or 330 ohms. Good luck.

    • @skinnyfishin2357
      @skinnyfishin2357 6 ปีที่แล้ว

      220 r

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

    very cool! thanks

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

    if it already three volts the average Light emitting diode can with-stand it so what's the point of adding a resistor

    • @adabrew2310
      @adabrew2310 6 ปีที่แล้ว

      Better safe than sorry,

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

      You can use even 5v if you have a resistor

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

      He literally said it's about damaging the GPIO ports. If you have too much current draw from the GPIO port then you could break it.

  • @andro-sector992
    @andro-sector992 6 ปีที่แล้ว +1

    hey can i do this with rpi 3 b+ ?

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

      Yes, of course You can : )

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

      th-cam.com/video/6OZpdP-Efds/w-d-xo.html

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

    It doesn’t work wtf I’ve tried everything someone please help

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

      lol

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

      EZCLAP03 it works now

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

      Good to hear man

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

    It worked!

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

    I LOVE YOU

  •  3 ปีที่แล้ว

    ty

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

    This man looks so unexcited. I hope everything's alright.

  • @connerdassen7808
    @connerdassen7808 6 ปีที่แล้ว +13

    Please don't call this a cookbook with recipe's. It sounds so stupid

    • @fredhair
      @fredhair 5 ปีที่แล้ว +11

      It's called a raspberry pi.. it already sounds stupid at least a cookbook fits the theme

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

      Bruh... 🤣

  • @inactive1911s
    @inactive1911s 5 ปีที่แล้ว

    What the hell it didn't work

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

    ty