Hi. Im new to all of this but have an Arduino,

Hi. Im new to all of this but have an Arduino, 5 metres single string of 2812B and a 45amp power supply. Got some stuff up and running that I got from youtube but was wondering if there is a depository for sketches that I can try different effect and look at the code to figure this all out?

Thanks for any help you can offer. Cheers from New Zealand.

There’s several repositories by different individuals as well as pastebin’s and gists.

First, there’s the examples provided with FastLED.

There’s Marc Miller’s examples at:

I’ve got some as well at:

There’s loads more, for example by Jason Coon, Stefan Petrick and many others.

Can I blame you that its now 8:30am and I havent had any sleep lol
Thank you so very much!! Ive been up all night trying a lot of these out and there is still many more to go. Great to have a solid starting place.
So I am in the process of turning a piano into a vanity and plan on epoxy resining the lid slightly up with the LED strip under the key lid.
Is it really hard and memory heavy to program each led so it lights up like someone playing the piano?
Thanks again, You have been increadibly helpful!
Cheers and Kia Kaha!

Cheers!!
missing/deleted image from Google+

Once you’ve played with a lot of these, you’ll want to go through the online documentation along with the very well documented source code. In my case, I make notes and keep a cryptic cheat sheet text file.

If you want to make it look like it’s playing then to first thing that comes to my mind is using actual piano music, and “playing” MIDI files to pixels instead of notes.
Fun project!

Thanks for the info Andrew and Marc it’s incredibly helpful to getting me started. I really appreciate your willingness to share your knowledge and experience!
I have taught myself A+ Cert photoshop and HTML/CSS to a relatively good level but this is levels of magnitude more complicated. Which make me feel excited at the challenge. I don’t want a wide spectrum of knowledge at this point but rather learn specifically arduino paired with 2812 strips.
Is that possible or do I need a wider base to be able to really understand it at a level beyond copy and paste with minor tweaks?
Any recommendations on educational resources? Is there an easy way to lean the structure and commands of the language?
Thanks again, you guys are awesome!

Arduino uses C/C++ so if that’s new to you look into that some and learn the syntax, how to write if statements, for loops, functions, etc. The Arduino reference page is great for learning a lot of stuff.
https://www.arduino.cc/en/Reference/HomePage

Read the FastLED wiki.

Figure out what you want your project to do. Break it down into small parts. Work each part out individually. Then slowly combine parts together and constantly test as you go.

Keep looking at examples and going through them until you understand, or ask in G+ how something works when you don’t.
Note: When asking for help provide relevant info related to the question! Please put your code on http://gist.github.com and share a link to it so it is properly formatted/displayed on all kinds of devices and line numbers can be referenced for discussion.

http://Adafruit.com has a good variety of tutorials for basic wiring and Arduino coding. There are also some great project tutorials there by @Erin_St_Blaine ​ that use FastLED. (More examples for keeping you up all night!)
Adafruit Learning System

I’m looking forward to the lighting of that piano. :slight_smile:

Thanks Marc! That’s some edu-ma-cation right there and I foresee many sleepless nights ahead :slight_smile: and that’s a good thing.
That’s one thing I loved about learning HTML and photoshop. Instant feedback and although I spent all night sometimes tearing my hair out over a problem it’s hard to beat the feeling when you figure it out :slight_smile:
Rock on and have an awesome weekend (friday evening here).
Cheers!