Using Sparkfun's 2x2 RGB LED Button Pad with an Arduino

Sparkfun's 2x2 RGB LED Button Pad breakout PCB

I haven't been posting much lately, but I have been keeping busy.  For one thing, I've started playing Eve Online with a very old friend.  I won't however be discussing that in this post (although I'm sure he's been wondering where I am since I got my Arduino).

 

Unless you don't know how to read you will know that the subject of this post is using Sparkfun's 2x2 RGB LED Button Pad breakout PCB.  If you actually don't know how to read then you probably don't know that I wrote such a stupid thing to begin with.  I was pretty excited to play around with this nice little breakout board when I got it, but after I soldered all my connections and hooked it up to my breadboard I found that it didn't work the way I had expected.  Being a total noob with electronic engineering it took me several days of trial and error and the help of a person on the SFE (Sparkfun Electronics) forums who was having some of the same problems.  I figured out how everything works and decided that while I learned a lot having to figure it out myself, it would have been much better if I could have just learned quickly from some simple instructions and or examples.  I have attempted to put together some resources to start out a beginner who finds himself/herself in the same situation.

I have recorded a video to attempt to explain how things work, but really the code is fairly heavy with documentation.  Please to enjoy!

image

Video explanation / demonstration.

image

Breadboard layout (click for full image)

image

Schematic (click for full image)

 

SFE 2x2 RGB LED Button Pad Control v1 (sketch)

SFE 2x2 RGB LED Button Pad Control v2 (sketch)
 

Relevant Links

Hardware:  Button Pad 2x2 - Breakout PCB

Hardware:  Button Pad 2x2 - LED Compatible

Hardware:  SparkFun Inventor's Kit for Arduino

Hardware:  Arduino Uno

Sparkfun Electronics (SFE)

Arduino

Fritzing (both the breadboard picture and the schematic were made using this)


Aaron Goselin
Written on Sunday, 31 October 2010 14:36 by Aaron Goselin

Viewed 8229 times so far.
Like this? Tweet it to your followers!
blog comments powered by Disqus

Site Search

Latest Tweets

Data appears to be invalid.

Random Links

Adobe Kuler

Adobe Kuler

This is Adobe's free online colour schemer.  It
has some great features such as generating your
colours by examining a picture that you like
(from Flickr or from your computer).  You can
also work out your colours manually.

The site has tons of users already and if you
don't want to work out your colours on your
own then you can look through the thousands
of already created schemes.

Sound Cloud

Sound Cloud

A little bit like YouTube for audio.  Musicians (or
producers, DJs, rappers, whatever) can sign up
(for free or paid premium) and upload their
music.  This is a great way to find new artists
and some of the work on here is absolutely
excellent.

If you like Dubstep I recommend you look up
Inofaith.

My music can also be found on this site.  My
account is located here.

Aviary

Aviary

Aviary is an online image suite.  Basically it is
Adobe Creative Suite in your browser, for
free.  Keep in mind that that's me saying
that and not them.  They could probably be
sued for saying that.

This is great for those times when you are at a
friend's house and need to do some image
editing, only to find out he has nothing of use
on his (or her) computer.  Enter Aviary.

Either that or you are just bored :)

Loop Labs

 

Loop Labs

A great little site for making music when you
don't have access to a proper DAW.  The
web apps on this site are loop sequencers
and they work fairly well.

I've made a couple quick songs on this site
when I needed to amuse myself.