How to use WS2812B RGB LEDs with Raspberry Pi

Поделиться
HTML-код
  • Опубликовано: 15 окт 2024

Комментарии • 167

  • @paulmenzies9258
    @paulmenzies9258 7 лет назад +9

    Thanks for the tutorial! I now have a Raspberry PI Zero W driving a 144 led strip (WS2812B 5050 RGB LED Strip 1M 144 LED). It works great.

    • @FoxD13
      @FoxD13 6 лет назад

      This works out for you? Really strange. I only get very strange results....
      I seem to have the same setup like you. Im currently using raspbian stretch lite.
      I get the python scripts to work and everything but the leds seem to freeze at some point in time.. Not really reproducable. Im really frustrated since ive been tinkering for 3 days now.

    • @FoxD13
      @FoxD13 6 лет назад

      works now :D pi zero w ws2812b... problem was the level shifter. mosfet level shifter delivered strange results. now running on IC. the example from the video even ran when I only added a resistor between shifter output and DIN from the led strip

  • @moy92
    @moy92 3 года назад +4

    Thank you! I've been wanting to do this for the longest time! Your video is super clear and easy to understand and follow.

  • @murena1970
    @murena1970 4 года назад +4

    i followed the guide but i have this error : "strandtest.py" line 9, in from rpi_ws281x import *
    ModulenotFoundError : No module named 'rpi_ws281x' ......someone can help me? i have just installed the library ....thank you

    • @jacowaes
      @jacowaes 4 года назад +1

      same here

    • @jacowaes
      @jacowaes 3 года назад

      @@robertheselwood4207 i put my reply somwhere else in this thread ruclips.net/video/Pxt9sGTsvFk/видео.html&lc=UgxiYk97Q797wzB_o_B4AaABAg

    • @vrankyrule
      @vrankyrule 3 года назад

      @@jacowaes what to do the link u send not working for me say here onlly

    • @dfmayes
      @dfmayes 3 года назад

      Try
      sudo pip3 install rpi_ws281x adafruit-circuitpython-neopixel
      sudo python3 -m pip install --force-reinstall adafruit-blinka

  • @RodHartzell
    @RodHartzell 2 года назад

    Cool. I've had an old raspberry pi laying around for a few years now. I'm finally going to get off my ass and do something with it. Thanks for the inspiration.

  • @djkrazay7791
    @djkrazay7791 3 года назад +1

    Thanks for the refresher course.. have no played with my RP3 in a long time... here comes xmas :)

  • @hunterg312
    @hunterg312 6 лет назад +51

    Can you make a video showing how you wired it?

    • @gor4200
      @gor4200 5 лет назад +13

      There was literally a diagram of how he wired it right there on the screen the whole time. Can't get much more cut and dry than that.

    • @erlend343
      @erlend343 5 лет назад

      @@gor4200 hahahaha

    • @gor4200
      @gor4200 5 лет назад +8

      I'm using an actual matrix 8x32 (256 LEDs) so it uses a good amount of current and operates at 5v. The raspberry pi outputs 3.3v. I'm operating mine with a 3.3v signal from the pi and is working fine, but I do have a level shifter I plan to use. Either way, the simple wiring you want to do to get a strip or matrix up and running is as follows; Connect pin 12 (GPIO18) to the DIN (signal) connection on your strip. It's recommended to have a ~430ohm resistor in series on that connection (from the end of the pin 12 wire to the DIN connection). Then take a secondary power supply that is 5v and provides sufficient current for the amount of LEDs you're using (mine is 5v, 8amp stable with 15amp peak) and connect the hot 5v (+) of the power supply to the 5v (+) connection on the LED strip. Then connect the GND (-) of the power supply to the GND (-) of the LED strip. Lastly connect pin 3 (GND) on the pi to the same GND (-) connection on the LED strip that the power supply GND is connected to. If you connected everything as I explained it, you're good to go. That's it.

    • @милфаартём
      @милфаартём 5 лет назад +2

      raspberry gnd 18(gpio) to ws2812b, 5v to 5v ws2812b and gnd to raspberry pi

    • @ClaireLoprensa
      @ClaireLoprensa 4 года назад +1

      @@gor4200 It's wrong. The blue wire gets switched as the black wire when it passes through the breadboard. It confused me as I'm new but I got clarification that it doesn't make any difference IRL because it's just colors; Blue wire from RPi is ground despite it being blue instead of the conventional black.

  • @WhatsUpHiro
    @WhatsUpHiro 2 года назад +4

    Hi! Quick question. If I'm powering the light strip externally, why bother with a logic level shifter? Why not go straight from pin 18 to the LED strip? In testing this seemed to work, at least up to 32 LEDs. Is it a problem of the 3.3v signal not reaching as far as it would as 5v?

    • @frankowalker4662
      @frankowalker4662 2 года назад

      I would also like to know. P.S. What is a Logic Level Shifter ?

  • @jacowaes
    @jacowaes 4 года назад +5

    If you get this error:
    pi@ambipi:~/rpi_ws281x/python/examples $ sudo python strandtest.py
    Traceback (most recent call last):
    File "strandtest.py", line 9, in
    from rpi_ws281x import *
    ImportError: No module named rpi_ws281x
    Then enter these commands and afterwards it should work:
    sudo apt-get install python3-pip
    sudo update-alternatives --install /usr/bin/python python $(which python2) 1
    sudo update-alternatives --install /usr/bin/python python $(which python3) 2
    sudo update-alternatives --config python
    (enter to choose default)
    sudo pip3 install RPI.GPIO
    sudo pip3 install rpi_ws281x adafruit-circuitpython-neopixel

    • @jimbray9862
      @jimbray9862 4 года назад +1

      yes

    • @williamvr753
      @williamvr753 4 года назад +1

      thanks man !

    • @vrankyrule
      @vrankyrule 3 года назад

      use sudo python3 standtest.net
      or if this doesn't work try this site tutorials-raspberrypi.com/connect-control-raspberry-pi-ws2812-rgb-led-strips/#comment-47319

  • @philippvogel6504
    @philippvogel6504 5 лет назад +11

    In my case the srtip is also working with 3.3V (without the levelshifter). ( :

    • @camsmart
      @camsmart 3 года назад +1

      Did you ever harm your board without the shifter? Did you use an external power supply too?

  • @RaspberryPiGirls
    @RaspberryPiGirls 3 года назад +14

    This tutorial is awesome and great. as a beginner, I like a Python IDE more than the nano editor. :)

  • @mumafiedmustangs
    @mumafiedmustangs 3 года назад +5

    Thank you for starting the video with a good old "g'day"

  • @prz9ano5
    @prz9ano5 3 года назад +1

    The wiring diagram in video has a slight mismatch to the diagram provided in the description link. Specifically, there is a ground wire bridging the two ground rails in the link version. Which is correct? (apologies if previously addressed).

  • @jensschroder8214
    @jensschroder8214 Год назад +1

    So start an unknown script to load code from an unknown source.
    Then start it with root rights without checking. Is there a virus too?

    • @Core-Electronics
      @Core-Electronics  Год назад

      Come check our updated version of this guide, that'll get you up and running faster and potentially answer your questions 😊 core-electronics.com.au/guides/raspberry-pi/fully-addressable-rgb-raspberry-pi/

  • @NSNG1540
    @NSNG1540 6 лет назад +4

    Nice.. what are the other components besides rpi and led strip. I have rpi and led strip and want to try it. I am not much expert in electronics so could you please update on the other parts.. thanks

    • @Octizm
      @Octizm 4 года назад

      Id recommend not doing this project. He forgot a lot of information and tons of parts are missing

  • @companymen42
    @companymen42 5 лет назад +9

    To everyone watching this DO NOT BUY A LEVEL SHIFTIER OFF AMAZON. For critical timing applications you need one that can handle high speed applications, nanosecond rise time and delay time. Be careful and don't waste your money!

    • @kaiserking3404
      @kaiserking3404 4 года назад +2

      can you recommend one to me? I'm based in germany and am looking for one

    • @poofman2341
      @poofman2341 4 года назад

      @@kaiserking3404 I just connect ground to raspberry and led strip

  • @weaver2609
    @weaver2609 5 лет назад +3

    yo my power bank looks nothing like what you are probably using. i am so confused on what to do with my power bank and how to hook it up

  • @巫鎔輿
    @巫鎔輿 3 года назад

    Is it possible to operate without using a terminal? Thank you!!

  • @alexanderbuckley9160
    @alexanderbuckley9160 2 года назад

    Hello, I am having a problem installing the software. It keeps saying this:
    python: can't open file 'setup.py': [Errno 2] No such file or directory
    I honestly have no idea, anything would help.

    • @Core-Electronics
      @Core-Electronics  2 года назад

      For anybody else experiencing this problem, see our update: forum.core-electronics.com.au/t/ws2812-addressable-leds-raspberry-pi-quickstart-guide/1531/131?u=michael

  • @ddrguitarpunk
    @ddrguitarpunk 4 года назад +5

    I'm trying this on a pi 2 model B with a fresh install of NOOBS, and I'm getting
    ImportError: No module named rpi_ws281x
    after sudo python strandtest.py when everything prior seems to be going as it should. pinouts and bread board are identical to the linked page's diagram. not sure what I'm doing wrong.

    • @NativeStyle1337
      @NativeStyle1337 4 года назад

      I am having the same issue. Were you able to figure it out?

    • @ddrguitarpunk
      @ddrguitarpunk 4 года назад

      I personally have not, but after talking to someone else, it seems like one of the packages improperly installed. I have since tried with a 3B and a zero with the same results.

    • @jimbray9862
      @jimbray9862 4 года назад

      Also having same issue

    • @ariefariefshamsuddin350
      @ariefariefshamsuddin350 4 года назад

      I added the HDMI option that he gave in the video and it works well for my pi 4

    • @diefloppers
      @diefloppers 4 года назад

      Having the same error!

  • @jerdonhelgeson6961
    @jerdonhelgeson6961 2 года назад

    How do you do this without a breadboard?

  • @Kaoji
    @Kaoji 5 лет назад

    You never clarify how you use the dc barrel jack 2 pin terminal block. Are you plugging in a separate 5v adapter into its female or just running it with no additional power- straight from the breadboard to the led strip?

  • @farhanrob3273
    @farhanrob3273 4 года назад +1

    Great video. The new PI models have a 5V output.. does this eliminate the need for the level shifter?

    • @angelux079
      @angelux079 3 года назад

      probably, I'll try it since I have a RPI 4 and the led strip is arriving today so I'll let you know

    • @angelux079
      @angelux079 3 года назад +4

      it works perfectly fine without it

    • @banana4725
      @banana4725 2 года назад

      @@angelux079 it is still running at lower power than it should, the rpi4 is 1.5a I believe

  • @lucianstefan7702
    @lucianstefan7702 5 лет назад

    Hello,
    please, is it possible with Raspberry Pi to drive more pixel strings - I think about 3 string, each with 150 LEDs?
    If yes, from which GPIO pins?
    Or, what I need still?
    Thank you, very much
    Lucian

  • @gleebo5276
    @gleebo5276 5 лет назад +5

    do you still need to buy the low level logic shiftier if i power the pi separately

    • @chinoto1
      @chinoto1 4 года назад +1

      The level shifter is only for the data line, which if the voltage is too low, might not be recognized by the LED controller. I don't think a voltage that is too low will hurt anything, so you could try without, but it might not behave properly.
      I realize this is a necro response, but someone else might find it useful.

    • @peterhimmelman9241
      @peterhimmelman9241 4 года назад

      @@chinoto1 I did, thank you.

    • @Cyberphunkisms
      @Cyberphunkisms 3 года назад

      did you try without the Logic Level Converter?

  • @chrisjericho7123
    @chrisjericho7123 6 лет назад +1

    I have some 5050 led 5A 12 v ( also says 5M) led strips. Can the pi (zero) run this directly? I want to use 6 of them for a lithograph pi case. I want the led to light the lithograph from underneath while retropie runs. Just on, not flicker or anything.

  • @devilnoxlive740
    @devilnoxlive740 2 года назад

    what power supply should i use for ws2812b 5m strip

  • @keraid6516
    @keraid6516 3 года назад

    Is this possible with any led strips

  • @CRsquared64
    @CRsquared64 5 лет назад +1

    Yo I’m new to raspberry pi coding and have no clue what that white board is, can someone help?

    • @jamesrichters3517
      @jamesrichters3517 5 лет назад +1

      The white board is a solderless breadboard.. www.amazon.com/Breadboard-Solderless-Prototype-PCB-Board/dp/B077DN2PS1 it's not really necessary, but it is a convenient way to connect jumper wires to devices without soldering.

    • @CRsquared64
      @CRsquared64 4 года назад +1

      James Richters nice thanks

  • @OmarSanchez-ds4qh
    @OmarSanchez-ds4qh 6 лет назад +5

    raspberry pi 3 model b has a 5v gpio pin. Do I really nead to use a logic level shifter to translate between 3.3 and 5v or can i just keep it at 5v using this pin.

    • @TotteNesh
      @TotteNesh 6 лет назад +1

      The rest of the gpio is 3.3V, you might fry your pi. And, it will most likely not be able to drive a led strip as it needs from 2A and up on it's own. Depending on length of course. From what I understand about it.

    • @OmarSanchez-ds4qh
      @OmarSanchez-ds4qh 6 лет назад

      Thea Blanca does the Logic level shifter have proitection for fluctuations in voltage. I fed it 12v on accident. I have not been able to get the Logic level shifter to work. I only get voltage on my high side.

    • @0aristedes0
      @0aristedes0 6 лет назад

      you can use a 5v pin with the adafruit trinket.... its only like 7 bucks

  • @iSpider82
    @iSpider82 5 лет назад

    You do not need sudo to run the script. And you can use 5V from RPi if you have few LEDs.

    • @EinfachNils02
      @EinfachNils02 5 лет назад +1

      Yes, ~1m Led ist possible, but you need a Solid USB Power supply

    • @iSpider82
      @iSpider82 5 лет назад

      @@EinfachNils02 I'm using 8 LED module.

    • @EinfachNils02
      @EinfachNils02 5 лет назад

      @@iSpider82 I dont know the power Draw of this modules, but 1m Led Stripe are 32 LEDs so i think it's possible

  • @Cyberphunkisms
    @Cyberphunkisms 3 года назад

    why do i need a Logic Level Converter?

    • @Core-Electronics
      @Core-Electronics  3 года назад +1

      Because WS2812 LEDs are 5V devices: 3.3V logic from the RPi isn’t high enough to work properly/reliably

  • @ROFEL
    @ROFEL 4 года назад

    why are you using a breadboard?

  • @jamesharris6062
    @jamesharris6062 3 года назад

    This has stopped working? No module found

  • @Swimmer-ts6yr
    @Swimmer-ts6yr 4 года назад

    is there anyway to do this by using the pi to power the lights

  • @Millnoah
    @Millnoah 3 года назад +1

    Parts Required for this Project
    A Raspberry Pi
    A Logic Level Converter
    Some WS2812 or NeoPixel LEDs
    A 5V Power Supply (Optional)
    A DC Barrel Jack to 2-Pin Terminal Block Adapter (Optional)

  • @florianrohrauer8471
    @florianrohrauer8471 5 лет назад

    Which power supply should i use to light up the whole 5 metres stripe?

  • @technorenaissance
    @technorenaissance 6 лет назад +2

    Can we use these packages with DotStar LEDs?

  • @theosims8970
    @theosims8970 2 года назад

    Thanks but how to use it with a tuned car

  • @R4MMU5
    @R4MMU5 5 лет назад

    Why is the power pin (from the PI) connected to GND at the logic level shifter?
    Nevermind I just saw you have a different gpio header...

  • @xXHUGOGAMINGXx
    @xXHUGOGAMINGXx 4 года назад

    can the ws2812b be replace by a ws2813 ?

  • @Videogame9559
    @Videogame9559 6 лет назад +2

    This worked very well thanks what power supply is the best one to use ?

  • @Trynacional8
    @Trynacional8 6 лет назад

    can i make a screen and put a video with this?

  • @xgqfrms
    @xgqfrms Год назад

    Why not just use the 5V PIN of Raspberry Pi 3B or Raspberry Pi 3B+ or Raspberry Pi 4B

  • @maikw91
    @maikw91 6 лет назад

    Will it repeat Till i turn it off? Cause i want it for my bed.

  • @ccf805
    @ccf805 3 года назад

    Great tutorial however, I am unable to get strandtest to run on my RPi 4 (w/Raspbian). I get an error message: Traceback (most recent call last):
    File "strandtest.py", line 9, in from rpi_ws281x import * ImportError: No module named rpi_ws281x. I was unable to find a fix on Core Electronics forum.

    • @Cluffmaster1980
      @Cluffmaster1980 2 года назад

      I too get this error, have you found a fix ? Thanks in advance

    • @earthworm666
      @earthworm666 2 года назад

      @@Cluffmaster1980 Did you ever find a fix for this? I've run into the same problem So weird... Thank you in advance

    • @Cluffmaster1980
      @Cluffmaster1980 2 года назад

      @@earthworm666 Hi, Yes I re built the raspberry pi and followed he guide again, don't forget to perform the commands as described word for word, however I have now followed the neopixel server guide which has much more functionality for my needs.

  • @nikolausborn3031
    @nikolausborn3031 4 года назад

    Does it work with thonny python ide?

  • @jl6693
    @jl6693 3 года назад

    Thanks Michael and the team, good work, learned a lot in 7 minutes :) Cheers! quick question, before searching the almighty internet - any tutorials for driving multiple LED strips from the same raspberry pi? thanks!

  • @bobbysingh5666
    @bobbysingh5666 4 года назад

    what was the red module in the middle

  • @josevera1535
    @josevera1535 3 года назад

    Is it possible to achieve this with any other LED strip lights?

    • @engineglue
      @engineglue 2 года назад

      They have to be addressable.

  • @ajthegamedev9264
    @ajthegamedev9264 7 лет назад +1

    Hi Michael! I followed your tutorial and have been running into segmentation faults on both a simple script of my own, and on the strandtest script. I've also reinstalled the rpi_ws281x libraries a few times to make sure that wasn't it. Do you have any advice?

    • @coreelectronicssupportteam6775
      @coreelectronicssupportteam6775 7 лет назад

      I don't really have any idea what could cause that - python should be pretty uncrashable.
      Perhaps try on a fresh, pristine installation of Raspbian.
      If you run into further trouble we'd love to see your results on the forums: forum.core-electronics.com.au/

    • @Bottleworksnet
      @Bottleworksnet 6 лет назад +1

      There is a bug that is will corrupt the SD card data if you use DMA channel 5. Change it to channel 10 when you setup your system again. They just pushed an update on January 1st.

  • @stardreamix786
    @stardreamix786 10 месяцев назад

    Gonna try do this with my piano to work with midi!

  • @GodxPoseidon
    @GodxPoseidon 6 лет назад

    Hey!, I've been trying to do something I don't know if it is possible, I want to do multiple animations on same strip and synchronize them with an audio file. Do you think that's possible?

    • @T2NWM6
      @T2NWM6 6 лет назад

      ruclips.net/video/ZSfxKTMk26Q/видео.html

  • @CesarGonzalez-ep2sx
    @CesarGonzalez-ep2sx 6 лет назад

    Whats the little red thing ? Do you have a link of where I can buy it ? Amazon possibly ?

    • @T2NWM6
      @T2NWM6 6 лет назад

      Thats a 3.3 - 5 v logic level converter.

  • @veaarthur3655
    @veaarthur3655 5 лет назад

    What music are you playing at the end of the video??

  • @fishworxify
    @fishworxify 6 лет назад

    is sudo always needed to run python code? is there a way to avoid sudo? Also, great tutorial, only neeeded the first 1:14 to get it working :)

    • @andrewmcneal1444
      @andrewmcneal1444 5 лет назад

      You can change the permissions to make the file executable by everyone. youll want to run "chmod 755 " but change to the name of your file. In this particular case the command you will type to make strandtest.py executable by everyone is "chmod 755 strandtest.py" without the quotes of course.

  • @yippiiman9610
    @yippiiman9610 2 года назад

    Thank you very much for the great video and instructions. I Just Subscribed

  • @elsholz2365
    @elsholz2365 5 лет назад

    Please use middle mouse button to paste from primary selection, that's the most intuitive way

  • @sturrlasontwentytwo1082
    @sturrlasontwentytwo1082 3 года назад

    ImportError: No module named rpi_ws281x

  • @davijhon1
    @davijhon1 5 лет назад

    working in sw16703p?

  • @Ki13M
    @Ki13M 6 лет назад

    Anyone knows how can I change (if its possible) to run matrix or any other tutorial how run led matrix on raspberry pi?

  • @mariocr82
    @mariocr82 7 лет назад +1

    Is this library compatible with the raspberry pi 3?

  • @Videogame9559
    @Videogame9559 6 лет назад

    I have 2m on my strip with 60 leds on it what power supply do i need what Amps on it and I am using 5v

  • @schimmi72
    @schimmi72 5 лет назад

    Hey, I followed your video. Now I am interested in letting the leds following music rythms. Did you perhaps think about that? I would like to use the same procedure you used, but I don't know how to combine the python scripts and a microphone for example. Perhaps an idea for a video of yours... Best regards,
    Frank

    • @user-ws1ob2hs5s
      @user-ws1ob2hs5s 4 года назад

      have you figured it out yet

    • @mattrobinson513
      @mattrobinson513 4 года назад

      I am working on some code that does this portably over a network now actually so if you wan't to standby I could get this working for you. github.com/mcrrobinson/RGB-audio-peak-visualiser

    • @mattrobinson513
      @mattrobinson513 4 года назад

      @@user-ws1ob2hs5s ^^ this

  • @freemanfreed1581
    @freemanfreed1581 4 года назад

    My LED strip has four pin !! Can you please point me something ??

    • @egg6649
      @egg6649 4 года назад

      Is it +, r, g, b? If so that strip is not addressable, meaning you will only be able to have every led the same colour. If you still want to control it, dm me on Instagram, jack___irvine (that’s 3 underscores)

  • @Videogame9559
    @Videogame9559 6 лет назад

    Hi would I be ok to use leds 12v with this project ?

  • @paulmilton7350
    @paulmilton7350 6 лет назад

    Where do I find the "one liner" ? What does it say? I can't read any of the text on the screen on my android tablet.

    • @TotteNesh
      @TotteNesh 6 лет назад

      Link in description to page with instructions

    • @christian2415
      @christian2415 5 лет назад

      Get a better tablet then broke boi

  • @PluffPenguin
    @PluffPenguin 2 года назад

    the example files do not exist anymore, since the devs made a separate branch for the python version

    • @Core-Electronics
      @Core-Electronics  2 года назад

      The guide has been updated! Check the link in the description 😃

    • @PluffPenguin
      @PluffPenguin Год назад

      @@Core-Electronics ah I see, will check it out. thanks!

  • @raj-stuff
    @raj-stuff 6 лет назад

    Why use the breadboard? Why not put it directly into the pi?

    • @mattjclay
      @mattjclay 5 лет назад

      Allows you to make sure it works before you solder anything.

  • @ashotmarjanyan9409
    @ashotmarjanyan9409 4 года назад

    i have this error too : "strandtest.py" line 9, in from rpi_ws281x import *
    ModulenotFoundError : No module named 'rpi_ws281x' someone help please :)

    • @EwanWills
      @EwanWills 4 года назад +1

      Try using pip to install the liberary

  • @freakazoid9889
    @freakazoid9889 7 лет назад +1

    will this work with a pi model b?

  • @parad0x1cal83
    @parad0x1cal83 7 лет назад

    Thanks for the tutorial! I'm gonna start a project, thanks to you :)

  • @jannis01
    @jannis01 6 лет назад +2

    i tried this with my 12v led strip. it did nothing and then my raspberry turned off and got rlly hot.

  • @T2NWM6
    @T2NWM6 6 лет назад

    Very good tute. helped a lot. Thanks

  • @mihai17xxy
    @mihai17xxy 4 года назад

    it locks GORGEOS Thank You

  • @TAKER4437
    @TAKER4437 6 лет назад +1

    how to control via browser or app to change color effects?

    • @T2NWM6
      @T2NWM6 6 лет назад

      This is just for test purpose.

    • @bjornstevens11
      @bjornstevens11 5 лет назад

      try hyperion, it works for me with an ws2812b and it has an app

  • @apexmike849
    @apexmike849 6 лет назад

    Brilliant! Now all I want is DMX control.

    • @benhibberd6907
      @benhibberd6907 6 лет назад

      ApexMike hope this helps ruclips.net/video/n974jV3cJAU/видео.html

  • @jeremyuzan1169
    @jeremyuzan1169 4 года назад

    it worked thks

  • @crooked8168
    @crooked8168 5 лет назад

    Thx !

  • @andreaichert8207
    @andreaichert8207 3 года назад

    Piping some randomly downloaded script into bash is generally a bad idea. In addition, the title suggests that you would actually explain how to use the strip, which you are not. You're merely running a demo.

  • @mattsavage3258
    @mattsavage3258 3 года назад +5

    To be frank, this video started out with a lot of promise, but went nowhere.

  • @danrandolph8517
    @danrandolph8517 3 года назад

    I did the edit for my Pi 1 Model B to the /boot/config.txt file and it did not fix the problem. I bought the level shifter, and did a GPIO test to make sure it was working, but this made no difference. I got it to work perfectly after finding a tip from this Pi article. tutorials-raspberrypi.com/connect-control-raspberry-pi-ws2812-rgb-led-strips/#comment-47319
    In the Raspbian Buster OS, just add one line of text “blacklist snd_bcm2835” to file "/etc/modprobe.d/raspi-blacklist.conf "
    Then, to allow the USB audio device to be the default device,
    open /lib/modprobe.d/aliases.conf and comment out the line options snd-usb-audio index=-2 and reboot
    I'm using the wiring instructions from the tutorials-raspberrypi.com site with no level shifter hooked up and it works perfectly on one strand I. Plan to hook up six strands in parallel with 3 LEDs from each strand being lit at once in a moving fashion.

    • @vrankyrule
      @vrankyrule 3 года назад

      did u found out how to undo those changes after commenting out snd USB index I cant find my command there

    • @danrandolph8517
      @danrandolph8517 3 года назад

      @@vrankyrule do "cd /boot". Then "sudo nano config.txt". Then arrow down in file to
      # uncomment if hdmi display is not detected and composite is being output
      #hdmi_force_hotplug=1
      also delete or comment out
      #hdmi_force_edid_audio=1

    • @danrandolph8517
      @danrandolph8517 3 года назад

      PROJECT UPDATE: I have 5 strands hooked up and it works great. Another tip to make it easier to solder leads on the cut strands is cut them apart at 15 lights each. That way, they come presoldered with beads of solder on top of the copper. and it is much easier to solder wires to them that way. I only ended up with one set like this since I cut them at 12 lights each.

  • @GeekMustHave
    @GeekMustHave 7 лет назад

    Looks like I'm going to have to learn a new foreign language.... Python. Keep Broadcasting!!

    • @dexterflodstrom9975
      @dexterflodstrom9975 3 года назад

      Did you end up learning it? (:

    • @johnhschuster
      @johnhschuster 3 года назад

      @@dexterflodstrom9975 Yes I did, I know a number of other programming languages so learning wasn't that hard. The indenting and the (:) kinda threw me but, it makes sense. Thanks again for the time you spent on the video.

  • @harpermartin7813
    @harpermartin7813 2 года назад

    Jesus is King! If you do not know Jesus as Savior please pray, “ Jesus save me. At this moment I choose to have faith that You gave Your life for me and rose from the dead. Doing this You defeated death, even though it meant You had to die. You surrendered Your life for me, so I chose to surrender my life to You. Forgive me Jesus, my God. Amen.”
    Jesus loves you so much. Please accept His love. I encourage you to read the Bible and pray.
    “For God so loved the world that he gave his one and only begotten Son into this world, that whoever believes that in him shall not perish but have eternal life.”
    John 3:16
    🙏❤️🙏
    Jesus is enough!
    Again I tell you, Jesus loves you!
    ❤️

  • @stephentanner8089
    @stephentanner8089 6 лет назад

    Which GPIO pin was the control pin connected to?

    • @T2NWM6
      @T2NWM6 6 лет назад

      Pin 12, GPIO 18