You are not logged in. Your edit will be placed in a queue until it is peer reviewed.
We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.
Required fields*
-
I corrected my diagram, is it OK now ? I'll let resistor like that because my LEDs don't die and I dont have enough resistors yet. "The pins are fixed in hardware", I assumed that but I cannot find it on the web. Also the tutorial I use (youtu.be/nXl4fb_LbcI?t=777) don't really agree with you.Dan Chaltiel– Dan Chaltiel2015年08月04日 08:44:13 +00:00Commented Aug 4, 2015 at 8:44
-
Yes, well that is certainly sad. I trust you don't believe everything you see on YouTube. :) He is bringing the chip select low and high at the wrong time. See SPI - Serial Peripheral Interface - for Arduino. Have a look at my post about Hacking a scrolling LED strip sign - as I sit here that sign is still showing me the temperature and humidity, so I think my recommendations are correct.Nick Gammon– Nick Gammon ♦2015年08月04日 10:26:38 +00:00Commented Aug 4, 2015 at 10:26
-
When you're still a young newbie, you trust anyone who's brave enough to make a youtube tutorial you know :-) Also there is quite a lot of different names for pins and concepts. I cannot figure out what are MOSI, SS and SCK compared to data_in, latch, clock clear... Your LED strip sign is so cool ! I hope someday I'll have the level to do stuffes like this !Dan Chaltiel– Dan Chaltiel2015年08月04日 11:23:12 +00:00Commented Aug 4, 2015 at 11:23
-
In a couple of cases, it's ok to use a single resistor for all the LEDs (supposing the LEDs all have comparable Vf): 1, if only one LED is ever on at once; 2, if you don't care that LEDs get dimmer as more of them are turned on. For a simple lashup like this it's reasonable to use a single dropping resistor.James Waldby - jwpat7– James Waldby - jwpat72015年08月04日 14:58:50 +00:00Commented Aug 4, 2015 at 14:58
-
Hopefully my diagram clears up the pin names. MOSI (Master Out, Slave In) = Data_In (on the slave), SCK (Serial Clock) = Clock, SS (Slave Select) = Latch (in this case).Nick Gammon– Nick Gammon ♦2015年08月04日 20:33:46 +00:00Commented Aug 4, 2015 at 20:33